]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
powerpc: Clean up strlen and strnlen for power8
[thirdparty/glibc.git] / ChangeLog
1 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
4 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
5
6 2017-07-01 Florian Weimer <fweimer@redhat.com>
7 H.J. Lu <hongjiu.lu@intel.com>
8
9 [BZ #21696]
10 * posix/sched_cpucount.c: Don't include <limits.h>.
11 (__sched_cpucount): Use __builtin_popcount.
12
13 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
14
15 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
16 Fix typo.
17
18 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19
20 * include/math.h (__signbitf128): Define as hidden.
21 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
22 Reimplement without builtins.
23 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
24 (__builtin_signbitf128): Define to __signbitf128.
25 * sysdeps/powerpc/bits/floatn.h: Likewise.
26 * sysdeps/x86/bits/floatn.h: Likewise.
27
28 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29
30 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
31 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
33 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
34 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
35 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
36 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
37 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
39 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
40 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
41 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
42 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
43 fcntl_common and add check for F_GETOWN.
44 (__libc_fcntl): Use SYSCALL_CANCEL macro.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
46 use default implementation.
47
48 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
49
50 * elf/dl-tunables.h (tunable_is_name): Move from...
51 * elf/dl-tunables.c (is_name): ... here.
52 (parse_tunables, __tunables_init): Adjust.
53 * manual/tunables.texi: Document glibc.tune.cpu.
54 * sysdeps/aarch64/dl-tunables.list: New file.
55 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
56 cpu_list): New type.
57 (cpu_list): New list of CPU names and their MIDR.
58 (get_midr_from_mcpu): New function.
59 (init_cpu_features): Override MIDR if necessary.
60
61 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
62 (__libc_ifunc_impl_list): Unconditionally select thunderx
63 routine for testing.
64
65 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
66
67 [BZ #21120]
68 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
69 * sysdeps/generic/malloc-alignment.h: Here. New file.
70 * sysdeps/i386/malloc-alignment.h: Likewise.
71 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
72
73 2017-06-30 Florian Weimer <fweimer@redhat.com>
74
75 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
76 variable.
77 (test_file_contents): Use it.
78
79 2017-06-30 Florian Weimer <fweimer@redhat.com>
80
81 * resolv/res_init.c (res_setoptions): Remove source argument.
82 (res_vinit_1): Adjust.
83
84 2017-06-30 Florian Weimer <fweimer@redhat.com>
85
86 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
87
88 2017-06-30 Florian Weimer <fweimer@redhat.com>
89
90 * resolv/res_data.c: Reformat to GNU style.
91 (res_close): Update comments.
92
93 2017-06-30 Florian Weimer <fweimer@redhat.com>
94
95 * resolv/res_data.c (res_query, res_search, res_querydomain)
96 (hostalias): Move to ...
97 * resolv/res_Send.c (res_query, res_search, res_querydomain)
98 (hostalias): here.
99
100 2017-06-30 Florian Weimer <fweimer@redhat.com>
101
102 * resolv/res_data.c (res_isourserver, res_send): Move to ...
103 * resolv/res_send.c (res_isourserver, res_send): here.
104
105 2017-06-30 Florian Weimer <fweimer@redhat.com>
106
107 * resolv/res_debug.c (_res_opcodes): Rename ...
108 (res_opcodes): ... as compatibility symbol.
109 (fp_nquery): Use res_opcodes.
110 * include/resolv.h (_res_opcodes): Remove declaration.
111
112 2017-06-30 Florian Weimer <fweimer@redhat.com>
113
114 * include/resolv.h (res_pquery): Remove declaration.
115 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
116 functions.
117 (_res_opcodes): Remove variable.
118 * resolv/res_debug.c (do_section): Receive pfcode instead of
119 statp.
120 (res_pquery): Rename ...
121 (fp_nquery): to this function. Skip unnecessary _res
122 initialization.
123 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
124
125 2017-06-30 Florian Weimer <fweimer@redhat.com>
126
127 * resolv/res_debug.h: Remove file.
128 * resolv/README: Adjust.
129
130 2017-06-30 Florian Weimer <fweimer@redhat.com>
131
132 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
133 conditionals.
134 (Aerror, Perror): Remove function definitions.
135
136 2017-06-30 Florian Weimer <fweimer@redhat.com>
137
138 * resolv/res_data.c (res_mkquery): Move ...
139 * resolv/res_mkquery.c (res_mkquery): to here.
140
141 2017-06-30 Florian Weimer <fweimer@redhat.com>
142
143 * resolv/res_mkquery.c: Reformat to GNU style.
144 (T_OPT): Remove definition. It is present in the header file.
145
146 2017-06-30 Florian Weimer <fweimer@redhat.com>
147
148 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
149 conditionals.
150
151 2017-06-30 Florian Weimer <fweimer@redhat.com>
152
153 * support/support_capture_subprocess_check.c
154 (support_capture_subprocess_check): Report actual exit status.
155
156 2017-06-30 Florian Weimer <fweimer@redhat.com>
157
158 [BZ #19570]
159 * resolv/res_send.c (nameserver_offset): New function.
160 (__libc_res_nsend): Use it to implement RES_ROTATE.
161 (get_nsaddr): Add assert with name server
162 range check.
163 * resolv/Makefile (xtests): Add tst-resolv-rotate.
164 (tst-resolv-rotate): Link against libpthread.
165 * resolv/tst-resolv-rotate.c: New file.
166
167 2017-06-29 Joseph Myers <joseph@codesourcery.com>
168
169 [BZ #21457]
170 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
171 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
172 [__WORDSIZE == 64] (MC_PC): Likewise.
173 [__WORDSIZE == 64] (MC_NPC): Likewise.
174 [__WORDSIZE == 64] (MC_Y): Likewise.
175 [__WORDSIZE == 64] (MC_G1): Likewise.
176 [__WORDSIZE == 64] (MC_G2): Likewise.
177 [__WORDSIZE == 64] (MC_G3): Likewise.
178 [__WORDSIZE == 64] (MC_G4): Likewise.
179 [__WORDSIZE == 64] (MC_G5): Likewise.
180 [__WORDSIZE == 64] (MC_G6): Likewise.
181 [__WORDSIZE == 64] (MC_G7): Likewise.
182 [__WORDSIZE == 64] (MC_O0): Likewise.
183 [__WORDSIZE == 64] (MC_O1): Likewise.
184 [__WORDSIZE == 64] (MC_O2): Likewise.
185 [__WORDSIZE == 64] (MC_O3): Likewise.
186 [__WORDSIZE == 64] (MC_O4): Likewise.
187 [__WORDSIZE == 64] (MC_O5): Likewise.
188 [__WORDSIZE == 64] (MC_O6): Likewise.
189 [__WORDSIZE == 64] (MC_O7): Likewise.
190 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
191 __MC_NGREG if [__USE_MISC].
192 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
193 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
194 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
195 Define fields using __ctx.
196 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
197 using __ctx.
198 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
199 (REG_PSR): Define only for [__USE_MISC].
200 (REG_PC): Likewise.
201 (REG_nPC): Likewise.
202 (REG_Y): Likewise.
203 (REG_G1): Likewise.
204 (REG_G2): Likewise.
205 (REG_G3): Likewise.
206 (REG_G4): Likewise.
207 (REG_G5): Likewise.
208 (REG_G6): Likewise.
209 (REG_G7): Likewise.
210 (REG_O0): Likewise.
211 (REG_O1): Likewise.
212 (REG_O2): Likewise.
213 (REG_O3): Likewise.
214 (REG_O4): Likewise.
215 (REG_O5): Likewise.
216 (REG_O6): Likewise.
217 (REG_O7): Likewise.
218 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
219 [__WORDSIZE == 64] (REG_FPRS): Likewise.
220 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
221 (gregset_t): Define using __NGREG.
222 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
223 __SPARC_MAXREGWINDOW if [__USE_MISC].
224 (struct rwindow): Rename to struct __rwindow. Define fields using
225 __ctx.
226 (rw_fp): Define only for [__USE_MISC].
227 (rw_rtn): Likewise.
228 (gwindows_t): Remove struct tag. Define fields using __ctx and
229 __SPARC_MAXREGWINDOW.
230 (MAXFPQ): Define only for [__USE_MISC].
231 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
232 (struct fq): Rename to struct __fq. Define fields using __ctx.
233 (FPU_REGS_TYPE): Define only for [__USE_MISC].
234 (FPU_DREGS_TYPE): Likewise.
235 (V7_FPU_FSR_TYPE): Likewise.
236 (V9_FPU_FSR_TYPE): Likewise.
237 (V9_FPU_FPRS_TYPE): Likewise.
238 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
239 using __ctx.
240 [__WORDSIZE != 64] (fpregset_t): Likewise.
241 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
242 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
243 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
244 Rename field filler to __glibc_reserved1.
245 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
246 (MC_FILLER): Remove.
247
248 2017-06-29 Florian Weimer <fweimer@redhat.com>
249
250 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
251 Adjust format string.
252 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
253 dependency.
254
255 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
256
257 * sysdeps/posix/spawni.c (__spawni_child): New function.
258 (__spawni): Rename to __spawnix.
259
260 2017-06-29 Florian Weimer <fweimer@redhat.com>
261
262 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
263 Use it to make the temporary copy at the start of the work buffer.
264 (process_arg): Adjust call to group_number.
265
266 2017-06-29 Florian Weimer <fweimer@redhat.com>
267
268 * stdio-common/vfprintf.c (printf_positional): Use struct
269 scratch_buffer to allocate backing storage for the args_value,
270 args_size, args_type arrays.
271
272 2017-06-29 Florian Weimer <fweimer@redhat.com>
273
274 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
275 scratch_buffer.
276
277 2017-06-29 Florian Weimer <fweimer@redhat.com>
278
279 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
280 wchar_t builds.
281
282 2017-06-29 Florian Weimer <fweimer@redhat.com>
283
284 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
285 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
286
287 2017-06-29 Florian Weimer <fweimer@redhat.com>
288
289 * stdio-common/tst-vfprintf-user-type.c: New file.
290 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
291
292 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
293
294 * posix/tst-spawn2.c (do_test): Use libsupport.
295 * posix/tst-spawn3.c (do_test): Likewise.
296
297 2017-06-28 Joseph Myers <joseph@codesourcery.com>
298
299 * math/gen-tgmath-tests.py (Tests.__init__): Define
300 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
301
302 * math/tgmath.h: Include <bits/libc-header-start.h> and
303 <bits/floatn.h>.
304 (__TGMATH_F128): New macro.
305 (__TGMATH_CF128): Likewise.
306 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
307 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
308 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
309 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
310 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
311 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
312 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
313 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
314 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
315 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
316 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
317 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
318 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
319 (__TGMATH_BINARY_REAL_IMAG): Likewise.
320 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
321 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
322 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
323 _FloatNx types if the corresponding HUGE_VAL macros are defined.
324
325 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
326 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
327 complex arguments.
328
329 [BZ #21687]
330 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
331 (totalorder): Use it.
332 (totalordermag): Likewise.
333 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
334 totalorder and totalordermag.
335 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
336 totalordermag in arguments of calls to those functions.
337 (NCALLS): Change to 134.
338
339 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
340 cast to return type argument.
341 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
342 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
343 (llrint): Likewise.
344 (lround): Likewise.
345 (llround): Likewise.
346 (ilogb): Likewise.
347 (llogb): Likewise.
348 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
349 (ufromfp): Likewise.
350 (fromfpx): Likewise.
351 (ufromfpx): Likewise.
352
353 [BZ #21607]
354 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
355 [LDBL_MANT_DIG > DBL_MANT_DIG].
356 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
357 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
358 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
359 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
360 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
361 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
362 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
363 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
364 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
365 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
366 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
367 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
368 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
369 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
370 * math/test-tgmath.c: Include <float.h>.
371 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
372 DBL_MANT_DIG].
373 * math/test-tgmath2.c: Include <float.h>.
374 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
375 DBL_MANT_DIG].
376
377 * math/gen-tgmath-tests.py: New file.
378 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
379 [PYTHON] (generated): Add test-tgmath3.c.
380 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
381 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
382
383 * configure.ac (AS): Require binutils 2.25 or later.
384 (LD): Likewise.
385 * configure: Regenerated.
386 * sysdeps/s390/configure.ac (AS): Remove version check.
387 * sysdeps/s390/configure: Regenerated.
388 * sysdeps/x86_64/configure.ac (AS): Remove version check.
389 * sysdeps/x86_64/configure: Regenerated.
390 * manual/install.texi (Tools for Compilation): Document
391 requirement for binutils 2.25 or later.
392 * INSTALL: Regenerated.
393
394 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
395
396 [BZ #14995]
397 * configure.ac: Allow gold 1.14 or above to configire glibc
398 * configure: Regenerated.
399
400 2017-06-28 Joseph Myers <joseph@codesourcery.com>
401
402 [BZ #21457]
403 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
404 struct tag.
405 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
406 Likewise.
407 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
408 Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
410 Declare struct type with __ctx.
411 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
412 tag.
413 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
414 and regs field name.
415
416 2017-06-27 Joseph Myers <joseph@codesourcery.com>
417
418 * elf/loadtest.c (OUT): Define using do { } while (0).
419
420 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
421 (DO_NUMBER_SPACEPAD): Likewise.
422
423 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
424
425 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
426 sysdep_routines.
427 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
428 __memchr_neon.
429 Add ifunc definitions for __memchr_neon and __memchr_noneon.
430 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
431 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
432 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
433
434 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
435
436 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
437 Use vector and cu21 instruction.
438 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
439 Add __to_utf8_loop_vx_cu in ifunc resolver.
440
441 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
442
443 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
444 Use vector and cu24 instruction.
445
446 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
447
448 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
449 Use vector and cu42 instruction.
450 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
451 Add __to_utf16_loop_vx_cu in ifunc resolver.
452
453 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
454
455 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
456 Use vector and cu41 instruction.
457 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
458 in ifunc resolver.
459
460 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
461
462 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
463 Add vxd, vxe, gs flag.
464 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
465 HWCAP_S390_GS capability.
466 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
467 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
468
469 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
470
471 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
472 the first 32 bytes before checking size when size >= 32 bytes.
473 Replace vpmovmskb/subl/jnz with vptest/jnc.
474
475 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
476
477 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
478 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
479
480 2017-06-27 Florian Weimer <fweimer@redhat.com>
481
482 Work around test timeouts with ICMP rate limiting on localhost.
483 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
484 function.
485 (do_test): Call it.
486
487 2017-06-27 Florian Weimer <fweimer@redhat.com>
488
489 Call _res_hconf_init from __res_vinit.
490 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
491 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
492 (NEED__RES): Define.
493 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
494 (NEED__RES): Define.
495 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
496 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
497 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
498 (NEED__RES): Define.
499 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
500 _res_hconf_init.
501 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
502 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
504 _res_hconf_init.
505
506 2017-06-26 Joseph Myers <joseph@codesourcery.com>
507
508 * sysdeps/ia64/Implies: Add ieee754/float128.
509 * sysdeps/ia64/bits/floatn.h: New file.
510 * sysdeps/ia64/float128-abi.h: Likewise.
511 * manual/math.texi (Mathematics): Document support for _Float128
512 on ia64.
513 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
514 Makefile variable.
515 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
516 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
517 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
518 * sysdeps/ia64/math-tests.h: New file.
519 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
520 based on TEST_COND_binary128 for [__ia64__].
521 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
522 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
523
524 [BZ #21457]
525 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
526 ucontext_t.
527 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
528 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
529 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
530 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
531 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
532 ucontext): Likewise.
533 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
534 Likewise.
535 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
536 Likewise.
537 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
538 Likewise.
539 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
540 Likewise.
541 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
542 Likewise.
543 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
544 Likewise.
545 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
546 Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
548 ucontext): Likewise.
549 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
550 Likewise.
551 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
552 Likewise.
553 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
554 Likewise.
555 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
556 Likewise.
557 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
558 Likewise.
559 * sysdeps/powerpc/powerpc32/backtrace.c (struct
560 rt_signal_frame_32): Likewise.
561 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
562 Likewise.
563 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
564 kernel_rt_sigframe): Likewise.
565 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
566 Likewise.
567 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
568 Likewise.
569 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
570 Likewise.
571 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
572 (__profil_counter): Likewise.
573 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
574 (SIGCONTEXT): Likewise.
575 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
576 kernel_rt_sigframe): Likewise.
577 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
578 kernel_rt_sigframe): Likewise.
579 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
580 Likewise.
581 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
582 Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
584 (__start_context): Likewise.
585 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
586 Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
588 Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
590 Likewise.
591
592 * sysdeps/i386/Implies: Add ieee754/float128.
593 * sysdeps/x86_64/Implies: Likewise.
594 * sysdeps/x86/bits/floatn.h: New file.
595 * sysdeps/x86/float128-abi.h: Likewise.
596 * manual/math.texi (Mathematics): Document support for _Float128
597 on x86_64 and x86.
598 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
599 (math_opt_barrier): Do not put _Float128 values in floating-point
600 registers.
601 (math_force_eval): Likewise.
602 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
603 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
604 to Makefile variable.
605 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
606 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
607 * sysdeps/x86/math-tests.h: New file.
608 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
609 * math/libm-test-getpayload.inc (getpayload_test_data): Use
610 XFAIL_FLOAT128_PAYLOAD.
611 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
612 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
613 * math/libm-test-totalordermag.inc (totalordermag_test_data):
614 Likewise.
615 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
616 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
619 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
621 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
622 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
624
625 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
626
627 [BZ #21512]
628 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
629 syscall instead of jump to _exit.
630 (CLONE_VM_BIT): Remove unused define.
631 (CLONE_VM): Likewise.
632 (CLONE_THREAD_BIT): Likewise.
633 (CLONE_THREAD): Likewise.
634 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
635 (CLONE_VM): Remove unused define.
636 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
637 (CLONE_VM): Remove unused define.
638 (CLONE_THREAD): Likewise.
639 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
640 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
641 syscall instead of jump to _exit.
642 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
643 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
644 (CLONE_VM): Remove unused define.
645 (CLONE_THREAD): Likewise.
646 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
647 (CLONE_VM): Remove unused define.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
649 Likewise.
650 (CLONE_VM): Remove unused define.
651 (CLONE_THREAD): Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
653 Likewise.
654 (CLONE_VM): Remove unused define.
655 (CLONE_THREAD): Likewise.
656 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
657 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
658 (CLONE_VM): Remove unused define.
659 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
660 (CLONE_VM): Remove unused define.
661 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
663 (CLONE_VM): Remove unused define.
664 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
665 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
666
667 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
668 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
669
670 * manual/math.texi (Mathematics): Mention the enabling of float128
671 for powerpc64le.
672 * sysdeps/powerpc/bits/floatn.h: New file.
673 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
674 * sysdeps/powerpc/fpu/math_private.h:
675 (__ieee754_sqrtf128): New inline override.
676 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
677 * sysdeps/powerpc/powerpc64le/Makefile: New file.
678 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
679 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
680 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
682 Updated.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
684 Likewise.
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
686 New file.
687
688 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
689
690 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
691 * sysdeps/powerpc/powerpc64le/configure: Update.
692
693 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
694 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
695
696 * INSTALL: Regenerate.
697 * manual/install.texi (Recommended Tools for Compilation): Mention
698 the powerpc64le-specific requirement in the manual.
699 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
700 for the compiler features required for building float128.
701 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
702
703 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
704
705 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
706 before comparing with another char.
707
708 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
709
710 * manual/math.texi: Fix a grammatical error.
711
712 2017-06-24 Florian Weimer <fweimer@redhat.com>
713
714 [BZ #21295]
715 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
716
717 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
718
719 [BZ #21295]
720 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
721 Append addresses at the end of the list.
722
723 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
724
725 [BZ #21666]
726 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
727 (loc2): Likewise.
728 (locs): Likewise.
729
730 2017-06-23 Florian Weimer <fweimer@redhat.com>
731
732 [BZ #16637]
733 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
734 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
735 digits between colons.
736 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
737
738 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
739 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
740
741 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
742 (__sched_get_prioriry_min): Likewise.
743 * include/sys/mman.h (__mmap): Likewise.
744 (__mmap64): Likewise.
745 (__munmap): Likewise.
746 (__mprotect): Likewise.
747 * include/termios.h (__tcsetattr): Likewise.
748 * include/time.h (__nanosleep): Use hidden_proto instead of
749 libc_hidden_proto.
750 * posix/nanosleep.c (__nanosleep): Likewise.
751 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
752 __sched_get_priority_min, and __sched_get_priority_max under
753 GLIBC_PRIVATE.
754 * nptl/allocatestack.c (__free_stacks): Use internal definition for
755 libc symbols.
756 (change_stack_perm): Likewise.
757 (change_stack_perm): Likewise.
758 (allocate_stack): Likewise.
759 * sysdeps/posix/gethostname.c: Likewise.
760 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
761 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
762 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
763 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
764 (__pthread_key_delete): Likewise.
765 (__pthread_detach): Likewise.
766 (__pthread_cancel): Likewise.
767 (__pthread_mutex_trylock): Likewise.
768 (__pthread_mutexattr_init): Likewise.
769 (__pthread_mutexattr_settype): Likewise.
770 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
771 create alias for exported one.
772 * nptl/pthread_join.c (pthread_join): Likewise.
773 * nptl/pthread_detach.c (pthread_detach): Likewise.
774 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
775 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
776 * nptl/pthread_create.c: Change static requirements for pthread
777 symbols.
778 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
779 for internal definition.
780 * nptl/pthread_exit.c (__pthread_exit): Likewise.
781 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
782 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
783 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
784 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
785 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
786 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
787 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
788 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
789 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
790 Likewise.
791 * nptl/pthread_self.c (__pthread_self): Likewise.
792 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
793 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
794 * misc/mmap.c (__mmap): Add internal symbol definition.
795 * misc/mmap.c (__mmap64): Likewise.
796 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
797 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
798 (__mmap64): Likewise.
799 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
800 Add __uname.
801
802 2017-06-23 Joseph Myers <joseph@codesourcery.com>
803
804 * sysdeps/i386/fpu/libm-test-ulps: Update.
805 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
806
807 * libm-test-support.c (check_float_internal): Clear exceptions at
808 end of function.
809 (check_int): Likewise.
810 (check_long): Likewise.
811 (check_bool): Likewise.
812 (check_longlong): Likewise.
813 (check_intmax_t): Likewise.
814 (check_uintmax_t): Likewise.
815
816 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
817 Do not declare.
818 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
819 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
820 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
821
822 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
823
824 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
825 Replace movzbl and orl with movb.
826
827 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
828
829 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
830 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
831 and HUGE_VAL_FNx.
832 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
833 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
834 are in math.h, to avoid having to list the _FloatN and _FloatNx
835 variants as well. Likewise for the cabs functions.
836 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
837 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
838 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
839 come from TS 18661-3, since this section explicitly states that
840 these functions come from BSD.
841 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
842 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
843 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
844 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
845 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
846 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
847 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
848 remainderfNx.
849 (Setting and modifying single bits of FP values): Document
850 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
851 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
852 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
853 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
854 (Floating-Point Comparison Functions): Document totalorderfN,
855 totalorderfNx, totalordermagfN, totalordermagfNx.
856 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
857 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
858 fdimfN, fdimfNx, fmafN, fmafNx.
859 (Complex Numbers): Document the complex types: _FloatN complex and
860 _FloatNx complex.
861 (rojections, Conjugates, and Decomposing of Complex Numbers):
862 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
863 cargfN, cargfNx, cprojfN, cprojfNx.
864 * manual/math.texi (Mathematics): Mention that the _FloatN and
865 _FloatNx variants of the math functions come from TS 18661-3,
866 unless otherwise stated.
867 (Predefined Mathematical Constants): Document the _FloatN and
868 _FloatNx variants of the macros prefixed with M_.
869 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
870 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
871 ccosfNx, ctanfN, ctanfNx.
872 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
873 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
874 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
875 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
876 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
877 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
878 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
879 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
880 cpowfNx.
881 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
882 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
883 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
884 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
885 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
886 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
887 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
888 ynfN, ynfNx.
889
890 2017-06-23 Florian Weimer <fweimer@redhat.com>
891
892 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
893
894 2017-06-23 Florian Weimer <fweimer@redhat.com>
895
896 * resolv/res_libc.c: Reformat to GNU style.
897
898 2017-06-23 Florian Weimer <fweimer@redhat.com>
899
900 * resolv/resolv-internal.h (__res_initstamp): Declare.
901 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
902 It is implied by the declaration.
903 * resolv/res_libc.c (__res_initstamp): Remove declaration.
904
905 2017-06-23 Florian Weimer <fweimer@redhat.com>
906
907 [BZ #21662]
908 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
909 Use only 24 bits of the register before the subtraction.
910 * string/test-memcmp.c (check1): Check with different lengths.
911
912 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
913
914 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
915 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
916
917 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
918
919 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
920 Enable generation of float128 entries on the error table.
921
922 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
923
924 * include/float.h: Include libc-header-start.h to get the
925 definition of __GLIBC_USE.
926
927 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
928
929 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
930 rearranged code and doubles float types.
931
932 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
933
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
935 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
936
937 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
938
939 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
940 to errno, and simplify remaining related code.
941
942 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
943
944 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
945 PPC_FEATURE2_SCV.
946 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
947 and darn.
948
949 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
950
951 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
952 the implementation-specific function name and remove unneeded macros
953 definition.
954 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
955 function name if not defined and pass as parameter to macros
956 accordingly.
957
958 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
959
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
961 (libm-sysdep_routines): Add s_llroundf-ppc64.
962 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
963 (__llroundf): Define as strong alias of __llround.
964 (llroundf): Define as weak alias of __llround.
965 (__lroundf): Define as strong alias of __llround.
966 (lroundf): Define as weak alias of __llround.
967 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
968 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
971 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
973 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
974
975 2017-06-22 Joseph Myers <joseph@codesourcery.com>
976
977 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
978 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
979
980 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
981 (MATH_TESTS_TG): New macro.
982 (SNAN_TESTS_float128): Likewise.
983 (ROUNDING_TESTS_float128): Likewise.
984 (EXCEPTION_TESTS_float128): Likewise.
985 (SNAN_TESTS): Define using MATH_TESTS_TG.
986 (ROUNDING_TESTS): Likewise.
987 (EXCEPTION_TESTS): Likewise.
988
989 * sysdeps/ieee754/float128/float128_private.h
990 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
991 pass it to SET_RESTORE_ROUNDF128.
992
993 * sysdeps/ieee754/float128/float128_private.h: Include
994 <ieee754.h>.
995
996 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
997 typeof to argument passed to __builtin_types_compatible_p.
998 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
999
1000 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1001 <errno.h>.
1002 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1003 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1004 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1005 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1006 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1007 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1008 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1009 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1010 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1011 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1012 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1013 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1014 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1015 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1016 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1017 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1018 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1019 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1020 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1021 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1022 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1023 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1024
1025 * sysdeps/ieee754/float128/strtof128_l.c: Include
1026 <bits/types/locale_t.h> instead of <xlocale.h>.
1027 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1028 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1029
1030 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1031
1032 * benchtests/scripts/benchout_strings.schema.json: New file.
1033 * benchtests/scripts/compare_strings.py: New file.
1034
1035 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1036 (do_one_test): Print json.
1037 (do_test): Likewise.
1038 (test_main): Likewise.
1039 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1040 (do_one_test): Print json.
1041 (do_test): Likewise.
1042 (test_main): Likewise.
1043 * benchtests/bench-memcpy.c: Include json-lib.h.
1044 (do_one_test): Print json.
1045 (do_test): Likewise.
1046 (test_main): Likewise.
1047
1048 * benchtests/json-lib.h: Include inttypes.h.
1049 (json_attr_int, json_attr_int, json_element_string,
1050 json_element_int, json_element_uint): New functions.
1051 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1052 json_element_string, json_element_int, json_element_uint): New
1053 functions.
1054
1055 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1056
1057 * manual/arith.texi (Remainder Functions): Describe remainder as
1058 primary and drem as an alternative name. Change the comment on
1059 remainder to ISO, since it is defined in ISO C99.
1060
1061 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1062
1063 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1064 macro expansion.
1065 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1066
1067 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1068
1069 [BZ #21533]
1070 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1071 201706L for Unicode 10.0.
1072
1073 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1074
1075 [BZ #21657]
1076 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1077 on node-local addresses.
1078 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1079
1080 2017-06-21 Florian Weimer <fweimer@redhat.com>
1081
1082 * intl/loadmsgcat.c: Remove alloca support.
1083 (_nl_load_domain): Use calloc instead of alloca.
1084
1085 2017-04-21 Florian Weimer <fweimer@redhat.com>
1086
1087 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1088 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1089 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1090 alloc_buffer_create_failure.
1091 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1092 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1093 (__libc_alloc_buffer_copy_string)
1094 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1095 * malloc/alloc_buffer_alloc_array.c: New file.
1096 * malloc/alloc_buffer_allocate.c: Likewise.
1097 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1098 * malloc/alloc_buffer_copy_string.c: Likewise.
1099 * malloc/alloc_buffer_create_failure.c: Likewise.
1100 * malloc/tst-alloc_buffer.c: Likewise.
1101
1102 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1105 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1106 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1107 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1108 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1109 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1110 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1111 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1112 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1113 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1114 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1115 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1116 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1117 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1118 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1119 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1120 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1121 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1122 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1123 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1124 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1125 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1126 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1127 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1128 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1129 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1130 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1131 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1132 "locale-defines.h".
1133 (UPDATE_STRNCMP_COUNTER): New.
1134 (SECTION): Likewise.
1135 (GLABEL): Likewise.
1136 (LABEL): Likewise.
1137 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1138 for libc.a.
1139
1140 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1141
1142 [BZ #21622]
1143 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1144 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1145 __USE_MISC].
1146 (SA_NODEFER): Likewise.
1147 (SA_RESETHAND): Likewise.
1148
1149 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1152 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1153 Remove security_level on all fields.
1154 * manual/tunables.texi: Replace ifunc with hwcaps.
1155 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1156 Renamed to ..
1157 (TUNABLE_CALLBACK (set_hwcaps)): This.
1158 (init_cpu_features): Updated.
1159 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1160 data_cache_size, data_cache_size and non_temporal_threshold to
1161 unsigned long int.
1162 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1163 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1164 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1165 use DEFAULT_STRLEN.
1166
1167 2017-06-21 Florian Weimer <fweimer@redhat.com>
1168
1169 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1170 asprintf to construct an absolute pathname.
1171
1172 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1173
1174 * misc/tst-preadvwritev2-common.c: New file.
1175 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1176 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1177
1178 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1179
1180 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1181 annotation.
1182 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1183
1184 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1185
1186 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1187 hidden __GI__dl_argv symbol.
1188
1189 2017-06-21 Florian Weimer <fweimer@redhat.com>
1190
1191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1192 to parse addresses with IPv6 scope IDs.
1193
1194 2017-06-21 Florian Weimer <fweimer@redhat.com>
1195
1196 Add the __inet_pton_length helper function.
1197 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1198 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1199 Add length argument.
1200 (__inet_pton): New function.
1201 (inet_pton4): Add length argument.
1202 (hex_digit_value): New function.
1203 (inet_pton6): Add length argument. Call hex_digit_value. Use
1204 memmove and memset to fill :: gap.
1205 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1206 tst-inet_pton.
1207 * resolv/tst-inet_pton.c: New file.
1208 * support/Makefile (libsupport-routines): Add xmprotect.
1209 * support/xunistd.h (xmprotect): Declare.
1210 * support/xmprotect.c: New file.
1211
1212 2017-06-21 Florian Weimer <fweimer@redhat.com>
1213
1214 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1215 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1216 (call_gai, check_ai): New functions.
1217 (expect_failure, expect_success): Use them. Add logging.
1218
1219 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1220
1221 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1222 (sysdep_routines): Add memchr_power8.
1223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1224 (memchr): Add __memchr_power8 to list of memchr functions.
1225 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1226 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1227 (memchr): Add __memchr_power8 to ifunc list.
1228 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1229
1230 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1231
1232 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1233 (__llrintf): Define as strong alias of __llrint.
1234 (llrintf): Define as weak alias of __llrint.
1235 (__lrintf): Define as strong alias of __llrint.
1236 (lrintf): Define as weak alias of __llrint.
1237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1241
1242 2017-06-20 Zack Weinberg <zackw@panix.com>
1243
1244 * bits/signum-generic.h: Renamed from bits/signum.h.
1245 Add proper multiple include guard and misuse check.
1246 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1247 Move definition of SIGIO to "archaic names for compatibility" section.
1248 * bits/signum.h: New file which just includes bits/signum-generic.h.
1249 * sysdeps/unix/bsd/bits/signum.h
1250 * sysdeps/unix/sysv/linux/bits/signum.h
1251 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1252 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1253 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1254 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1255 Just include <bits/signum-generic.h> and then add or adjust
1256 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1257
1258 * signal/Makefile: Install bits/signum-generic.h.
1259 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1260
1261 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1262 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1263
1264 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1265 * sysdeps/unix/sysv/linux/Makefile: Run it.
1266
1267 2017-06-20 Zack Weinberg <zackw@panix.com>
1268
1269 * locale/xlocale.h: Rename to...
1270 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1271 Only define struct __locale_struct and __locale_t, not locale_t.
1272 * locale/bits/types/locale_t.h: New file; define locale_t here.
1273 * locale/Makefile (headers): Update to match.
1274
1275 * include/xlocale.h: Delete wrapper.
1276 * include/bits/types/__locale_t.h: New wrapper.
1277 * include/bits/types/locale_t.h: New wrapper.
1278
1279 * ctype/ctype.h, include/printf.h, include/time.h
1280 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1281 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1282 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1283 Correct outdated comments regarding the standardization status of
1284 the functions that take locale_t arguments.
1285
1286 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1287 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1288 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1289 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1290 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1291 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1292 Don't include xlocale.h. If necessary, include locale.h instead.
1293
1294 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1295
1296 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1297 * include/monetary.h, include/stdlib.h, include/time.h
1298 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1299 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1300 * locale/localeinfo.h, locale/newlocale.c
1301 * locale/nl_langinfo_l.c, locale/uselocale.c
1302 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1303 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1304 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1305 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1306 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1307 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1308 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1309 * sysdeps/ieee754/float128/strtof128_l.c
1310 * sysdeps/ieee754/float128/wcstof128.c
1311 * sysdeps/ieee754/float128/wcstof128_l.c
1312 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1313 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1314 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1315 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1316 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1317 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1320 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1321 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1322 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1323 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1324 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1325 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1326 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1327 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1328 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1329 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1330 Change all uses of __locale_t to locale_t.
1331
1332 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1333
1334 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1335 for !__OFF_T_MATCHES_OFF64_T.
1336 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1337 implementation based on open64.
1338 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1339 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1340
1341 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * elf/dl-tunables.list: Move x86 specific tunables to ...
1344 * sysdeps/x86/dl-tunables.list: Here. New file.
1345
1346 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1347
1348 [BZ #21635]
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1350 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1351 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1352 powerpc32-linux.
1353 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1354
1355 [BZ #21634]
1356 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1357 (conformtest-xfail-conds): New variable.
1358 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1359 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1360
1361 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1362
1363 * benchtests/powf-inputs: Add reduced trace from wrf.
1364
1365 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1366 Erich Elsen <eriche@google.com>
1367
1368 * elf/dl-tunables.list (tune): Add ifunc,
1369 x86_non_temporal_threshold,
1370 x86_data_cache_size and x86_shared_cache_size.
1371 * manual/tunables.texi: Document glibc.tune.ifunc,
1372 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1373 and glibc.tune.x86_non_temporal_threshold.
1374 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1375 * sysdeps/x86/cpu-tunables.c: Likewise.
1376 * sysdeps/x86/cacheinfo.c
1377 (init_cacheinfo): Check and get data cache size, shared cache
1378 size and non temporal threshold from cpu_features.
1379 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1380 New.
1381 [HAVE_TUNABLES] Include <unistd.h>.
1382 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1383 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1384 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1385 IFUNC selection, data cache size, shared cache size and non
1386 temporal threshold.
1387 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1388 shared_cache_size and non_temporal_threshold.
1389
1390 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1391
1392 * benchtests/README: Describe workload feature.
1393 * benchtests/bench-skeleton.c (main): Add support for
1394 benchmarking traces from workloads.
1395
1396 2017-06-20 Zack Weinberg <zackw@panix.com>
1397
1398 * string/string.h (__mempcpy_inline): Delete.
1399 * sysdeps/x86_64/multiarch/mempcpy.c
1400 * sysdeps/x86_64/multiarch/stpcpy.c:
1401 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1402 before including string.h.
1403
1404 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1405
1406 * benchtests/Makefile (bench-math): Add powf.
1407 * benchtests/powf-inputs: New file.
1408
1409 2017-06-20 Zack Weinberg <zackw@panix.com>
1410
1411 * bits/string.h, string/bits/string.h
1412 * sysdeps/aarch64/bits/string.h
1413 * sysdeps/m68k/m680x0/m68020/bits/string.h
1414 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1415 * sysdeps/x86/bits/string.h: Delete file.
1416
1417 * string/string.h: Don't include bits/string.h.
1418 * string/bits/string3.h: Rename to bits/string_fortified.h.
1419 No need to undef various symbols that the removed headers
1420 might have defined as macros.
1421 * string/Makefile (headers): Remove bits/string.h, change
1422 bits/string3.h to bits/string_fortified.h.
1423 * string/string-inlines.c: Update commentary. Remove definitions
1424 of various macros that nothing looks at anymore. Don't directly
1425 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1426 compiler-predefined macros.
1427 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1428 _is_ defined, provide internal hidden alias __strncat.
1429 * include/string.h: Declare internal hidden alias __strncat.
1430 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1431 not defined.
1432 * include/bits/string3.h: Rename to bits/string_fortified.h,
1433 update to match above.
1434
1435 * sysdeps/i386/string-inlines.c: Define compat symbols for
1436 everything formerly defined by sysdeps/x86/bits/string.h.
1437 Make existing definitions into compat symbols as well.
1438 Remove some no-longer-necessary messing around with macros.
1439
1440 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1441 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1442 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1443 * sysdeps/s390/multiarch/mempcpy.c
1444 No need to define _HAVE_STRING_ARCH_mempcpy.
1445 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1446
1447 * sysdeps/i386/i686/multiarch/strncat-c.c
1448 * sysdeps/s390/multiarch/strncat-c.c
1449 * sysdeps/x86_64/multiarch/strncat-c.c
1450 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1451
1452 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1453
1454 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1455 (LDBL_DIG): Likewise.
1456 (LDBL_MIN_EXP): Likewise.
1457 (LDBL_MIN_10_EXP): Likewise.
1458 (LDBL_MAX_EXP): Likewise.
1459 (LDBL_MAX_10_EXP): Likewise.
1460 (LDBL_MAX): Likewise.
1461 (LDBL_MIN): Likewise.
1462 (LDBL_EPSILON): Likewise.
1463 (FLT_ROUNDS): Change standard from ISO to C90.
1464 (FLT_RADIX): Likewise.
1465 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1466 (FLT_DIG, DBL_DIG): Likewise.
1467 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1468 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1469 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1470 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1471 (FLT_MAX, DBL_MAX): Likewise.
1472 (FLT_MIN, DBL_MIN): Likewise.
1473 (FLT_EPSILON, DBL_EPSILON): Likewise.
1474
1475 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1476
1477 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1478 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1479 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1480 * sysdeps/mips/math-tests.h
1481 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1482 conditional code.
1483
1484 2017-06-19 Florian Weimer <fweimer@redhat.com>
1485
1486 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1487 It cannot change while __libc_setlocale_lock is acquired.
1488
1489 2017-06-19 Florian Weimer <fweimer@redhat.com>
1490
1491 * elf/rtld.c (audit_list_string): New variable.
1492 (audit_list): Update comment.
1493 (struct audit_list_iter): Define.
1494 (audit_list_iter_init, audit_list_iter_next): New function.
1495 (dl_main): Use struct audit_list_iter to process audit modules.
1496 (process_dl_audit): Call dso_name_valid_for_suid.
1497 (process_envvars): Set audit_list_string instead of calling
1498 process_dl_audit.
1499
1500 2017-06-19 Florian Weimer <fweimer@redhat.com>
1501
1502 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1503 (dso_name_valid_for_suid): New function.
1504 (handle_ld_preload): Likewise.
1505 (dl_main): Call it. Remove alloca.
1506
1507 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1508
1509 [BZ #21625]
1510 * posix/sys/wait.h (strust rusage forward declaration): Change
1511 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1512 !__USE_XOPEN2K].
1513 (wait3): Likewise.
1514
1515 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1516 * configure: Regenerated.
1517 * manual/install.texi (Tools for Compilation): Document
1518 requirement for GCC 4.9 or later.
1519 * INSTALL: Regenerated.
1520
1521 2017-06-19 Florian Weimer <fweimer@redhat.com>
1522
1523 [BZ #21624]
1524 CVE-2017-1000366
1525 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1526 __libc_enable_secure.
1527
1528 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1529
1530 [BZ #21539]
1531 * NEWS: Mention s390 ptrace request changes.
1532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1533 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1534 PTRACE_SETFPREGS): Remove enum constant.
1535 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1536 Remove defines.
1537 (PTRACE_SINGLEBLOCK): New enum constant.
1538 (PT_STEPBLOCK): New define.
1539 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1540 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1541 PTRACE_TE_ABORT_RAND): New enum constant and define.
1542 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1543 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1544 New file.
1545 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1546
1547 2017-06-16 Florian Weimer <fweimer@redhat.com>
1548
1549 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1550 configuration file.
1551 (__res_vinit): Adjust.
1552
1553 2017-06-19 Florian Weimer <fweimer@redhat.com>
1554
1555 * resolv/res_init.c (res_vinit_1): New function.
1556 (__res_vinit): Call it. Handle file open and memory allocation
1557 failures.
1558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1559 erno from __res_maybe_init failure.
1560 (_nss_dns_gethostbyname4_r): Likewise.
1561 (_nss_dns_gethostbyaddr2_r): Likewise.
1562 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1563 (_nss_dns_getnetbyaddr_r): Likewise.
1564
1565 2017-06-19 Florian Weimer <fweimer@redhat.com>
1566
1567 * resolv/res_init.c: Reformat to GNU style.
1568
1569 2017-06-19 Florian Weimer <fweimer@redhat.com>
1570
1571 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1572 (is_sort_mask): New function.
1573 (__res_vinit): Use it.
1574
1575 2017-06-19 Florian Weimer <fweimer@redhat.com>
1576
1577 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1578 conditionals.
1579
1580 2017-06-19 Florian Weimer <fweimer@redhat.com>
1581
1582 * resolv/res-close.c: New file.
1583 * resolv/res_init.c (__res_iclose, res_nclose)
1584 (res_thread_freeres): Remove definitions.
1585 * resolv/Makefile (routines): Add res-close.
1586
1587 2017-06-19 Florian Weimer <fweimer@redhat.com>
1588
1589 * resolv/res_randomid.c: New file.
1590 * resolv/res_init.c (res_randomid): Remove definition.
1591 * resolv/Makefile (routines): Add res_randomid.
1592
1593 2017-06-19 Florian Weimer <fweimer@redhat.com>
1594
1595 * include/resolv.h (__res_vinit): Declare as hidden.
1596 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1597 * resolv/res_libc.c (res_init): Likewise.
1598
1599 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1600
1601 [BZ #21457]
1602 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1603 _libc_xmmreg): Use __ctx in defining field.
1604
1605 [BZ #21597]
1606 * signal/signal.h (siginterrupt): Make declaration conditional on
1607 [__USE_XOPEN_EXTENDED || __USE_MISC].
1608
1609 [BZ #21584]
1610 * signal/signal.h: Make includes of <bits/sigstack.h> and
1611 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1612 __USE_MISC].
1613 (sigaltstack): Make declaration conditional on
1614 [__USE_XOPEN_EXTENDED || __USE_MISC].
1615
1616 [BZ #21575]
1617 * resource/bits/types/struct_rusage.h: New file.
1618 * include/bits/types/struct_rusage.h: Likewise.
1619 * bits/resource.h (struct rusage): Include
1620 <bits/types/struct_rusage.h> instead of defining here.
1621 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1624 Likewise.
1625 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1626 Likewise.
1627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1628 Likewise.
1629 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1630 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1631 Include <bits/types/struct_rusage.h>
1632
1633 2017-06-19 Florian Weimer <fweimer@redhat.com>
1634
1635 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1636
1637 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
1638
1639 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1640
1641 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1642
1643 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1644
1645 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1646
1647 [BZ #21537]
1648 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1649 Check SHARED instead of PIC.
1650 (SYSCALL_PIC_SETUP): Add missing semicolons.
1651 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1652 Check SHARED instead of PIC.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1654 (__makecontext_ret): Adjust code to jump to exit.
1655
1656 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
1657
1658 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1659 Simplify code by always using SVC 0 instead of EX.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1661
1662 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
1663
1664 * elf/Versions (ld): Remove _dl_out_of_memory.
1665
1666 2017-06-16 Joseph Myers <joseph@codesourcery.com>
1667
1668 * timezone/private.h: Update from tzcode 2017b.
1669 * timezone/tzfile.h: Likewise.
1670 * timezone/tzselect.ksh: Likewise.
1671 * timezone/zdump.c: Likewise.
1672 * timezone/zic.c: Likewise.
1673 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1674 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1675 * time/tzset.c (SECSPERDAY): New macro.
1676
1677 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1678
1679 * manual/string.texi (strdup): Complete header and standards
1680 annotation.
1681 (strncpy): Likewise.
1682
1683 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1684
1685 * manual/arith.texi (FP_NAN): Add or complete header and standard
1686 annotations.
1687 (FP_INFINITE): Likewise.
1688 (FP_ZERO): Likewise.
1689 (FP_SUBNORMAL): Likewise.
1690 (FP_NORMAL): Likewise.
1691 (SNAN): Likewise.
1692 (SNANL): Likewise.
1693 (totalorderf): Likewise.
1694 (totalorderl): Likewise.
1695 (totalordermagf): Likewise.
1696 (totalordermagl): Likewise.
1697 (_Complex_I): Likewise.
1698 (I): Likewise.
1699
1700 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1701
1702 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1703 standard annotation.
1704 (ARGP_HELP_SHORT_USAGE): Likewise.
1705 (ARGP_HELP_SEE): Likewise.
1706 (ARGP_HELP_LONG): Likewise.
1707 (ARGP_HELP_PRE_DOC): Likewise.
1708 (ARGP_HELP_POST_DOC): Likewise.
1709 (ARGP_HELP_DOC): Likewise.
1710 (ARGP_HELP_BUG_ADDR): Likewise.
1711 (ARGP_HELP_LONG_ONLY): Likewise.
1712 (ARGP_HELP_EXIT_ERR): Likewise.
1713 (ARGP_HELP_EXIT_OK): Likewise.
1714 (ARGP_HELP_STD_ERR): Likewise.
1715 (ARGP_HELP_STD_USAGE): Likewise.
1716 (ARGP_HELP_STD_HELP): Likewise.
1717
1718 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
1719
1720 * manual/Makefile: Generate summary.texi with summary.pl. Force
1721 use of the C locale. Update Perl dependency comment.
1722 * manual/header.texi: Update reference to summary.awk.
1723 * manual/macros.texi: Refer authors to `summary.pl --help'.
1724 * manual/summary.awk: Remove file.
1725 * manual/summary.pl: New file. Generate summary.texi, and check
1726 for @standards-related syntax errors.
1727 * manual/argp.texi: Convert header and standards @comments to
1728 @standards.
1729 * manual/arith.texi: Likewise.
1730 * manual/charset.texi: Likewise.
1731 * manual/conf.texi: Likewise.
1732 * manual/creature.texi: Likewise.
1733 * manual/crypt.texi: Likewise.
1734 * manual/ctype.texi: Likewise.
1735 * manual/debug.texi: Likewise.
1736 * manual/errno.texi: Likewise.
1737 * manual/filesys.texi: Likewise.
1738 * manual/getopt.texi: Likewise.
1739 * manual/job.texi: Likewise.
1740 * manual/lang.texi: Likewise.
1741 * manual/llio.texi: Likewise.
1742 * manual/locale.texi: Likewise.
1743 * manual/math.texi: Likewise.
1744 * manual/memory.texi: Likewise.
1745 * manual/message.texi: Likewise.
1746 * manual/pattern.texi: Likewise.
1747 * manual/pipe.texi: Likewise.
1748 * manual/process.texi: Likewise.
1749 * manual/resource.texi: Likewise.
1750 * manual/search.texi: Likewise.
1751 * manual/setjmp.texi: Likewise.
1752 * manual/signal.texi: Likewise.
1753 * manual/socket.texi: Likewise.
1754 * manual/startup.texi: Likewise.
1755 * manual/stdio.texi: Likewise.
1756 * manual/string.texi: Likewise.
1757 * manual/sysinfo.texi: Likewise.
1758 * manual/syslog.texi: Likewise.
1759 * manual/terminal.texi: Likewise.
1760 * manual/threads.texi: Likewise.
1761 * manual/time.texi: Likewise.
1762 * manual/users.texi: Likewise.
1763
1764 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
1765
1766 * manual/macros.texi (@standards): New macro. Provide placeholder
1767 for header and standards annotations.
1768 (@standardsx): New macro. Likewise, for lists of @*x elements.
1769
1770 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1771
1772 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1773 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1774 rule.
1775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1776 sync_file_range.
1777
1778 * support/support_test_main.c (support_test_main): Use optstring
1779 member for option string in getopt_long.
1780 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1781 (CMDLINE_OPTSTRING): New define.
1782 * support/test-driver.h (test_config): Add optstring member.
1783
1784 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1785
1786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1787 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1788 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1789 Check USE_AS_STRPBRK instead of STRPBRK_P.
1790 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1791 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1792 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1793 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1794 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1795 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1796 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1797 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1798 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1799 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1800 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1801 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1802 and "#endif".
1803
1804 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1805
1806 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1807 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1808
1809 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1812 strcat-sse2.
1813 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1814 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1815 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1816 * sysdeps/x86_64/multiarch/strcat.S: Removed.
1817 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1818
1819 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1820 Erich Elsen <eriche@google.com>
1821
1822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1823 memcmp-sse2.
1824 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1825 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1826 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1827 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1828 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1829 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1830
1831 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1832 Erich Elsen <eriche@google.com>
1833
1834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1835 memset-sse2-unaligned-erms, and memset_chk-nonshared.
1836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1837 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1838 Update comments.
1839 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1840 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1841 * sysdeps/x86_64/multiarch/memset.c: Likewise.
1842 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1843 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1844 * sysdeps/x86_64/multiarch/memset.S: Removed.
1845 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1846 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1847 (__memset_chk_erms): New function.
1848
1849 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
1850
1851 * configure.ac(--enable-tunables): Enable by default.
1852 * configure: Regenerate.
1853 * NEWS: Mention change.
1854 * manual/install.texi (enable-tunables): Adjust documentation.
1855 * INSTALL: Regenerate.
1856
1857 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1858
1859 [BZ #18988]
1860 * benchtests/thread_create-inputs: New file.
1861 * benchtests/thread_create-source.c: Likewise.
1862 * support/xpthread_attr_setguardsize.c: Likewise.
1863 * support/Makefile (libsupport-routines): Add
1864 xpthread_attr_setguardsize object.
1865 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1866 * benchtests/Makefile (bench-pthread): Add thread_create.
1867 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1868 then mprotect the required area.
1869 (guard_position): New function.
1870 (setup_stack_prot): Likewise.
1871
1872 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
1873 Erich Elsen <eriche@google.com>
1874 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1875
1876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1877 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1878 mempcpy_chk-nonshared and memmove_chk-nonshared.
1879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1880 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1881 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
1882 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1883 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1884 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1885 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1886 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1887 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1888 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1889 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1890 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1891 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1892 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1893 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1894 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1895 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1896 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1897 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1899 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1900 (__mempcpy_chk_erms): New function.
1901 (__memmove_chk_erms): Likewise.
1902 (__memcpy_chk_erms): New alias.
1903
1904 2017-06-14 Florian Weimer <fweimer@redhat.com>
1905
1906 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1907 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1908
1909 2017-06-14 Zack Weinberg <zackw@panix.com>
1910
1911 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1912 Reorganize file. Declare errno here. When __ASSEMBLER__ is
1913 defined, don't declare anything other than the E-constants.
1914
1915 * include/errno.h: Change conditional for exposing internal
1916 declarations to (not _ISOMAC and not __ASSEMBLER__).
1917 * bits/errno.h: Remove logic for __need_Emath. Document
1918 requirements for a port-specific bits/errno.h.
1919
1920 * sysdeps/unix/sysv/linux/bits/errno.h
1921 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1922 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1923 * sysdeps/unix/sysv/linux/mips/bits/errno.h
1924 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1925 Add multiple-include guard and check against improper inclusion.
1926 Remove __need_Emath logic. Don't declare errno here. Ensure all
1927 constants are defined as simple integer literals. Consistent
1928 formatting.
1929 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
1930 enum __error_t_codes if __ASSEMBLER__ is not defined.
1931 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1932
1933 * argp/argp.h, string/argz.h: Don't define __need_error_t before
1934 including errno.h.
1935 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1936 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1937 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1938 * sysdeps/x86_64/fpu/s_cosf.S
1939 * sysdeps/x86_64/fpu/s_sincosf.S
1940 * sysdeps/x86_64/fpu/s_sinf.S:
1941 Just include errno.h; don't define __need_Emath or include
1942 bits/errno.h directly.
1943
1944 2017-06-14 Zack Weinberg <zackw@panix.com>
1945
1946 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1947 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1948 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1949
1950 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1951 for IOV_MAX.
1952 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1953 Don't install bits/uio.h.
1954 * misc/sys/uio.h: Don't include bits/uio.h. Do include
1955 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
1956 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1957
1958 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1959 and __need_IOV_MAX. Don't define IOV_MAX at all.
1960 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1961
1962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1963 Include bits/types/struct_iovec.h, not bits/uio.h.
1964 Use __ssize_t, not ssize_t, in function prototypes.
1965 Don't use hard TAB for double space after period in comments.
1966
1967 2017-06-14 Alan Modra <amodra@gmail.com>
1968
1969 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1970 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1971 refsym and sym parameters. Adjust callers.
1972 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1973 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1974 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1975 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1976 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1977 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1978 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1979 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1980 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1981 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1982 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1983 Likewise.
1984 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1985 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1986 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1989 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1990 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1991 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1992 (_dl_reloc_overflow): Increase buffser size. Formatting.
1993 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1994 Delete reloc param, add refsym and sym. Check optimized plt
1995 call stubs for localentry:0 functions. Adjust callers.
1996 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1997 and sym parameters. Adjust callers.
1998 (_dl_reloc_overflow): Move attribute.
1999 (_dl_error_localentry): Declare.
2000 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2001 refsym and sym to elf_machine_fixup_plt.
2002 * elf/testobj6.c (preload): Call printf.
2003
2004 2017-06-14 Alan Modra <amodra@gmail.com>
2005
2006 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2007 (NOPS, ENTRY_3): New macros.
2008 (ENTRY): Rewrite.
2009 (ENTRY_TOCLESS): Define.
2010 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2011 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2012 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2013 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2014 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2015 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2016 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2017 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2021 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2022 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2023 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2024 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2025 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2026 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2035 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2036 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2038 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2039 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2040 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2041 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2058 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2063 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2073 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2075 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2077 Likewise.
2078 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2086 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2089 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2092 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2093 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2100 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2101 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2102 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2104 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2109 add nop when SHARED.
2110 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2111 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2112 define.
2113 (ENTRY_TOCLESS): Define.
2114 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2115 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2116 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2117
2118 2017-06-14 Alan Modra <amodra@gmail.com>
2119
2120 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2121 MEMSET_is_local.
2122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2125 Define MEMSET.
2126 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2127 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2128 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2129 nop after local calls.
2130 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2131 Don't add nop after local call.
2132 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2133 CALL_MCOUNT.
2134
2135 2017-06-14 Alan Modra <amodra@gmail.com>
2136
2137 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2138 (FUNC_LABEL): Rename from DOT_LABEL.
2139 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2140 Use .p2align rather than .align.
2141 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2142 (ABORT_TRANSACTION): Likewise.
2143 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2144 particularly at end. Add semicolon at invocation as necessary.
2145 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2146 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2147 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2148 END): Adjust to suit.
2149
2150 2017-06-14 Alan Modra <amodra@gmail.com>
2151
2152 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2153 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2154 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2155 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2156 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2158 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2159
2160 2017-06-14 Alan Modra <amodra@gmail.com>
2161
2162 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2163 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2164
2165 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2166
2167 [BZ #21548]
2168 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2169 8 and use it when copying general purpose registers.
2170 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2171 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2172 mips o32.
2173 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2174 new test for mips o32.
2175 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2176 8 and use it when copying general purpose registers.
2177 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2178
2179 2017-06-13 Florian Weimer <fweimer@redhat.com>
2180
2181 * configure.ac (find_cxx_header): Suppress compiler error message.
2182
2183 2017-06-13 Florian Weimer <fweimer@redhat.com>
2184
2185 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2186 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2187 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2188 begin/end.
2189 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2190 dynarray_int_end.
2191 (test_str): Test dynarray_str_begin, dynarray_str_end.
2192
2193 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2194
2195 [BZ #21573]
2196 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2197 $(common-objpfx)bits/std_abs.h.
2198 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2199 New target.
2200 * config.make.in (c++-bits-std_abs-h): New.
2201 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2202 (CXX_BITS_STD_ABS_H): New.
2203 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2204 * configure: Regenerated.
2205
2206 2017-06-13 Zack Weinberg <zackw@panix.com>
2207
2208 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2209 directives.
2210
2211 2017-06-12 Zack Weinberg <zackw@panix.com>
2212
2213 * bits/sched.h: Remove __need_schedparam logic and replace with a
2214 normal multiple-include guard. Change field name in struct
2215 sched_param from __sched_priority to sched_priority. Delete
2216 everything under #ifndef __cpu_set_t_defined.
2217 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2218 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2219
2220 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2221 For compatibility, #define sched_priority to itself, and #define
2222 __sched_priority as sched_priority.
2223 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2224 that was under #ifndef __cpu_set_t_defined in
2225 sysdeps/unix/sysv/linux/bits/sched.h.
2226 * include/bits/cpu-set.h: New wrapper.
2227 * posix/Makefile: Install bits/cpu-set.h.
2228
2229 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2230 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2231 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2232
2233 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2234 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2235 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2236 * math/libm-test-isfinite.inc (finite_test): Likewise.
2237 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2238 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2239 (nexttoward_test_data}: Likewise.
2240 * math/libm-test-remainder.inc (drem_test): Likewise.
2241 * math/libm-test-scalb.inc (scalb_test): Likewise.
2242 (scalb_test_data): Likewise.
2243 * math/libm-test-significand.inc (significand_test): Likewise.
2244 (significand_test_data): Likewise.
2245 * math/libm-test-support.c (check_complex): Replace __complex__
2246 FLOAT with CFLOAT to get the support for old compiler.
2247 * math/libm-test-support.h (check_complex): Likewise.
2248 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2249 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2250 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2251 * math/test-float128.h: New file.
2252 * math/test-math-floatn.h: New file.
2253
2254 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2255
2256 * include/float.h: Allow the definition of macros prefixed with
2257 FLT128 even if _ISOMAC is defined, but provided that
2258 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2259
2260 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2261
2262 * manual/math.texi (Mathematics): Add description for _FloatN and
2263 _FloatNx types and mentions that they are not support in glibc for
2264 any architecture, so far.
2265 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2266 stdlib.h with wchar.h.
2267 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2268 (Printing of Floats): Add description for strfromfN.
2269
2270 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2271 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2272 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2273
2274 * include/gmp.h (__mpn_construct_float128): New declaration.
2275 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2276 (__strtof128_l): New declaration.
2277 (__strtof128_nan): Likewise.
2278 (__wcstof128_nan): Likewise.
2279 (__strtof128_internal): Likewise.
2280 (____strtof128_l_internal): Likewise.
2281 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2282 (__wcstof128_l): New declaration.
2283 (__wcstof128_internal): Likewise.
2284
2285 * stdlib/Makefile (bug-strtod2): Link libm too.
2286
2287 * stdlib/stdlib.h (strtof128): New declaration.
2288 (strtof128_l): Likewise.
2289
2290 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2291 tst-strtod.h macros to ensure float128 gets tested too.
2292
2293 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2294
2295 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2296 tests.
2297 (IF_FLOAT128): New macro.
2298 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2299 the tests.
2300 (STRTOD_TEST_FOREACH): Likewise.
2301
2302 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2303 wcstof128 functions into libc.
2304
2305 * sysdeps/ieee754/float128/Versions: Add exports for the above
2306 new functions.
2307
2308 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2309 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2310 * sysdeps/ieee754/float128/strtof128.c: New file.
2311 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2312 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2313 * sysdeps/ieee754/float128/wcstof128.c: New file.
2314 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2315 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2316 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2317 (CFLAGS-wcstof128_l): Likewise.
2318
2319 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2320 (wcstof128): New declaration.
2321 (wcstof128_l): Likewise.
2322
2323 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2324
2325 [BZ #21552]
2326 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2327 not [__USE_XOPEN].
2328 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2329
2330 [BZ #21550]
2331 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2332
2333 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2336 strcpy-sse2 and stpcpy-sse2.
2337 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2338 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2339 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2340 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2341 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2342 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2343 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2344 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2345 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2346 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2347 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2348 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2349 (libc_hidden_def): Always defined as empty.
2350 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2351 Always Defined as empty.
2352
2353 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2354
2355 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2356
2357 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2358
2359 [BZ #15105]
2360 [BZ #19463]
2361 * include/string.h: Add internal redirect for __stpcpy.
2362 * string/Makefile: Remove bits/string2.h.
2363 * string/string.h: Update comment.
2364 * string/string-inlines.c: Remove bits/string2.h include and comment.
2365 * string/bits/string2.h: Remove file.
2366
2367 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2368
2369 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2370 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2371 * sunrpc/des_impl.c (_des_crypt): Likewise.
2372 * sunrpc/key_call.c (key_gendes): Likewise.
2373 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2374 * sunrpc/svc_simple.c (universal): Likewise.
2375 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2376 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2377 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2378
2379 2017-06-10 Zack Weinberg <zackw@panix.com>
2380
2381 * stdlib/errno.h: Correct an outdated comment.
2382
2383 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2384
2385 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2386 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2387 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2388 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2389 New file. Invoke newly supported sysconf values for powerpc,
2390 and report results. If none are supported, report so.
2391 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2392 tst-sysconf.
2393
2394 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2395
2396 * include/sys/auxv.h (__getauxval): Add a prototype and its
2397 libc_hidden_proto.
2398 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2399
2400 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2401
2402 [BZ #21561]
2403 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2404 [__USE_XOPEN_EXTENDED].
2405 (id_t): Likewise.
2406 (include of <bits/types/siginfo_t.h): Likewise.
2407 (waitid): Likewise.
2408 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2409 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2410 (WEXITED): Likewise.
2411 (WCONTINUED): Likewise.
2412 (WNOWAIT): Likewise.
2413 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2414 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2415 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2416
2417 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2418 libc.so PLT entry optional.
2419 (__gtsf2): Likewise.
2420 (__unorddf2): Likewise.
2421 (__unordsf2): Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2423 New optional libc.so PLT entry.
2424
2425 [BZ #21554]
2426 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2427 not [__USE_XOPEN].
2428
2429 [BZ #21560]
2430 * posix/sys/wait.h: Condition include of <signal.h> on
2431 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2432 unconditionally.
2433 [!__pid_t_defined] (pid_t): Define typedef.
2434
2435 2017-06-09 Zack Weinberg <zackw@panix.com>
2436
2437 * include/errno.h (__errno_location): Use __attribute_const__
2438 instead of bare __attribute__.
2439
2440 2017-06-09 Zack Weinberg <zackw@panix.com>
2441
2442 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2443 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2444 more appropriate location. Also add dl-tunable-list.h and
2445 dl-tunable-list.stmp.
2446
2447 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2450
2451 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2452
2453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2454 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2456 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2457 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2458 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2459 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2460 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2461 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2462 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2463 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2464
2465 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2466
2467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2468 memrchr-sse2 and memrchr-avx2.
2469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2470 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2471 __memrchr_sse2.
2472 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2473 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2474 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2475
2476 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2479 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2480 wcschr-sse2 and wcschr-avx2.
2481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2482 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2483 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2484 __wcschr_sse2.
2485 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2486 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2487 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2488 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2489 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2490 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2491 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2492 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2493 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2494 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2495
2496 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2499 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2500 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2502 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2503 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2504 __wcslen_sse2 and __wcsnlen_avx2.
2505 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2506 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2507 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2508 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2509 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2510 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2511 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2512 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2513 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2514 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2515 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2516 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2517 vzeroupper is preferred and AVX unaligned load is fast.
2518
2519 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2522 USE_AS_WMEMCHR is defined.
2523 (PCMPEQ): Likewise.
2524 (memchr): Renamed to ...
2525 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2526 Replace pcmpeqb with PCMPEQ.
2527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2528 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2529 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2530 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2531 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2532 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2533 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2534 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2535 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2536 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2537 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2538 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2539 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2541 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2542 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2543 __wmemchr_sse2.
2544
2545 2017-06-09 Florian Weimer <fweimer@redhat.com>
2546
2547 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2548 tst-dynarray-fail.
2549
2550 2017-06-09 Florian Weimer <fweimer@redhat.com>
2551
2552 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2553 * support/support_test_verify_impl.c
2554 (support_test_verify_exit_impl): Split from
2555 support_test_verify_impl.
2556 * support/check.h (TEST_VERIFY): Drop status argument from
2557 support_test_verify_impl call.
2558 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2559 (support_test_verify_impl): Remove status argument.
2560 (support_test_verify_exit_impl): Declare.
2561
2562 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2563
2564 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2565 mention of magic numbers in comments.
2566 (_dl_procinfo): Fix undefined behavior
2567
2568 2017-06-08 Joseph Myers <joseph@codesourcery.com>
2569
2570 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2571 [XPG4].
2572 (WEXITED): Likewise.
2573 (WSTOPPED): Likewise.
2574 (WCONTINUED): Likewise.
2575 (WNOHANG): Likewise.
2576 (WNOWAIT): Likewise.
2577 (idtype_t): Likewise.
2578 (P_ALL): Likewise.
2579 (P_PID): Likewise.
2580 (P_PGID): Likewise.
2581 (id_t): Likewise.
2582 (siginfo_t): Likewise.
2583 (wait3): Likewise.
2584 (waitid): Likewise.
2585 (signal.h): Do not allow header for [XPG4].
2586 (sys/resource.h): Likewise.
2587 (si_*): Do not allow for [XPG4].
2588 (W*): Likewise.
2589 (P_*): Likewise.
2590 (BUS_): Likewise.
2591 (CLD_): Likewise.
2592 (FPE_): Likewise.
2593 (ILL_): Likewise.
2594 (POLL_): Likewise.
2595 (SEGV_): Likewise.
2596 (SI_): Likewise.
2597 (TRAP_): Likewise.
2598 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2599 variable.
2600
2601 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 [BZ #21528]
2604 * elf/dl-minimal.c (__strtoul_internal): Removed.
2605 (strtoul): Likewise.
2606 * elf/dl-misc.c (_dl_strtoul): New function.
2607 * elf/dl-tunables.c (tunables_strtoul): Removed.
2608 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2609 * elf/rtld.c (process_envvars): Likewise.
2610 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2611 Likewise.
2612 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2613
2614 2017-06-08 Zack Weinberg <zackw@panix.com>
2615
2616 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2617 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2618 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2619 * wctype/bits/wctype-wchar.h: New file holding declarations shared
2620 between wctype.h and wchar.h.
2621
2622 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2623 Install them.
2624
2625 * include/bits/types/FILE.h, include/bits/types/__FILE.h
2626 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2627 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2628 New wrappers.
2629 * include/stdio.h, include/wchar.h, include/wctype.h:
2630 No need to handle __need macros.
2631
2632 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2633 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2634 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2635 * wcsmbs/wchar.h, wctype/wctype.h
2636 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2637 Use the new files instead of __need macros.
2638
2639 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2640
2641 * string/test-memrchr.c (test_main): Add tests for len == 0
2642 and tests for positions close to the beginning, which are
2643 equivalent to positions close to the end for memchr.
2644
2645 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2648 comments.
2649 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2650 instead of wmemset.h.
2651 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2652 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2653 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2654
2655 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2656
2657 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2658 spec->info.is_binary128 to zero.
2659 * stdio-common/printf.h (printf_info): Add new member is_binary128
2660 to indicate that the number being converted to string is compatible
2661 with the IEC 60559 binary128 format.
2662 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2663 _Float128 numbers.
2664 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2665 ldbl-128/printf_fphex_macros.h
2666 (__printf_fphex): Add code to deal with _Float128 numbers.
2667 * stdio-common/printf_size.c (__printf_size): Likewise.
2668 * stdio-common/vfprintf.c (process_arg): Initialize member
2669 info.is_binary128 to zero.
2670 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2671 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2672 (strfromf128): New declaration.
2673 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2674 to one.
2675 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2676 * sysdeps/ieee754/float128/Versions: Likewise.
2677 * sysdeps/ieee754/float128/strfromf128.c: New file.
2678
2679 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2680
2681 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2682 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2683 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2684 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2685 (PRINT_FPHEX): New function-like macro that can be used for long
2686 double, as well as for _Float128
2687
2688 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2689
2690 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
2691 (__printf_fp_l): Use the new macro to avoid duplicating code.
2692 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
2693 (__printf_fphex): Use the new macro to avoid duplicating code.
2694 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
2695 (__printf_size): Use the new macro to avoid duplicating code.
2696
2697 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2698
2699 * include/gmp.h: Include bits/floatn.h
2700 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
2701 * stdlib/gmp-impl.h: Also check if alloca is not defined before
2702 including stack-alloc.h. It could have been defined by other header
2703 which not necessarily defines HAVE_ALLOCA.
2704 * sysdeps/ieee754/float128/Makefile: New file.
2705 * sysdeps/ieee754/float128/float1282mpn.c: New file.
2706 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2707 redefining __mpn_extract_long_double to __mpn_extract_float128, then
2708 redefine __mpn_extract_long_double to __mpn_extract_float128.
2709 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2710 _Float128 to allow float128_private.h overrides.
2711
2712 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2713
2714 * stdlib/fpioconst.h: Include bits/floatn.h.
2715 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2716 power of ten table should be.
2717 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2718 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2719 to include larger tables when _Float128 support is enabled.
2720 (_fpioconst_pow10): Likewise.
2721
2722 2017-06-07 Joseph Myers <joseph@codesourcery.com>
2723
2724 * include/bits/types/clock_t.h: Use #include <path> instead of
2725 #include "../../path".
2726 * include/bits/types/clockid_t.h: Likewise.
2727 * include/bits/types/struct_iovec.h: Likewise.
2728 * include/bits/types/struct_itimerspec.h: Likewise.
2729 * include/bits/types/struct_osockaddr.h: Likewise.
2730 * include/bits/types/struct_sigstack.h: Likewise.
2731 * include/bits/types/struct_timespec.h: Likewise.
2732 * include/bits/types/struct_timeval.h: Likewise.
2733 * include/bits/types/struct_tm.h: Likewise.
2734 * include/bits/types/time_t.h: Likewise.
2735 * include/bits/types/timer_t.h: Likewise.
2736
2737 [BZ #14096]
2738 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2739 America/New_York.
2740
2741 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2744 into ...
2745 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
2746 ifunc-sse4_1.h.
2747
2748 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
2749
2750 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2751 Remove check for NULL 'buf'.
2752 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2753
2754 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
2755
2756 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2757 include test-skeleton.c.
2758 Include support/check.h and support/test-driver.c.
2759
2760 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2761
2762 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2763 (_dl_aarch64_cap_flags): New array.
2764 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2765 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2766 functions.
2767
2768 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2769 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2770 Likewise.
2771 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2772 up hwcap and hwcap_mask.
2773
2774 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2775 (init_cpu_features): Use glibc.tune.hwcap_mask.
2776 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2777
2778 * elf/dl-hwcaps.h: New file.
2779 * elf/dl-hwcaps.c: Include it.
2780 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2781 glibc.tune.hwcap_mask.
2782 * elf/dl-cache.c: Include dl-hwcaps.h.
2783 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2784 glibc.tune.hwcap_mask.
2785 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2786 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2787 _dl_hwcap_mask.
2788 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2789 _dl_hwcap_mask.
2790 (process_envvars)[HAVE_TUNABLES]: Likewise.
2791 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2792 Likewise.
2793 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2794 initialize dl_hwcap_mask when tunables are enabled.
2795
2796 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2797 guard.
2798 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2799
2800 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2801 * scripts/gen-tunables.awk: Include dl-procinfo.h.
2802 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2803
2804 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2805 * elf/dl-tunables.c: Likewise.
2806 (do_tunable_update_val): New function.
2807 (__tunable_set_val): New function.
2808 (__tunable_get_val): Call CB only if the tunable was externally
2809 initialized.
2810 (tunables_strtoul): Replace strval with initialized.
2811 * elf/dl-tunables.h (strval): Replace with a bool initialized.
2812 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2813 prevent collision.
2814 (__tunable_set_val): New function.
2815 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2816 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2817 (TUNABLE_SET_VAL): Remove.
2818 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2819 * README.tunables: Document the new macros.
2820 * malloc/arena.c (ptmalloc_init): Adjust.
2821
2822 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2825 wcsnlen-sse4_1 and wcsnlen-c.
2826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2827 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2828 __wcsnlen_sse2.
2829 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2830 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2831 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2832 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2833 * sysdeps/x86_64/wcsnlen.S: Removed.
2834
2835 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2836
2837 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2838 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2839 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2840 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2841
2842 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2843
2844 * NEWS: Mention new spinlock implementation.
2845 * include/atomic.h:
2846 (__atomic_val_bysize): Cast type to omit volatile qualifier.
2847 (atomic_exchange_acq): Likewise.
2848 (atomic_load_relaxed): Likewise.
2849 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2850 * nptl/pthread_spin_init.c (pthread_spin_init):
2851 Use atomic_store_relaxed.
2852 * nptl/pthread_spin_lock.c (pthread_spin_lock):
2853 Use C11-like atomic macros.
2854 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2855 Likewise.
2856 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2857 Use atomic_store_release.
2858 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2859 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2860 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2861 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2862 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2863 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2864 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2865 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2866 * sysdeps/alpha/atomic-machine.h: Likewise.
2867 * sysdeps/arm/atomic-machine.h: Likewise.
2868 * sysdeps/i386/atomic-machine.h: Likewise.
2869 * sysdeps/ia64/atomic-machine.h: Likewise.
2870 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2871 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2872 * sysdeps/microblaze/atomic-machine.h: Likewise.
2873 * sysdeps/mips/atomic-machine.h: Likewise.
2874 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2875 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2876 * sysdeps/s390/atomic-machine.h: Likewise.
2877 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2878 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2879 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2880 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2881 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2882 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2883 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2884 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2886 * sysdeps/x86_64/atomic-machine.h: Likewise.
2887
2888 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2889
2890 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2891 and use it instead of dl_x86_cpu_features.
2892 (handle_intel): Replace maxidx with cpu_features. Pass
2893 cpu_features to intel_check_word.
2894 (__cache_sysconf): Pass cpu_features to handle_intel.
2895 (init_cacheinfo): Likewise. Use cpu_features instead of
2896 dl_x86_cpu_features.
2897
2898 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2902 memcmp-avx2 and wmemcmp-avx2.
2903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2904 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2905 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2906 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2907 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2908 2 machines if AVX unaligned load is fast and vzeroupper is
2909 preferred.
2910 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2911 2 machines if AVX unaligned load is fast and vzeroupper is
2912 preferred.
2913
2914 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * include/wchar.h (__wmemset_chk): New.
2917 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2918 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2919 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2920 (WMEMSET_CHK_SYMBOL): Likewise.
2921 (WMEMSET_SYMBOL): Likewise.
2922 (__wmemset): Add hidden definition.
2923 (wmemset): Add weak hidden definition.
2924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2925 wmemset_chk-nonshared.
2926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2927 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2928 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2929 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2930 and __wmemset_chk_avx512_unaligned.
2931 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2932 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2933 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2934 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2935 (WMEMSET_SYMBOL): Likewise.
2936 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2937 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2938 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2939 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2940 (WMEMSET_SYMBOL): Likewise.
2941 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2942 (WMEMSET_CHK_SYMBOL): New.
2943 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2944 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2945 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2946 (libc_hidden_builtin_def): Also define __GI_wmemset and
2947 __GI___wmemset.
2948 (weak_alias): New.
2949 * sysdeps/x86_64/multiarch/wmemset.c: New file.
2950 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2951 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2952 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2953 * sysdeps/x86_64/wmemset.c: Likewise.
2954 * sysdeps/x86_64/wmemset_chk.c: Likewise.
2955
2956 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2957 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86/init-arch.h (PASTER1): New.
2960 (EVALUATOR1): Likewise.
2961 (PASTER2): Likewise.
2962 (EVALUATOR2): Likewise.
2963 (REDIRECT_NAME): Likewise.
2964 (OPTIMIZE): Likewise.
2965 (IFUNC_SELECTOR): Likewise.
2966
2967 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * sysdeps/x86_64/strlen.S (PMINU): New.
2970 (PCMPEQ): Likewise.
2971 (SHIFT_RETURN): Likewise.
2972 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2973 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
2974 pminub with PCMPEQ and PMINU.
2975 * sysdeps/x86_64/wcsnlen.S: New file.
2976
2977 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2980 the lower 32 bits. Remove redundant instructions.
2981
2982 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2985 0 as the high part of offset.
2986 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2987
2988 2017-06-05 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #21538]
2991 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2992 [__USE_UNIX98].
2993 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2994 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2995 Likewise.
2996 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2997 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2998 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2999 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3000 Likewise.
3001
3002 [BZ #21517]
3003 * bits/types/stack_t.h (stack_t): Remove struct tag.
3004 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3007 Likewise.
3008 * debug/segfault.c (install_handler): Use stack_t instead of
3009 struct sigaltstack.
3010 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3011 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3012 * include/signal.h (__sigaltstack): Likwise.
3013 * signal/sigaltstack.c (__sigaltstack): Likewise.
3014 * signal/signal.h (sigaltstack): Likewise.
3015 * sysdeps/mach/hurd/i386/signal-defines.sym
3016 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3017 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3018 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3019 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3020 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3021 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3022 elf_prstatus): Likewise.
3023 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3024 Likewise.
3025 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3026 Likewise.
3027 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3030 elf_prstatus): Likewise.
3031 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3034 Likewise.
3035
3036 2017-06-04 Zack Weinberg <zackw@panix.com>
3037
3038 * sysdeps/gnu/errlist.c: Regenerate.
3039
3040 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 * benchtests/bench-memchr.c (do_test): Print out both length
3043 and position.
3044 (test_main): Also test the position close to the beginning for
3045 memrchr.
3046
3047 2017-06-04 Zack Weinberg <zackw@panix.com>
3048
3049 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3050 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3051 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3052 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3053 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3054 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3055 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3056 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3057 * nis/nis_print_group_entry.c, nis/nis_remove.c
3058 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3059 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3060 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3061 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3062 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3063 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3064 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3065 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3066 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3067 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3068 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3069 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3070 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3071 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3072 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3073 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3074 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3075 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3076 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3077 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3078
3079 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3080 abi-versions.h as well as shlib-compat.h.
3081 * sunrpc/get_myaddr.c: Remove obsolete comment.
3082 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3083 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3084 * resolv/res_libc.c: Include shlib-compat.h only once.
3085
3086 2017-06-03 Florian Weimer <fweimer@redhat.com>
3087
3088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3089 of strdup.
3090
3091 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3094 Set to the 3/4 of the total shared cache size.
3095
3096 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3097
3098 * manual/errno.texi: Remove redundant error strings.
3099 * manual/macros.texi (@errno): Render the error string in every
3100 description.
3101
3102 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3103
3104 [BZ #21543]
3105 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3106 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3107 [__USE_XOPEN_EXTENDED].
3108
3109 2017-06-02 Florian Weimer <fweimer@redhat.com>
3110
3111 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3112 strdupa.
3113 (getcanonname): Use __strdup instead of strdup.
3114
3115 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3116
3117 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3118 (CFLAGS-preadv64v2.c): Likewise.
3119 (CFLAGS-pwritev2.c): Likewise.
3120 (CFLAGS-pwritev64v2.c): Likewise.
3121
3122 2017-06-02 Florian Weimer <fweimer@redhat.com>
3123
3124 Test res_init with several configuration files.
3125 * resolv/Makefile [build-shared] (tests-internal): Add
3126 tst-resolv-res_init, tst-resolv-res_init-thread.
3127 (tst-resolv-res_init): Link against libdl, libresolv.
3128 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3129 libpthread.
3130 * resolv/tst-resolv-res_init.c: New file.
3131 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3132 * resolv/tst-resolv-res_init-thread.c: Likewise.
3133 * support/Makefile (libsupport-routines): Add support-xstat,
3134 support_can_chroot, support_capture_subprocess_check,
3135 support_isolate_in_subprocess, support_shared_allocate,
3136 support_write_file_string, xchroot, xmkdir, xopen.
3137 * support/capture_subprocess.h (enum support_capture_allow): Define.
3138 (support_capture_subprocess_check): Declare.
3139 * support/namespace.h (support_can_chroot)
3140 (support_isolate_in_subprocess): Declare.
3141 * support/support-xstat.c: New file.
3142 * support/support.h (support_shared_allocate, support_shared_free)
3143 (support_write_file_string): Declare.
3144 * support/support_can_chroot.c: New file.
3145 * support/support_capture_subprocess_check.c: Likewise.
3146 * support/support_isolate_in_subprocess.c: Likewise.
3147 * support/support_shared_allocate.c: Likewise.
3148 * support/support_write_file_string.c: Likewise.
3149 * support/xchroot.c: Likwise.
3150 * support/xmkdir.c: Likwise.
3151 * support/xopen.c: Likwise.
3152 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3153
3154 2017-06-02 Florian Weimer <fweimer@redhat.com>
3155
3156 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3157 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3158
3159 2017-06-02 Florian Weimer <fweimer@redhat.com>
3160
3161 * malloc/Makefile (routines): Add dynarray_at_failure,
3162 dynarray_emplace_enlarge, dynarray_finalize.
3163 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3164 tst-dynarray-at-fail.
3165 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3166 (tests-special): Add tst-dynarray-mem.out,
3167 tst-dynarray-mem-fail.out.
3168 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3169 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3170 mtrace.
3171 * malloc/Versions (__libc_dynarray_at_failure)
3172 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3173 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3174 GLIBC_PRIVATE.
3175 * malloc/dynarray.h: New file.
3176 * malloc/dynarray-skeleton.c: Likewise.
3177 * malloc/dynarray_at_failure.c: Likewise.
3178 * malloc/dynarray_emplace_enlarge.c: Likewise.
3179 * malloc/dynarray_finalize.c: Likewise.
3180 * malloc/dynarray_resize.c: Likewise.
3181 * malloc/dynarray_resize_clear.c: Likewise.
3182 * malloc/tst-dynarray.c: Likewise.
3183 * malloc/tst-dynarray-fail.c: Likewise.
3184 * malloc/tst-dynarray-at-fail.c: Likewise.
3185 * malloc/tst-dynarray-shared.h: Likewise.
3186 * support/Makefile (libsupport-routines): Add
3187 support_capture_subprocess, xdup2, xpipe.
3188 (tests): Add tst-support_capture_subprocess.
3189 * support/capture_subprocess.h: New file.
3190 * support/support_capture_subprocess.c: Likewise.
3191 * support/tst-support_capture_subprocess.c: Likewise.
3192 * support/xdup2.c: Likewise.
3193 * support/xpipe.c: Likewise.
3194 * support/xunistd.h (xdup2, xpipe): Declare.
3195
3196 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3197
3198 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3199 macros MAX and MIN.
3200
3201 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3202
3203 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3204 [XPG4].
3205 (SA_SIGINFO): Likewise.
3206 (SA_ONSTACK): Likewise.
3207 (SA_RESETHAND): Likewise.
3208 (SA_RESTART): Likewise.
3209 (SA_NOCLDWAIT): Likewise.
3210 (SA_NODEFER): Likewise.
3211 (SS_ONSTACK): Likewise.
3212 (SS_DISABLE): Likewise.
3213 (MINSIGSTKSZ): Likewise.
3214 (SIGSTKSZ): Likewise.
3215 (ucontext_t): Likewise.
3216 (stack_t): Likewise.
3217 (struct sigstack): Likewise.
3218 (SI_USER): Do not expect for [XPG4 || XPG42].
3219 (SI_QUEUE): Likewise.
3220 (SI_TIMER): Likewise.
3221 (SI_ASYNCIO): Likewise.
3222 (SI_MESGQ): Likewise.
3223 (bsd_signal): Do not expect for [XPG4].
3224 (killpg): Likewise.
3225 (sigaltstack): Likewise.
3226 (sighold): Likewise.
3227 (sigignore): Likewise.
3228 (siginterrupt): Likewise.
3229 (sigpause): Likewise.
3230 (sigrelse): Likewise.
3231 (sigset): Likewise.
3232 (sigwait): Do not expect for [XPG4 || XPG42].
3233
3234 2017-06-01 Zack Weinberg <zackw@panix.com>
3235
3236 [BZ #21514]
3237 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3238 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3239
3240 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3241
3242 [BZ #21457]
3243 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3244 NGREG to __NGREG if [__USE_MISC].
3245 (gregset_t): Define using __NGREG.
3246 (__ctx): New macro.
3247 (mcontext_t): Use __ctx in defining fields.
3248 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3249 define NGREG to __NGREG if [__USE_MISC].
3250 (gregset_t): Define using __NGREG.
3251 (__ctx): New macro.
3252 (__ctxt): Likewise.
3253 (fpregset_t): Use __ctx and __ctxt in defining fields.
3254 (mcontext_t): Likewise.
3255 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3256 define NGREG to __NGREG if [__USE_MISC].
3257 (gregset_t): Define using __NGREG.
3258 (__ctx): New macro.
3259 (mcontext_t): Use __ctx in defining fields.
3260 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3261 define NGREG to __NGREG if [__USE_MISC].
3262 (gregset_t): Define using __NGREG.
3263 (__ctx): New macro.
3264 (fpregset_t): Use __ctx in defining fields.
3265 (mcontext_t): Likewise.
3266 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3267 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3268 (gregset_t): Define using __NGREG.
3269 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3270 [__USE_MISC].
3271 (fpregset_t): Define using __NFPREG.
3272 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3273 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3274 (gregset_t): Define using __NGREG.
3275 (__ctx): New macro.
3276 (fpregset_t): Use __ctx in defining fields.
3277 (mcontext_t): Likewise.
3278 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3279 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3280 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3281 [__USE_MISC].
3282 (gregset_t): Define using __NGREG.
3283 (__ctx): New macro.
3284 (fpregset_t): Use __ctx in defining fields.
3285 (mcontext_t): Likewise.
3286 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3287 (mcontext_t): Use __ctx in defining fields.
3288 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3289 macro.
3290 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3291 __NGREG if [__USE_MISC].
3292 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3293 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3294 (mcontext_t): Likewise.
3295 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3296 __NGREG if [__USE_MISC].
3297 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3298 to __NFPREG if [__USE_MISC].
3299 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3300 to __NVRREG if [__USE_MISC].
3301 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3302 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3303 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3304 [__WORDSIZE != 32] (vrregset_t): Likewise.
3305 [__WORDSIZE != 32] (mcontext_t): Likewise.
3306 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3307 (__psw_t): Use __ctx in defining fields.
3308 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3309 [__USE_MISC].
3310 (gregset_t): Define using __NGREG.
3311 (fpreg_t): Use __ctx in defining fields.
3312 (fpregset_t): Likewise.
3313 (mcontext_t): Likewise.
3314 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3315 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3316 (gregset_t): Define using __NGREG.
3317 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3318 [__USE_MISC].
3319 (fpregset_t): Define using __NFPREG.
3320 (__ctx): New macro.
3321 (mcontext_t): Use __ctx in defining fields.
3322 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3323 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3324 __NGREG if [__USE_MISC].
3325 [__x86_64__] (gregset_t): Define using __NGREG.
3326 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3327 [__x86_64__] (struct _libc_fpstate): Likewise.
3328 [__x86_64__] (mcontext_t): Likewise.
3329 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3330 __NGREG if [__USE_MISC].
3331 [!__x86_64__] (gregset_t): Define using __NGREG.
3332 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3333 [!__x86_64__] (struct _libc_fpstate): Likewise.
3334 [!__x86_64__] (mcontext_t): Likewise.
3335
3336 2017-06-01 Zack Weinberg <zackw@panix.com>
3337
3338 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3339 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3340 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3341 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3342 libpthread.so no longer references __errno_location.
3343
3344 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3345
3346 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3347 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3348 pwritev64v2.
3349 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3350 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3351 pwritev64v2.
3352 * misc/preadv2.c: New file.
3353 * misc/preadv64v2.c: Likewise.
3354 * misc/pwritev2.c: Likewise.
3355 * misc/pwritev64v2.c: Likewise.
3356 * misc/tst-preadvwritev2.c: Likewise.
3357 * misc/tst-preadvwritev64v2.c: Likewise.
3358 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3359 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3360 prototype.
3361 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3362 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3363 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3364 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3365 (PWRITEV): Likewise.
3366 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3367 ENOSYS.
3368 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3369 (tf_preadv2): Likewise.
3370 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3371 * sysdeps/posix/preadv2.c: Likewise.
3372 * sysdeps/posix/preadv64v2.c: Likewise.
3373 * sysdeps/posix/pwritev2.c: Likewise.
3374 * sysdeps/posix/pwritev64v2.c: Likewise.
3375 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3376 support in kernel.
3377 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3378 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3379 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3380 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3381 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3382 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3383 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3384 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3385 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3386 support flags on Linux.
3387 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3388 preadv2, preadv64v2, pwritev2, pwritev64v2.
3389 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3390 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3391 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3392 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3393 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3394 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3395 Likewise.
3396 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3401 Likewise.
3402 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3403 Likewise.
3404 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3405 Likewise.
3406 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3407 Likewise.
3408 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3410 (GLIBC_2.26): Likewise.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3412 (GLIBC_2.26): Likewise.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3416 (GLIBC_2.26): Likewise.
3417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3418 Likewise.
3419 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3420 Likewise.
3421 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3423 Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3425 Likewise.
3426 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3427 Likewise.
3428 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3429 Likewise.
3430 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3431 Likewise.
3432 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3433 Likewise.
3434 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3435 Likewise.
3436
3437 2017-05-31 Andreas Schwab <schwab@suse.de>
3438
3439 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3440 (main): Rename to do_test and make static.
3441
3442 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3443
3444 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3445 ARCH_INIT_CPU_FEATURES.
3446 (LIBC_START_MAIN): Call it.
3447 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3448 (__libc_start_main): Remove.
3449 (ARCH_INIT_CPU_FEATURES): New macro.
3450 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3451 (ARCH_INIT_CPU_FEATURES): New macro.
3452
3453 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3454 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3455
3456 * include/stdlib.h (__libc_reallocarray): New declaration.
3457 * malloc/Makefile (routines): Add reallocarray.
3458 (tests): Add tst-reallocarray.c.
3459 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3460 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3461 function.
3462 * malloc/malloc.h (reallocarray): New declaration.
3463 * stdlib/stdlib.h (reallocarray): Likewise.
3464 * malloc/reallocarray.c: New file.
3465 * malloc/tst-reallocarray.c: New test file.
3466 * manual/memory.texi: Document reallocarray.
3467 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3468 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3469 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3470 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3471 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3472 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3473 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3474 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3475 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3476 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3478 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3489 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3491 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3494 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3495 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3496 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3497
3498 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3499
3500 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3501 the lower 32 bits.
3502
3503 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3504
3505 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3506 $(build-pie-default) = yes]: Define.
3507
3508 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 * string/test-memchr.c (test_main): Add tests for n == 0.
3511
3512 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3513
3514 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3515 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3516 (tests-internal): ... here.
3517
3518 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3519 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3522 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3523 (__tunable_set_val): Likewise.
3524
3525 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3528 dl-tunables.list in subdirectories.
3529
3530 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3531 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3532 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3533
3534 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3535 (SNANF128): New macro.
3536 * math/e_sqrtf128.c: New file.
3537 * math/s_fmaxmag_template.c: Include math_private.h in order to
3538 make inline expansion of fabs128().
3539 * math/s_fminmag_template.c: Likewise.
3540
3541 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3542 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3543 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3544 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3545 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3546 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3547 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3548 * sysdeps/ieee754/float128/e_expf128.c: New file.
3549 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3550 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3551 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3552 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3553 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3554 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3555 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3556 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3557 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3558 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3559 * sysdeps/ieee754/float128/e_logf128.c: New file.
3560 * sysdeps/ieee754/float128/e_powf128.c: New file.
3561 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3562 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3563 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3564 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3565 * sysdeps/ieee754/float128/float128_private.h: New file.
3566 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3567 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3568 * sysdeps/ieee754/float128/k_cosf128.c: New file.
3569 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3570 * sysdeps/ieee754/float128/k_sinf128.c: New file.
3571 * sysdeps/ieee754/float128/k_tanf128.c: New file.
3572 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3573 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3574 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3575 * sysdeps/ieee754/float128/s_atanf128.c: New file.
3576 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3577 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3578 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3579 * sysdeps/ieee754/float128/s_cosf128.c: New file.
3580 * sysdeps/ieee754/float128/s_erff128.c: New file.
3581 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3582 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3583 * sysdeps/ieee754/float128/s_finitef128.c: New file.
3584 * sysdeps/ieee754/float128/s_floorf128.c: New file.
3585 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3586 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3587 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3588 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3589 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3590 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3591 * sysdeps/ieee754/float128/s_isinff128.c: New file.
3592 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3593 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3594 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3595 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3596 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3597 * sysdeps/ieee754/float128/s_logbf128.c: New file.
3598 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3599 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3600 * sysdeps/ieee754/float128/s_modff128.c: New file.
3601 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3602 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3603 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3604 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3605 * sysdeps/ieee754/float128/s_remquof128.c: New file.
3606 * sysdeps/ieee754/float128/s_rintf128.c: New file.
3607 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3608 * sysdeps/ieee754/float128/s_roundf128.c: New file.
3609 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3610 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3611 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3612 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3613 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3614 * sysdeps/ieee754/float128/s_significandf128.c: New file.
3615 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3616 * sysdeps/ieee754/float128/s_sinf128.c: New file.
3617 * sysdeps/ieee754/float128/s_tanf128.c: New file.
3618 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3619 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3620 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3621 * sysdeps/ieee754/float128/s_truncf128.c: New file.
3622 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3623 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3624 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3625 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3626
3627 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3628 (__iscanonicalf128): Define as a macro.
3629
3630 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
3631
3632 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3633 (memmove): Use MEMMOVE for name.
3634 (memcpy): Use MEMCPY for name. Change internal labels
3635 to external labels.
3636 * sysdeps/aarch64/multiarch/Makefile: New file.
3637 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3638 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3639 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3640 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3641 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3642 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3643
3644 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
3645
3646 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3647 (_dl_arm_cap_flags): Fix array subscript.
3648 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3649 Fix count.
3650
3651 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3654
3655 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3658 (is_amd): Likewise.
3659 (max_cpuid): Likewise.
3660 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3661 (init_cacheinfo): Likewise.
3662
3663 2017-05-23 Joseph Myers <joseph@codesourcery.com>
3664
3665 [BZ #21511]
3666 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3667 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3668 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3669 !__USE_XOPEN2K) || __USE_MISC].
3670 * conform/data/signal.h-data (struct sigstack): Expect type only
3671 if [!XOPEN2K8 && !POSIX2008].
3672 (sigstack): Expect function only if [XPG42 || UNIX98].
3673
3674 [BZ #21457]
3675 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3676 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3677 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3678 <bits/types/__sigset_t.h>.
3679 (ucontext_t): Use sigset_t instead of __sigset_t.
3680 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3681 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3682 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3683 <bits/types/__sigset_t.h>.
3684 (ucontext_t): Use sigset_t instead of __sigset_t.
3685 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3686 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3687 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3688 <bits/types/__sigset_t.h>.
3689 (ucontext_t): Use sigset_t instead of __sigset_t.
3690 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
3691 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3692 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3693 <bits/types/__sigset_t.h>.
3694 (ucontext_t): Use sigset_t instead of __sigset_t.
3695 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
3696 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3697 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3698 <bits/types/__sigset_t.h>.
3699 (ucontext_t): Use sigset_t instead of __sigset_t.
3700 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3701 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3702 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3703 <bits/types/__sigset_t.h>.
3704 (ucontext_t): Use sigset_t instead of __sigset_t.
3705 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3706 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3707 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3708 <bits/types/__sigset_t.h>.
3709 (ucontext_t): Use sigset_t instead of __sigset_t.
3710 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3711 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3712 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3713 <bits/types/__sigset_t.h>.
3714 (ucontext_t): Use sigset_t instead of __sigset_t.
3715 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3716 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3717 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3718 <bits/types/__sigset_t.h>.
3719 (ucontext_t): Use sigset_t instead of __sigset_t.
3720 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3721 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3722 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
3723 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3724 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3725 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3726 <bits/types/__sigset_t.h>.
3727 (ucontext_t): Use sigset_t instead of __sigset_t.
3728 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3729 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3730 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3731 <bits/types/__sigset_t.h>.
3732 (ucontext_t): Use sigset_t instead of __sigset_t.
3733 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3734 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3735 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3736 <bits/types/__sigset_t.h>.
3737 (ucontext_t): Use sigset_t instead of __sigset_t.
3738 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3739 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3740 <bits/ss_flags.h>.
3741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3742 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3743 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3744 <bits/types/__sigset_t.h>.
3745 (ucontext_t): Use sigset_t instead of __sigset_t.
3746 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3747 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3748 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3749 <bits/types/__sigset_t.h>.
3750 (ucontext_t): Use sigset_t instead of __sigset_t.
3751 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3752 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3753 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3754 <bits/types/__sigset_t.h>.
3755 (ucontext_t): Use sigset_t instead of __sigset_t.
3756 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3757 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3758 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3759 <bits/types/__sigset_t.h>.
3760 (ucontext_t): Use sigset_t instead of __sigset_t.
3761 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3762 <bits/types.h>.
3763 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3764 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3765 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3766 <bits/types/__sigset_t.h>.
3767 (ucontext_t): Use sigset_t instead of __sigset_t.
3768
3769 2017-05-22 Zack Weinberg <zackw@panix.com>
3770
3771 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3772 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3773 bits/siginfo-arch.h, only if not already defined.
3774 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3775 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3776 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3777 Likewise.
3778
3779 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3780 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3781 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3782 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3783 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3784 Unconditionally define __SI_* macros.
3785
3786 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3787
3788 [BZ #21393]
3789 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3790 and add a check for dup3 failure.
3791 * libio/freopen64.c (freopen64): Likewise.
3792 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3793 libsupport.
3794 (do_test_bz21398): New test.
3795 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3796
3797 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
3798
3799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3800 Remove invalid comment.
3801
3802 2017-05-21 Zack Weinberg <zackw@panix.com>
3803
3804 * signal/Makefile (headers): Add bits/types/sigval_t.h.
3805
3806 2017-05-20 Zack Weinberg <zackw@panix.com>
3807
3808 * bits/sigevent-consts.h
3809 * bits/siginfo-consts.h
3810 * bits/types/__sigset_t.h
3811 * bits/types/sigevent_t.h
3812 * bits/types/siginfo_t.h
3813 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3814 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3815 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3816 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3817 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3818 New system-dependent bits headers.
3819
3820 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3821 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3822 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3823 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3824 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3826 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3827 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3828 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3829 New Linux-only system-dependent bits headers.
3830
3831 * signal/bits/types/sig_atomic_t.h
3832 * signal/bits/types/sigset_t.h
3833 * signal/bits/types/sigval_t.h:
3834 New non-system-dependent bits headers.
3835
3836 * sysdeps/generic/sigsetops.h
3837 * sysdeps/unix/sysv/linux/sigsetops.h:
3838 New internal headers.
3839
3840 * include/bits/types/sig_atomic_t.h
3841 * include/bits/types/sigset_t.h
3842 * include/bits/types/sigval_t.h:
3843 New wrappers.
3844
3845 * signal/sigsetops.h
3846 * bits/siginfo.h
3847 * bits/sigset.h
3848 * sysdeps/unix/sysv/linux/bits/siginfo.h
3849 * sysdeps/unix/sysv/linux/bits/sigset.h
3850 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3851 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3852 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3854 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3856 Deleted.
3857
3858 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3859 Update lists of installed headers.
3860
3861 * posix/bits/types.h: Define __sig_atomic_t here.
3862 * signal/signal.h: Use the new bits headers; no need to handle
3863 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
3864 to define sigmask.
3865 * include/signal.h: No need to handle __need_sig_atomic_t
3866 nor __need_sigset_t. Don't define __sigemptyset.
3867
3868 * io/sys/poll.h, setjmp/setjmp.h
3869 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3870 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3871 * sysdeps/mach/hurd/i386/bits/sigcontext.h
3872 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3873 * sysdeps/pthread/bits/sigthread.h
3874 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3875 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3876 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3877 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3878 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3880 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3881 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3882 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3883 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3884 Use bits/types/__sigset_t.h.
3885
3886 * misc/sys/select.h, posix/spawn.h
3887 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3888 * sysdeps/unix/sysv/linux/sys/epoll.h
3889 * sysdeps/unix/sysv/linux/sys/signalfd.h:
3890 Use bits/types/sigset_t.h.
3891
3892 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3893 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3894 * socket/sys/socket.h: Don't include bits/sigset.h.
3895
3896 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3897 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3898 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3899 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3900 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3901 * sysdeps/unix/sysv/linux/nptl-signals.h:
3902 Include sigsetops.h.
3903
3904 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3905 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3906 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3907 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3908 now return no value.
3909
3910 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3911 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3912 "sigsetops.h".
3913
3914 * signal/sigsetops.c: Explicitly define __sigismember,
3915 __sigaddset, and __sigdelset as compatibility symbols.
3916
3917 * signal/Versions: Correct commentary on __sigpause,
3918 __sigaddset, __sigdelset, __sigismember.
3919
3920 * inet/rcmd.c: Include sigsetops.h. Convert old code using
3921 __sigblock/__sigsetmask to use __sigprocmask and friends.
3922
3923 * resolv/resolv.h: Remove __need_res_state logic.
3924 Move definition of res_state and related constants to ...
3925 * resolv/bits/types/res_state.h: ...this new file.
3926 * resolv/Makefile: Install bits/types/res_state.h.
3927 * include/bits/types/res_state.h: New wrapper.
3928 * include/list.h: Remove __need_list_t logic.
3929 Move definition of list_t to ...
3930 * include/list_t.h: ...this new file.
3931
3932 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3933 instead of list.h and resolv.h.
3934
3935 * resolv/resolv.h: Remove __need_res_state logic.
3936 Move definition of res_state and related constants to ...
3937 * resolv/bits/types/res_state.h: ...this new file.
3938 * resolv/Makefile: Install bits/types/res_state.h.
3939 * include/bits/types/res_state.h: New wrapper.
3940 * include/list.h: Remove __need_list_t logic.
3941 Move definition of list_t to ...
3942 * include/list_t.h: ...this new file.
3943
3944 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3945 instead of list.h and resolv.h.
3946
3947 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3950
3951 2017-05-20 Zack Weinberg <zackw@panix.com>
3952
3953 * sysdeps/arm/sysdep.h
3954 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3955
3956 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3957 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3958 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3959 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3960 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3961 * sysdeps/arm/armv6t2/strlen.S
3962 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3963 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3964 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3965 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3966 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3967 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3968
3969 2017-05-20 Zack Weinberg <zackw@panix.com>
3970
3971 Remove the NaCl port.
3972 * sysdeps/arm/nacl: Remove directory and contents.
3973 * sysdeps/nacl: Remove directory and contents.
3974 * abi-tags: Remove .*-.*-nacl.* entry.
3975
3976 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
3977
3978 * manual/errno.texi: Convert @comment-based errno documentation to
3979 @errno.
3980 * manual/macros.texi (@errno): New macro. Consolidate errors,
3981 their values, and messages, adding the error string to the Concept
3982 Index. Provide a warning in the comment about external (to the
3983 manual) dependencies.
3984 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3985 * sysdeps/mach/hurd/errnos.awk: Likewise.
3986
3987 2017-05-19 Joseph Myers <joseph@codesourcery.com>
3988
3989 * bits/ss_flags.h: New file.
3990 * bits/types/stack_t.h: Likewise.
3991 * include/bits/types/struct_sigstack.h: Likewise.
3992 * signal/bits/types/struct_sigstack.h: Likewise.
3993 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3994 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3995 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3996 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3997 bits/types/stack_t.h and bits/ss_flags.h.
3998 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3999 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4000 <bits/ss_flags.h>.
4001 * bits/sigstack.h (struct sigstack): Remove.
4002 (stack_t): Likewise.
4003 (SS_ONSTACK): Likewise.
4004 (SS_DISABLE): Likewise.
4005 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4006 (struct sigstack): Likewise.
4007 (stack_t): Likewise.
4008 (SS_ONSTACK): Likewise.
4009 (SS_DISABLE): Likewise.
4010 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4011 Likewise.
4012 (stack_t): Likewise.
4013 (SS_ONSTACK): Likewise.
4014 (SS_DISABLE): Likewise.
4015 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4016 Likewise.
4017 (stack_t): Likewise.
4018 (SS_ONSTACK): Likewise.
4019 (SS_DISABLE): Likewise.
4020 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4022 Likewise.
4023 (stack_t): Likewise.
4024 (SS_ONSTACK): Likewise.
4025 (SS_DISABLE): Likewise.
4026 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4027 (struct sigstack): Likewise.
4028 (stack_t): Likewise.
4029 (SS_ONSTACK): Likewise.
4030 (SS_DISABLE): Likewise.
4031 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4032 Likewise.
4033 (stack_t): Likewise.
4034 (SS_ONSTACK): Likewise.
4035 (SS_DISABLE): Likewise.
4036 * sysdeps/arm/sys/ucontext.h: Include
4037 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4038 <bits/ss_flags.h>.
4039 * sysdeps/generic/sys/ucontext.h: Likewise.
4040 * sysdeps/i386/sys/ucontext.h: Likewise.
4041 * sysdeps/m68k/sys/ucontext.h: Likewise.
4042 * sysdeps/mips/sys/ucontext.h: Likewise.
4043 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4044 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4045 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4046 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4047 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4048 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4049 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4050 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4051 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4052 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4053 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4056 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4057 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4058
4059 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4062 "edx + ecx - 16" to avoid possible addition overflow.
4063 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4064
4065 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4066
4067 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4068 (CFLAGS-splice.c): Likewise.
4069 (CFLAGS-open_by_handle_at.c): Likewise.
4070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4071 (CFLAGS-splice.c): Likewise.
4072 (CFLAGS-open_by_handle_at.c): Likewise.
4073
4074 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4075
4076 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4077 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4078 <ldbl-compat-choose.h>.
4079 (maybe_long_double_symbol): New macro.
4080 [!declare_mgen_alias] (declare_mgen_alias): Use
4081 maybe_long_double_symbol.
4082 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4083 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4087 * Makerules [$(build-shared) = yes && !avoid-generated]
4088 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4089 [$(build-shared) = yes && !avoid-generated]
4090 ($(common-objpfx)ldbl-compat-choose.h): New target.
4091
4092 * scripts/versions.awk: Generate first-versions.h.
4093 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4094 <first-versions.h>.
4095 (LDOUBLE_cabsl_libm_version): Remove macro.
4096 (LDOUBLE_cargl_libm_version): Likewise.
4097 (LDOUBLE_cimagl_libm_version): Likewise.
4098 (LDOUBLE_conjl_libm_version): Likewise.
4099 (LDOUBLE_creall_libm_version): Likewise.
4100 (LDOUBLE_cacosl_libm_version): Likewise.
4101 (LDOUBLE_cacoshl_libm_version): Likewise.
4102 (LDOUBLE_ccosl_libm_version): Likewise.
4103 (LDOUBLE_ccoshl_libm_version): Likewise.
4104 (LDOUBLE_casinl_libm_version): Likewise.
4105 (LDOUBLE_csinl_libm_version): Likewise.
4106 (LDOUBLE_casinhl_libm_version): Likewise.
4107 (LDOUBLE_csinhl_libm_version): Likewise.
4108 (LDOUBLE_catanl_libm_version): Likewise.
4109 (LDOUBLE_catanhl_libm_version): Likewise.
4110 (LDOUBLE_ctanl_libm_version): Likewise.
4111 (LDOUBLE_ctanhl_libm_version): Likewise.
4112 (LDOUBLE_cexpl_libm_version): Likewise.
4113 (LDOUBLE_clogl_libm_version): Likewise.
4114 (LDOUBLE_cprojl_libm_version): Likewise.
4115 (LDOUBLE_csqrtl_libm_version): Likewise.
4116 (LDOUBLE_cpowl_libm_version): Likewise.
4117 (LDOUBLE_clog10l_libm_version): Likewise.
4118 (LDOUBLE___clog10l_libm_version): Likewise.
4119 (LDOUBLE_fdiml_libm_version): Likewise.
4120 (LDOUBLE_fmaxl_libm_version): Likewise.
4121 (LDOUBLE_fminl_libm_version): Likewise.
4122 (LDOUBLE_ilogbl_libm_version): Likewise.
4123 (LDOUBLE_nanl_libm_version): Likewise.
4124 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4125 FIRST_VERSION_libm_* macros.
4126 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4127 * Makerules [$(build-shared) = yes && !avoid-generated]
4128 (before-compile): Add $(common-objpfx)first-versions.h.
4129 [$(build-shared) = yes && !avoid-generated]
4130 ($(common-objpfx)first-versions.h): New target.
4131 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4132 building $(common-objpfx)versions.stmp.
4133
4134 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4135
4136 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4137 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4138 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4139 auto-generation list.
4140
4141 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4142 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4143 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4144 from auto-generation list.
4145
4146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4147 open_by_handle_at.
4148 (CFLAGS-open_by_handle_at.c): New flag.
4149 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4150 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4151 file.
4152 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4153
4154 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4155 (CFLAGS-splice.c): New flag.
4156 * sysdeps/unix/sysv/linux/splice.c: New file.
4157 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4158 auto-generation syscall list.
4159 * misc/Makefile (CFLAGS-splice.c): New rule.
4160
4161 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4162 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4163 auto-generation syscall list.
4164 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4165 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4166
4167 * misc/Makefile (CFLAGS-fsync.c): New flag.
4168 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4169 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4170 syscall list.
4171 * sysdeps/unix/sysv/linux/fsync.c: New file.
4172 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4173 (__errno_location): Remove.
4174
4175 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4176 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4177 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4178 list.
4179 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4180
4181 * misc/Makefile (CFLAGS-msync.c): New rule.
4182 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4183 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4184 * sysdeps/unix/sysv/linux/msync.c: New file.
4185
4186 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4187 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4188 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4190 (CFLAGS-sigsuspend.c): Remove rule.
4191
4192 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4193 (CFLAGS-tee.c): New rule.
4194 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4195 auto-generated list.
4196 * sysdeps/unix/sysv/linux/tee.c: New file.
4197
4198 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4199 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4200 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4201 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4202 auto-generated list.
4203
4204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4205 auto-generated list.
4206 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4209 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4211
4212 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4213 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4215 (__NR_pause): Undefine.
4216 * sysdeps/unix/sysv/linux/pause.c: New file.
4217 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4218 auto-generation list.
4219 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4220 Remove rule.
4221 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4222
4223 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4226 comments.
4227
4228 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4229
4230 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4231 LD_HWCAP_MASK.
4232
4233 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4234
4235 * manual/conf.texi: Convert @tables of annotated @items to
4236 @vtables.
4237 * manual/lang.texi: Likewise.
4238 * manual/pattern.texi: Likewise.
4239 * manual/resource.texi: Likewise.
4240 * manual/socket.texi: Likewise.
4241
4242 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4243
4244 * manual/crypt.texi: Move a comment out of an @*x list.
4245 * manual/filesys.texi: Refactor some comments, one of which looks
4246 like a standard. Fix incorrectly separated standards.
4247 * manual/locale.texi: Invert an annotation.
4248 * manual/resource.texi: Fix incorrectly separated standards.
4249 * manual/time.texi: Refactor a @vtable that obscures an
4250 annotation.
4251 * manual/users.texi: Refactor multiple headers to occupy a single
4252 @comment.
4253
4254 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4255
4256 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4257 (sysdep_routines): Add memcmp-power8.
4258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4259 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4260 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4261 (memcmp): Add __memcmp_power8 to ifunc list.
4262 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4263 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4264
4265 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4266 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4267
4268 * math/math.h (__MATH_TG): Extend the conditions to add
4269 _Float128 support.
4270 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4271
4272 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4273
4274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4275 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4276 s_cosf-ppc64.
4277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4281
4282 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4283
4284 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4285 (gen-libm-calls): Add e_exp2F to use the template.
4286 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4287 * math/e_exp2_template.c: New file, renamed from
4288 math/e_exp2l.c, and made into a template.
4289 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4290
4291 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4292
4293 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4294 TUNABLE_TYPE_UINT_64.
4295 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4296 Simplify computation of overflow.
4297 (tunable_set_val_if_valid_range_signed,
4298 tunable_set_val_if_valid_range_unsigned): Remove and replace
4299 with this...
4300 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4301 (tunable_initialize): Adjust. Add uint64_t support.
4302 (__tunable_set_val): Add uint64_t support.
4303 * README.tunables: Document it.
4304
4305 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4306 dl-tunables.list.
4307 * README.tunables: Document it.
4308
4309 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4310
4311 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4312 * sysdeps/posix/preadv64.c: Likewise.
4313 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4314 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4315 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4316 * sysdeps/posix/pwritev64.c: Likewise.
4317 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4318 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4319 * sysdeps/posix/preadv_common.c: New file.
4320 * sysdeps/posix/pwritev_common.c: Likewise.
4321
4322 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4323
4324 * sysdeps/generic/math-type-macros-float128.h
4325 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4326 wrapper templates.
4327
4328 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4329 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4330
4331 * include/complex.h (__kernel_casinhf128): New declaration.
4332 * include/float.h: New file.
4333 * include/math.h (__finitef128): Add a hidden def.
4334 (__isinff128): Likewise.
4335 (__isnanf128): Likewise.
4336 (__fpclassify): Likewise.
4337 (__issignalling): Likewise.
4338 (__expf128): Likewise.
4339 (__expm1f128): Likewise.
4340
4341 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4342 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4343 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4344
4345 * sysdeps/generic/math-type-macros-float128.h: New file.
4346
4347 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4348 math_private_calls.h for _Float128.
4349 (__isinff128): New inline implementation used when GCC < 7.0,
4350 since in this case __builtin_isinf_sign is broken.
4351 (fabsf128): New inline implementation that calls the builtin.
4352 (__EXPR_FLT128): New macro.
4353 (min_of_type): Optionally include _Float128 types too.
4354
4355 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4356 Declare for _Float128.
4357 (__kernel_rem_pio2): Likewise.
4358
4359 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4360 (__DECL_SIMD_sincos_disablef128): New macro.
4361
4362 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4363
4364 * math/math.h: Include bits/math-finite.h for float128.
4365 (__MATH_DECLARING_FLOATN): Define to control declaration of
4366 float128 functions.
4367 * math/bits/math-finite.h (pow10): Do not declare for float128.
4368 (gamma): Likewise.
4369 (scalb): Likewise.
4370
4371 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4372 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4373
4374 * bits/floatn.h: New file.
4375 * bits/huge_val_flt128.h: Likewise.
4376
4377 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4378 (__DECL_SIMD_sinf128): Likewise.
4379 (__DECL_SIMD_sincosf128): Likewise.
4380 (__DECL_SIMD_logf128): Likewise.
4381 (__DECL_SIMD_expf128): Likewise.
4382 (__DECL_SIMD_powf128): Likewise.
4383
4384 * math/Makefile (headers): Install bits/floatn.h and
4385 bits/huge_val_flt128.h.
4386
4387 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4388 defined.
4389
4390 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4391 (isnan, gamma, nexttoward, scalb): Only define if not
4392 __MATH_DECLARING_FLOATN.
4393 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4394 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4395 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4396 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4397
4398 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4399 Include bits/cmathcalls.h to get the declarations of _Float128
4400 versions of complex functions.
4401 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4402 Define macro.
4403
4404 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4405 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4406 get the declarations of _Float128 versions of math functions.
4407 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4408 _FloatN types.
4409 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4410 is type-generic, so use it without __MATH_TG.
4411 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4412 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4413 _Float128 type and GCC < 7.0, otherwise use the builtin.
4414 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4415 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4416 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4417 New _GNU_SOURCE enabled macros.
4418
4419 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4420
4421 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4422 (signbitf): Likewise.
4423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4424 Likewise.
4425 (signbitl): Likewise.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4427 Likewise.
4428 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4429 (signbitl): Likewise.
4430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4431
4432 2017-05-12 Florian Weimer <fweimer@redhat.com>
4433
4434 [BZ #21386]
4435 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4436 parent PID. The assertion in the child is incorrect with PID
4437 namespaces.
4438
4439 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4440
4441 * sysdeps/unix/sysv/linux/kernel-features.h
4442 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4443 * sysdeps/unix/sysv/linux/internal_statvfs.c
4444 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4445
4446 2017-05-11 Zack Weinberg <zackw@panix.com>
4447
4448 * Makerules: New subdir configuration variables 'tests-internal'
4449 and 'test-internal-extras'. Test files in these categories will
4450 still be compiled with MODULE_NAME=nonlib. Test files in the
4451 existing categories (tests, xtests, test-srcs, test-extras) are
4452 now compiled with MODULE_NAME=testsuite.
4453 New subdir configuration variable 'modules-names-tests'. Files
4454 which are in both 'modules-names' and 'modules-names-tests' will
4455 be compiled with MODULE_NAME=testsuite instead of
4456 MODULE_NAME=extramodules.
4457 (gen-as-const-headers): Move to tests-internal.
4458 (do-tests-clean, common-mostlyclean): Support tests-internal.
4459 * Makeconfig (built-modules): Add testsuite.
4460 * Makefile: Change libof-check-installed-headers-c and
4461 libof-check-installed-headers-cxx to 'testsuite'.
4462 * Rules: Likewise. Support tests-internal.
4463 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4464 Remove extra-modules.mk.
4465
4466 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4467 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4468 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4469 very top of the file and rationalize their order.
4470 If MODULE_NAME is not defined at all, define IS_IN to always be
4471 false, and don't define _ISOMAC.
4472 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4473 true, define _ISOMAC and suppress everything else in this file,
4474 starting with the inclusion of config.h.
4475 Do check for inappropriate definitions of __OPTIMIZE__ and
4476 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4477 Correct some out-of-date commentary.
4478
4479 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4480 and _Mlong_double_ before including math.h.
4481 * include/string.h: If _ISOMAC is defined, don't expose
4482 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4483 location.
4484
4485 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4486 * include/time.h, include/unistd.h, include/wchar.h: No need to
4487 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4488
4489 * misc/sys/cdefs.h (__NTHNL): New macro.
4490 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4491 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4492
4493 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4494 defined, for HAVE_TUNABLES.
4495 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4496 * intl/tst-gettext2.c: Provide own definition of N_.
4497 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4498 * math/test-signgam-main.c: No need to define _ISOMAC.
4499 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4500 * stdlib/tst-strtod1i.c: ...this new file.
4501 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4502 Split tests of __strtod_internal to...
4503 * stdlib/tst-strtod5i.c: ...this new file.
4504 * string/test-string.h: Include stdint.h. Duplicate definition of
4505 inhibit_loop_to_libcall here (from libc-symbols.h).
4506 * string/test-strstr.c: Provide dummy definition of
4507 libc_hidden_builtin_def when including strstr.c.
4508 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4509 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4510 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4511 Don't include init-arch.h.
4512 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4513 Don't include init-arch.h.
4514
4515 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4516 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4517 unload, unload2, circleload1, neededtest, neededtest2,
4518 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4519 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4520 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4521 ifunc tests to tests-internal.
4522 Don't add $(modules-names) to test-extras.
4523 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4524 Add tst-deadline to tests-static-internal.
4525 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4526 tests-internal.
4527 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4528 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4529 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4530 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4531 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4532 Link tests-internal with libpthread also.
4533 Don't add $(modules-names) to test-extras.
4534 * nss/Makefile: Move tst-field to tests-internal.
4535 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4536 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4537 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4538 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4539 tests-internal.
4540 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4541 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4542 test-get_hwcap-static to tests-internal.
4543 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4544 tests-internal.
4545 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4546 modules-names-tests.
4547
4548 2017-05-11 Zack Weinberg <zackw@panix.com>
4549
4550 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4551 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4552 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4553 _IO_funlockfile, and _IO_ftrylockfile. Only define
4554 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4555 already defined.
4556 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4557 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4558 appropriately.
4559 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4560 Define _IO_lock_t_defined after defining _IO_lock_t.
4561
4562 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4563
4564 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4565 void* for argument type and use VDSO_SYMBOL macro.
4566 (is_sigtramp_address_rt): Likewise.
4567 (__backtrace): Setup expected frame pointer address for signal
4568 handling.
4569 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4570 void* for argumetn type and use VSDO_SYMBOL macro.
4571 (__backtrace): Setup expected frame pointer address for signal
4572 handling.
4573
4574 * sysdeps/unix/sysv/linux/writev.c: New file.
4575
4576 * sysdeps/unix/sysv/linux/readv.c: New file.
4577
4578 * include/unistd.h (write): Add hidden proto.
4579 * io/Makefile (CFLAGS-write.c): New define.
4580 * nptl/Makefile (CFLAGS-write.c): Likewise.
4581 * sysdeps/unix/sysv/linux/write.c: New file.
4582
4583 [BZ #21428]
4584 * include/unistd.h (read): Add hidden proto.
4585 * io/Makefile (CFLAGS-read.c): New define.
4586 * nptl/Makefile (CFLAGS-read.c): Likewise.
4587 * sysdeps/unix/sysv/linux/read.c: New file.
4588
4589 * io/Makefile (CFLAGS-creat.c): New rule.
4590 (CFLAGS-creat64.c): Likewise.
4591 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4592 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4593 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4594 * sysdeps/unix/sysv/linux/creat.c: New file.
4595 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4596 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4597 auto-generated list.
4598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4599
4600 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4601 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4603 * sysdeps/unix/sysv/linux/open.c: New file.
4604 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4605 iff __WORDSIZE != 64 and use __NR_openat when available.
4606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4607 from auto-generated list.
4608
4609 * nptl/Makefile (CFLAGS-close.c): New flag.
4610 * sysdeps/unix/sysv/linux/close.c: New file.
4611
4612 2017-05-11 DJ Delorie <dj@redhat.com>
4613
4614 * MAINTAINERS: New. Points to wiki.
4615
4616 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4617
4618 * scripts/gen-tunables.awk: Add attribute_relro to
4619 tunable_list.
4620
4621 2017-05-11 Joseph Myers <joseph@codesourcery.com>
4622
4623 [BZ #21457]
4624 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4625 (R1): Likewise.
4626 (R2): Likewise.
4627 (R3): Likewise.
4628 (R4): Likewise.
4629 (R5): Likewise.
4630 (R6): Likewise.
4631 (R7): Likewise.
4632 (R8): Likewise.
4633 (R9): Likewise.
4634 (R10): Likewise.
4635 (R11): Likewise.
4636 (R12): Likewise.
4637 (R13): Likewise.
4638 (R14): Likewise.
4639 (R15): Likewise.
4640 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4641 (REG_FS): Likewise.
4642 (REG_ES): Likewise.
4643 (REG_DS): Likewise.
4644 (REG_EDI): Likewise.
4645 (REG_ESI): Likewise.
4646 (REG_EBP): Likewise.
4647 (REG_ESP): Likewise.
4648 (REG_EBX): Likewise.
4649 (REG_EDX): Likewise.
4650 (REG_ECX): Likewise.
4651 (REG_EAX): Likewise.
4652 (REG_TRAPNO): Likewise.
4653 (REG_ERR): Likewise.
4654 (REG_EIP): Likewise.
4655 (REG_CS): Likewise.
4656 (REG_EFL): Likewise.
4657 (REG_UESP): Likewise.
4658 (REG_SS): Likewise.
4659 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4660 (R_D1): Likewise.
4661 (R_D2): Likewise.
4662 (R_D3): Likewise.
4663 (R_D4): Likewise.
4664 (R_D5): Likewise.
4665 (R_D6): Likewise.
4666 (R_D7): Likewise.
4667 (R_A0): Likewise.
4668 (R_A1): Likewise.
4669 (R_A2): Likewise.
4670 (R_A3): Likewise.
4671 (R_A4): Likewise.
4672 (R_A5): Likewise.
4673 (R_A6): Likewise.
4674 (R_A7): Likewise.
4675 (R_SP): Likewise.
4676 (R_PC): Likewise.
4677 (R_PS): Likewise.
4678 (fpregset_t): Likewise.
4679 (MCONTEXT_VERSION): Likewise.
4680 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4681 (CTX_AT): Likewise.
4682 (CTX_V0): Likewise.
4683 (CTX_V1): Likewise.
4684 (CTX_A0): Likewise.
4685 (CTX_A1): Likewise.
4686 (CTX_A2): Likewise.
4687 (CTX_A3): Likewise.
4688 (CTX_T0): Likewise.
4689 (CTX_T1): Likewise.
4690 (CTX_T2): Likewise.
4691 (CTX_T3): Likewise.
4692 (CTX_T4): Likewise.
4693 (CTX_T5): Likewise.
4694 (CTX_T6): Likewise.
4695 (CTX_T7): Likewise.
4696 (CTX_S0): Likewise.
4697 (CTX_S1): Likewise.
4698 (CTX_S2): Likewise.
4699 (CTX_S3): Likewise.
4700 (CTX_S4): Likewise.
4701 (CTX_S5): Likewise.
4702 (CTX_S6): Likewise.
4703 (CTX_S7): Likewise.
4704 (CTX_T8): Likewise.
4705 (CTX_T9): Likewise.
4706 (CTX_K0): Likewise.
4707 (CTX_K1): Likewise.
4708 (CTX_GP): Likewise.
4709 (CTX_SP): Likewise.
4710 (CTX_S8): Likewise.
4711 (CTX_RA): Likewise.
4712 (CTX_MDLO): Likewise.
4713 (CTX_MDHI): Likewise.
4714 (CTX_CAUSE): Likewise.
4715 (CTX_EPC): Likewise.
4716 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4717 inclusion of <sys/procfs.h> on [__USE_MISC].
4718 (greg_t): Condition on [__USE_MISC].
4719 (gregset_t): Likewise.
4720 (fpregset_t): Likewise.
4721 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4722 (NGREG): Likewise.
4723 (gregset_t): Likewise.
4724 (REG_R0): Likewise.
4725 (REG_R1): Likewise.
4726 (REG_R2): Likewise.
4727 (REG_R3): Likewise.
4728 (REG_R4): Likewise.
4729 (REG_R5): Likewise.
4730 (REG_R6): Likewise.
4731 (REG_R7): Likewise.
4732 (REG_R8): Likewise.
4733 (REG_R9): Likewise.
4734 (REG_R10): Likewise.
4735 (REG_R11): Likewise.
4736 (REG_R12): Likewise.
4737 (REG_R13): Likewise.
4738 (REG_R14): Likewise.
4739 (REG_R15): Likewise.
4740 (struct _libc_fpstate): Likewise.
4741 (fpregset_t): Likewise.
4742 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4743 (NFPREG): Likewise.
4744 (gregset_t): Likewise.
4745 (fpregset_t): Likewise.
4746 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4747 (R_D1): Likewise.
4748 (R_D2): Likewise.
4749 (R_D3): Likewise.
4750 (R_D4): Likewise.
4751 (R_D5): Likewise.
4752 (R_D6): Likewise.
4753 (R_D7): Likewise.
4754 (R_A0): Likewise.
4755 (R_A1): Likewise.
4756 (R_A2): Likewise.
4757 (R_A3): Likewise.
4758 (R_A4): Likewise.
4759 (R_A5): Likewise.
4760 (R_A6): Likewise.
4761 (R_A7): Likewise.
4762 (R_SP): Likewise.
4763 (R_PC): Likewise.
4764 (R_PS): Likewise.
4765 (fpregset_t): Likewise.
4766 (MCONTEXT_VERSION): Likewise.
4767 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4768 Likewise.
4769 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4770 (REG_R1): Likewise.
4771 (REG_R2): Likewise.
4772 (REG_R3): Likewise.
4773 (REG_R4): Likewise.
4774 (REG_R5): Likewise.
4775 (REG_R6): Likewise.
4776 (REG_R7): Likewise.
4777 (REG_R8): Likewise.
4778 (REG_R9): Likewise.
4779 (REG_R10): Likewise.
4780 (REG_R11): Likewise.
4781 (REG_R12): Likewise.
4782 (REG_R13): Likewise.
4783 (REG_R14): Likewise.
4784 (REG_R15): Likewise.
4785 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4786 of <arch/abi.h> on [__USE_MISC].
4787 (greg_t): Condition on [__USE_MISC].
4788 (NGREG): Likewise.
4789 (gregset_t): Likewise.
4790
4791 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792
4793 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4794 (__pthread_rwlock_arch_t): Remove __data definition.
4795 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4796 (__pthread_rwlock_arch_t): Likewise.
4797
4798 2017-05-11 Florian Weimer <fweimer@redhat.com>
4799
4800 * resolv/inet_pton.c: Reformat in GNU style. Remove
4801 internal_function on static functions.
4802
4803 2017-05-11 Florian Weimer <fweimer@redhat.com>
4804
4805 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4806 from format_ai_flags.
4807 (format_ai_flags): New function. Incorporate flag formatting code
4808 from format_ai_one.
4809 (format_ai_canonname): New function.
4810 (format_ai_one): Remove flags parameter.
4811 (format_ai_family): Likewise.
4812 (support_format_addrinfo): Call format_ai_flags,
4813 format_ai_canonname.
4814 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4815 check_ai.
4816 (check_ai): Call check_ai_hints.
4817 (do_test): Add AI_CANONNAME tests.
4818
4819 2017-05-11 Florian Weimer <fweimer@redhat.com>
4820
4821 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4822 (gaih_inet): Likewise.
4823
4824 2017-05-10 Andreas Schwab <schwab@suse.de>
4825
4826 * nptl/tst-fork1.c: Include <support/test-driver.c>.
4827 (main): Rename to do_test and make static.
4828
4829 2017-05-10 Joseph Myers <joseph@codesourcery.com>
4830
4831 * string/rawmemchr.c: Include <libc-diag.h>.
4832 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4833 with size (size_t)-1.
4834
4835 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4836
4837 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4838 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4839 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4840
4841 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4842 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4843 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4844 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4845 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4846 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4847 * sysdeps/unix/sysv/linux/kernel-features.h
4848 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4849 socket syscalls.
4850 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4851 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4852 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4853 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4854 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4855 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4856 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4857 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4858 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4859 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4860 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4862 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4863 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4864 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4865
4866 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4867
4868 * posix/Makefile (headers): Add pthreadtypes-arch.h and
4869 thread-shared-types.h.
4870 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4871 specific thread definition.
4872 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4873 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4874 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4875 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4876 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4877 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4878 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4879 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4880 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4881 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4882 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4883 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4884 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4885 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4886 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4887 thread definition between POSIX and C11.
4888 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4889 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4890 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4891 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4892 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4893 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4894 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4895 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4896 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4897 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4898 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4899 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4900 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4901 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4902 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4903 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4904 definitions shared across all architectures.
4905
4906 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4907
4908 * sysdeps/unix/sysv/linux/kernel-features.h
4909 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4910 (__ASSUME_SENDMMSG): Likewise.
4911 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4912 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4913 sendmmsg syscall if that can be assumed to be present, socketcall
4914 otherwise, with no fallback for runtime failure.
4915
4916 * sysdeps/unix/sysv/linux/kernel-features.h
4917 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4918 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4919 (__ASSUME_RECVMMSG): Likewise.
4920 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4921 recvmmsg syscall if it can be assumed to be present, socketcall
4922 otherwise, with no fallback for runtime failure.
4923
4924 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4925 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4926
4927 * bits/libc-header-start.h:
4928 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4929 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4930 * manual/creature.texi: Likewise.
4931
4932 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4933 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4934
4935 * math/Makefile:
4936 (type-float128-suffix): New variable
4937 (type-float128-routines): Likewise
4938 (type-float128-yes): Likewise
4939 (types): Append float128 if supported
4940 (types-basic): New variable to control the use of templates for
4941 float, double, and long double, but not for float128 or newer types.
4942 (type-basic-foreach): Likewise.
4943
4944 * sysdeps/ieee754/float128/Makeconfig: New file.
4945 * sysdeps/ieee754/float128/Versions: New file.
4946
4947 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4948
4949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4950 Remove macro.
4951 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4952 prlimit64 is always available and does not give an ENOSYS error.
4953 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4954 unconditional.
4955 [!__NR_prlimit64]: Remove conditional code.
4956 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4957 prlimit64 is always available and does not give an ENOSYS error.
4958 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4959
4960 2017-05-09 Zack Weinberg <zackw@panix.com>
4961
4962 * sunrpc/tst-xdrmem2.c: Include stdint.h.
4963
4964 2017-05-09 Florian Weimer <fweimer@redhat.com>
4965
4966 [BZ #21474]
4967 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4968 (__res_maybe_init): Likewise.
4969
4970 2017-05-09 Zack Weinberg <zackw@panix.com>
4971
4972 * extra-modules.mk: Delete file.
4973 * cppflags-iterator.mk: Rename to ...
4974 * libof-iterator.mk: ...this. Adjust comments.
4975
4976 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4977 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4978 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4979 Use libof-iterator.mk instead of cppflags-iterator.mk or
4980 extra-modules.mk.
4981
4982 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4983 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4984
4985 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4986
4987 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4988
4989 2017-05-08 Carlos O'Donell <carlos@redhat.com>
4990
4991 * stdio-common/vfprintf.c (EXTSIZ): Define.
4992 (vfprintf): Use EXTSIZ.
4993 (printf_positional): Likewise.
4994
4995 2017-05-08 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/unix/sysv/linux/kernel-features.h
4998 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4999 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5000 <kernel-features.h>.
5001 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5002
5003 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5004 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5005
5006 2017-05-08 Florian Weimer <fweimer@redhat.com>
5007
5008 Prevent multiple deletion of temporary files.
5009 * support/temp_file.c (struct temp_name_list): Add owner member.
5010 (add_temp_file): Record owner.
5011 (support_delete_temp_files): Delete file only if owner matches.
5012 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5013 (do_prepare): Use create_temp_file instead of add_temp_file.
5014 Initialize temp_fd1, temp_fd2.
5015 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5016 framework remove the temporary files.
5017 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5018 (do_prepare): Use create_temp_file instead of add_temp_file.
5019 Initialize temp_fd1, temp_fd2, temp_fd3.
5020 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5021 the test framework remove the temporary files.
5022 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5023 deletion.
5024 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5025 temporary directory. It is removed by the test framework.
5026 * dirent/tst-scandir.c (do_test): Likewise.
5027
5028 2017-05-08 Florian Weimer <fweimer@redhat.com>
5029
5030 Delete temporary files in LIFO order.
5031 * support/temp_file.c (struct temp_name_list): Replace q member
5032 with next.
5033 (add_temp_file): Add new file to front of linked list.
5034 (support_delete_temp_files): Use next member.
5035 (support_print_temp_files): Likewise.
5036
5037 2017-05-08 Florian Weimer <fweimer@redhat.com>
5038
5039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5040 sys/ultrasound.h.
5041 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5042
5043 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5044
5045 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5046 Remove.
5047 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5048 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5049 (arch_minimum_kernel): Remove.
5050 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5051 * README: Update statement about Linux kernel requirements.
5052
5053 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5054
5055 * manual/llio.texi: Add preadv and pwritev documentation.
5056
5057 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5058
5059 [BZ #21455]
5060 * bits/stdint-intn.h: New file.
5061 * bits/stdint-uintn.h: Likewise.
5062 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5063 bits/stdint-uintn.h.
5064 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5065 <stdint.h>.
5066 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5067 (__int8_t_defined): Do not define here.
5068 (int8_t): Likewise.
5069 (int16_t): Likewise.
5070 (int32_t): Likewise.
5071 (int64_t): Likewise.
5072 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5073 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5074 <stdint.h>.
5075 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5076 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5077 <bits/stdint-uintn.h>.
5078 (int8_t): Do not define here.
5079 (int16_t): Likewise.
5080 (int32_t): Likewise.
5081 (int64_t): Likewise.
5082 (uint8_t): Likewise.
5083 (uint16_t): Likewise.
5084 (uint32_t): Likewise.
5085 (uint64_t): Likewise.
5086 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5087 variable.
5088 (test-xfail-XPG42/netdb.h/conform): Likewise.
5089 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5090 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5091 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5092 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5093
5094 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5095
5096 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5097 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5098 the above.
5099 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5101
5102 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5103
5104 [BZ #21445]
5105 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5106
5107 [BZ #21457]
5108 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5109 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5110 __glibc_reserved1.
5111 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5112 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5113 (struct _fpxreg): Likewise.
5114 [!__x86_64__] (struct _fpstate): Rename field reserved to
5115 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5116 [__x86_64__] (struct _fpstate): Rename field padding to
5117 __glibc_reserved1.
5118 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5119 Rename field reserved2 to __glibc_reserved2.
5120 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5121 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5122 __glibc_reserved1.
5123 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5124 __glibc_reserved1.
5125
5126 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5127
5128 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5129 variable name.
5130
5131 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5132
5133 [BZ #21391]
5134 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5135 Only call init_cpu_features.
5136 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5137 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5138 * sysdeps/i386/dl-procinfo.h: Removed.
5139 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5140 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5141 <sysdeps/x86/dl-procinfo.h>.
5142 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5143 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5144 Include <sysdeps/x86/dl-procinfo.h> instead of
5145 <sysdeps/generic/dl-procinfo.h>.
5146 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5147 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5148 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5149 (bit_cpu_MOVBE): Likewise.
5150 (bit_cpu_BMI1): Likewise.
5151 (bit_cpu_BMI2): Likewise.
5152 (index_cpu_BMI1): Likewise.
5153 (index_cpu_BMI2): Likewise.
5154 (index_cpu_LZCNT): Likewise.
5155 (index_cpu_MOVBE): Likewise.
5156 (index_cpu_POPCNT): Likewise.
5157 (reg_BMI1): Likewise.
5158 (reg_BMI2): Likewise.
5159 (reg_LZCNT): Likewise.
5160 (reg_MOVBE): Likewise.
5161 (reg_POPCNT): Likewise.
5162 * sysdeps/x86/dl-hwcap.h: New file.
5163 * sysdeps/x86/dl-procinfo.h: Likewise.
5164 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5165 (_dl_x86_platforms): Likewise.
5166
5167 2017-05-03 DJ Delorie <dj@redhat.com>
5168
5169 [BZ #21411]
5170 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5171
5172 2017-05-03 Phil Blundell <pb@pbcl.net>
5173
5174 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5175 comments.
5176
5177 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5178
5179 [BZ #20116]
5180 * nptl/pthread_create.c: Expand comments to describe
5181 semaphore-like and mutex-like uses of PD->lock.
5182
5183 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5184
5185 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5186 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5187 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5188 auto-generation list.
5189 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5190 epoll_wait.
5191 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5192 Remove epoll_wait.
5193
5194 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5195 osf_select.
5196 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5197 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5198 osf_select from auto-generation list.
5199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5201 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5202 * sysdeps/unix/sysv/linux/select.c: New file.
5203
5204 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5205 * sysdeps/unix/sysv/linux/poll.c: New file.
5206 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5207 auto-generation list.
5208
5209 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5210
5211 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5212 New macro.
5213
5214 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5215
5216 [BZ #21179]
5217 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5218 R_SPARC_REGISTER relocations.
5219
5220 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5221
5222 * include/unistd.h (__pread): Add libc_hidden_proto.
5223 (__pread64): Likewise.
5224 (__pwrite): Likewise.
5225 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5226 (__pread64): Remove.
5227 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5228 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5229 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5230
5231 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5232
5233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5234
5235 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236
5237 * nptl/tst-cancel4-common.c: Use libsupport.
5238 * nptl/tst-cancel4-common.h: Likewise.
5239 * nptl/tst-cancel4.c (tf_read): Likewise.
5240 (tf_readv): Likewise.
5241 (tf_write): Likewise.
5242 (tf_writev): Likewise.
5243 (tf_sleep): Likewise.
5244 (tf_usleep): Likewise.
5245 (tf_nanosleep): Likewise.
5246 (tf_select): Likewise.
5247 (tf_pselect): Likewise.
5248 (tf_poll): Likewise.
5249 (tf_ppoll): Likewise.
5250 (tf_wait): Likewise.
5251 (tf_waitpid): Likewise.
5252 (tf_waitid): Likewise.
5253 (tf_sigpause): Likewise.
5254 (tf_sigsuspend): Likewise.
5255 (tf_sigwait): Likewise.
5256 (tf_sigwaitinfo): Likewise.
5257 (tf_sigtimedwait): Likewise.
5258 (tf_pause): Likewise.
5259 (tf_accept): Likewise.
5260 (tf_send): Likewise.
5261 (tf_recv): Likewise.
5262 (tf_recvfrom): Likewise.
5263 (tf_recvmsg): Likewise.
5264 (tf_open): Likewise.
5265 (tf_close): Likewise.
5266 (tf_pread): Likewise.
5267 (tf_pwrite): Likewise.
5268 (tf_preadv): Likewise.
5269 (tf_pwritev): Likewise.
5270 (tf_fsync): Likewise.
5271 (tf_fdatasync): Likewise.
5272 (tf_msync): Likewise.
5273 (tf_sendto): Likewise.
5274 (tf_sendmsg): Likewise.
5275 (tf_creat): Likewise.
5276 (tf_connect): Likewise.
5277 (tf_tcdrain): Likewise.
5278 (tf_msgrcv): Likewise.
5279 (tf_msgsnd): Likewise.
5280 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5281 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5282
5283 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5284 expected arguments.
5285 (do_test): Adapt to use libsupport.
5286
5287 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5288
5289 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5290
5291 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5292 (PF_MAX): Set to 44.
5293 (AF_SMC): New macro.
5294
5295 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5296 kernel version to 4.11.
5297
5298 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5299
5300 [BZ #21280]
5301 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5302 signal of subnormals and adjust the exponent of power of 2 down
5303 when low part has opposite sign.
5304
5305 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5306
5307 * sysdeps/powerpc/powerpc64le/Implies: New file.
5308 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5309 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5310 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5311 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5312 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5313 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5314 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5315 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5316 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5317 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5318 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5319 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5320 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5321 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5322 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5323 * sysdeps/powerpc/preconfigure: New file.
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5326
5327 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5328
5329 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5330 inclusion.
5331 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5332 Remove.
5333
5334 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5335
5336 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5337 (XPG3): Rename standard to XPG4.
5338 * conform/Makefile: Likewise.
5339 * conform/list-header-symbols.pl: Likewise.
5340 * conform/data/aio.h-data: Likewise.
5341 * conform/data/arpa/inet.h-data: Likewise.
5342 * conform/data/complex.h-data: Likewise.
5343 * conform/data/ctype.h-data: Likewise.
5344 * conform/data/dlfcn.h-data: Likewise.
5345 * conform/data/fcntl.h-data: Likewise.
5346 * conform/data/fenv.h-data: Likewise.
5347 * conform/data/float.h-data: Likewise.
5348 * conform/data/fmtmsg.h-data: Likewise.
5349 * conform/data/ftw.h-data: Likewise.
5350 * conform/data/grp.h-data: Likewise.
5351 * conform/data/inttypes.h-data: Likewise.
5352 * conform/data/iso646.h-data: Likewise.
5353 * conform/data/langinfo.h-data: Likewise.
5354 * conform/data/libgen.h-data: Likewise.
5355 * conform/data/limits.h-data: Likewise.
5356 * conform/data/locale.h-data: Likewise.
5357 * conform/data/math.h-data: Likewise.
5358 * conform/data/mqueue.h-data: Likewise.
5359 * conform/data/ndbm.h-data: Likewise.
5360 * conform/data/net/if.h-data: Likewise.
5361 * conform/data/netdb.h-data: Likewise.
5362 * conform/data/netinet/in.h-data: Likewise.
5363 * conform/data/poll.h-data: Likewise.
5364 * conform/data/pthread.h-data: Likewise.
5365 * conform/data/pwd.h-data: Likewise.
5366 * conform/data/sched.h-data: Likewise.
5367 * conform/data/search.h-data: Likewise.
5368 * conform/data/semaphore.h-data: Likewise.
5369 * conform/data/signal.h-data: Likewise.
5370 * conform/data/spawn.h-data: Likewise.
5371 * conform/data/stdbool.h-data: Likewise.
5372 * conform/data/stdint.h-data: Likewise.
5373 * conform/data/stdio.h-data: Likewise.
5374 * conform/data/stdlib.h-data: Likewise.
5375 * conform/data/string.h-data: Likewise.
5376 * conform/data/strings.h-data: Likewise.
5377 * conform/data/stropts.h-data: Likewise.
5378 * conform/data/sys/mman.h-data: Likewise.
5379 * conform/data/sys/resource.h-data: Likewise.
5380 * conform/data/sys/select.h-data: Likewise.
5381 * conform/data/sys/socket.h-data: Likewise.
5382 * conform/data/sys/stat.h-data: Likewise.
5383 * conform/data/sys/statvfs.h-data: Likewise.
5384 * conform/data/sys/time.h-data: Likewise.
5385 * conform/data/sys/timeb.h-data: Likewise.
5386 * conform/data/sys/types.h-data: Likewise.
5387 * conform/data/sys/uio.h-data: Likewise.
5388 * conform/data/sys/un.h-data: Likewise.
5389 * conform/data/sys/wait.h-data: Likewise.
5390 * conform/data/syslog.h-data: Likewise.
5391 * conform/data/termios.h-data: Likewise.
5392 * conform/data/tgmath.h-data: Likewise.
5393 * conform/data/time.h-data: Likewise.
5394 * conform/data/ucontext.h-data: Likewise.
5395 * conform/data/unistd.h-data: Likewise.
5396 * conform/data/utmpx.h-data: Likewise.
5397 * conform/data/varargs.h-data: Likewise.
5398 * conform/data/wchar.h-data: Likewise.
5399 * conform/data/wctype.h-data: Likewise.
5400
5401 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5402
5403 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5404 version to 7 branch.
5405
5406 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5407
5408 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5409 earlyclobber to output operand of sqrt insn.
5410 (__ieee754_sqrtf): Ditto.
5411
5412 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5413
5414 [BZ #21426]
5415 * misc/bits/types/struct_iovec.h: New file.
5416 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5417 * include/bits/types/struct_iovec.h: New file.
5418 * bits/uio.h (struct iovec): Replace by inclusion of
5419 <bits/types/struct_iovec.h>.
5420 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5421 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5422 of <sys/uio.h>.
5423 * nptl/tst-cancel4.c: Include <sys/uio.h>
5424 * posix/test-errno.c: Likewise.
5425 * support/resolv_test.c: Likewise.
5426 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5427 Remove.
5428 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5429 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5430 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5431
5432 * conform/data/sys/socket.h-data (*_t): Allow.
5433
5434 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5435
5436 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5437 assignment.
5438
5439 2017-04-24 Daurnimator <quae@daurnimator.com>
5440 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5441
5442 [BZ #21340]
5443 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5444 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5445 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5446 valid flags.
5447 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5448 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5449 POSIX_SPAWN_SETSID.
5450 * sysdeps/posix/spawni.c (__spawni): Likewise.
5451 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5452 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5453
5454 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5455
5456 * sysdeps/generic/math_private.h: Move the declaration of many
5457 functions to sysdeps/generic/math_private_calls.h.
5458 * sysdeps/generic/math_private_calls.h: New file with the
5459 declarations of the functions removed from math_private.h
5460 macroized by floating-point type.
5461
5462 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5463
5464 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5465 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5466 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5467 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5468 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5469 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5470
5471 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5472
5473 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5474 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5475 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5476 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5477 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5478 New Define.
5479
5480 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5481
5482 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5483 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5484 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5485 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5486 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5487 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5488
5489 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5490
5491 * sysdeps/s390/multiarch/ifunc-resolve.h
5492 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5493 * sysdeps/s390/multiarch/8bit-generic.c
5494 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5495 define ifunc resolvers.
5496
5497 2017-04-21 Florian Weimer <fweimer@redhat.com>
5498
5499 [BZ #20424]
5500 * manual/memory.texi (Replacing malloc): New section.
5501 (Allocating Storage For Program Data): Reference it.
5502 (The GNU Allocator): Likewise.
5503
5504 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5505
5506 * stdlib/Versions (__strtod_internal): List explicitly, not as
5507 wildcard.
5508 (__strtof_internal): Likewise.
5509 (__strtold_internal): Likewise.
5510 (__strtol_internal): Likewise.
5511 (__strtoll_internal): Likewise.
5512 (__strtoul_internal): Likewise.
5513 (__strtoull_internal): Likewise.
5514 (__strtoq_internal): Likewise.
5515 (__strtouq_internal): Likewise.
5516 * wcsmbs/Versions (__wcstod_internal): Likewise.
5517 (__wcstof_internal): Likewise.
5518 (__wcstold_internal): Likewise.
5519 (__wcstol_internal): Likewise.
5520 (__wcstoll_internal): Likewise.
5521 (__wcstoul_internal): Likewise.
5522 (__wcstoull_internal): Likewise.
5523
5524 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5525
5526 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5527 struct timespec definition.
5528
5529 2017-04-19 Florian Weimer <fweimer@redhat.com>
5530
5531 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5532
5533 2017-04-19 Florian Weimer <fweimer@redhat.com>
5534
5535 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5536 * inet/rexec.c (rexec_af): Likewise.
5537
5538 2017-04-19 Zack Weinberg <zackw@panix.com>
5539
5540 * posix/tst-mmap-offset.c: Include stdint.h.
5541 * resolv/tst-ns_name_compress.c: Include string.h.
5542 * resolv/tst-resolv-edns.c: Include resolv.h.
5543
5544 2017-04-19 Florian Weimer <fweimer@redhat.com>
5545
5546 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5547 with __glibc_likely.
5548 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5549 Replace __builtin_expect with __glibc_unlikely.
5550 * resolv/res_init.c (__res_vinit): Likewise.
5551 * resolv/res_query.c (__libc_res_nquery): Likewise.
5552 * resolv/res_send.c (__libc_res_nsend): Likewise.
5553
5554 2017-04-19 Florian Weimer <fweimer@redhat.com>
5555
5556 [BZ #15722]
5557 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5558 with SOCK_CLOEXEC.
5559 * resolv/res_send.c (send_vc, reopen): Likewise.
5560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5561 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5562 Likewise.
5563 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5564 * inet/rexec.c (rexec_af): Add comment.
5565 * inet/rcmd.c (rresvport_af): Likewise.
5566
5567 2017-04-19 Florian Weimer <fweimer@redhat.com>
5568
5569 * nscd/connections.c (have_accept4): Removed definition.
5570 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5571 accept4 works.
5572 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5573 ia64 because that was the first version with accept4 support.
5574 * support/Makefile (libsupport-routines): Add xaccept4.
5575 * support/xsocket.h (xaccept4): Declare.
5576 * support/xaccept4.c: New file.
5577 * socket/tst-accept4.c: New file.
5578 * socket/Makefile (tests): Add tst-accept4.
5579 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5580 definition.
5581 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5582 comment.
5583 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5584 implementation is available.
5585 (accept4): Use the system call if available, otherwise use the
5586 socket call.
5587 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5588 Set to 3.2.18.
5589 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5590 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5591 accept4 is unconditionally available in later 3.2 stable kernels.
5592 (__ASSUME_ACCEPT4_SYSCALL): Define.
5593 * sysdeps/unix/sysv/linux/kernel-features.h
5594 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5595 definitions.
5596 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5597 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5598
5599 2017-04-18 Joseph Myers <joseph@codesourcery.com>
5600
5601 * conform/Makefile (tests-special): Do not make addition of
5602 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5603 (generated): Do not make addition of $(conformtest-header-base)
5604 conditional on [$(cross-compiling) = no].
5605
5606 [BZ #21267]
5607 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5608 if defined by <asm/socket.h> and not previously defined.
5609 (IOCSIZE_SHIFT): Likewise.
5610 (IOC_IN): Likewise.
5611 (IOC_INOUT): Likewise.
5612 (IOC_OUT): Likewise.
5613
5614 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5615
5616 [BZ #21396]
5617 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5618 Prefer_No_AVX512 if AVX512ER isn't available.
5619 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5620 (index_arch_Prefer_No_AVX512): Likewise.
5621 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5622 AVX512 version if Prefer_No_AVX512 is set.
5623 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5624 Likewise.
5625 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5626 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5627 Likewise.
5628 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5629 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5630 Likewise.
5631 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5632 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5633 Likewise.
5634
5635 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5636
5637 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5638 Prefer_No_VZEROUPPER if AVX512ER is available.
5639 * sysdeps/x86/cpu-features.h
5640 (bit_cpu_AVX512PF): New.
5641 (bit_cpu_AVX512ER): Likewise.
5642 (bit_cpu_AVX512CD): Likewise.
5643 (bit_cpu_AVX512BW): Likewise.
5644 (bit_cpu_AVX512VL): Likewise.
5645 (index_cpu_AVX512PF): Likewise.
5646 (index_cpu_AVX512ER): Likewise.
5647 (index_cpu_AVX512CD): Likewise.
5648 (index_cpu_AVX512BW): Likewise.
5649 (index_cpu_AVX512VL): Likewise.
5650 (reg_AVX512PF): Likewise.
5651 (reg_AVX512ER): Likewise.
5652 (reg_AVX512CD): Likewise.
5653 (reg_AVX512BW): Likewise.
5654 (reg_AVX512VL): Likewise.
5655
5656 2017-04-18 Florian Weimer <fweimer@redhat.com>
5657
5658 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5659 O_CLOEXEC is defined.
5660 * include/fcntl.h (__have_o_cloexec): Remove declaration.
5661 * io/Makefile (aux): Remove.
5662 * io/have_o_cloexec.c: Remove file.
5663 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5664 defined and works.
5665 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5666 defined.
5667 * login/utmp_file.c (O_flags): Remove definition.
5668 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
5669 O_CLOEXEC works.
5670 (pututline_file): Likewise.
5671 * malloc/mtrace.c: Assume that O_CLOEXEC works.
5672 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5673 definition.
5674 (internal_setgrent): Assume that O_CLOEXEC works.
5675 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5676 Remove definition.
5677 (internal_setgrent): Assume that O_CLOEXEC works.
5678 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5679 definition.
5680 (internal_setpwent): Assume that O_CLOEXEC works.
5681 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5682 definition.
5683 (internal_setspent): Assume that O_CLOEXEC works.
5684 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5685 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
5686 O_CLOEXEC is defined and works.
5687 * nss/Makefile (libnss_files-routines): Remove
5688 files-have_o_cloexec.
5689 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
5690 defined.
5691 * nss/nss_files/files-XXX.c (internal_setent): Assume that
5692 O_CLOEXEC is defined and works.
5693 * nss/nss_files/files-alias.c (internal_setent): Likewise.
5694 * nss/nss_files/files-have_o_cloexec.c: Remove.
5695 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
5696 defined.
5697 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
5698 and works.
5699 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
5700 definition.
5701 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5702 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5703 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5704 (__opendirat, __opendir): Adjust opendir_oflags call.
5705 (check_have_o_cloexec): Remove.
5706 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5707 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5708 defined.
5709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5710 Remove definition.
5711
5712 2017-04-18 Florian Weimer <fweimer@redhat.com>
5713
5714 * include/unistd.h (__have_dup3): Remove declaration.
5715 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5716 dup3 is available.
5717 * libio/freopen64.c (freopen64): Likewise.
5718 * socket/Makefile (aux): Remove have_sock_cloexec.
5719 * socket/have_sock_cloexec.c: Remove file.
5720 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5721 definition.
5722 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5723 Likewise.
5724 * sysdeps/nacl/kernel-features.h: Update comment.
5725
5726 2017-04-18 Florian Weimer <fweimer@redhat.com>
5727
5728 * include/unistd.h (__have_pipe2): Remove declaration.
5729 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5730 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5731 available.
5732 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5734 Remove definition.
5735
5736 2017-04-18 Florian Weimer <fweimer@redhat.com>
5737
5738 * malloc/malloc.c (cfree): Turn into compat symbol.
5739 (__cfree): Remove alias.
5740 * stdlib/stdlib.h (cfree): Remove declaration.
5741 * malloc/malloc.h (cfree): Likewise.
5742 * manual/memory.texi (Freeing after Malloc): Remove cfree.
5743 * malloc/Versions (GLIBC_2.26): Add.
5744
5745 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5746
5747 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5748 (sysdep_routines): Add strrchr-power8.
5749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5750 (strrchr): Add __strrchr_power8 to list of strrchr functions.
5751 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5752 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5753 (strrchr): Add __strrchr_power8 to ifunc list.
5754 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5755
5756 2017-04-17 Rabin Vincent <rabinv@axis.com>
5757
5758 [BZ #21357]
5759 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5760 Call free() outside of mutex.
5761
5762 2017-04-13 Florian Weimer <fweimer@redhat.com>
5763
5764 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5765 is defined.
5766 * elf/rtld.c (process_envvars): Likewise.
5767 * sysdeps/posix/shm_open.c (shm_open): Likewise.
5768 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
5769 O_NOFOLLOW directly.
5770 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5771
5772 2017-04-13 Florian Weimer <fweimer@redhat.com>
5773
5774 [BZ #21369]
5775 Remove EDNS fallback.
5776 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5777 handling.
5778 * resolv/res_send.c (send_dg): Likewise.
5779 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5780 "tcp." prefixes.
5781 (do_test): Send a "formerr."-prefixed query in an attempt to
5782 trigger EDNS fallback.
5783
5784 2017-04-13 Florian Weimer <fweimer@redhat.com>
5785
5786 [BZ #21361]
5787 Limit EDNS buffer size to 1200 bytes.
5788 * include/resolv.h (__res_nopt): Remove declaration.
5789 * resolv/Makefile (tests): tst-resolv-edns.
5790 (tst-resolv-edns): Link with -lresolv, -lpthread.
5791 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5792 interval [512, 1200].
5793 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5794 we can resize the buffer.
5795 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5796 (__res_nopt): Declare.
5797 * resolv/tst-resolv-edns.c: New file.
5798 * resolv/resolv_test.h (struct resolv_edns_info): Define.
5799 (struct resolv_response_context): Add edns member.
5800 * resolv/resolv_test.c (struct query_info): Add edns member.
5801 (parse_query): Extract EDNS information from the query.
5802 (server_thread_udp_process_one): Propagate EDNS data.
5803 (server_thread_tcp_client): Likewise.
5804
5805 2017-04-13 Florian Weimer <fweimer@redhat.com>
5806
5807 [BZ #21359]
5808 * resolv/ns_name.c (ns_name_pack): Do not require an additional
5809 byte in the destination buffer. Avoid out-of-bounds pointer
5810 arithmetic.
5811 * resolv/Makefile (tests): Add tst-ns_name_compress.
5812 (tst-ns_name_compress): Link with -lresolv.
5813 * resolv/tst-ns_name_compress.c: New file.
5814 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5815 (response): Recognize LONG_NAME.
5816 (do_test): Add LONG_NAME tests.
5817 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5818 for ns_name_unpack. Add tests for ns_name_pton and
5819 ns_name_compress.
5820
5821 2017-04-13 Florian Weimer <fweimer@redhat.com>
5822
5823 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5824 (res_nisourserver): Remove definition.
5825 (p_section, res_npquery, res_nisourserver): Remove declaration.
5826 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5827 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5828 ... here.
5829 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5830 <resolv.h>.
5831 * resolv/res_query.c: Likewise.
5832 * resolv/res_debug.c (p_section): Define as static.
5833
5834 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5835
5836 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5837 strncat-power8.
5838 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5839 __strncat_power8 to ifunc list.
5840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5841 (strncat): Add __strncat_power8 to list of strncat functions.
5842 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5843
5844 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5845
5846 [BZ #21270]
5847 * posix/tst-mmap-offset.c (do_prepare): New function.
5848 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5849 (do_test_bz21270): New function.
5850 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5851 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5852 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5853 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5854 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5855 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5856 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5857 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5858 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5859 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5860 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5861 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5862 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5863 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5864 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5865 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5866 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5867 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5868 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5869 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5870 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5871 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5872 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5873 from auto-generation list.
5874 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5876 * sysdeps/unix/sysv/linux/mmap.c: New file.
5877 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5878 offsets and support for mmap2 syscall.
5879
5880 * posix/globtest.sh: Add cleanup routine on trap 0.
5881
5882 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5883
5884 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5885 implementation-specific function name and remove unneeded
5886 macros definition.
5887 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5888 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5889 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5890 name if not defined and pass as parameter to macros accordingly.
5891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5892 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5893
5894 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5895 implementation-specific function name and remove unneeded
5896 macros definition.
5897 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5898 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5903 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5904 name if not defined and pass as parameter to macros accordingly.
5905 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5906 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5908 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5909 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5910 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5911
5912 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5913 implementation-specific function name and remove unneeded macros
5914 definition.
5915 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5916 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5918 function name if not defined and pass as parameter to macros
5919 accordingly.
5920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5921 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5922
5923 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5924 implementation-specific function name and remove unneeded macros
5925 definition.
5926 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5927 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5928 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5929 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5930 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5931 not defined and pass as parameter to macros accordingly.
5932 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5933 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5934 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5935 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5936
5937 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5938 strcasestr implementation name and remove unneeded macros definition.
5939 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5940 strstr implementation name and remove unneeded macros definition.
5941 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5942 name if not defined and pass as parameter to macros accordingly.
5943 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5944
5945 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5946 implementation-specific function name and remove unneeded macros
5947 definition.
5948 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5949 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5951 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5954 function name if not defined and pass as parameter to macros
5955 accordingly.
5956 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5957 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5958 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5959 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5960
5961 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5962 the strlen implementation name and remove unneeded macros definition.
5963 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5964 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5965 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5966 the strnlen implementation name and remove unneeded macros definition.
5967 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5968 name if not defined and pass as parameter to macros accordingly.
5969 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5970 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5971 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5972
5973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5974 the implementation-specific function name and remove unneeded
5975 macros definition.
5976 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5978 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5980 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5981 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5982 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5984 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5985 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5986 name if not defined and pass as parameter to macros accordingly.
5987 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5989 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5990 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5991 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5992 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5993 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5995
5996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5997 implementation-specific function name and remove unneeded macros
5998 definition.
5999 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6000 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6001 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6002 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6003 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6004 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6005 function name if not defined.
6006 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6007 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6008
6009 2017-04-11 Paul Clarke <pc@us.ibm.com>
6010
6011 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6012 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6013 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6014 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6015
6016 2017-04-11 Florian Weimer <fweimer@redhat.com>
6017 Zack Weinberg <zackw@panix.com>
6018
6019 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6020 readdir64 as thread-safe. Update warning about readdir_r.
6021
6022 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6023
6024 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6025 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6026 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6027 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6028 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6029 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6030 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6031
6032 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * sysdeps/i386/dl-procinfo.c: Include
6035 <sysdeps/x86/dl-procinfo.c>.
6036 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6037 * sysdeps/x86/dl-procinfo.c: New file.
6038
6039 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6040
6041 * sysdeps/generic/math_private.h: Remove declarations of
6042 many functions that are already declared in math.h.
6043 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6044 declaration for __frexpl.
6045 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6046 the declarations for __scalbnl and fabsl.
6047
6048 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6049
6050 [BZ #20831]
6051 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6052 of __mprotect to change protection on the excess portion
6053 to disallow all access.
6054
6055 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6058 HAS_CPU_FEATURE to check for SSE.
6059 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6060 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6061 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6062 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6063 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6064 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6065 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6066 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6067 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6068 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6069 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6070 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6071 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6072 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6073 (index_cpu_SSE): Likewise.
6074 (reg_SSE): Likewise.
6075
6076 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6077
6078 * posix/getopt1.c: Include <config.h>, not "config.h".
6079
6080 2017-04-07 Zack Weinberg <zackw@panix.com>
6081
6082 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6083 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6084 Mention in top-of-file boilerplate that these files are shared
6085 with gnulib.
6086 * posix/getopt.h, posix/bits/getopt_posix.h:
6087 Mention in top-of-file boilerplate that these files are NOT shared
6088 with gnulib, unlike the rest of the getopt implementation.
6089
6090 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6091 New files, intended to be shared with gnulib.
6092 * posix/bits/getopt_posix.h:
6093 New file, not intended to be shared with gnulib.
6094 * posix/getopt.h: Now just includes features.h,
6095 bits/getopt_core.h, and bits/getopt_ext.h. Will
6096 no longer be shared with gnulib.
6097 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6098 * include/bits/getopt_posix.h: New wrappers.
6099 * posix/Makefile: Install new headers.
6100 * posix/unistd.h, libio/stdio.h:
6101 Include bits/getopt_posix.h instead of getopt.h.
6102
6103 * include/libc-symbols.h: For gnulib compatibility, define
6104 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6105 _GL_ATTRIBUTE_CONST.
6106 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6107 parameters with _GL_UNUSED.
6108
6109 * posix/getopt.c: When used standalone, define __libc_use_alloca
6110 as always false and alloca to abort if called.
6111 (process_long_option): Rewrite handling of ambiguous long options
6112 to use a single boolean vector, not a linked list; use
6113 __libc_use_alloca to decide whether to allocate this using alloca.
6114 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6115
6116 * posix/getopt.c (process_long_option): New function split out
6117 from _getopt_internal_r.
6118 (_getopt_internal_r): Replace both copies of the long-option
6119 processing code with calls to process_long_option.
6120 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6121 (do_test): Differentiate argv[0] in the two subtests.
6122
6123 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6124 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6125 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6126
6127 * posix/getopt.h: Add backup definition of __nonnull for
6128 consistency with gnulib. Define __getopt_argv_const to const
6129 if not already defined.
6130 (getopt): Update doc comment from gnulib. Prototype
6131 unconditionally. Add __nonnull annotation.
6132 (__posix_getopt): Add __nonnull annotation.
6133 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6134 prototypes for consistency with gnulib. Add __nonnull
6135 annotations.
6136 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6137 (getopt_internal): Change 'argv' argument to type 'char **'.
6138 Remove now-unnecessary casts.
6139 (getopt, __posix_getopt): Eliminate repetition with a macro.
6140 Cast 'argv' to 'char **' when calling _getopt_internal.
6141 * posix/getopt1.c (getopt_long, getopt_long_only):
6142 Use __getopt_argv_const for consistency with gnulib.
6143 Cast 'argv' to 'char **' when calling _getopt_internal.
6144 (_getopt_long_r, _getopt_long_only_r):
6145 Change 'argv' argument to type 'char **'.
6146 (main): Constify 'long_options'.
6147 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6148 (_getopt_long_r, _getopt_long_only_r):
6149 Change 'argv' argument to type 'char **'.
6150
6151 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6152 (locked_vfxprintf): New helper function. Handle arbitrary
6153 multibyte strings, not just ASCII.
6154 * include/stdio.h: Declare __fxprintf_nocancel.
6155 * posix/getopt.c: When _LIBC is defined, define fprintf to
6156 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6157 to _IO_funlockfile. When neither _LIBC nor
6158 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6159 funlockfile as no-ops.
6160 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6161 the standalone error-printing code can now be used for libc as
6162 well. Add an flockfile/funlockfile pair around one case where
6163 the error message is printed in several chunks. Don't use fputc.
6164 * posix/tst-getopt-cancel.c: New test.
6165 * posix/Makefile: Run it.
6166
6167 * posix/getopt.c (_getopt_internal_r): Don't increment
6168 d->optind a second time when reporting ambiguous -W options.
6169
6170 * posix/getopt_int.h: Include getopt.h.
6171 Use impl-namespace names for all arguments to _getopt_internal and
6172 _getopt_internal_r.
6173 Declare __ordering enum outside the struct.
6174 Harmonize comments with gnulib.
6175 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6176 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6177 #ifdef TEST block and make unconditional. Do not define NULL.
6178 * posix/getopt.c: Partial merge from gnulib, covering the
6179 initial includes and global declarations, commentary, and
6180 a couple of semantically-neutral code changes.
6181
6182 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6183 Use '...' instead of `...' for quotation marks inside
6184 comments and strings.
6185
6186 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6187 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6188 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6189 * posix/getopt_int.h: Likewise.
6190 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6191 __libc_argc and __libc_argv externs, which were only used by
6192 #ifdef USE_NONOPTION_FLAGS blocks.
6193 * posix/getopt_init.c: Remove file.
6194 * posix/Makefile (routines): Remove getopt_init.
6195 * include/getopt.h: Don't declare __getopt_initialize_environment.
6196 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6197 a comment.
6198
6199 2017-04-07 Florian Weimer <fweimer@redhat.com>
6200
6201 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6202
6203 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6204
6205 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6206 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6207 to __wrap_.udiv.
6208 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6209 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6210
6211 * sysdeps/i386/symbol-hacks.h: New file.
6212 * sysdeps/m68k/symbol-hacks.h: New file.
6213 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6214 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6215 * sysdeps/unix/sysv/linux/i386/Makefile
6216 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6217 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6218 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6219 * sysdeps/unix/sysv/linux/m68k/Makefile
6220 [$(subdir) = csu] (sysdep_routines): Likewise.
6221 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6222 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6224 [$(subdir) = csu] (sysdep_routines): Likewise.
6225 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6226 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6228 [$(subdir) = csu] (sysdep_routines): Likewise.
6229 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6230 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6231 * sysdeps/wordsize-32/Makefile: Remove file.
6232 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6233 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6234
6235 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6236
6237 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6238 (TEST_FUNCTION_ARGV): New.
6239
6240 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6241
6242 * elf/next.c: Import support/test-driver.c instead of
6243 test-skeleton.c and delete TEST_FUNCTION macro definition.
6244 * elf/nodelete.c: Likewise.
6245 * elf/order2.c: Likewise.
6246 * elf/tst-_dl_addr_inside_object.c: Likewise.
6247 * elf/tst-addr1.c: Likewise.
6248 * elf/tst-align.c: Likewise.
6249 * elf/tst-align2.c: Likewise.
6250 * elf/tst-audit11.c: Likewise.
6251 * elf/tst-audit12.c: Likewise.
6252 * elf/tst-audit2.c: Likewise.
6253 * elf/tst-audit9.c: Likewise.
6254 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6255 * elf/tst-deep1.c: Likewise.
6256 * elf/tst-dl-iter-static.c: Likewise.
6257 * elf/tst-dlmodcount.c: Likewise.
6258 * elf/tst-dlmopen1.c: Likewise.
6259 * elf/tst-dlmopen2.c: Likewise.
6260 * elf/tst-dlmopen3.c: Likewise.
6261 * elf/tst-dlopen-aout.c: Likewise.
6262 * elf/tst-dlopenrpath.c: Likewise.
6263 * elf/tst-dlsym-error.c: Likewise.
6264 * elf/tst-execstack-needed.c: Likewise.
6265 * elf/tst-execstack-prog.c: Likewise.
6266 * elf/tst-execstack.c: Likewise.
6267 * elf/tst-global1.c: Likewise.
6268 * elf/tst-gnu2-tls1.c: Likewise.
6269 * elf/tst-latepthread.c: Likewise.
6270 * elf/tst-leaks1.c: Likewise.
6271 * elf/tst-linkall-static.c: Likewise.
6272 (do_test): New function.
6273 * elf/tst-nodelete-opened.c: Likewise.
6274 * elf/tst-nodelete.cc: Likewise.
6275 * elf/tst-nodelete2.c: Likewise.
6276 * elf/tst-noload.c: Likewise.
6277 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6278 * elf/tst-order-main.c: Likewise.
6279 * elf/tst-pathopt.c: Likewise.
6280 * elf/tst-pie2.c: Likewise.
6281 * elf/tst-piemod1.c: Likewise.
6282 * elf/tst-prelink.c: Likewise.
6283 * elf/tst-protected1a.c: Likewise.
6284 * elf/tst-protected1b.c: Likewise.
6285 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6286 and define _GNU_SOURCE macro.
6287 (cmdline_process_function): New function.
6288 * elf/tst-relsort1.c: Likewise.
6289 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6290 and define _GNU_SOURCE macro.
6291 (cmdline_process_function): New function.
6292 * elf/tst-thrlock.c: Likewise.
6293 * elf/tst-tls-dlinfo.c: Likewise.
6294 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6295 * elf/tst-tls1.c: Likewise.
6296 * elf/tst-tls10.c: Likewise.
6297 * elf/tst-tls11.c: Likewise.
6298 * elf/tst-tls12.c: Likewise.
6299 * elf/tst-tls13.c: Likewise.
6300 * elf/tst-tls14.c: Likewise.
6301 * elf/tst-tls15.c: Likewise.
6302 * elf/tst-tls16.c: Likewise.
6303 * elf/tst-tls17.c: Likewise.
6304 * elf/tst-tls18.c: Likewise.
6305 * elf/tst-tls19.c: Likewise.
6306 * elf/tst-tls2.c: Likewise.
6307 * elf/tst-tls3.c: Likewise.
6308 * elf/tst-tls4.c: Likewise.
6309 * elf/tst-tls5.c: Likewise.
6310 * elf/tst-tls6.c: Likewise.
6311 * elf/tst-tls7.c: Likewise.
6312 * elf/tst-tls8.c: Likewise.
6313 * elf/tst-tls9.c: Likewise.
6314 * elf/tst-tlsalign-extern.c: Likewise.
6315 * elf/tst-tlsalign.c: Likewise.
6316 * elf/tst-unique1.c: Likewise.
6317 * elf/tst-unique2.c: Likewise.
6318 * elf/vismain.c: Likewise.
6319
6320 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6321
6322 * string/test-strnlen.c (do_page_tests): New function
6323 to check length of strings ending at the page boundary.
6324 (test_main): Added call to the do_page_tests function.
6325
6326 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6327 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6328
6329 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6330 (sysdep_routines): Add strnlen-power8.
6331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6332 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6334 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6335 (__strnlen): Add __strnlen_power8 to ifunc list.
6336 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6337
6338 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6339
6340 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6341 the TEST_FUNCTION macro definition.
6342 * wcsmbs/tst-mbrtowc2.c: Likewise.
6343 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6344 * wcsmbs/tst-wchar-h.c: Likewise.
6345 * wcsmbs/tst-wcpncpy.c: Likewise.
6346 * wcsmbs/tst-wcrtomb.c: Likewise.
6347 * wcsmbs/tst-wcsnlen.c: Likewise.
6348 * wcsmbs/tst-wcstof.c: Likewise.
6349
6350 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6351
6352 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6353 CALL_THREAD_FCT macro usage.
6354 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6355 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6356 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6357
6358 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6359 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6360 (__ASSUME_REQUEUE_PI): Likewise.
6361 * sysdeps/unix/sysv/linux/kernel-features.h
6362 (__ASSUME_REQUEUE_PI): Likewise.
6363 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6364 (__ASSUME_REQUEUE_PI): Likewise.
6365 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6366 (__ASSUME_REQUEUE_PI): Likewise.
6367 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6368 (__ASSUME_REQUEUE_PI): Likewise.
6369
6370 2017-04-04 Florian Weimer <fweimer@redhat.com>
6371
6372 * resolv/tst-resolv-canonname.c: New file.
6373 * resolv/Makefile (tests): Add tst-resolv-canonname.
6374 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6375
6376 2017-04-04 Florian Weimer <fweimer@redhat.com>
6377
6378 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6379 Declare.
6380 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6381 (NS_MAXCDNAME): Remove definition.
6382 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6383 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6384 (NS_MAXCDNAME): Remove definition.
6385 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6386
6387 2017-04-04 Florian Weimer <fweimer@redhat.com>
6388
6389 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6390 call whose result is not used.
6391
6392 2017-04-04 Florian Weimer <fweimer@redhat.com>
6393
6394 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6395 * resolv/Makefile (tests): Add tst-ns_name.
6396 (tst-ns_name): Link with -lresolv.
6397 (tst-ns_name.out): Depend on the input data file.
6398
6399 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6400
6401 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6402 Clobber also r14.
6403
6404 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6405
6406 [BZ #21253]
6407 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6408 slack space by 32KiB.
6409
6410 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6411
6412 [BZ #21338]
6413 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6414 instead of incorrect do_set_arena_test
6415
6416 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6417
6418 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6419 * math/bits/math-finite.h: Likewise.
6420
6421 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6422
6423 [BZ #21289]
6424 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6425
6426 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6427
6428 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6429 non expected inotify_add_watch and quotactl return.
6430
6431 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6432
6433 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6434 to int32_t.
6435 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6436 as returning int32_t.
6437
6438 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6439
6440 * math/math.h: Include bits/math-finite.h once per
6441 floating-point type.
6442 * math/bits/math-finite.h: Macroize all declarations by
6443 floating-point type.
6444
6445 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6446
6447 [BZ #21182]
6448 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6449 near end of a page.
6450 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6451 overflow calculation.
6452
6453 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6454
6455 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6456 (IMPL) Call with 1 instead of 0 as argument.
6457
6458 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6459
6460 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6461 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6462 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6463 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6464 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6465 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6466 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6467 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6468 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6469 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6470 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6471 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6472 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6473 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6474 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6475 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6476 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6477 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6478 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6479 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6480 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6481 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6482 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6483 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6484 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6485 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6486 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6487 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6491 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6492 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6493 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6494 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6495 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6496 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6497 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6498 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6499 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6500 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6504 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6505 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6511 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6512 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6513 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6514 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6515 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6516 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6517 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6518 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6519 defined.
6520 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6521 __NR_setgroups32 if defined.
6522 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6523 if defined.
6524 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6525 __NR_setresgid32 is defined.
6526 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6527 __NR_setresuid32 if defined.
6528 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6529 __NR_setreuid32 if defined.
6530 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6531 defined.
6532 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6533 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6534 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6535 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6536 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6537 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6538 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6539 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6540 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6541 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6542 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6543 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6544 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6545 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6546 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6547 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6548 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6549 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6550 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6551 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6552 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6553 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6554 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6555 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6556 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6557 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6558 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6559 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6561 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6562 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6568 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6569 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6570 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6571 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6572 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6573 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6574 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6575 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6576 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6577 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6581 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6584 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6585 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6586 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6587 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6588 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6589 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6590 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6591 defined.
6592 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6593 __NR_setgroups32 if defined.
6594 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6595 if defined.
6596 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6597 __NR_setresgid32 is defined.
6598 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6599 __NR_setresuid32 if defined.
6600 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6601 __NR_setreuid32 if defined.
6602 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6603 defined.
6604
6605 2017-03-27 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #21277]
6608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6609 unconditionally.
6610 (IMAXBEL): Likewise.
6611 (IUTF8): Likewise.
6612
6613 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
6614
6615 * sysdeps/aarch64/libm-test-ulps: Update.
6616
6617 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
6618
6619 * README.tunables: Updated descriptions.
6620 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6621 * scripts/gen-tunables.awk: Updated the code related to the
6622 commit.
6623
6624 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
6625
6626 * benchtests/Makefile (string-benchset): Add memcpy-random.
6627 * benchtests/bench-memcpy-random.c: New file.
6628
6629 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6630
6631 * stdio-common/printf.h (register_printf_modifier): Change the
6632 order of __wur and __THROW.
6633 (register_printf_type): Likewise.
6634
6635 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6636
6637 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6638 test_main ().
6639 (CMDLINE_PROCESS): Use function instead of defined macro.
6640 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6641 <suppport/support.h> to use set_fortify_handler().
6642 * string/bug-envz1.c: Import support/test-driver.c instead of
6643 test-skeleton.c.
6644 * string/bug-strcoll2.c: Likewise.
6645 * string/bug-strtok1.c: Likewise.
6646 * string/stratcliff.c: Likewise.
6647 * string/test-ffs.c: Likewise.
6648 * string/test-memccpy.c: Likewise.
6649 * string/test-memchr.c: Likewise.
6650 * string/test-memcmp.c: Likewise.
6651 * string/test-memcpy.c: Likewise.
6652 * string/test-memmem.c: Likewise.
6653 * string/test-memmove.c: Likewise.
6654 * string/test-memrchr.c: Likewise.
6655 * string/test-memset.c: Likewise.
6656 * string/test-rawmemchr.c: Likewise.
6657 * string/test-strcasecmp.c: Likewise.
6658 * string/test-strcasestr.c: Likewise.
6659 * string/test-strcat.c: Likewise.
6660 * string/test-strchr.c: Likewise.
6661 * string/test-strcmp.c: Likewise.
6662 * string/test-strcpy.c: Likewise.
6663 * string/test-string.h: Likewise.
6664 * string/test-strlen.c: Likewise.
6665 * string/test-strncasecmp.c: Likewise.
6666 * string/test-strncat.c: Likewise.
6667 * string/test-strncmp.c: Likewise.
6668 * string/test-strncpy.c: Likewise.
6669 * string/test-strnlen.c: Likewise.
6670 * string/test-strpbrk.c: Likewise.
6671 * string/test-strrchr.c: Likewise.
6672 * string/test-strspn.c: Likewise.
6673 * string/test-strstr.c: Likewise.
6674 * string/tst-bswap.c: Likewise.
6675 * string/tst-cmp.c: Likewise.
6676 * string/tst-endian.c: Likewise.
6677 * string/tst-inlcall.c: Likewise.
6678 * string/tst-strcoll-overflow.c: Likewise.
6679 * string/tst-strfry.c: Likewise.
6680 * string/tst-strlen.c: Likewise.
6681 * string/tst-strtok.c: Likewise.
6682 * string/tst-strtok_r.c: Likewise.
6683 * string/tst-strxfrm.c: Likewise.
6684 * string/tst-strxfrm2.c: Likewise.
6685 * string/tst-svc.c: Likewise.
6686 * string/tst-svc2.c: Likewise.
6687
6688 2017-03-22 Zack Weinberg <zackw@panix.com>
6689
6690 * stdio-common/bug25.c: Include stdlib.h.
6691 * support/tst-support_format_dns_packet.c: Include stdio.h,
6692 stdlib.h, and string.h.
6693 * support/tst-support_record_failure.c: Include string.h.
6694 * support/tst-support_record_failure-2.sh: Adjust line number
6695 expectations and correct a typo in an error message.
6696
6697 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
6698
6699 [BZ #21258]
6700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
6701 Define only if _dl_runtime_resolve is defined to
6702 _dl_runtime_resolve_sse_vex.
6703 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6704 Fallthrough to _dl_runtime_resolve_sse_vex.
6705
6706 2017-03-21 Joseph Myers <joseph@codesourcery.com>
6707
6708 * INSTALL: Regenerated.
6709
6710 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
6711
6712 * config.h.in: Add LINK_OBSOLETE_NSL.
6713 * config.make.in: Add build-obsolete-nsl.
6714 * configure.ac: Add obsolete-nsl option.
6715 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6716 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6717 * include/rpcsvc/nislib.h: Likewise.
6718 * include/rpcsvc/ypclnt.h: Likewise.
6719 * manual/install.texi: Document --enable-obsolete-nsl.
6720 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6721 * nis/nis_add.c: Replace libnsl_hidden_def with
6722 libnsl_hidden_nolink_def.
6723 * nis/nis_addmember.c: Likewise.
6724 * nis/nis_call.c: Likewise.
6725 * nis/nis_clone_obj.c: Likewise.
6726 * nis/nis_defaults.c: Likeise.
6727 * nis/nis_domain_of_r.c: Likewise.
6728 * nis/nis_error.c: Likewise.
6729 * nis/nis_file.c: Likewise.
6730 * nis/nis_free.c: Likewise.
6731 * nis_local_names.c: Likewise.
6732 * nis/nis_lookup.c: Likewise.
6733 * nis/nis_modify.c: Likewise.
6734 * nis/nis_print.c: Likewise.
6735 * nis/nis_remove.c: Likewise.
6736 * nis/nis_table.c: Likewise.
6737 * nis/nis_util.c: Likewise.
6738 * nis/nis_xdr.c: Likewise.
6739 * nis/yp_xdr.c: Likewise.
6740 * nis/ypclnt.c: Likewise.
6741 * nis/ypupdate_xdr.c: Likewise.
6742 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6743 * nis/nis_clone_dir.c: Likewise.
6744 * nis/nis_clone_res.c: Likewise.
6745 * nis/nis_creategroup.c: Likewise.
6746 * nis/nis_destroygroup.c: Likewise.
6747 * nis/nis_domain_of.c: Likewise.
6748 * nis/nis_getservlist.c: Likewise.
6749 * nis/nis_ismember.c: Likewise.
6750 * nis/nis_mkdir.c: Likewise.
6751 * nis/nis_ping.c: Likewise.
6752 * nis/nis_print_group_entry.c: Likewise.
6753 * nis/nis_removemember.c: Likewise.
6754 * nis/nis_rmdir.c: Likewise.
6755 * nis/nis_server.c: Likewise.
6756 * nis/nis_subr.c: Likewise.
6757 * nis/nis_verifygroup.c: Likewise.
6758
6759 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6760
6761 * malloc/tst-interpose-aux.c (check_for_allocations):
6762 Move compiler barrier before free.
6763
6764 2017-03-20 Joseph Myers <joseph@codesourcery.com>
6765
6766 [BZ #21279]
6767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6768 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6769 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6770 x86_64-x32-linux.
6771 (mq_attr.mq_maxmsg): Likewise.
6772 (mq_attr.mq_msgsize): Likewise.
6773 (mq_attr.mq_curmsgs): Likewise.
6774
6775 [BZ #21278]
6776 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6777 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6778 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6779 mips-o32-linux.
6780
6781 [BZ #21268]
6782 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6783 if [__USE_MISC]
6784 (NL3): Likewise.
6785
6786 2017-03-20 Mike Frysinger <vapier@gentoo.org>
6787
6788 [BZ #21275]
6789 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6790 __stack to __stackbase.
6791 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6792 checks so we can include defined(__ia64__) first.
6793
6794 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
6795
6796 * sysdeps/unix/sysv/linux/ttyname.h: New file.
6797 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6798 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6799 Call is_pty when the link does not exist or does not match, fail
6800 with ENODEV when it returns true.
6801 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6802 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6803 Call is_pty when the link does not exist or does not match, fail
6804 with ENODEV when it returns true.
6805
6806 2017-03-18 Joseph Myers <joseph@codesourcery.com>
6807
6808 [BZ #16437]
6809 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6810 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6811 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6812 x86_64-x32-linux.
6813 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6814 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6815 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6816
6817 [BZ #21261]
6818 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6819 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6820 names for all fields.
6821 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6822 for jmp_buf field renaming.
6823 (_JMPBUF_UNWINDS_ADJ): Likewise.
6824
6825 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6826 with allow-header.
6827
6828 2017-03-17 Chris Evans <scarybeasts@gmail.com>
6829
6830 * malloc/malloc.c (unlink): Add consistency check between size and
6831 next->prev->size, to further harden against 1-byte overflows.
6832
6833 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
6834
6835 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6836 CPU_FEATURES_CPU_P.
6837
6838 2017-03-17 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #21259]
6841 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6842 unconditionally, not just for [__USE_MISC].
6843
6844 [BZ #17786]
6845 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6846 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6847 mips-o32-linux.
6848
6849 [BZ #21260]
6850 * sysdeps/unix/sysv/linux/alpha/Makefile
6851 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6852 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6853
6854 * conform/conformtest.pl ($cross): New variable.
6855 (--cross): New command-line option.
6856 (runtest): Skip test execution when cross-compiling.
6857 * conform/Makefile (conformtest-cross): New variable.
6858 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6859 conformtest.pl.
6860
6861 * conform/conformtest.pl ($xfail_str): New variable.
6862 (--xfail=): New command-line option.
6863 (top level): Handle expectations starting xfail[cond]-.
6864 * conform/Makefile (conformtest-xfail): New variable.
6865 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6866 conformtest.pl.
6867
6868 2017-03-16 Joseph Myers <joseph@codesourcery.com>
6869
6870 * conform/conformtest.pl: Use compilation instead of execution
6871 tests for testing values of constants and usability in #if.
6872
6873 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6874
6875 * math/auto-libm-test-in: Mark some catan and catanh as
6876 xfail-rounding:ibm128-libgcc.
6877 * math/auto-libm-test-out-catan: Regenerate.
6878 * math/auto-libm-test-out-catanh: Likewise.
6879
6880 2017-03-16 Joseph Myers <joseph@codesourcery.com>
6881
6882 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6883 (__END_NAMESPACE_STD): Likewise.
6884 (__USING_NAMESPACE_STD): Likewise.
6885 (__BEGIN_NAMESPACE_C99): Likewise.
6886 (__END_NAMESPACE_C99): Likewise.
6887 (__USING_NAMESPACE_C99): Likewise.
6888 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6889 undefine macro.
6890 (_Mdouble_END_NAMESPACE): Likewise.
6891 * ctype/ctype.h: Do not handle C++ namespaces.
6892 * libio/bits/stdio-ldbl.h: Likewise.
6893 * libio/stdio.h: Likewise.
6894 * locale/locale.h: Likewise.
6895 * math/bits/mathcalls.h: Likewise.
6896 * setjmp/setjmp.h: Likewise.
6897 * signal/signal.h: Likewise.
6898 * stdlib/bits/stdlib-float.h: Likewise.
6899 * stdlib/bits/stdlib-ldbl.h: Likewise.
6900 * stdlib/stdlib.h: Likewise.
6901 * string/string.h: Likewise.
6902 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6903 * time/bits/types/clock_t.h: Likewise.
6904 * time/bits/types/struct_tm.h: Likewise.
6905 * time/bits/types/time_t.h: Likewise.
6906 * time/time.h: Likewise.
6907 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6908 * wcsmbs/uchar.h: Likewise.
6909 * wcsmbs/wchar.h: Likewise.
6910 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6911 * wctype/wctype.h: Do not handle C++ namespaces.
6912 * scripts/begin-end-check.pl: Remove.
6913 * Makefile (installed-headers): Likewise.
6914 (tests-special): Do not add $(objpfx)begin-end-check.out.
6915 ($(objpfx)begin-end-check.out): Remove.
6916
6917 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
6918 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6919
6920 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6921 (DL_PLATFORM_INIT): New define.
6922 (dl_platform_init): New function.
6923 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6924 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6925 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6926 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6927 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6928
6929 2017-03-15 Mike Frysinger <vapier@gentoo.org>
6930
6931 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6932 instead of PIC.
6933
6934 2017-03-15 Joseph Myers <joseph@codesourcery.com>
6935
6936 [BZ #21094]
6937 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6938 24+24+24-bit pi for wider range of values around pi/2.
6939 * math/auto-libm-test-in: Add more tests of cos and tan.
6940 * math/auto-libm-test-out-cos: Regenerated.
6941 * math/auto-libm-test-out-tan: Likewise.
6942
6943 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
6944
6945 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6946 (RTLD_START): Don't record stack end address in _dl_start_user.
6947
6948 2017-03-15 Alexey Neyman <stilor@att.net>
6949
6950 [BZ #21088]
6951 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6952 around definitions match those around use.
6953
6954 2017-03-15 Alexey Neyman <stilor@att.net>
6955
6956 * configure.ac: Avoid empty subexpression in grep.
6957 * configure: Regenerate.
6958
6959 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6960
6961 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6962 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6963 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6964 (test_wrp_rv): Fix format.
6965 (test_wrp_rv2): New macro.
6966 (do_test): Handle mlock return on 64 bits kernels with 32 bits
6967 binaries.
6968
6969 2017-03-15 Joseph Myers <joseph@codesourcery.com>
6970
6971 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6972 Use a union when storing pointers.
6973 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6974 cast result when passing to INIT_VEC_PTRS_LOOP.
6975 (VECTOR_WRAPPER_fFF_3): Likewise.
6976 (VECTOR_WRAPPER_fFF_4): Likewise.
6977
6978 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6979
6980 * include/bits/mathcalls-helper-functions.h: New file.
6981 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6982 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6983 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6984 math/bits/mathcalls-helper-functions.h.
6985 * math/bits/mathcalls-helper-functions.h: New file.
6986 * math/math.h: Include bits/mathcalls-helper-functions.h for
6987 float, double, and long double.
6988
6989 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6990
6991 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6992 instead of feraiseexcept.
6993
6994 2017-03-15 Florian Weimer <fweimer@redhat.com>
6995
6996 [BZ #21243]
6997 * support/temp_file.c (support_delete_temp_files): Add comment
6998 about ignored errors.
6999
7000 2017-03-15 Florian Weimer <fweimer@redhat.com>
7001
7002 [BZ #21244]
7003 * support/xclose.c: New file.
7004 * support/Makefile (libsupport-routines): Add xclose.
7005 * support/xunistd.h (xclose): Declare.
7006 * support/resolv_test.c (server_thread_tcp_client)
7007 (server_thread_tcp, make_server_sockets, resolv_test_start)
7008 (resolv_test_end): Call xclose instead of close.
7009 * support/support_enter_network_namespace.c
7010 (support_enter_network_namespace): Likewise.
7011 * support/support_run_diff.c (write_to_temp_file): Likewise.
7012
7013 2017-03-15 Florian Weimer <fweimer@redhat.com>
7014
7015 * support/support_format_dns_packet.c (support_format_dns_packet):
7016 Handle CNAME records in the response. Extract RDATA names from
7017 rdata, not the whole packet. Check AAAA record length.
7018 * support/tst-support_format_dns_packet.c: New file.
7019 * support/Makefile (tests): Add tst-support_format_dns_packet.
7020 (tst-support_format_dns_packet): Link against libresolv.
7021
7022 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7023
7024 [BZ #21232]
7025 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7026 posix_fadvise64 weak_alias for static build.
7027
7028 2017-03-14 Andreas Schwab <schwab@suse.de>
7029
7030 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7031 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7032 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7033 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7034 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7035 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7036 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7037 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7038
7039 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7040
7041 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7042 posix error code.
7043 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7044
7045 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7046
7047 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7048 no_isolate usage for SH.
7049
7050 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7051
7052 [BZ #15105]
7053 [BZ #19463]
7054 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7055 * inet/rcmd.c (rcmd_af): Likewise.
7056 * inet/rexec.c (rexec_af): Likewise.
7057 * intl/dcigettext.c (_LIBC): Likewise.
7058 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7059 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7060 * locale/setlocale.c (setlocale): Likewise.
7061 * posix/spawn_faction_addopen.c
7062 (posix_spawn_file_actions_addopen): Likewise.
7063 * stdlib/putenv.c (putenv): Use __strndup.
7064 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7066 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7067 (__Need_M_And_C) Remove define/undef.
7068 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7069 (__malloc_and_calloc_defined): Remove define.
7070 * string/bits/string2.h (__strdup): Remove define.
7071 (strdup): Likewise.
7072 (__strndup): Likewise.
7073 (strndup): Likewise.
7074
7075 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7076
7077 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7078 macro.
7079 (IPV6_ADDR_PREFERENCES): Likewise.
7080 (IPV6_MINHOPCOUNT): Likewise.
7081 (IPV6_ORIGDSTADDR): Likewise.
7082 (IPV6_RECVORIGDSTADDR): Likewise.
7083 (IPV6_TRANSPARENT): Likewise.
7084 (IPV6_UNICAST_IF): Likewise.
7085 (IPV6_RECVFRAGSIZE): Likewise.
7086
7087 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7088
7089 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7090
7091 2017-03-12 Alexey Neyman <stilor@att.net>
7092
7093 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7094 in R_SH_DIR32 case is always false when inlined from
7095 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7096
7097 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7098
7099 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7100 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7101 __ASSUME_SEND_SYSCALL.
7102
7103 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7104
7105 * sunrpc/Makefile: don't build and install rpcsvc header
7106 files, rpcgen and librpcsvc.a by default.
7107
7108 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7109
7110 * math/auto-libm-test-out-catan: Regenerated.
7111 * math/auto-libm-test-out-catanh: Likewise.
7112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7113
7114 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7115
7116 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7117 for long double with corrected test expectations.
7118
7119 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7120
7121 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7122 Define.
7123 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7124 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7125 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7126 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7127 * sysdeps/unix/sysv/linux/tile/sysdep.h
7128 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7129 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7130 (__ASSUME_RECV_SYSCALL): Define.
7131 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7132 (__ASSUME_RECV_SYSCALL): Likewise.
7133 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7134 (__ASSUME_RECV_SYSCALL): Likewise.
7135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7136 (__ASSUME_RECV_SYSCALL): Likewise.
7137 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7138 (__ASSUME_RECV_SYSCALL): Likewise.
7139 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7140 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7141 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7142 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7143 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7144 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7145 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7146 auto-generation list.
7147 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7148 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7149 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7150 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7152 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7153 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7154 __ASSUME_SENDTO_SYSCALL.
7155 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7156 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7157 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7158
7159 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7160 auto-generation list.
7161 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7162 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7163 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7164 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7165 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7167 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7168 * sysdeps/unix/sysv/linux/kernel-features.h
7169 (__ASSUME_SENDTO_SYSCALL): Define by default.
7170 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7171 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7172 __NR_sendto.
7173 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7174 (__ASSUME_SENDTO_SYSCALL): Likewise.
7175 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7176 (__ASSUME_SENDTO_SYSCALL): Likewise.
7177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7178 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7179 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7180 (__ASSUME_SENDTO_SYSCALL): Likewise.
7181 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7182 (__ASSUME_SENDTO_SYSCALL): Likewise.
7183 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7184
7185 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7186 auto-generation list.
7187 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7188 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7189 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7190 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7193 (__ASSUME_RECV_SYSCALL): New define.
7194 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7195 (__ASSUME_RECV_SYSCALL): Likewise.
7196 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7197 (__ASSUME_RECV_SYSCALL): Likewise.
7198 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7199 (__ASSUME_RECV_SYSCALL): Likewise.
7200 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7201 (__ASSUME_RECV_SYSCALL): Likewise.
7202 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7203 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7204 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7205 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7206 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7207 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7208 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7209 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7211 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7212 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7213 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7214
7215 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7216 auto-generation list.
7217 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7218 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7219 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7220 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7223 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7224 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7225 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7226 * sysdeps/unix/sysv/linux/kernel-features.h
7227 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7228 __NR_recvfrom.
7229 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7230 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7231 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7232 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7234 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7235 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7236 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7237 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7238 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7240 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7241 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7242
7243 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7244 auto-generation list.
7245 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7246 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7248 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7249 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7250 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7251 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7252 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7253 * sysdeps/unix/sysv/linux/kernel-features.h
7254 (__ASSUME_CONNECT_SYSCALL): Define.
7255 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7256 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7257 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7258 (__ASSUME_CONNECT_SYSCALL): Likewise.
7259 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7260 (__ASSUME_CONNECT_SYSCALL): Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7262 (__ASSUME_CONNECT_SYSCALL): Likewise.
7263
7264 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7265 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7266 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7267 auto-generation list.
7268 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7269 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7270 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7271 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7272 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7274 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7275 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7276 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7277 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7278 * sysdeps/unix/sysv/linux/kernel-features.h
7279 (__ASSUME_ACCEPT_SYSCALL): New define.
7280 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7281 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7282 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7284 (__ASSUME_ACCEPT_SYSCALL): Define.
7285 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7286 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7287 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7288 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7289 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7290 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7291 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7292 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7293 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7294
7295 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7296 Zack Weinberg <zackw@panix.com>
7297
7298 * posix/test-errno.c: New file.
7299 * posix/Makefile (tests): Add test-errno.
7300 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7301 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7302
7303 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7304
7305 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7306
7307 2017-03-07 Florian Weimer <fweimer@redhat.com>
7308
7309 * time/tzset.c (compute_offset): Open-code min macro.
7310 (min, max, sign): Remove.
7311
7312 2017-03-07 Florian Weimer <fweimer@redhat.com>
7313
7314 [BZ #15576]
7315 Remove TZNAME_MAX limit from sysconf.
7316 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7317 declaration.
7318 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7319 compute_tzname_max.
7320 (compute_tzname_max): Remove.
7321 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7322 (update_vars): Do not update __tzname_cur_max.
7323 (tzset_internal): Remove argument.
7324 (__tzset): Adjust call to tzset_internal.
7325 (__tz_convert): Likewise.
7326
7327 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7328 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7329 * manual/conf.texi (Sysconf Definition): Update comment.
7330
7331 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7332
7333 [BZ #21209]
7334 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7335 AT_SECURE processes.
7336 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7337 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7338 (test_child): Likewise.
7339 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7340
7341 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7342
7343 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7344
7345 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7346
7347 * sysdeps/s390/atomic-machine.h
7348 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7349 (__arch_compare_and_exchange_val_8_acq,
7350 __arch_compare_and_exchange_val_16_acq,
7351 __arch_compare_and_exchange_val_32_acq,
7352 __arch_compare_and_exchange_val_64_acq):
7353 Delete macro.
7354 (atomic_compare_and_exchange_val_acq,
7355 atomic_compare_and_exchange_val_rel,
7356 atomic_compare_and_exchange_bool_acq,
7357 catomic_compare_and_exchange_bool_acq,
7358 atomic_exchange_acq, atomic_exchange_rel,
7359 atomic_exchange_and_add_acq,
7360 atomic_exchange_and_add_rel,
7361 catomic_exchange_and_add, atomic_or_val,
7362 atomic_or, catomic_or, atomic_bit_test_set,
7363 atomic_and_val, atomic_and, catomic_and):
7364 Define macros with help of C11 atomic builtins.
7365
7366 2017-03-03 Justus Winter <justus@gnupg.org>
7367
7368 * sysdeps/mach/hurd/ftruncate64.c: New file.
7369 * sysdeps/mach/hurd/truncate64.c: Likewise.
7370
7371 2017-03-03 Florian Weimer <fweimer@redhat.com>
7372
7373 * time/tzfile.c (NOID): Do not define.
7374 * time/tzset.c (NOID): Likewise.
7375
7376 2017-03-03 Florian Weimer <fweimer@redhat.com>
7377
7378 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7379
7380 2017-03-02 Florian Weimer <fweimer@redhat.com>
7381
7382 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7383
7384 2017-03-02 Florian Weimer <fweimer@redhat.com>
7385
7386 [BZ #21015]
7387 * manual/install.texi (Configuring and compiling): Document
7388 --enable-bind-now.
7389 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7390 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7391 (format.lds): Likewise.
7392 [bind-now] (LDFLAGS-c.so): Remove.
7393 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7394 be R_X86_64_GLOB_DAT.
7395 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7396 relocation can be R_386_GLOB_DAT.
7397 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7398 relocaiton can be R_ALPHA_GLOB_DAT.
7399 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7400
7401 2017-03-01 Zack Weinberg <zackw@panix.com>
7402
7403 * include/libc-pointer-arith.h: New file. Define
7404 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7405 PTR_ALIGN_DOWN here.
7406 * include/libc-internal.h: Definitions of above macros
7407 moved from here. Don't include libc-diag.h anymore either.
7408 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7409 Don't include libc-internal.h.
7410
7411 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7412 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7413 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7414 * string/strcoll_l.c, sysdeps/nacl/brk.c
7415 * sysdeps/unix/clock_settime.c
7416 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7417 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7418 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7420 Don't include libc-internal.h.
7421
7422 * elf/get-dynamic-info.h, iconv/loop.c
7423 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7424 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7425 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7426 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7427 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7430 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7431 * sysdeps/ieee754/ldbl-128/k_tanl.c
7432 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7434 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7435 Include libc-diag.h instead of libc-internal.h.
7436
7437 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7438 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7439 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7440 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7441 * sysdeps/unix/sysv/linux/spawni.c
7442 * sysdeps/x86_64/nptl/tls.h:
7443 Include libc-pointer-arith.h instead of libc-internal.h.
7444
7445 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7446 * sysdeps/x86_64/atomic-machine.h:
7447 Add multiple include guard.
7448
7449 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7450 * string/strcasestr.c: No need to include config.h.
7451 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7452 sys/auxv.h. Don't include sysdep.h.
7453 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7454
7455 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7456 DL_LOOKUP_ADDRESS.
7457 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7458 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7460 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7461 of ARTIFICIAL_LIMIT.
7462 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7463 declaration of __clone2.
7464
7465 2017-02-28 Florian Weimer <fweimer@redhat.com>
7466
7467 * scripts/backport-support.sh (latest_commit): New file.
7468
7469 2017-02-28 Florian Weimer <fweimer@redhat.com>
7470
7471 [BZ #20257]
7472 * inet/Makefile (routines): Add deadline.
7473 (tests-static): Add tst-deadline.
7474 * inet/net-internal.h (struct deadline_current_time)
7475 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7476 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7477 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7478 * inet/deadline.c: New file.
7479 * inet/tst-deadline.c: Likewise.
7480 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7481 tst-udp-timeout, tst-udp-garbage.
7482 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7483 explicitly.
7484 (tst-udp-garbage): Likewise. Also link against thread library.
7485 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7486 struct layout is part of the ABI.
7487 (clntudp_call): Rework timeout handling.
7488 * sunrpc/tst-udp-garbage.c: New file.
7489 * sunrpc/tst-udp-nonblocking.c: Likewise.
7490 * sunrpc/tst-udp-timeout.c: Likewise.
7491
7492 2017-02-28 Florian Weimer <fweimer@redhat.com>
7493
7494 [BZ #5010]
7495 * sunrpc/svc.c (svc_is_mapped): Remove.
7496 (svc_unregister): Obtain mapped status while the service is still
7497 registered.
7498 * sunrpc/Makefile [have-thread-library] (tests): Add
7499 tst-svc_register.
7500 (tst-svc_register): Link against libc.so explicitly and the thread
7501 library.
7502 * sunrpc/tst-svc_register.c: New file.
7503
7504 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7505
7506 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7507 * sysdeps/pthread/bits/sigthread.h: Likewise.
7508
7509 2017-02-27 Florian Weimer <fweimer@redhat.com>
7510
7511 [BZ #21115]
7512 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7513 * sunrpc/Makefile (tests): Add tst-udp-error.
7514 (tst-udp-error): Link against libc.so explicitly.
7515 * sunrpc/tst-udp-error: New file.
7516
7517 2017-02-25 Zack Weinberg <zackw@panix.com>
7518
7519 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7520 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7521
7522 * sysdeps/generic/math_ldbl.h
7523 * sysdeps/ia64/fpu/math_ldbl.h
7524 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7526 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7527 * sysdeps/powerpc/fpu/math_ldbl.h
7528 * sysdeps/x86_64/fpu/math_ldbl.h:
7529 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7530 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7531 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7532 Add copyright notices.
7533
7534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7535 Don't use EXTRACT_WORDS64.
7536
7537 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7538 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7539 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7540 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7541 Include math_ldbl.h, not math_private.h.
7542
7543 2017-02-25 Zack Weinberg <zackw@panix.com>
7544
7545 * include/libc-diag.h: New file. Define ignore_value,
7546 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7547 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7548
7549 * include/libc-internal.h: Definitions of above macros moved from
7550 here. Include libc-diag.h. Add copyright notice.
7551
7552 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7553 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7554 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7555 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7556 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7557 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7558 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7559 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7560 Include libc-diag.h instead of libc-internal.h.
7561
7562 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
7563 call to unsetenv (NULL).
7564 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
7565 call to pthread_mutexattr_destroy (NULL).
7566
7567 2017-02-25 Zack Weinberg <zackw@panix.com>
7568
7569 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7570 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7571 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
7572 gets was removed from C++ in C++14.
7573 * include/stdio.h: Remove redundant declaration of gets.
7574 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7575 be declared, since we are testing it.
7576 * stdio-common/Makefile (tst-gets.c): Compile with
7577 -Wno-deprecated-declarations.
7578 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7579 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7580 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7581 Compile with -Wno-deprecated-declarations.
7582
7583 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7584
7585 * math/libm-test-support.c (check_ulp): Use LIT() around literal
7586 numbers.
7587
7588 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7589
7590 * resolv/tst-resolv-qtypes.c (domain):
7591 Change type to const pointer to const char.
7592
7593 2017-02-24 Joseph Myers <joseph@codesourcery.com>
7594
7595 * math/Makefile (libm-tests-generated): Remove variable.
7596 (libm-tests-base-normal): New variable.
7597 (libm-tests-base-finite): Likewise.
7598 (libm-tests-base-inline): Likewise.
7599 (libm-tests-base): Likewise.
7600 (libm-tests-normal): Likewise.
7601 (libm-tests-finite): Likewise.
7602 (libm-tests-inline): Likewise.
7603 (libm-tests-vector): Likewise.
7604 (libm-tests): Define in terms of these new variables.
7605 (libm-tests-for-type): New variable.
7606 (libm-tests.o): Move definition.
7607 (tests): Move addition of $(libm-tests).
7608 (generated): Update for new and removed libm test files.
7609 ($(objpfx)libm-test.c): Remove target.
7610 ($(objpfx)libm-have-vector-test.h): Likewise.
7611 (CFLAGS-test-double-vlen2.c): Remove variable.
7612 (CFLAGS-test-double-vlen4.c): Likewise.
7613 (CFLAGS-test-double-vlen8.c): Likewise.
7614 (CFLAGS-test-float-vlen4.c): Likewise.
7615 (CFLAGS-test-float-vlen8.c): Likewise.
7616 (CFLAGS-test-float-vlen16.c): Likewise.
7617 (CFLAGS-test-float.c): Likewise.
7618 (CFLAGS-test-float-finite.c): Likewise.
7619 (CFLAGS-libm-test-support-float.c): Likewise.
7620 (CFLAGS-test-double.c): Likewise.
7621 (CFLAGS-test-double-finite.c): Likewise.
7622 (CFLAGS-libm-test-support-double.c): Likewise.
7623 (CFLAGS-test-ldouble.c): Likewise.
7624 (CFLAGS-test-ldouble-finite.c): Likewise.
7625 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7626 (libm-test-inline-cflags): New variable.
7627 (CFLAGS-test-ifloat.c): Remove variable.
7628 (CFLAGS-test-idouble.c): Likewise.
7629 (CFLAGS-test-ildouble.c): Likewise.
7630 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7631 dependencies.
7632 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7633 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7634 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7635 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7636 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7637 Likewise.
7638 (dependencies on libm-test-support-*.o): Remove.
7639 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7640 rules using iterators.
7641 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7642 Likewise.
7643 ($(objpfx)libm-test-support-$(o).o): Likewise.
7644 ($(addprefix $(objpfx),$(filter-out $(tests-static)
7645 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7646 instead.
7647 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7648 define rule instead.
7649 * math/README.libm-test: Update.
7650 * math/libm-test-acos.inc: Include libm-test-driver.c.
7651 (do_test): New function.
7652 * math/libm-test-acosh.inc: Include libm-test-driver.c.
7653 (do_test): New function.
7654 * math/libm-test-asin.inc: Include libm-test-driver.c.
7655 (do_test): New function.
7656 * math/libm-test-asinh.inc: Include libm-test-driver.c.
7657 (do_test): New function.
7658 * math/libm-test-atan.inc: Include libm-test-driver.c.
7659 (do_test): New function.
7660 * math/libm-test-atan2.inc: Include libm-test-driver.c.
7661 (do_test): New function.
7662 * math/libm-test-atanh.inc: Include libm-test-driver.c.
7663 (do_test): New function.
7664 * math/libm-test-cabs.inc: Include libm-test-driver.c.
7665 (do_test): New function.
7666 * math/libm-test-cacos.inc: Include libm-test-driver.c.
7667 (do_test): New function.
7668 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7669 (do_test): New function.
7670 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7671 (do_test): New function.
7672 * math/libm-test-carg.inc: Include libm-test-driver.c.
7673 (do_test): New function.
7674 * math/libm-test-casin.inc: Include libm-test-driver.c.
7675 (do_test): New function.
7676 * math/libm-test-casinh.inc: Include libm-test-driver.c.
7677 (do_test): New function.
7678 * math/libm-test-catan.inc: Include libm-test-driver.c.
7679 (do_test): New function.
7680 * math/libm-test-catanh.inc: Include libm-test-driver.c.
7681 (do_test): New function.
7682 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7683 (do_test): New function.
7684 * math/libm-test-ccos.inc: Include libm-test-driver.c.
7685 (do_test): New function.
7686 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7687 (do_test): New function.
7688 * math/libm-test-ceil.inc: Include libm-test-driver.c.
7689 (do_test): New function.
7690 * math/libm-test-cexp.inc: Include libm-test-driver.c.
7691 (do_test): New function.
7692 * math/libm-test-cimag.inc: Include libm-test-driver.c.
7693 (do_test): New function.
7694 * math/libm-test-clog.inc: Include libm-test-driver.c.
7695 (do_test): New function.
7696 * math/libm-test-clog10.inc: Include libm-test-driver.c.
7697 (do_test): New function.
7698 * math/libm-test-conj.inc: Include libm-test-driver.c.
7699 (do_test): New function.
7700 * math/libm-test-copysign.inc: Include libm-test-driver.c.
7701 (do_test): New function.
7702 * math/libm-test-cos.inc: Include libm-test-driver.c.
7703 (do_test): New function.
7704 * math/libm-test-cosh.inc: Include libm-test-driver.c.
7705 (do_test): New function.
7706 * math/libm-test-cpow.inc: Include libm-test-driver.c.
7707 (do_test): New function.
7708 * math/libm-test-cproj.inc: Include libm-test-driver.c.
7709 (do_test): New function.
7710 * math/libm-test-creal.inc: Include libm-test-driver.c.
7711 (do_test): New function.
7712 * math/libm-test-csin.inc: Include libm-test-driver.c.
7713 (do_test): New function.
7714 * math/libm-test-csinh.inc: Include libm-test-driver.c.
7715 (do_test): New function.
7716 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7717 (do_test): New function.
7718 * math/libm-test-ctan.inc: Include libm-test-driver.c.
7719 (do_test): New function.
7720 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7721 (do_test): New function.
7722 * math/libm-test-erf.inc: Include libm-test-driver.c.
7723 (do_test): New function.
7724 * math/libm-test-erfc.inc: Include libm-test-driver.c.
7725 (do_test): New function.
7726 * math/libm-test-exp.inc: Include libm-test-driver.c.
7727 (do_test): New function.
7728 * math/libm-test-exp10.inc: Include libm-test-driver.c.
7729 (do_test): New function.
7730 * math/libm-test-exp2.inc: Include libm-test-driver.c.
7731 (do_test): New function.
7732 * math/libm-test-expm1.inc: Include libm-test-driver.c.
7733 (do_test): New function.
7734 * math/libm-test-fabs.inc: Include libm-test-driver.c.
7735 (do_test): New function.
7736 * math/libm-test-fdim.inc: Include libm-test-driver.c.
7737 (do_test): New function.
7738 * math/libm-test-floor.inc: Include libm-test-driver.c.
7739 (do_test): New function.
7740 * math/libm-test-fma.inc: Include libm-test-driver.c.
7741 (do_test): New function.
7742 * math/libm-test-fmax.inc: Include libm-test-driver.c.
7743 (do_test): New function.
7744 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7745 (do_test): New function.
7746 * math/libm-test-fmin.inc: Include libm-test-driver.c.
7747 (do_test): New function.
7748 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7749 (do_test): New function.
7750 * math/libm-test-fmod.inc: Include libm-test-driver.c.
7751 (do_test): New function.
7752 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7753 (do_test): New function.
7754 * math/libm-test-frexp.inc: Include libm-test-driver.c.
7755 (do_test): New function.
7756 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7757 (do_test): New function.
7758 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7759 (do_test): New function.
7760 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7761 (do_test): New function.
7762 * math/libm-test-hypot.inc: Include libm-test-driver.c.
7763 (do_test): New function.
7764 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7765 (do_test): New function.
7766 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7767 (do_test): New function.
7768 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7769 (do_test): New function.
7770 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7771 (do_test): New function.
7772 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7773 (do_test): New function.
7774 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7775 (do_test): New function.
7776 * math/libm-test-isinf.inc: Include libm-test-driver.c.
7777 (do_test): New function.
7778 * math/libm-test-isless.inc: Include libm-test-driver.c.
7779 (do_test): New function.
7780 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7781 (do_test): New function.
7782 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7783 (do_test): New function.
7784 * math/libm-test-isnan.inc: Include libm-test-driver.c.
7785 (do_test): New function.
7786 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7787 (do_test): New function.
7788 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7789 (do_test): New function.
7790 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7791 (do_test): New function.
7792 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7793 (do_test): New function.
7794 * math/libm-test-iszero.inc: Include libm-test-driver.c.
7795 (do_test): New function.
7796 * math/libm-test-j0.inc: Include libm-test-driver.c.
7797 (do_test): New function.
7798 * math/libm-test-j1.inc: Include libm-test-driver.c.
7799 (do_test): New function.
7800 * math/libm-test-jn.inc: Include libm-test-driver.c.
7801 (do_test): New function.
7802 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7803 (do_test): New function.
7804 * math/libm-test-llogb.inc: Include libm-test-driver.c.
7805 (do_test): New function.
7806 * math/libm-test-llrint.inc: Include libm-test-driver.c.
7807 (do_test): New function.
7808 * math/libm-test-llround.inc: Include libm-test-driver.c.
7809 (do_test): New function.
7810 * math/libm-test-log.inc: Include libm-test-driver.c.
7811 (do_test): New function.
7812 * math/libm-test-log10.inc: Include libm-test-driver.c.
7813 (do_test): New function.
7814 * math/libm-test-log1p.inc: Include libm-test-driver.c.
7815 (do_test): New function.
7816 * math/libm-test-log2.inc: Include libm-test-driver.c.
7817 (do_test): New function.
7818 * math/libm-test-logb.inc: Include libm-test-driver.c.
7819 (do_test): New function.
7820 * math/libm-test-lrint.inc: Include libm-test-driver.c.
7821 (do_test): New function.
7822 * math/libm-test-lround.inc: Include libm-test-driver.c.
7823 (do_test): New function.
7824 * math/libm-test-modf.inc: Include libm-test-driver.c.
7825 (do_test): New function.
7826 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7827 (do_test): New function.
7828 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7829 (do_test): New function.
7830 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7831 (do_test): New function.
7832 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7833 (do_test): New function.
7834 * math/libm-test-nextup.inc: Include libm-test-driver.c.
7835 (do_test): New function.
7836 * math/libm-test-pow.inc: Include libm-test-driver.c.
7837 (do_test): New function.
7838 * math/libm-test-remainder.inc: Include libm-test-driver.c.
7839 (do_test): New function.
7840 * math/libm-test-remquo.inc: Include libm-test-driver.c.
7841 (do_test): New function.
7842 * math/libm-test-rint.inc: Include libm-test-driver.c.
7843 (do_test): New function.
7844 * math/libm-test-round.inc: Include libm-test-driver.c.
7845 (do_test): New function.
7846 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7847 (do_test): New function.
7848 * math/libm-test-scalb.inc: Include libm-test-driver.c.
7849 (do_test): New function.
7850 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7851 (do_test): New function.
7852 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7853 (do_test): New function.
7854 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7855 (do_test): New function.
7856 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7857 (do_test): New function.
7858 * math/libm-test-signbit.inc: Include libm-test-driver.c.
7859 (do_test): New function.
7860 * math/libm-test-significand.inc: Include libm-test-driver.c.
7861 (do_test): New function.
7862 * math/libm-test-sin.inc: Include libm-test-driver.c.
7863 (do_test): New function.
7864 * math/libm-test-sincos.inc: Include libm-test-driver.c.
7865 (do_test): New function.
7866 * math/libm-test-sinh.inc: Include libm-test-driver.c.
7867 (do_test): New function.
7868 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7869 (do_test): New function.
7870 * math/libm-test-tan.inc: Include libm-test-driver.c.
7871 (do_test): New function.
7872 * math/libm-test-tanh.inc: Include libm-test-driver.c.
7873 (do_test): New function.
7874 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7875 (do_test): New function.
7876 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7877 (do_test): New function.
7878 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7879 (do_test): New function.
7880 * math/libm-test-trunc.inc: Include libm-test-driver.c.
7881 (do_test): New function.
7882 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7883 (do_test): New function.
7884 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7885 (do_test): New function.
7886 * math/libm-test-y0.inc: Include libm-test-driver.c.
7887 (do_test): New function.
7888 * math/libm-test-y1.inc: Include libm-test-driver.c.
7889 (do_test): New function.
7890 * math/libm-test-yn.inc: Include libm-test-driver.c.
7891 (do_test): New function.
7892 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7893 (HAVE_VECTOR): Remove macro.
7894 (START): Do not call HAVE_VECTOR.
7895 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7896 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7897 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7898 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7899 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7900 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7901 * math/test-math-vector.h (FUNC_TEST): New macro.
7902 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7903 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7904 (double-vlen4-funcs): Likewise.
7905 (double-vlen4-avx2-funcs): Likewise.
7906 (double-vlen8-funcs): Likewise.
7907 (float-vlen4-funcs): Likewise.
7908 (float-vlen8-funcs): Likewise.
7909 (float-vlen8-avx2-funcs): Likewise.
7910 (float-vlen16-funcs): Likewise.
7911 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7912 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7913 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7914 macro.
7915 (TEST_VECTOR_sin): Likewise.
7916 (TEST_VECTOR_sincos): Likewise.
7917 (TEST_VECTOR_log): Likewise.
7918 (TEST_VECTOR_exp): Likewise.
7919 (TEST_VECTOR_pow): Likewise.
7920 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7921 Likewise.
7922 (TEST_VECTOR_sin): Likewise.
7923 (TEST_VECTOR_sincos): Likewise.
7924 (TEST_VECTOR_log): Likewise.
7925 (TEST_VECTOR_exp): Likewise.
7926 (TEST_VECTOR_pow): Likewise.
7927 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7928 Likewise.
7929 (TEST_VECTOR_sinf): Likewise.
7930 (TEST_VECTOR_sincosf): Likewise.
7931 (TEST_VECTOR_logf): Likewise.
7932 (TEST_VECTOR_expf): Likewise.
7933 (TEST_VECTOR_powf): Likewise.
7934 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7935 Likewise.
7936 (TEST_VECTOR_sinf): Likewise.
7937 (TEST_VECTOR_sincosf): Likewise.
7938 (TEST_VECTOR_logf): Likewise.
7939 (TEST_VECTOR_expf): Likewise.
7940 (TEST_VECTOR_powf): Likewise.
7941 * math/gen-libm-have-vector-test.sh: Remove file.
7942 * math/libm-test.inc: Likewise.
7943 * math/libm-test-support-double.c: Likewise.
7944 * math/libm-test-support-float.c: Likewise.
7945 * math/libm-test-support-ldouble.c: Likewise.
7946 * math/test-double-finite.c: Likewise.: Likewise.
7947 * math/test-double.c: Likewise.
7948 * math/test-float-finite.c: Likewise.
7949 * math/test-float.c: Likewise.
7950 * math/test-idouble.c: Likewise.
7951 * math/test-ifloat.c: Likewise.
7952 * math/test-ildouble.c: Likewise.
7953 * math/test-ldouble-finite.c: Likewise.
7954 * math/test-ldouble.c: Likewise.
7955 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7956 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7957 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7958 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7959 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7960 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7961 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7962 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7963 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7964 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7965
7966 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7967 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7968
7969 * math/Makefile: Add wrappers to gen-libm-calls.
7970 * math/w_acos_template.c: New file.
7971 * math/w_acosh_template.c: Likewise.
7972 * math/w_asin_template.c: Likewise.
7973 * math/w_atan2_template.c: Likewise.
7974 * math/w_atanh_template.c: Likewise.
7975 * math/w_cosh_template.c: Likewise.
7976 * math/w_exp10_template.c: Likewise.
7977 * math/w_exp2_template.c: Likewise.
7978 * math/w_exp_template.c: Likewise.
7979 * math/w_fmod_template.c: Likewise.
7980 * math/w_hypot_template.c: Likewise.
7981 * math/w_j0_template.c: Likewise.
7982 * math/w_j1_template.c: Likewise.
7983 * math/w_jn_template.c: Likewise.
7984 * math/w_lgamma_r_template.c: Likewise.
7985 * math/w_lgamma_template.c: Likewise.
7986 * math/w_log10_template.c: Likewise.
7987 * math/w_log2_template.c: Likewise.
7988 * math/w_log_template.c: Likewise.
7989 * math/w_pow_template.c: Likewise.
7990 * math/w_remainder_template.c: Likewise.
7991 * math/w_sinh_template.c: Likewise.
7992 * math/w_sqrt_template.c: Likewise.
7993 * math/w_tgamma_template.c: Likewise.: Likewise.
7994 * sysdeps/generic/math-type-macros-double.h
7995 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7996 the new wrappers.
7997 * sysdeps/generic/math-type-macros-float.h: Likewise.
7998 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7999
8000 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8001
8002 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8003 New enum constant and macro.
8004
8005 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8006 kernel version to 4.10.
8007
8008 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8009
8010 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8011
8012 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8013
8014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8015
8016 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8017
8018 * sysdeps/powerpc/tst-set_ppr.c: New file.
8019 Implement test cases for __ppc_set_ppr_* functions.
8020 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8021 in the list of tests.
8022
8023 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8024
8025 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8026 instead of test-skeleton.c.
8027 (do_test): Replaced pthread_create and pthread_join with
8028 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8029 Removed unneeded status variable.
8030 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8031 instead of test-skeleton.c.
8032 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8033
8034 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8035
8036 [BZ #20313]
8037 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8038 201605L, for Unicode 9.
8039
8040 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8041
8042 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8043 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8044 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8045 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8046 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8047 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8048
8049 2017-02-19 Zack Weinberg <zackw@panix.com>
8050
8051 * rt/tst-mqueue4.c: Include stdint.h.
8052
8053 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8054
8055 * sysdeps/arm/libm-test-ulps: Update.
8056 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8057 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8058 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8059
8060 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8061
8062 [BZ #21029]
8063 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8064 * sysdeps/unix/sysv/linux/i386/Makefile
8065 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8066 (uses-6-syscall-arguments): Remove.
8067 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8068 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8069 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8070 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8071 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8072 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8073 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8074 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8075 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8076 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8077 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8078 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8079 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8080 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8081 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8082 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8083 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8084 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8085 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8086 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8087 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8088 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8089 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8090 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8091 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8092 Likewise.
8093 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8094 Likewise.
8095 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8096 Likewise.
8097 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8098 Likewise.
8099 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8100 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8101 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8102 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8103 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8104 ebp on inline assembly.
8105 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8106 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8107 Set if CAN_USE_REGISTER_ASM_EBP is set.
8108
8109 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8112 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8113
8114 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8115
8116 * math/auto-libm-test-in: Add tests of catan and catanh.
8117 * math/auto-libm-test-out-catan: New generated file.
8118 * math/auto-libm-test-out-catanh: Likewise.
8119 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8120 Move tests with finite inputs, except divide-by-zero cases, to
8121 auto-libm-test-in.
8122 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8123 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8124 (libm-test-funcs-noauto): Remove catan and catanh.
8125 * sysdeps/i386/fpu/libm-test-ulps: Update.
8126 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8128
8129 * math/auto-libm-test-in: Add tests of casin and casinh.
8130 * math/auto-libm-test-out-casin: New generated file.
8131 * math/auto-libm-test-out-casinh: Likewise.
8132 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8133 Move tests with finite inputs to auto-libm-test-in.
8134 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8135 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8136 (libm-test-funcs-noauto): Remove casin and casinh.
8137 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8140
8141 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8142 * math/auto-libm-test-out-cacos: New generated file.
8143 * math/auto-libm-test-out-cacosh: Likewise.
8144 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8145 Move tests with finite inputs to auto-libm-test-in.
8146 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8147 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8148 (libm-test-funcs-noauto): Remove cacos and cacosh.
8149 * sysdeps/i386/fpu/libm-test-ulps: Update.
8150 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8152
8153 Revert:
8154 2017-02-16 Zack Weinberg <zackw@panix.com>
8155
8156 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8157 Don't include init-arch.h.
8158 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8159 Don't include init-arch.h.
8160
8161 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8162
8163 [BZ #21171]
8164 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8165 +Inf and raise divide-by-zero when x is negative.
8166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8167 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8168 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8169 -Inf and raise divide-by-zero when x = +-0.
8170 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8171 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8172 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8173 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8174 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8177
8178 2017-02-16 Zack Weinberg <zackw@panix.com>
8179
8180 * scripts/build-many-glibcs.py (bot_build_mail): If the
8181 bot_config does not contain all of the necessary email-
8182 related settings, just print a warning and continue.
8183
8184 2017-02-16 Zack Weinberg <zackw@panix.com>
8185
8186 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8187 * dirent/opendir-tst1.c: Include sys/stat.h.
8188 * dirent/tst-fdopendir.c: Include sys/stat.h.
8189 * dirent/tst-fdopendir2.c: Include stdlib.h.
8190 * dirent/tst-scandir.c: Include stdbool.h.
8191 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8192 * elf/tst-tls15.c: Include stdlib.h.
8193 * elf/tst-tls16.c: Include stdlib.h.
8194 * elf/tst-tls17.c: Include stdlib.h.
8195 * elf/tst-tls18.c: Include stdlib.h.
8196 * iconv/tst-iconv6.c: Include endian.h.
8197 * iconvdata/bug-iconv11.c: Include limits.h.
8198 * io/test-utime.c: Include stdint.h.
8199 * io/tst-faccessat.c: Include sys/stat.h.
8200 * io/tst-fchmodat.c: Include sys/stat.h.
8201 * io/tst-fchownat.c: Include sys/stat.h.
8202 * io/tst-fstatat.c: Include sys/stat.h.
8203 * io/tst-futimesat.c: Include sys/stat.h.
8204 * io/tst-linkat.c: Include sys/stat.h.
8205 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8206 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8207 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8208 * io/tst-openat.c: Include stdbool.h.
8209 * io/tst-readlinkat.c: Include sys/stat.h.
8210 * io/tst-renameat.c: Include sys/stat.h.
8211 * io/tst-symlinkat.c: Include sys/stat.h.
8212 * io/tst-unlinkat.c: Include stdbool.h.
8213 * libio/bug-memstream1.c: Include stdlib.h.
8214 * libio/bug-wmemstream1.c: Include stdlib.h.
8215 * libio/tst-fwrite-error.c: Include stdlib.h.
8216 * libio/tst-memstream1.c: Include stdlib.h.
8217 * libio/tst-memstream2.c: Include stdlib.h.
8218 * libio/tst-memstream3.c: Include stdlib.h.
8219 * malloc/tst-interpose-aux.c: Include stdint.h.
8220 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8221 * nptl/tst-basic7.c: Include limits.h.
8222 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8223 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8224 * nptl/tst-cancel4_1.c: Include stddef.h.
8225 * nptl/tst-cancel4_2.c: Include stddef.h.
8226 * nptl/tst-cond16.c: Include limits.h.
8227 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8228 * nptl/tst-cond18.c: Include limits.h.
8229 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8230 * nptl/tst-cond4.c: Include stdint.h.
8231 * nptl/tst-cond6.c: Include stdint.h.
8232 * nptl/tst-stack2.c: Include limits.h.
8233 * nptl/tst-stackguard1.c: Include stddef.h.
8234 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8235 * nptl/tst-tls4moda.c: Include stddef.h.
8236 Don't include stdio.h, unistd.h, or tls.h.
8237 * nptl/tst-tls4modb.c: Include stddef.h.
8238 Don't include stdio.h, unistd.h, or tls.h.
8239 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8240 * posix/tst-getaddrinfo2.c: Include stdio.h.
8241 * posix/tst-getaddrinfo5.c: Include stdio.h.
8242 * posix/tst-pathconf.c: Include sys/stat.h.
8243 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8244 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8245 * posix/tst-regex.c: Include stdint.h.
8246 Don't include spawn.h or spawn_int.h.
8247 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8248 * posix/tst-vfork3.c: Include sys/stat.h.
8249 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8250 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8251 * resolv/tst-resolv-search.c: Include stdlib.h.
8252 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8253 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8254 * stdlib/test-canon.c: Include sys/stat.h.
8255 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8256 * string/test-memchr.c: Include stdint.h.
8257 * string/tst-cmp.c: Include stdint.h.
8258 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8259 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8260 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8261 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8262 Don't include init-arch.h.
8263 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8264 Don't include init-arch.h.
8265 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8266 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8267 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8268 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8269 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8270 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8271 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8272 * time/clocktest.c: Include stdint.h.
8273 * time/tst-posixtz.c: Include stdint.h.
8274 * timezone/tst-timezone.c: Include stdint.h.
8275
8276 2017-02-16 Zack Weinberg <zackw@panix.com>
8277
8278 * string/string.h [__USE_MISC]: Include strings.h.
8279 (__bzero, bcmp, bcopy, bzero, index, rindex)
8280 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8281 (ffs, ffsl, ffsll): Don't declare.
8282 * string/strings.h: Do not suppress the file if string.h has
8283 already been included.
8284 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8285 annotations.
8286 (index, rindex): Define inline forwarders even if
8287 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8288 (ffs): Use __attribute_const__.
8289 (ffsl, ffsll): Declare here.
8290 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8291 have now been standardized.
8292 * include/string.h (__bzero): Declare here.
8293
8294 * bits/types.h: Move to posix/bits.
8295 * include/bits/types.h: New wrapper.
8296
8297 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8298
8299 * string/bits/string2.h (strcmp): Remove define.
8300 (__strcmp_cg): Likewise.
8301 (strncmp): Likewise.
8302
8303 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8304
8305 * include/string.h: Add __cplusplus check.
8306
8307 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8308
8309 [BZ #21134]
8310 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8311 "divide by zero" exception when the input is zero.
8312 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8313 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8314 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8315 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8317
8318 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8319
8320 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8321 and include ...
8322 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8323 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8324 to, and include ...
8325 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8326 file.
8327 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8328 and include ...
8329 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8330 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8331 and include ...
8332 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8333 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8334 and include ...
8335 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8336 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8337 and include ...
8338 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8339 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8340 to, and include ...
8341 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8342 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8343 and include ...
8344 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8345
8346 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8347
8348 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8349 here.
8350 * math/libm-test-support.c (libm_test_init): Do not call
8351 INIT_ARCH_EXT here.
8352 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8353 (main): Call INIT_ARCH_EXT.
8354
8355 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8356
8357 [BZ #21130]
8358 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8359 with the "invalid" exception raised when x is -Inf.
8360 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8361
8362 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8363
8364 * string/bits/string2.h (strchr): Remove define.
8365
8366 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8369 tst-avx512.
8370 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8371 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8372 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8373 ($(objpfx)tst-sse): New rule.
8374 ($(objpfx)tst-avx): Likewise.
8375 ($(objpfx)tst-avx512): Likewise.
8376 (CFLAGS-tst-avx-aux.c): New.
8377 (CFLAGS-tst-avxmod.c): Likewise.
8378 (CFLAGS-tst-avx512-aux.c): Likewise.
8379 (CFLAGS-tst-avx512mod.c): Likewise.
8380 * sysdeps/x86_64/tst-avx-aux.c: New file.
8381 * sysdeps/x86_64/tst-avx.c: Likewise.
8382 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8383 * sysdeps/x86_64/tst-avx512.c: Likewise.
8384 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8385 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8386 * sysdeps/x86_64/tst-sse.c: Likewise.
8387 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8388
8389 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8390
8391 * math/auto-libm-test-in: Add more tests of csin and csinh.
8392 * math/auto-libm-test-out-csin: Regenerated.
8393 * math/auto-libm-test-out-csinh: Likewise.
8394 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8395 auto-libm-test-in.
8396 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8397
8398 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8399
8400 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8401 libm-compat-calls-auto.
8402 (libm-compat-calls): Likewise.
8403 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8404 w_lgamma_compatF and k_standardF (merged from the items above).
8405 (libm-routines): Use libm-compat-calls, instead of
8406 libm-compat-calls-auto, with type-foreach.
8407
8408 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8409
8410 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8411 macro.
8412 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8413 (CFLAGS-test-ifloat.c): ... this. Remove
8414 -U__LIBC_INTERNAL_MATH_INLINES.
8415 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8416 (CFLAGS-test-idouble.c): ... this. Remove
8417 -U__LIBC_INTERNAL_MATH_INLINES.
8418 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8419 (CFLAGS-test-ildouble.c): ... this. Remove
8420 -U__LIBC_INTERNAL_MATH_INLINES.
8421
8422 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8423
8424 * math/libm-test-support.c: New file. Content from
8425 math/libm-test-driver.c.
8426 * math/libm-test-support.h: Likewise.
8427 * math/libm-test-support-double.c: New file.
8428 * math/libm-test-support-float.c: Likewise.
8429 * math/libm-test-support-ldouble.c: Likewise.
8430 * math/libm-test-driver.c: Remove main comment and header
8431 includes. Include libm-test-support.h.
8432 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8433 (flag_test_errno): Remove static.
8434 (flag_test_exceptions): Likewise.
8435 (flag_test_finite): Likewise.
8436 (flag_test_inline): Likewise.
8437 (flag_test_mathvec): Likewise.
8438 (test_msg): Likewise.
8439 (NO_EXCEPTION): Remove.
8440 (INVALID_EXCEPTION): Likewise.
8441 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8442 (OVERFLOW_EXCEPTION): Likewise.
8443 (UNDERFLOW_EXCEPTION): Likewise.
8444 (INEXACT_EXCEPTION): Likewise.
8445 (INVALID_EXCEPTION_OK): Likewise.
8446 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8447 (OVERFLOW_EXCEPTION_OK): Likewise.
8448 (UNDERFLOW_EXCEPTION_OK): Likewise.
8449 (NO_INEXACT_EXCEPTION): Likewise.
8450 (EXCEPTIONS_OK): Likewise.
8451 (IGNORE_ZERO_INF_SIGN): Likewise.
8452 (TEST_NAN_SIGN): Likewise.
8453 (TEST_NAN_PAYLOAD): Likewise.
8454 (NO_TEST_INLINE): Likewise.
8455 (XFAIL_TEST): Likewise.
8456 (ERRNO_UNCHANGED): Likewise.
8457 (ERRNO_EDOM): Likewise.
8458 (ERRNO_ERANGE): Likewise.
8459 (IGNORE_RESULT): Likewise.
8460 (NON_FINITE): Likewise.
8461 (TEST_SNAN): Likewise.
8462 (NO_TEST_MATHVEC): Likewise.
8463 (__CONCATX): Likewise.
8464 (TYPE_MIN): Likewise.
8465 (TYPE_TRUE_MIN): Likewise.
8466 (TYPE_MAX): Likewise.
8467 (MIN_EXP): Likewise.
8468 (MAX_EXP): Likewise.
8469 (MANT_DIG): Likewise.
8470 (FSTR_MAX): Likewise.
8471 (ulp_idx): Likewise.
8472 (qtype_str): Remove static.
8473 (TEST_COND_binary32): Remove.
8474 (TEST_COND_binary64): Likewise.
8475 (TEST_COND_binary128): Likewise.
8476 (TEST_COND_ibm128): Likewise.
8477 (TEST_COND_intel96): Likewise.
8478 (TEST_COND_m68k96): Likewise.
8479 (TEST_COND_ibm128_libgcc): Likewise.
8480 (XFAIL_IBM128_LIBGCC): Likewise.
8481 (PAYLOAD_DIG): Likewise.
8482 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8483 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8484 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8485 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8486 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8487 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8488 (TEST_COND_long32): Likewise.
8489 (TEST_COND_long64): Likewise.
8490 (TEST_COND_before_rounding): Likewise.
8491 (TEST_COND_after_rounding): Likewise.
8492 (ulps_file_name): Likewise.
8493 (ulps_file): Likewise.
8494 (output_ulps): Likewise.
8495 (output_dir): Likewise.
8496 (noErrors): Likewise.
8497 (noTests): Likewise.
8498 (noExcTests): Likewise.
8499 (noErrnoTests): Likewise.
8500 (verbose): Likewise.
8501 (output_max_error): Likewise.
8502 (output_points): Likewise.
8503 (ignore_max_ulp): Likewise.
8504 (max_error): Likewise.
8505 (real_max_error): Likewise.
8506 (imag_max_error): Likewise.
8507 (prev_max_error): Likewise.
8508 (prev_real_max_error): Likewise.
8509 (prev_imag_max_error): Likewise.
8510 (max_valid_error): Likewise.
8511 (TYPE_DECIMAL_DIG): Likewise.
8512 (TYPE_HEX_DIG): Likewise.
8513 (fmt_ftostr): Likewise.
8514 (compare_ulp_data): Likewise.
8515 (find_ulps): Likewise.
8516 (init_max_error): Likewise.
8517 (set_max_error): Likewise.
8518 (print_float): Likewise.
8519 (print_screen): Likewise.
8520 (print_screen_max_error): Likewise.
8521 (update_stats): Likewise.
8522 (print_function_ulps): Likewise.
8523 (print_complex_function_ulps): Likewise.
8524 (fpstack_test): Likewise.
8525 (print_max_error): Likewise.
8526 (print_complex_max_error): Likewise.
8527 (test_single_exception): Likewise.
8528 (test_exceptions): Likewise.
8529 (test_single_errno): Likewise.
8530 (test_errno): Likewise.
8531 (ULPDIFF): Likewise.
8532 (ulp): Likewise.
8533 (check_float_internal): Likewise.
8534 (check_float): Likewise.
8535 (check_complex): Likewise.
8536 (check_int): Likewise.
8537 (check_long): Likewise.
8538 (check_bool): Likewise.
8539 (check_longlong): Likewise.
8540 (check_intmax_t): Likewise.
8541 (check_uintmax_t): Likewise.
8542 (enable_test): Likewise.
8543 (matherr): Likewise.
8544 (initialize): Likewise.
8545 (options): Likewise.
8546 (doc): Remove static.
8547 (argp): Likewise.
8548 (parse_opt): Remove.
8549 (check_ulp): Likewise.
8550 (libm_test_init): Likewise.
8551 (libm_test_finish): Likewise.
8552 * math/Makefile (libm-test-support): New variable.
8553 (test-extras): Add libm-test-support files.
8554 (extra-test-objs): Likewise.
8555 (CFLAGS-libm-test-support-float.c): New variable.
8556 (CFLAGS-libm-test-support-double.c): Likewise.
8557 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8558 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8559 libm-test-support objects.
8560
8561 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8562
8563 * math/Makefile (libm-calls): Move w_exp...
8564 (libm-compat-calls-auto): Here.
8565
8566 * math/w_expl.c: Add suffix "_compat" to filename.
8567 * sysdeps/ia64/fpu/w_expl.c: Likewise.
8568 * sysdeps/ia64/fpu/w_expf.c: Likewise.
8569 * sysdeps/ia64/fpu/w_exp.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8571 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8575
8576 * math/w_expl_compat.c: New file, copied from above.
8577 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8578 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8579 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8581 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8584 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8585
8586 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8587 to filename.
8588 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8589
8590 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8591 copied from above and adjusted for the new filenames.
8592 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8593
8594 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8595
8596 * math/Makefile (libm-calls): Move w_lgammaF...
8597 (libm-compat-calls-auto): Here.
8598
8599 * math/w_lgamma.c: Add suffix "_compat2" to filename.
8600 * math/w_lgammaf.c: Likewise.
8601 * math/w_lgammal.c: Likewise.
8602
8603 * math/w_lgamma_compat2.c: New file, copied from above.
8604 * math/w_lgammaf_compat2.c: Likewise.
8605 * math/w_lgammal_compat2.c: Likewise.
8606
8607 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8608
8609 * math/Makefile (libm-calls): Move w_lgammaF_r...
8610 (libm-compat-calls-auto): Here.
8611
8612 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8613 * math/w_lgammaf_r.c: Likewise.
8614 * math/w_lgammal_r.c: Likewise.
8615 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8616 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8617 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8618
8619 * math/w_lgamma_r_compat.c: New file, copied from above.
8620 * math/w_lgammaf_r_compat.c: Likewise.
8621 * math/w_lgammal_r_compat.c: Likewise.
8622 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8623 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8624 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8625
8626 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8627 to filename.
8628 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8629
8630 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8631 copied from above and adjusted for the new filenames.
8632 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8633
8634 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
8635
8636 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8637 calculation in SYSCALL_ERROR_HANDLER().
8638
8639 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
8640
8641 * manual/contrib.texi: Fix typo.
8642
8643 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8644
8645 [BZ #21109]
8646 * elf/dl-tunable-types.h (tunable_callback_t): Accept
8647 tunable_val_t as argument.
8648 * elf/dl-tunables.c (__tunable_set_val): Add comment.
8649 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8650 argument.
8651 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8652
8653 2017-02-08 Kir Kolyshkin <kir@openvz.org>
8654
8655 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8656 Add PTRACE_EVENT_STOP.
8657 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8661 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8662 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8663
8664 2017-02-07 Joseph Myers <joseph@codesourcery.com>
8665
8666 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8667 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8668 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8669 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8670 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8671 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8672 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8673 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8674 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8675 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8676
8677 [BZ #21112]
8678 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8679 12 bits zero.
8680 (cp_l): Update for new value of cp_h.
8681 * math/auto-libm-test-in: Add another test of pow.
8682 * math/auto-libm-test-out-pow: Regenerated.
8683
8684 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8685
8686 * manual/contrib.texi: Fix typo.
8687
8688 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8689
8690 [BZ #15998]
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8692 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8694
8695 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8696
8697 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
8698 STRCHR as __strchr_power8.
8699 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
8700 strlen as __strlen_power8.
8701
8702 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8703
8704 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8705 unaligned load for shorter strings.
8706 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8707
8708 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8709
8710 * math/libm-test-driver.c (flag_test_errno): New variable.
8711 (flag_test_exceptions): Likewise.
8712 (flag_test_finite): Likewise.
8713 (flag_test_inline): Likewise.
8714 (flag_test_mathvec): Likewise.
8715 (test_msg): Likewise.
8716 (ulp_idx): Likewise.
8717 (qtype_str): Likewise.
8718 (ULP_IDX): Remove macro.
8719 (QTYPE_STR): Likewise.
8720 (find_ulps): Use ulp_idx not ULP_IDX.
8721 (print_function_ulps): Use qtype_str, printed with %s, not
8722 QTYPE_STR, printed with concatentation to format string.
8723 (print_complex_function_ulps): Likewise.
8724 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8725 (test_errno): Use flag_test_errno not TEST_ERRNO.
8726 (enable_test): Use flag_test_inline, flag_test_finite and
8727 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8728 TEST_MATHVEC.
8729 (libm_test_init): New function. Factored out of main.
8730 (libm_test_finish): Likewise.
8731 (main): Call libm_test_init and libm_test_finish and move most
8732 code to those functions.
8733
8734 * math/libm-test-driver.c (STRX): New macro.
8735 (STR): Likewise.
8736 (STR_FLOAT): Likewise.
8737 (STR_VEC_LEN): Likewise.
8738 (TEST_MSG): Likewise. Define here instead of expecting to be
8739 defined by including file.
8740 * math/test-double-finite.c (TEST_MSG): Remove macro.
8741 * math/test-double-vlen2.h (TEST_MSG): Likewise.
8742 * math/test-double-vlen4.h (TEST_MSG): Likewise.
8743 * math/test-double-vlen8.h (TEST_MSG): Likewise.
8744 * math/test-double.c (TEST_MSG): Likewise.
8745 * math/test-float-finite.c (TEST_MSG): Likewise.
8746 * math/test-float-vlen16.h (TEST_MSG): Likewise.
8747 * math/test-float-vlen4.h (TEST_MSG): Likewise.
8748 * math/test-float-vlen8.h (TEST_MSG): Likewise.
8749 * math/test-float.c (TEST_MSG): Likewise.
8750 * math/test-idouble.c (TEST_MSG): Likewise.
8751 * math/test-ifloat.c (TEST_MSG): Likewise.
8752 * math/test-ildouble.c (TEST_MSG): Likewise.
8753 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8754 * math/test-ldouble.c (TEST_MSG): Likewise.
8755
8756 * math/libm-test.inc: Move all tests of individual functions to
8757 libm-test-*.inc and #include libm-test-*.c files.
8758 (acos_test_data): Remove.
8759 (acos_test): Likewise.
8760 (acosh_test_data): Likewise.
8761 (acosh_test): Likewise.
8762 (asin_test_data): Likewise.
8763 (asin_test): Likewise.
8764 (asinh_test_data): Likewise.
8765 (asinh_test): Likewise.
8766 (atan_test_data): Likewise.
8767 (atan_test): Likewise.
8768 (atanh_test_data): Likewise.
8769 (atanh_test): Likewise.
8770 (atan2_test_data): Likewise.
8771 (atan2_test): Likewise.
8772 (cabs_test_data): Likewise.
8773 (cabs_test): Likewise.
8774 (cacos_test_data): Likewise.
8775 (cacos_test): Likewise.
8776 (cacosh_test_data): Likewise.
8777 (cacosh_test): Likewise.
8778 (canonicalize_test_data): Likewise.
8779 (canonicalize_test): Likewise.
8780 (carg_test_data): Likewise.
8781 (carg_test): Likewise.
8782 (casin_test_data): Likewise.
8783 (casin_test): Likewise.
8784 (casinh_test_data): Likewise.
8785 (casinh_test): Likewise.
8786 (catan_test_data): Likewise.
8787 (catan_test): Likewise.
8788 (catanh_test_data): Likewise.
8789 (catanh_test): Likewise.
8790 (cbrt_test_data): Likewise.
8791 (cbrt_test): Likewise.
8792 (ccos_test_data): Likewise.
8793 (ccos_test): Likewise.
8794 (ccosh_test_data): Likewise.
8795 (ccosh_test): Likewise.
8796 (ceil_test_data): Likewise.
8797 (ceil_test): Likewise.
8798 (cexp_test_data): Likewise.
8799 (cexp_test): Likewise.
8800 (cimag_test_data): Likewise.
8801 (cimag_test): Likewise.
8802 (clog_test_data): Likewise.
8803 (clog_test): Likewise.
8804 (clog10_test_data): Likewise.
8805 (clog10_test): Likewise.
8806 (conj_test_data): Likewise.
8807 (conj_test): Likewise.
8808 (copysign_test_data): Likewise.
8809 (copysign_test): Likewise.
8810 (cos_test_data): Likewise.
8811 (cos_test): Likewise.
8812 (cosh_test_data): Likewise.
8813 (cosh_test): Likewise.
8814 (cpow_test_data): Likewise.
8815 (cpow_test): Likewise.
8816 (cproj_test_data): Likewise.
8817 (cproj_test): Likewise.
8818 (creal_test_data): Likewise.
8819 (creal_test): Likewise.
8820 (csin_test_data): Likewise.
8821 (csin_test): Likewise.
8822 (csinh_test_data): Likewise.
8823 (csinh_test): Likewise.
8824 (csqrt_test_data): Likewise.
8825 (csqrt_test): Likewise.
8826 (ctan_test_data): Likewise.
8827 (ctan_test): Likewise.
8828 (ctanh_test_data): Likewise.
8829 (ctanh_test): Likewise.
8830 (erf_test_data): Likewise.
8831 (erf_test): Likewise.
8832 (erfc_test_data): Likewise.
8833 (erfc_test): Likewise.
8834 (exp_test_data): Likewise.
8835 (exp_test): Likewise.
8836 (exp10_test_data): Likewise.
8837 (exp10_test): Likewise.
8838 (pow10_test): Likewise.
8839 (exp2_test_data): Likewise.
8840 (exp2_test): Likewise.
8841 (expm1_test_data): Likewise.
8842 (expm1_test): Likewise.
8843 (fabs_test_data): Likewise.
8844 (fabs_test): Likewise.
8845 (fdim_test_data): Likewise.
8846 (fdim_test): Likewise.
8847 (floor_test_data): Likewise.
8848 (floor_test): Likewise.
8849 (fma_test_data): Likewise.
8850 (fma_test): Likewise.
8851 (fmax_test_data): Likewise.
8852 (fmax_test): Likewise.
8853 (fmaxmag_test_data): Likewise.
8854 (fmaxmag_test): Likewise.
8855 (fmin_test_data): Likewise.
8856 (fmin_test): Likewise.
8857 (fminmag_test_data): Likewise.
8858 (fminmag_test): Likewise.
8859 (fmod_test_data): Likewise.
8860 (fmod_test): Likewise.
8861 (fpclassify_test_data): Likewise.
8862 (fpclassify_test): Likewise.
8863 (frexp_test_data): Likewise.
8864 (frexp_test): Likewise.
8865 (fromfp_test_data): Likewise.
8866 (fromfp_test): Likewise.
8867 (fromfpx_test_data): Likewise.
8868 (fromfpx_test): Likewise.
8869 (getpayload_test_data): Likewise.
8870 (getpayload_test): Likewise.
8871 (hypot_test_data): Likewise.
8872 (hypot_test): Likewise.
8873 (ilogb_test_data): Likewise.
8874 (ilogb_test): Likewise.
8875 (iscanonical_test_data): Likewise.
8876 (iscanonical_test): Likewise.
8877 (iseqsig_test_data): Likewise.
8878 (iseqsig_test): Likewise.
8879 (isfinite_test_data): Likewise.
8880 (isfinite_test): Likewise.
8881 (finite_test): Likewise.
8882 (isgreater_test_data): Likewise.
8883 (isgreater_test): Likewise.
8884 (isgreaterequal_test_data): Likewise.
8885 (isgreaterequal_test): Likewise.
8886 (isinf_test_data): Likewise.
8887 (isinf_test): Likewise.
8888 (isless_test_data): Likewise.
8889 (isless_test): Likewise.
8890 (islessequal_test_data): Likewise.
8891 (islessequal_test): Likewise.
8892 (islessgreater_test_data): Likewise.
8893 (islessgreater_test): Likewise.
8894 (isnan_test_data): Likewise.
8895 (isnan_test): Likewise.
8896 (isnormal_test_data): Likewise.
8897 (isnormal_test): Likewise.
8898 (issignaling_test_data): Likewise.
8899 (issignaling_test): Likewise.
8900 (issubnormal_test_data): Likewise.
8901 (issubnormal_test): Likewise.
8902 (isunordered_test_data): Likewise.
8903 (isunordered_test): Likewise.
8904 (iszero_test_data): Likewise.
8905 (iszero_test): Likewise.
8906 (j0_test_data): Likewise.
8907 (j0_test): Likewise.
8908 (j1_test_data): Likewise.
8909 (j1_test): Likewise.
8910 (jn_test_data): Likewise.
8911 (jn_test): Likewise.
8912 (lgamma_test_data): Likewise.
8913 (lgamma_test): Likewise.
8914 (gamma_test): Likewise.
8915 (llogb_test_data): Likewise.
8916 (llogb_test): Likewise.
8917 (lrint_test_data): Likewise.
8918 (lrint_test): Likewise.
8919 (llrint_test_data): Likewise.
8920 (llrint_test): Likewise.
8921 (log_test_data): Likewise.
8922 (log_test): Likewise.
8923 (log10_test_data): Likewise.
8924 (log10_test): Likewise.
8925 (log1p_test_data): Likewise.
8926 (log1p_test): Likewise.
8927 (log2_test_data): Likewise.
8928 (log2_test): Likewise.
8929 (logb_test_data): Likewise.
8930 (logb_test): Likewise.
8931 (lround_test_data): Likewise.
8932 (lround_test): Likewise.
8933 (llround_test_data): Likewise.
8934 (llround_test): Likewise.
8935 (modf_test_data): Likewise.
8936 (modf_test): Likewise.
8937 (nearbyint_test_data): Likewise.
8938 (nearbyint_test): Likewise.
8939 (nextafter_test_data): Likewise.
8940 (nextafter_test): Likewise.
8941 (nextup_test_data): Likewise.
8942 (nextup_test): Likewise.
8943 (nextdown_test_data): Likewise.
8944 (nextdown_test): Likewise.
8945 (nexttoward_test_data): Likewise.
8946 (nexttoward_test): Likewise.
8947 (pow_test_data): Likewise.
8948 (pow_test): Likewise.
8949 (remainder_test_data): Likewise.
8950 (remainder_test): Likewise.
8951 (drem_test): Likewise.
8952 (remquo_test_data): Likewise.
8953 (remquo_test): Likewise.
8954 (rint_test_data): Likewise.
8955 (rint_test): Likewise.
8956 (round_test_data): Likewise.
8957 (round_test): Likewise.
8958 (roundeven_test_data): Likewise.
8959 (roundeven_test): Likewise.
8960 (scalb_test_data): Likewise.
8961 (scalb_test): Likewise.
8962 (scalbn_test_data): Likewise.
8963 (scalbn_test): Likewise.
8964 (ldexp_test): Likewise.
8965 (scalbln_test_data): Likewise.
8966 (scalbln_test): Likewise.
8967 (setpayload_test_data): Likewise.
8968 (setpayload_test): Likewise.
8969 (setpayloadsig_test_data): Likewise.
8970 (setpayloadsig_test): Likewise.
8971 (signbit_test_data): Likewise.
8972 (signbit_test): Likewise.
8973 (sin_test_data): Likewise.
8974 (sin_test): Likewise.
8975 (sincos_test_data): Likewise.
8976 (sincos_test): Likewise.
8977 (sinh_test_data): Likewise.
8978 (sinh_test): Likewise.
8979 (sqrt_test_data): Likewise.
8980 (sqrt_test): Likewise.
8981 (tan_test_data): Likewise.
8982 (tan_test): Likewise.
8983 (tanh_test_data): Likewise.
8984 (tanh_test): Likewise.
8985 (tgamma_test_data): Likewise.
8986 (tgamma_test): Likewise.
8987 (totalorder_test_data): Likewise.
8988 (totalorder_test): Likewise.
8989 (totalordermag_test_data): Likewise.
8990 (totalordermag_test): Likewise.
8991 (trunc_test_data): Likewise.
8992 (trunc_test): Likewise.
8993 (ufromfp_test_data): Likewise.
8994 (ufromfp_test): Likewise.
8995 (ufromfpx_test_data): Likewise.
8996 (ufromfpx_test): Likewise.
8997 (y0_test_data): Likewise.
8998 (y0_test): Likewise.
8999 (y1_test_data): Likewise.
9000 (y1_test): Likewise.
9001 (yn_test_data): Likewise.
9002 (yn_test): Likewise.
9003 (significand_test_data): Likewise.
9004 (significand_test): Likewise.
9005 * math/Makefile (auto-libm-test-out-files): Remove variable.
9006 (libm-test-funcs-noauto): New variable.
9007 (libm-test-funcs-all): Likewise.
9008 (libm-test-c-auto): Likewise.
9009 (libm-test-c-noauto): Likewise.
9010 (libm-tests-generated): Add $(libm-test-c-auto) and
9011 $(libm-test-c-noauto).
9012 (generated): Do not add auto-libm-test-out.
9013 (libm-test-c-auto-obj): New variable.
9014 (libm-test-c-noauto-obj): Likewise.
9015 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9016 ($(libm-test-c-noauto-obj)): New static pattern rule.
9017 ($(libm-test-c-auto-obj)): Likewise.
9018 (libm-test-incs): New variable.
9019 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9020 and pass it to gen-libm-have-vector-test.sh.
9021 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9022 be passed on command line.
9023 * math/libm-test-acos.inc: New file. Content from
9024 math/libm-test.inc.
9025 * math/libm-test-acosh.inc: Likewise.
9026 * math/libm-test-asin.inc: Likewise.
9027 * math/libm-test-asinh.inc: Likewise.
9028 * math/libm-test-atan.inc: Likewise.
9029 * math/libm-test-atan2.inc: Likewise.
9030 * math/libm-test-atanh.inc: Likewise.
9031 * math/libm-test-cabs.inc: Likewise.
9032 * math/libm-test-cacos.inc: Likewise.
9033 * math/libm-test-cacosh.inc: Likewise.
9034 * math/libm-test-canonicalize.inc: Likewise.
9035 * math/libm-test-carg.inc: Likewise.
9036 * math/libm-test-casin.inc: Likewise.
9037 * math/libm-test-casinh.inc: Likewise.
9038 * math/libm-test-catan.inc: Likewise.
9039 * math/libm-test-catanh.inc: Likewise.
9040 * math/libm-test-cbrt.inc: Likewise.
9041 * math/libm-test-ccos.inc: Likewise.
9042 * math/libm-test-ccosh.inc: Likewise.
9043 * math/libm-test-ceil.inc: Likewise.
9044 * math/libm-test-cexp.inc: Likewise.
9045 * math/libm-test-cimag.inc: Likewise.
9046 * math/libm-test-clog.inc: Likewise.
9047 * math/libm-test-clog10.inc: Likewise.
9048 * math/libm-test-conj.inc: Likewise.
9049 * math/libm-test-copysign.inc: Likewise.
9050 * math/libm-test-cos.inc: Likewise.
9051 * math/libm-test-cosh.inc: Likewise.
9052 * math/libm-test-cpow.inc: Likewise.
9053 * math/libm-test-cproj.inc: Likewise.
9054 * math/libm-test-creal.inc: Likewise.
9055 * math/libm-test-csin.inc: Likewise.
9056 * math/libm-test-csinh.inc: Likewise.
9057 * math/libm-test-csqrt.inc: Likewise.
9058 * math/libm-test-ctan.inc: Likewise.
9059 * math/libm-test-ctanh.inc: Likewise.
9060 * math/libm-test-erf.inc: Likewise.
9061 * math/libm-test-erfc.inc: Likewise.
9062 * math/libm-test-exp.inc: Likewise.
9063 * math/libm-test-exp10.inc: Likewise.
9064 * math/libm-test-exp2.inc: Likewise.
9065 * math/libm-test-expm1.inc: Likewise.
9066 * math/libm-test-fabs.inc: Likewise.
9067 * math/libm-test-fdim.inc: Likewise.
9068 * math/libm-test-floor.inc: Likewise.
9069 * math/libm-test-fma.inc: Likewise.
9070 * math/libm-test-fmax.inc: Likewise.
9071 * math/libm-test-fmaxmag.inc: Likewise.
9072 * math/libm-test-fmin.inc: Likewise.
9073 * math/libm-test-fminmag.inc: Likewise.
9074 * math/libm-test-fmod.inc: Likewise.
9075 * math/libm-test-fpclassify.inc: Likewise.
9076 * math/libm-test-frexp.inc: Likewise.
9077 * math/libm-test-fromfp.inc: Likewise.
9078 * math/libm-test-fromfpx.inc: Likewise.
9079 * math/libm-test-getpayload.inc: Likewise.
9080 * math/libm-test-hypot.inc: Likewise.
9081 * math/libm-test-ilogb.inc: Likewise.
9082 * math/libm-test-iscanonical.inc: Likewise.
9083 * math/libm-test-iseqsig.inc: Likewise.
9084 * math/libm-test-isfinite.inc: Likewise.
9085 * math/libm-test-isgreater.inc: Likewise.
9086 * math/libm-test-isgreaterequal.inc: Likewise.
9087 * math/libm-test-isinf.inc: Likewise.
9088 * math/libm-test-isless.inc: Likewise.
9089 * math/libm-test-islessequal.inc: Likewise.
9090 * math/libm-test-islessgreater.inc: Likewise.
9091 * math/libm-test-isnan.inc: Likewise.
9092 * math/libm-test-isnormal.inc: Likewise.
9093 * math/libm-test-issignaling.inc: Likewise.
9094 * math/libm-test-issubnormal.inc: Likewise.
9095 * math/libm-test-isunordered.inc: Likewise.
9096 * math/libm-test-iszero.inc: Likewise.
9097 * math/libm-test-j0.inc: Likewise.
9098 * math/libm-test-j1.inc: Likewise.
9099 * math/libm-test-jn.inc: Likewise.
9100 * math/libm-test-lgamma.inc: Likewise.
9101 * math/libm-test-llogb.inc: Likewise.
9102 * math/libm-test-llrint.inc: Likewise.
9103 * math/libm-test-llround.inc: Likewise.
9104 * math/libm-test-log.inc: Likewise.
9105 * math/libm-test-log10.inc: Likewise.
9106 * math/libm-test-log1p.inc: Likewise.
9107 * math/libm-test-log2.inc: Likewise.
9108 * math/libm-test-logb.inc: Likewise.
9109 * math/libm-test-lrint.inc: Likewise.
9110 * math/libm-test-lround.inc: Likewise.
9111 * math/libm-test-modf.inc: Likewise.
9112 * math/libm-test-nearbyint.inc: Likewise.
9113 * math/libm-test-nextafter.inc: Likewise.
9114 * math/libm-test-nextdown.inc: Likewise.
9115 * math/libm-test-nexttoward.inc: Likewise.
9116 * math/libm-test-nextup.inc: Likewise.
9117 * math/libm-test-pow.inc: Likewise.
9118 * math/libm-test-remainder.inc: Likewise.
9119 * math/libm-test-remquo.inc: Likewise.
9120 * math/libm-test-rint.inc: Likewise.
9121 * math/libm-test-round.inc: Likewise.
9122 * math/libm-test-roundeven.inc: Likewise.
9123 * math/libm-test-scalb.inc: Likewise.
9124 * math/libm-test-scalbln.inc: Likewise.
9125 * math/libm-test-scalbn.inc: Likewise.
9126 * math/libm-test-setpayload.inc: Likewise.
9127 * math/libm-test-setpayloadsig.inc: Likewise.
9128 * math/libm-test-signbit.inc: Likewise.
9129 * math/libm-test-significand.inc: Likewise.
9130 * math/libm-test-sin.inc: Likewise.
9131 * math/libm-test-sincos.inc: Likewise.
9132 * math/libm-test-sinh.inc: Likewise.
9133 * math/libm-test-sqrt.inc: Likewise.
9134 * math/libm-test-tan.inc: Likewise.
9135 * math/libm-test-tanh.inc: Likewise.
9136 * math/libm-test-tgamma.inc: Likewise.
9137 * math/libm-test-totalorder.inc: Likewise.
9138 * math/libm-test-totalordermag.inc: Likewise.
9139 * math/libm-test-trunc.inc: Likewise.
9140 * math/libm-test-ufromfp.inc: Likewise.
9141 * math/libm-test-ufromfpx.inc: Likewise.
9142 * math/libm-test-y0.inc: Likewise.
9143 * math/libm-test-y1.inc: Likewise.
9144 * math/libm-test-yn.inc: Likewise.
9145 * math/README.libm-test: Update.
9146
9147 * math/gen-auto-libm-tests.c: Update comment about use of program.
9148 (generate_output): Add argument FUNCTION.
9149 (main): Require extra argument. Pass function name to
9150 generate_output.
9151 * math/Makefile (generated): Add auto-libm-test-out.
9152 (libm-test-funcs-auto): New variable.
9153 (auto-libm-test-out-files): New variable.
9154 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9155 Concatenate those files to form $(objpfx)auto-libm-test-out and
9156 use it as input to gen-libm-test.pl.
9157 * math/README.libm-test: Update.
9158 * math/auto-libm-test-out: Remove.
9159 * math/auto-libm-test-out-acos: New generated file.
9160 * math/auto-libm-test-out-acosh: Likewise.
9161 * math/auto-libm-test-out-asin: Likewise.
9162 * math/auto-libm-test-out-asinh: Likewise.
9163 * math/auto-libm-test-out-atan: Likewise.
9164 * math/auto-libm-test-out-atan2: Likewise.
9165 * math/auto-libm-test-out-atanh: Likewise.
9166 * math/auto-libm-test-out-cabs: Likewise.
9167 * math/auto-libm-test-out-carg: Likewise.
9168 * math/auto-libm-test-out-cbrt: Likewise.
9169 * math/auto-libm-test-out-ccos: Likewise.
9170 * math/auto-libm-test-out-ccosh: Likewise.
9171 * math/auto-libm-test-out-cexp: Likewise.
9172 * math/auto-libm-test-out-clog: Likewise.
9173 * math/auto-libm-test-out-clog10: Likewise.
9174 * math/auto-libm-test-out-cos: Likewise.
9175 * math/auto-libm-test-out-cosh: Likewise.
9176 * math/auto-libm-test-out-cpow: Likewise.
9177 * math/auto-libm-test-out-csin: Likewise.
9178 * math/auto-libm-test-out-csinh: Likewise.
9179 * math/auto-libm-test-out-csqrt: Likewise.
9180 * math/auto-libm-test-out-ctan: Likewise.
9181 * math/auto-libm-test-out-ctanh: Likewise.
9182 * math/auto-libm-test-out-erf: Likewise.
9183 * math/auto-libm-test-out-erfc: Likewise.
9184 * math/auto-libm-test-out-exp: Likewise.
9185 * math/auto-libm-test-out-exp10: Likewise.
9186 * math/auto-libm-test-out-exp2: Likewise.
9187 * math/auto-libm-test-out-expm1: Likewise.
9188 * math/auto-libm-test-out-fma: Likewise.
9189 * math/auto-libm-test-out-hypot: Likewise.
9190 * math/auto-libm-test-out-j0: Likewise.
9191 * math/auto-libm-test-out-j1: Likewise.
9192 * math/auto-libm-test-out-jn: Likewise.
9193 * math/auto-libm-test-out-lgamma: Likewise.
9194 * math/auto-libm-test-out-log: Likewise.
9195 * math/auto-libm-test-out-log10: Likewise.
9196 * math/auto-libm-test-out-log1p: Likewise.
9197 * math/auto-libm-test-out-log2: Likewise.
9198 * math/auto-libm-test-out-pow: Likewise.
9199 * math/auto-libm-test-out-sin: Likewise.
9200 * math/auto-libm-test-out-sincos: Likewise.
9201 * math/auto-libm-test-out-sinh: Likewise.
9202 * math/auto-libm-test-out-sqrt: Likewise.
9203 * math/auto-libm-test-out-tan: Likewise.
9204 * math/auto-libm-test-out-tanh: Likewise.
9205 * math/auto-libm-test-out-tgamma: Likewise.
9206 * math/auto-libm-test-out-y0: Likewise.
9207 * math/auto-libm-test-out-y1: Likewise.
9208 * math/auto-libm-test-out-yn: Likewise.
9209
9210 * math/Makefile (generated): Do not include libm-test.stmp.
9211 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9212 on $(objpfx)libm-test.stmp.
9213 ($(objpfx)libm-test.stmp): Remove rule.
9214 ($(objpfx)libm-test-ulps.h): New rule.
9215 ($(objpfx)libm-test.c): Likewise.
9216 ($(objpfx)libm-have-vector-test.h): Likewise.
9217 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9218 individual generated files, not libm-test.stmp.
9219
9220 * math/gen-libm-test.pl ($output_dir): Remove variable.
9221 ($srcdir): Likewise.
9222 ($opt_a): New variable.
9223 ($opt_c): Likewise.
9224 ($opt_C): Likewise.
9225 ($opt_H): Likewise.
9226 (-n): Make option take argument and use it as NewUlps output.
9227 (-a): New option. Use its argument for auto-libm-test-out input.
9228 (-c): New option. Use its argument for libm-test.inc input.
9229 (-C): New option. Use its argument for libm-test.c output.
9230 (-H): New option. Use its argument for libm-test-ulps.h output.
9231 (top level): Only process inputs needed to generate outputs
9232 specified by command-line options. Only generate outputs
9233 specified by command-line options.
9234 * math/README.libm-test: Update example gen-libm-test.pl command.
9235 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9236 commands.
9237 (regen-ulps): Likewise.
9238
9239 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9240
9241 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9242 * include/string.h (index): Remove define.
9243 (rindex): Likewise.
9244 * misc/getttyent.c (__getttyent): Rename index to strchr.
9245 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9246 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9247
9248 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9249
9250 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9251 * math/libm-test.inc: Move all contents, other than tests of
9252 individual functions, to libm-test-driver.c.
9253 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9254 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9255 [!FE_UPWARD] (FE_UPWARD): Likewise.
9256 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9257 (NO_EXCEPTION): Likewise.
9258 (INVALID_EXCEPTION): Likewise.
9259 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9260 (OVERFLOW_EXCEPTION): Likewise.
9261 (UNDERFLOW_EXCEPTION): Likewise.
9262 (INEXACT_EXCEPTION): Likewise.
9263 (INVALID_EXCEPTION_OK): Likewise.
9264 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9265 (OVERFLOW_EXCEPTION_OK): Likewise.
9266 (UNDERFLOW_EXCEPTION_OK): Likewise.
9267 (NO_INEXACT_EXCEPTION): Likewise.
9268 (EXCEPTIONS_OK): Likewise.
9269 (IGNORE_ZERO_INF_SIGN): Likewise.
9270 (TEST_NAN_SIGN): Likewise.
9271 (TEST_NAN_PAYLOAD): Likewise.
9272 (NO_TEST_INLINE): Likewise.
9273 (XFAIL_TEST): Likewise.
9274 (ERRNO_UNCHANGED): Likewise.
9275 (ERRNO_EDOM): Likewise.
9276 (ERRNO_ERANGE): Likewise.
9277 (IGNORE_RESULT): Likewise.
9278 (NON_FINITE): Likewise.
9279 (TEST_SNAN): Likewise.
9280 (NO_TEST_MATHVEC): Likewise.
9281 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9282 (__CONCATX): Likewise.
9283 (TYPE_MIN): Likewise.
9284 (TYPE_TRUE_MIN): Likewise.
9285 (TYPE_MAX): Likewise.
9286 (MIN_EXP): Likewise.
9287 (MAX_EXP): Likewise.
9288 (MANT_DIG): Likewise.
9289 (FSTR_MAX): Likewise.
9290 (ULP_IDX): Likewise.
9291 (QTYPE_STR): Likewise.
9292 (TEST_COND_binary32): Likewise.
9293 (TEST_COND_binary64): Likewise.
9294 (TEST_COND_binary128): Likewise.
9295 (TEST_COND_ibm128): Likewise.
9296 (TEST_COND_intel96): Likewise.
9297 (TEST_COND_m68k96): Likewise.
9298 (TEST_COND_ibm128_libgcc): Likewise.
9299 (XFAIL_IBM128_LIBGCC): Likewise.
9300 (PAYLOAD_DIG): Likewise.
9301 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9302 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9303 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9304 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9305 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9306 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9307 (TEST_COND_long32): Likewise.
9308 (TEST_COND_long64): Likewise.
9309 (TEST_COND_before_rounding): Likewise.
9310 (TEST_COND_after_rounding): Likewise.
9311 (lit_pi_3_m_4_d): Likewise.
9312 (lit_pi_3_m_4_ln10_m_d): Likewise.
9313 (lit_pi_2_ln10_m_d): Likewise.
9314 (lit_pi_4_ln10_m_d): Likewise.
9315 (lit_pi_ln10_d): Likewise.
9316 (lit_pi_2_d): Likewise.
9317 (lit_pi_4_d): Likewise.
9318 (lit_pi): Likewise.
9319 (lit_e): Likewise.
9320 (ulps_file_name): Likewise.
9321 (ulps_file): Likewise.
9322 (output_ulps): Likewise.
9323 (output_dir): Likewise.
9324 (noErrors): Likewise.
9325 (noTests): Likewise.
9326 (noExcTests): Likewise.
9327 (noErrnoTests): Likewise.
9328 (verbose): Likewise.
9329 (output_max_error): Likewise.
9330 (output_points): Likewise.
9331 (ignore_max_ulp): Likewise.
9332 (plus_zero): Likewise.
9333 (minus_zero): Likewise.
9334 (plus_infty): Likewise.
9335 (minus_infty): Likewise.
9336 (qnan_value_pl): Likewise.
9337 (qnan_value): Likewise.
9338 (snan_value_pl): Likewise.
9339 (snan_value): Likewise.
9340 (max_value): Likewise.
9341 (min_value): Likewise.
9342 (min_subnorm_value): Likewise.
9343 (snan_value_ld): Likewise.
9344 (max_error): Likewise.
9345 (real_max_error): Likewise.
9346 (imag_max_error): Likewise.
9347 (prev_max_error): Likewise.
9348 (prev_real_max_error): Likewise.
9349 (prev_imag_max_error): Likewise.
9350 (max_valid_error): Likewise.
9351 (TYPE_DECIMAL_DIG): Likewise.
9352 (TYPE_HEX_DIG): Likewise.
9353 (fmt_ftostr): Likewise.
9354 (compare_ulp_data): Likewise.
9355 (find_ulps): Likewise.
9356 (init_max_error): Likewise.
9357 (set_max_error): Likewise.
9358 (print_float): Likewise.
9359 (print_screen): Likewise.
9360 (print_screen_max_error): Likewise.
9361 (update_stats): Likewise.
9362 (print_function_ulps): Likewise.
9363 (print_complex_function_ulps): Likewise.
9364 (fpstack_test): Likewise.
9365 (print_max_error): Likewise.
9366 (print_complex_max_error): Likewise.
9367 (test_single_exception): Likewise.
9368 (test_exceptions): Likewise.
9369 (test_single_errno): Likewise.
9370 (test_errno): Likewise.
9371 (ULPDIFF): Likewise.
9372 (ulp): Likewise.
9373 (check_float_internal): Likewise.
9374 (check_float): Likewise.
9375 (check_complex): Likewise.
9376 (check_int): Likewise.
9377 (check_long): Likewise.
9378 (check_bool): Likewise.
9379 (check_longlong): Likewise.
9380 (check_intmax_t): Likewise.
9381 (check_uintmax_t): Likewise.
9382 (enable_test): Likewise.
9383 (struct test_f_f_data): Likewise.
9384 (struct test_ff_f_data): Likewise.
9385 (struct test_fj_f_data): Likewise.
9386 (struct test_fi_f_data): Likewise.
9387 (struct test_fl_f_data): Likewise.
9388 (struct test_if_f_data): Likewise.
9389 (struct test_fff_f_data): Likewise.
9390 (struct test_fiu_M_data): Likewise.
9391 (struct test_fiu_U_data): Likewise.
9392 (struct test_c_f_data): Likewise.
9393 (struct test_f_f1_data): Likewise.
9394 (struct test_fF_f1_data): Likewise.
9395 (struct test_ffI_f1_data): Likewise.
9396 (struct test_c_c_data): Likewise.
9397 (struct test_cc_c_data): Likewise.
9398 (struct test_f_i_data): Likewise.
9399 (struct test_ff_i_data): Likewise.
9400 (struct test_f_l_data): Likewise.
9401 (struct test_f_L_data): Likewise.
9402 (struct test_fFF_11_data): Likewise.
9403 (struct test_Ff_b1_data): Likewise.
9404 (IF_ROUND_INIT_): Likewise.
9405 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9406 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9407 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9408 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9409 (ROUND_RESTORE_): Likewise.
9410 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9411 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9412 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9413 (ROUND_RESTORE_FE_UPWARD): Likewise.
9414 (RM_): Likewise.
9415 (RM_FE_DOWNWARD): Likewise.
9416 (RM_FE_TONEAREST): Likewise.
9417 (RM_FE_TOWARDZERO): Likewise.
9418 (RM_FE_UPWARD): Likewise.
9419 (COMMON_TEST_SETUP): Likewise.
9420 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9421 (COMMON_TEST_CLEANUP): Likewise.
9422 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9423 (RUN_TEST_f_f): Likewise.
9424 (RUN_TEST_LOOP_f_f): Likewise.
9425 (RUN_TEST_fp_f): Likewise.
9426 (RUN_TEST_LOOP_fp_f): Likewise.
9427 (RUN_TEST_2_f): Likewise.
9428 (RUN_TEST_LOOP_2_f): Likewise.
9429 (RUN_TEST_ff_f): Likewise.
9430 (RUN_TEST_LOOP_ff_f): Likewise.
9431 (RUN_TEST_LOOP_fj_f): Likewise.
9432 (RUN_TEST_fi_f): Likewise.
9433 (RUN_TEST_LOOP_fi_f): Likewise.
9434 (RUN_TEST_fl_f): Likewise.
9435 (RUN_TEST_LOOP_fl_f): Likewise.
9436 (RUN_TEST_if_f): Likewise.
9437 (RUN_TEST_LOOP_if_f): Likewise.
9438 (RUN_TEST_fff_f): Likewise.
9439 (RUN_TEST_LOOP_fff_f): Likewise.
9440 (RUN_TEST_fiu_M): Likewise.
9441 (RUN_TEST_LOOP_fiu_M): Likewise.
9442 (RUN_TEST_fiu_U): Likewise.
9443 (RUN_TEST_LOOP_fiu_U): Likewise.
9444 (RUN_TEST_c_f): Likewise.
9445 (RUN_TEST_LOOP_c_f): Likewise.
9446 (RUN_TEST_f_f1): Likewise.
9447 (RUN_TEST_LOOP_f_f1): Likewise.
9448 (RUN_TEST_fF_f1): Likewise.
9449 (RUN_TEST_LOOP_fF_f1): Likewise.
9450 (RUN_TEST_fI_f1): Likewise.
9451 (RUN_TEST_LOOP_fI_f1): Likewise.
9452 (RUN_TEST_ffI_f1_mod8): Likewise.
9453 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9454 (RUN_TEST_Ff_b1): Likewise.
9455 (RUN_TEST_LOOP_Ff_b1): Likewise.
9456 (RUN_TEST_Ffp_b1): Likewise.
9457 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9458 (RUN_TEST_c_c): Likewise.
9459 (RUN_TEST_LOOP_c_c): Likewise.
9460 (RUN_TEST_cc_c): Likewise.
9461 (RUN_TEST_LOOP_cc_c): Likewise.
9462 (RUN_TEST_f_i): Likewise.
9463 (RUN_TEST_LOOP_f_i): Likewise.
9464 (RUN_TEST_f_i_tg): Likewise.
9465 (RUN_TEST_LOOP_f_i_tg): Likewise.
9466 (RUN_TEST_ff_b): Likewise.
9467 (RUN_TEST_LOOP_ff_b): Likewise.
9468 (RUN_TEST_ff_i_tg): Likewise.
9469 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9470 (RUN_TEST_f_b): Likewise.
9471 (RUN_TEST_LOOP_f_b): Likewise.
9472 (RUN_TEST_f_b_tg): Likewise.
9473 (RUN_TEST_LOOP_f_b_tg): Likewise.
9474 (RUN_TEST_f_l): Likewise.
9475 (RUN_TEST_LOOP_f_l): Likewise.
9476 (RUN_TEST_f_L): Likewise.
9477 (RUN_TEST_LOOP_f_L): Likewise.
9478 (RUN_TEST_fFF_11): Likewise.
9479 (RUN_TEST_LOOP_fFF_11): Likewise.
9480 (VEC_SUFF): Likewise.
9481 (STR_CONCAT): Likewise.
9482 (STR_CON3): Likewise.
9483 (HAVE_VECTOR): Likewise.
9484 (START): Likewise.
9485 (END): Likewise.
9486 (END_COMPLEX): Likewise.
9487 (ALL_RM_TEST): Likewise.
9488 (matherr): Likewise.
9489 (initialize): Likewise.
9490 (options): Likewise.
9491 (doc): Likewise.
9492 (parse_opt): Likewise.
9493 (argp): Likewise.
9494 (check_ulp): Likewise.
9495 (main): Likewise.
9496 (do_test): New function. Call tests of individual functions
9497 previously called from main.
9498
9499 * math/libm-test.inc: Remove comment listing functions tested and
9500 not tested.
9501
9502 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9503
9504 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9505 (allocate_stack): Remove COLORING_INCREMENT usage.
9506 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9507 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9508
9509 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9510
9511 * manual/libm-err-tab.pl (@all_functions): Change to
9512 %all_functions. Initialize as empty.
9513 (parse_ulps): Add to %all_functions based on functions found in
9514 ulps files. Ignore results for non-default rounding modes and
9515 vector functions.
9516 (print_platforms): Use %all_platforms.
9517 * manual/math.texi (Errors in Math Functions): Document omissions
9518 from the table.
9519
9520 * math/Makefile (before-compile): Remove.
9521
9522 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9523
9524 [BZ #21075]
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9526 unused assignment.
9527 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9528
9529 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9530
9531 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9532 Add __glibc_unlikely hint.
9533
9534 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9535
9536 [BZ #16640]
9537 * sysdeps/i386/i686/strtok.S: Remove file.
9538 * sysdeps/i386/i686/strtok_r.S: Likewise.
9539 * sysdeps/i386/strtok.S: Likewise.
9540 * sysdeps/i386/strtok_r.S: Likewise.
9541 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9542 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9543 * sysdeps/x86_64/strtok.S: Likewise.
9544 * sysdeps/x86_64/strtok_r.S: Likewise.
9545
9546 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9547 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9549 (__ASSUME_FADVISE64_AS_64_64): Define.
9550 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9551 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9552 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9553 __ALIGNMENT_ARG usage.
9554 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9555 __NR_fadvise64_64 if it is not defined.
9556
9557 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9558
9559 * version.h (RELEASE): Set to "development"
9560 (VERSION): Set to 2.25.90.
9561 * NEWS: Add 2.26 section.
9562
9563 * version.h (RELEASE): Set to "stable"
9564 (VERSION): Set to 2.25.
9565 * include/features.h (__GLIBC_MINOR__): Set to 25.
9566
9567 * manual/contrib.texi: Add more contributors from this release
9568 and past releases.
9569
9570 * NEWS (2.25): Add list of bugs fixed.
9571
9572 * NEWS: Add missing news items.
9573
9574 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
9575
9576 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9577 parent if child exited in that manner. Print WEXITSTATUS
9578 instead of the raw status.
9579 (do_test_prep): Rename to do_test.
9580 (do_test): Return the result of run_executable_sgid.
9581 (TEST_FUNCTION_ARGV): Adjust.
9582
9583 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
9584 Florian Weimer <fweimer@redhat.com>
9585 Carlos O'Donell <carlos@redhat.com>
9586
9587 [BZ #20915]
9588 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9589 Do not initialize DTV.
9590 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9591
9592 2017-02-03 David S. Miller <davem@davemloft.net>
9593
9594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9603 (libm-sysdep_routines): Update.
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9609 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9610 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9611 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9612 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9614 Likewise.
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9617 Likewise.
9618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9620 Likewise.
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9623 Likewise.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9626 (libm-sysdep_routines): Update.
9627
9628 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9631 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9632 against unrelocated shared library.
9633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9634
9635 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9636
9637 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9638 * elf/tst-env-setuid-tunables.c
9639 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9640 GLIBC_TUNABLES is removed in a setgid process.
9641
9642 [BZ #21073]
9643 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9644 * elf/dl-tunables.c (tunables_strdup): Remove.
9645 (get_next_env): Also return the previous envp.
9646 (parse_tunables): Erase tunables of category
9647 TUNABLES_SECLEVEL_SXID_ERASE.
9648 (maybe_enable_malloc_check): Make MALLOC_CHECK_
9649 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9650 (__tunables_init)[TUNABLES_FRONTEND ==
9651 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9652 after parsing.
9653 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9654 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9655 * elf/dl-tunables.h (struct _tunable): Change member is_secure
9656 to security_level.
9657 * elf/dl-tunables.list: Add security_level annotations for all
9658 tunables.
9659 * scripts/gen-tunables.awk: Recognize and generate enum values
9660 for security_level.
9661 * elf/tst-env-setuid.c: New test case.
9662 * elf/tst-env-setuid-tunables: new test case.
9663 * elf/Makefile (tests-static): Add them.
9664
9665 2017-02-01 Richard Henderson <rth@twiddle.net>
9666
9667 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9668 adjusting the byte count.
9669
9670 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
9671
9672 * conform/Makefile (linknamespace-libs): Define.
9673
9674 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9675 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9676 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9677 operands.
9678
9679 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
9680
9681 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9682
9683 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 [BZ #21081]
9686 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9687 (L(stosb)): Add VZEROUPPER before ret.
9688
9689 2016-01-28 Carlos O'Donell <carlos@redhat.com>
9690 Alexey Makhalov <amakhalov@vmware.com>
9691 Florian Weimer <fweimer@redhat.com>
9692
9693 [BZ #20116]
9694 * nptl/pthread_create.c: Document concurrency notes.
9695 Enhance thread creation notes.
9696 (create_thread): Use bool *stopped_start.
9697 (START_THREAD_DEFN): Comment ownership of PD.
9698 (__pthread_create_2_1): Add local bool stopped_start and use
9699 that instead of pd->stopped_start where appropriate.
9700 * nptl/createthread.c (create_thread): Use bool *stopped_start.
9701 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9702 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9703 * nptl/tst-create-detached.c: New file.
9704 * nptl/Makefile (tests): Add tst-create-detached.
9705 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9706 Reference the enhanced thread creation notes.
9707 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9708 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9709 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9710 (__pthread_current_priority): Likewise.
9711 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9712 xpthread_attr_init, xpthread_attr_setdetachstate, and
9713 xpthread_attr_setstacksize.
9714 * support/xpthread_attr_destroy.c: New file.
9715 * support/xpthread_attr_init.c: New file.
9716 * support/xpthread_attr_setdetachstate.c: New file.
9717 * support/xpthread_attr_setstacksize.c: New file.
9718 * support/xthread.h: Define prototypes for xpthread_attr_destroy
9719 xpthread_attr_init, xpthread_attr_setdetachstate, and
9720 xpthread_attr_setstacksize.
9721
9722 2017-01-27 Florian Weimer <fweimer@redhat.com>
9723
9724 * nptl/Makefile (tests): Add tst-robust-fork.
9725 * nptl/tst-robust-fork.c: New file.
9726 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9727 xpthread_mutex_consistent, xpthread_mutex_destroy,
9728 xpthread_mutex_init, xpthread_mutexattr_destroy,
9729 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9730 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9731 xpthread_mutexattr_settype.
9732 * support/xmmap.c: New file.
9733 * support/xmunmap.c: Likewise.
9734 * support/xpthread_mutex_consistent.c: Likewise.
9735 * support/xpthread_mutex_destroy.c: Likewise.
9736 * support/xpthread_mutex_init.c: Likewise.
9737 * support/xpthread_mutexattr_destroy.c: Likewise.
9738 * support/xpthread_mutexattr_init.c: Likewise.
9739 * support/xpthread_mutexattr_setprotocol.c: Likewise.
9740 * support/xpthread_mutexattr_setpshared.c: Likewise.
9741 * support/xpthread_mutexattr_setrobust.c: Likewise.
9742 * support/xpthread_mutexattr_settype.c: Likewise.
9743 * support/xthread.h (xpthread_mutexattr_destroy)
9744 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9745 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9746 (xpthread_mutexattr_settype, xpthread_mutex_init)
9747 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9748 * support/xunistd.h (xmmap, xmunmap): Likewise.
9749
9750 2017-01-25 Florian Weimer <fweimer@redhat.com>
9751
9752 * string/Makefile (xtests): Add comment.
9753 (LOCALES): Add en_GB.UTF-8.
9754 (tst-strcoll-overflow.out): Depend on generated locales.
9755 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9756 (SIZE, TIMEOUT): Update comments.
9757 (do_test): Define as static. Fail test if setlocale fails.
9758 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
9759 messages.
9760 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9761 TIMEOUT at 300 seconds should be enough to run this test
9762 successfully.
9763
9764 2017-01-24 Jakub Jelinek <jakub@redhat.com>
9765
9766 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9767 /* FALLTHRU */ comments.
9768
9769 2017-01-24 James Clarke <jrtc27@jrtc27.com>
9770
9771 [BZ #21053]
9772 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9773 constants instead of the old R* ones.
9774 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9775 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9776 (NGREG): ... to this, to fit in with other architectures.
9777 (gpregset_t): Use new NGREG macro.
9778 [__USE_GNU]: Remove condition; all architectures other than tile
9779 are unconditional.
9780 (R*): Rename to REG_R*.
9781
9782 2017-01-20 DJ Delorie <dj@redhat.com>
9783
9784 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9785 (tunable_set_val_if_valid_range_signed) ... this, and ...
9786 (tunable_set_val_if_valid_range_unsigned) ... this.
9787 (tunable_initialize): Call the correct one of the above based on type.
9788
9789 2017-01-20 Joseph Myers <joseph@codesourcery.com>
9790
9791 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9792 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9793 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9794 * sysdeps/microblaze/libm-test-ulps: Likewise.
9795 * sysdeps/sh/libm-test-ulps: Likewise.
9796
9797 * math/README.libm-test: Update list of characters for input and
9798 output types.
9799
9800 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9801
9802 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9803 (__lll_unlock_elision): Fix adapt_count decrement.
9804
9805 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
9806
9807 * README.pretty-printers (Known issues): Warn about printers not
9808 always covering everything.
9809 * nptl/nptl-printers.py (MutexPrinter): Change output.
9810 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9811
9812 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9813
9814 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9815 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9816 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9817 (__lll_lock_elision): Do not test futex before starting a
9818 transaction. Use __glibc_likely instead of __builtin_expect.
9819 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9820 (__lll_trylock_elision): Do not test futex before starting a
9821 transaction. Use __glibc_likely instead of __builtin_expect.
9822
9823 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
9824
9825 * po/Makefile (update-translations): New target.
9826
9827 2017-01-19 Joseph Myers <joseph@codesourcery.com>
9828
9829 [BZ #21061]
9830 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9831
9832 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
9833
9834 * elf/dl-tunables (get_next_env): Always advance envp.
9835 * stdlib/tst-empty-env.c: New test case.
9836 * stdlib/Makefile (tests): Use it.
9837
9838 2017-01-19 Joseph Myers <joseph@codesourcery.com>
9839
9840 [BZ #21047]
9841 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9842 name for instruction.
9843 [!__SOFTFP__] (_FPU_SETCW): Likewise.
9844
9845 2017-01-18 Joseph Myers <joseph@codesourcery.com>
9846
9847 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9848 for make install.
9849
9850 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
9851
9852 * po/bg.po: Merge from Translation Project.
9853 * po/fr.po: Likewise.
9854 * po/ko.po: Likewise.
9855 * po/nl.po: Likewise.
9856 * po/sv.po: Likewise.
9857
9858 2017-01-18 Joseph Myers <joseph@codesourcery.com>
9859
9860 * manual/install.texi (Tools for Compilation): Update GCC version
9861 known to work to build glibc.
9862 * INSTALL: Regenerated.
9863
9864 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9865
9866 [BZ #21006]
9867 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9868
9869 2017-01-16 Joseph Myers <joseph@codesourcery.com>
9870
9871 [BZ #21045]
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9873 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9874 to __sigprocmask.
9875
9876 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
9877
9878 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9879 wrap-around.
9880 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9881
9882 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9883
9884 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9885
9886 * NEWS: Fix typo.
9887
9888 2016-01-13 Torvald Riegel <triegel@redhat.com>
9889
9890 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9891 barriers and comments.
9892 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9893 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9894 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9895
9896 2016-01-13 Torvald Riegel <triegel@redhat.com>
9897
9898 [BZ #19402]
9899 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9900 mutexes.
9901
9902 2016-01-13 Torvald Riegel <triegel@redhat.com>
9903
9904 [BZ #20985]
9905 * nptl/Makefile: Adapt.
9906 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9907 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9908 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9909 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9910 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9911 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9912 lll_robust* functions and adapt.
9913 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9914 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9915 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9916 __lll_robust_timedlock, __lll_robust_unlock): Remove.
9917 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9918 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9920 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9921 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9922 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9923 __lll_robust_timedlock, __lll_robust_unlock): Remove.
9924 * nptl/lowlevelrobustlock.c: Remove file.
9925 * nptl/lowlevelrobustlock.sym: Likewise.
9926 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9927 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9928
9929 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9930
9931 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9932
9933 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
9934
9935 * po/cs.po: Merge translations from the Translation Project.
9936 * po/de.po: Likewise.
9937 * po/pl.po: Likewise.
9938 * po/ru.po: Likewise.
9939 * po/tr.po: Likewise.
9940 * po/uk.po: Likewise.
9941 * po/vi.po: Likewise.
9942 * po/zh_CN.po: Likewise.
9943
9944 2017-01-12 Joseph Myers <joseph@codesourcery.com>
9945
9946 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9947
9948 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9949 object.
9950
9951 2017-01-11 Joseph Myers <joseph@codesourcery.com>
9952
9953 [BZ #16458]
9954 * bits/uintn-identity.h: New file.
9955 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9956 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9957 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9958 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9959 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9960 * string/endian.h: Include <bits/uintn-identity.h>.
9961 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9962 __uint16_identity.
9963 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9964 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9965 __uint32_identity.
9966 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9967 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9968 __uint64_identity.
9969 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9970 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9971 __uint16_identity.
9972 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9973 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9974 __uint32_identity.
9975 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9976 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9977 __uint64_identity.
9978 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9979 * string/Makefile (headers): Add bits/uintn-identity.h.
9980 (tests): Add test-endian-types.
9981 * string/test-endian-types.c: New file.
9982 * inet/Makefile (tests): Add test-hnto-types.
9983 * inet/test-hnto-types.c: New file.
9984
9985 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9986
9987 * po/be.po: Update from Translation Project.
9988 * po/bg.po: Likewise.
9989 * po/ca.po: Likewise.
9990 * po/cs.po: Likewise.
9991 * po/da.po: Likewise.
9992 * po/de.po: Likewise.
9993 * po/el.po: Likewise.
9994 * po/eo.po: Likewise.
9995 * po/es.po: Likewise.
9996 * po/fi.po: Likewise.
9997 * po/fr.po: Likewise.
9998 * po/gl.po: Likewise.
9999 * po/hr.po: Likewise.
10000 * po/hu.po: Likewise.
10001 * po/ia.po: Likewise.
10002 * po/id.po: Likewise.
10003 * po/it.po: Likewise.
10004 * po/ja.po: Likewise.
10005 * po/ko.po: Likewise.
10006 * po/lt.po: Likewise.
10007 * po/nb.po: Likewise.
10008 * po/nl.po: Likewise.
10009 * po/pl.po: Likewise.
10010 * po/pt_BR.po: Likewise.
10011 * po/ru.po: Likewise.
10012 * po/rw.po: Likewise.
10013 * po/sk.po: Likewise.
10014 * po/sl.po: Likewise.
10015 * po/sv.po: Likewise.
10016 * po/tr.po: Likewise.
10017 * po/uk.po: Likewise.
10018 * po/vi.po: Likewise.
10019 * po/zh_CN.po: Likewise.
10020 * po/zh_TW.po: Likewise.
10021
10022 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10023
10024 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10025 -Wformat-truncation instead of -Wformat-length.
10026 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10027 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10028 GCC 7.
10029 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10030 (do_test): Ignore -Wformat-truncation for GCC 7.
10031
10032 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10033 buffer used to print long int value.
10034
10035 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10036 one byte. Print it with %ld, cast to long int.
10037
10038 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10039
10040 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10041 (re.fullmatch, subprocess.run): Likewise.
10042
10043 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10044
10045 * po/libc.pot: Regenerate.
10046
10047 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10048
10049 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10050 (min_strlen): Likewise.
10051 (disable_tunable): Likewise.
10052 (maybe_disable_malloc_check): Rename to
10053 maybe_enable_malloc_check.
10054 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10055 if /etc/suid-debug file exists.
10056 (__tunables_init): Update caller.
10057 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10058 secure.
10059
10060 2016-01-10 Torvald Riegel <triegel@redhat.com>
10061
10062 * nptl/DESIGN-rwlock.txt: Remove.
10063 * nptl/lowlevelrwlock.sym: Remove.
10064 * nptl/Makefile: Add new tests.
10065 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10066 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10067 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10068 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10069 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10070 PTHREAD_RWLOCK_FUTEX_USED): New.
10071 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10072 implementation.
10073 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10074 (__pthread_rwlock_rdlock): Adapt.
10075 * nptl/pthread_rwlock_timedrdlock.c
10076 (pthread_rwlock_timedrdlock): Adapt.
10077 * nptl/pthread_rwlock_timedwrlock.c
10078 (pthread_rwlock_timedwrlock): Adapt.
10079 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10080 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10081 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10082 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10083 (__pthread_rwlock_wrlock): Adapt.
10084 * nptl/tst-rwlock10.c: Adapt.
10085 * nptl/tst-rwlock11.c: Adapt.
10086 * nptl/tst-rwlock17.c: New file.
10087 * nptl/tst-rwlock18.c: New file.
10088 * nptl/tst-rwlock19.c: New file.
10089 * nptl/tst-rwlock2b.c: New file.
10090 * nptl/tst-rwlock8.c: Adapt.
10091 * nptl/tst-rwlock9.c: Adapt.
10092 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10093 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10094 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10095 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10096 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10097 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10098 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10099 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10100 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10101 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10102 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10103 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10104 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10105 (pthread_rwlock_t): Adapt.
10106 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10107 (pthread_rwlock_t): Adapt.
10108 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10109 * nptl/nptl-printers.py (): Adapt.
10110 * nptl/nptl_lock_constants.pysym: Adapt.
10111 * nptl/test-rwlock-printers.py: Adapt.
10112 * nptl/test-rwlockattr-printers.c: Adapt.
10113 * nptl/test-rwlockattr-printers.py: Adapt.
10114
10115 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10116
10117 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10118 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10119 (fma_test_data): Likewise.
10120 (hypot_test_data): Likewise.
10121 (log1p_test_data): Likewise.
10122 (modf_test_data): Likewise.
10123 (pow_test_data): Likewise.
10124 (remainder_test_data): Likewise.
10125 (remquo_test_data): Likewise.
10126 (scalb_test_data): Likewise.
10127 (scalbn_test_data): Likewise.
10128 (scalbln_test_data): Likewise.
10129 * math/gen-libm-test.pl (parse_args): Transform
10130 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10131 on the rounding mode.
10132
10133 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10134
10135 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10136 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10137 and those that can underflow to zero.
10138 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10139 add others.
10140 * math/auto-libm-test-out: Regenerated.
10141
10142 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10143 supported.
10144 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10145 modes support if not supported.
10146
10147 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10148 Add libc.so PLT entry.
10149 (__tls_get_addr): Make ld.so PLT entry optional.
10150
10151 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10152
10153 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10154 * string/bits/string3.h: ... here.
10155
10156 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10157
10158 [BZ #21028]
10159 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10160 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10161 if EXCEPTION_TESTS returns false.
10162
10163 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10164
10165 [BZ #20558]
10166 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10167 strings_fortified.h.
10168 [__USE_MISC] (bzero): Likewise.
10169 [__USE_MISC] (explicit_bzero): Likewise.
10170 * string/strings.h: Include strings_fortified.h.
10171 * string/Makefile (headers): Add strings_fortified.h.
10172 * string/bits/strings_fortified.h: New file.
10173 * include/bits/strings_fortified.h: Likewise.
10174
10175 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10176
10177 * elf/tst-tls13.c (TIMEOUT): Remove.
10178 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10179 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10180 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10181 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10182 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10183
10184 [BZ #21026]
10185 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10186 (readahead): New syscall entry.
10187
10188 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10189
10190 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10191 around tests of strncat with large sizes.
10192
10193 * malloc/tst-malloc.c: Include <libc-internal.h>.
10194 (do_test): Disable -Walloc-size-larger-than= around tests of
10195 malloc with negative sizes.
10196 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10197 (do_test): Disable -Walloc-size-larger-than= around tests of
10198 malloc and realloc with negative sizes.
10199 * malloc/tst-realloc.c: Include <libc-internal.h>.
10200 (do_test): Disable -Walloc-size-larger-than= around tests of
10201 realloc with negative sizes.
10202
10203 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10204 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10205 allowed to 16 ulps.
10206 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10207 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10208 * math/auto-libm-test-out: Regenerated.
10209
10210 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10211
10212 * math/Makefile (libm-calls): Move wrappers...
10213 (libm-compat-call-auto): Here.
10214 (libm-routines): Add items in libm-compat-calls-auto.
10215 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10216 the filenames of the wrappers that have been renamed.
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10219
10220 * math/w_acos.c: Add _compat suffix to filename.
10221 * math/w_acosf.c: Likewise.
10222 * math/w_acosh.c: Likewise.
10223 * math/w_acoshf.c: Likewise.
10224 * math/w_acoshl.c: Likewise.
10225 * math/w_acosl.c: Likewise.
10226 * math/w_asin.c: Likewise.
10227 * math/w_asinf.c: Likewise.
10228 * math/w_asinl.c: Likewise.
10229 * math/w_atan2.c: Likewise.
10230 * math/w_atan2f.c: Likewise.
10231 * math/w_atan2l.c: Likewise.
10232 * math/w_atanh.c: Likewise.
10233 * math/w_atanhf.c: Likewise.
10234 * math/w_atanhl.c: Likewise.
10235 * math/w_cosh.c: Likewise.
10236 * math/w_coshf.c: Likewise.
10237 * math/w_coshl.c: Likewise.
10238 * math/w_exp10.c: Likewise.
10239 * math/w_exp10f.c: Likewise.
10240 * math/w_exp10l.c: Likewise.
10241 * math/w_exp2.c: Likewise.
10242 * math/w_exp2f.c: Likewise.
10243 * math/w_exp2l.c: Likewise.
10244 * math/w_fmod.c: Likewise.
10245 * math/w_fmodf.c: Likewise.
10246 * math/w_fmodl.c: Likewise.
10247 * math/w_hypot.c: Likewise.
10248 * math/w_hypotf.c: Likewise.
10249 * math/w_hypotl.c: Likewise.
10250 * math/w_j0.c: Likewise.
10251 * math/w_j0f.c: Likewise.
10252 * math/w_j0l.c: Likewise.
10253 * math/w_j1.c: Likewise.
10254 * math/w_j1f.c: Likewise.
10255 * math/w_j1l.c: Likewise.
10256 * math/w_jn.c: Likewise.
10257 * math/w_jnf.c: Likewise.
10258 * math/w_jnl.c: Likewise.
10259 * math/w_log10.c: Likewise.
10260 * math/w_log10f.c: Likewise.
10261 * math/w_log10l.c: Likewise.
10262 * math/w_log2.c: Likewise.
10263 * math/w_log2f.c: Likewise.
10264 * math/w_log2l.c: Likewise.
10265 * math/w_log.c: Likewise.
10266 * math/w_logf.c: Likewise.
10267 * math/w_logl.c: Likewise.
10268 * math/w_pow.c: Likewise.
10269 * math/w_powf.c: Likewise.
10270 * math/w_powl.c: Likewise.
10271 * math/w_remainder.c: Likewise.
10272 * math/w_remainderf.c: Likewise.
10273 * math/w_remainderl.c: Likewise.
10274 * math/w_scalb.c: Likewise.
10275 * math/w_scalbf.c: Likewise.
10276 * math/w_scalbl.c: Likewise.
10277 * math/w_sinh.c: Likewise.
10278 * math/w_sinhf.c: Likewise.
10279 * math/w_sinhl.c: Likewise.
10280 * math/w_sqrt.c: Likewise.
10281 * math/w_sqrtf.c: Likewise.
10282 * math/w_sqrtl.c: Likewise.
10283 * math/w_tgamma.c: Likewise.
10284 * math/w_tgammaf.c: Likewise.
10285 * math/w_tgammal.c: Likewise.
10286
10287 * math/w_acos_compat.c: New file copied from above and
10288 adjusted for new #includes path
10289 * math/w_acosf_compat.c: Likewise.
10290 * math/w_acosh_compat.c: Likewise.
10291 * math/w_acoshf_compat.c: Likewise.
10292 * math/w_acoshl_compat.c: Likewise.
10293 * math/w_acosl_compat.c: Likewise.
10294 * math/w_asin_compat.c: Likewise.
10295 * math/w_asinf_compat.c: Likewise.
10296 * math/w_asinl_compat.c: Likewise.
10297 * math/w_atan2_compat.c: Likewise.
10298 * math/w_atan2f_compat.c: Likewise.
10299 * math/w_atan2l_compat.c: Likewise.
10300 * math/w_atanh_compat.c: Likewise.
10301 * math/w_atanhf_compat.c: Likewise.
10302 * math/w_atanhl_compat.c: Likewise.
10303 * math/w_cosh_compat.c: Likewise.
10304 * math/w_coshf_compat.c: Likewise.
10305 * math/w_coshl_compat.c: Likewise.
10306 * math/w_exp10_compat.c: Likewise.
10307 * math/w_exp10f_compat.c: Likewise.
10308 * math/w_exp10l_compat.c: Likewise.
10309 * math/w_exp2_compat.c: Likewise.
10310 * math/w_exp2f_compat.c: Likewise.
10311 * math/w_exp2l_compat.c: Likewise.
10312 * math/w_fmod_compat.c: Likewise.
10313 * math/w_fmodf_compat.c: Likewise.
10314 * math/w_fmodl_compat.c: Likewise.
10315 * math/w_hypot_compat.c: Likewise.
10316 * math/w_hypotf_compat.c: Likewise.
10317 * math/w_hypotl_compat.c: Likewise.
10318 * math/w_j0_compat.c: Likewise.
10319 * math/w_j0f_compat.c: Likewise.
10320 * math/w_j0l_compat.c: Likewise.
10321 * math/w_j1_compat.c: Likewise.
10322 * math/w_j1f_compat.c: Likewise.
10323 * math/w_j1l_compat.c: Likewise.
10324 * math/w_jn_compat.c: Likewise.
10325 * math/w_jnf_compat.c: Likewise.
10326 * math/w_jnl_compat.c: Likewise.
10327 * math/w_log10_compat.c: Likewise.
10328 * math/w_log10f_compat.c: Likewise.
10329 * math/w_log10l_compat.c: Likewise.
10330 * math/w_log2_compat.c: Likewise.
10331 * math/w_log2f_compat.c: Likewise.
10332 * math/w_log2l_compat.c: Likewise.
10333 * math/w_log_compat.c: Likewise.
10334 * math/w_logf_compat.c: Likewise.
10335 * math/w_logl_compat.c: Likewise.
10336 * math/w_pow_compat.c: Likewise.
10337 * math/w_powf_compat.c: Likewise.
10338 * math/w_powl_compat.c: Likewise.
10339 * math/w_remainder_compat.c: Likewise.
10340 * math/w_remainderf_compat.c: Likewise.
10341 * math/w_remainderl_compat.c: Likewise.
10342 * math/w_scalb_compat.c: Likewise.
10343 * math/w_scalbf_compat.c: Likewise.
10344 * math/w_scalbl_compat.c: Likewise.
10345 * math/w_sinh_compat.c: Likewise.
10346 * math/w_sinhf_compat.c: Likewise.
10347 * math/w_sinhl_compat.c: Likewise.
10348 * math/w_sqrt_compat.c: Likewise.
10349 * math/w_sqrtf_compat.c: Likewise.
10350 * math/w_sqrtl_compat.c: Likewise.
10351 * math/w_tgamma_compat.c: Likewise.
10352 * math/w_tgammaf_compat.c: Likewise.
10353 * math/w_tgammal_compat.c: Likewise.
10354
10355 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10356 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10357 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10358 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10359 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10360 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10361 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10362 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10363 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10364 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10365 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10366 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10367 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10368 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10369 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10370 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10371 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10372 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10373 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10374 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10375 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10376 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10377 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10378 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10379 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10380 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10381 * sysdeps/ia64/fpu/w_log.c: Likewise.
10382 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10383 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10384 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10385 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10386 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10387 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10388 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10389 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10390 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10391 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10392 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10393 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10394 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10395 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10396 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10397 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10398 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10399 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10400 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10401 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10402 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10403 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10404 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10405 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10406 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10407 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10408 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10409 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10410 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10411 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10412 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10413 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10414 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10415 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10418 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10420 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10421 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10422 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10424 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10426 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10427 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10428 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10430 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10432 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10433 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10434 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10435 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10436 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10438 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10439 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10440 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10441 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10442 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10444 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10446 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10448 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10450 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10452 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10454 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10456 Likewise.
10457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10458 Likewise.
10459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10461 Likewise.
10462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10463 Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10477 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10479
10480 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10481 and adjusted for new #includes path
10482 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10483 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10484 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10485 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10486 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10487 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10488 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10489 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10490 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10491 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10492 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10493 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10494 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10495 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10496 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10497 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10498 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10499 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10500 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10501 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10502 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10503 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10504 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10505 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10506 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10507 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10508 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10509 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10510 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10511 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10512 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10513 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10514 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10515 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10516 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10517 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10518 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10519 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10520 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10521 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10522 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10523 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10524 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10525 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10526 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10527 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10528 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10529 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10530 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10531 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10532 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10533 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10534 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10535 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10536 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10537 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10538 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10539 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10540 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10541 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10542 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10543 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10544 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10545 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10546 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10547 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10548 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10549 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10550 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10551 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10552 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10553 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10554 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10555 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10556 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10557 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10558 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10559 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10560 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10561 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10562 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10563 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10564 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10565 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10566 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10567 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10568 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10569 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10570 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10571 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10572 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10573 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10574 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10575 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10576 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10577 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10578 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10579 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10580 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10582 Likewise.
10583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10584 Likewise.
10585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10586 Likewise.
10587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10588 Likewise.
10589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10590 Likewise.
10591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10592 Likewise.
10593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10595 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10596 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10597 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10598 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10600 Likewise.
10601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10602 Likewise.
10603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10604 Likewise.
10605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10606 Likewise.
10607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10609 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10610 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10611
10612 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10613
10614 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10615 __jmp_buf_internal_tag.
10616
10617 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10618 preserve NaN payload if [__mips_nan2008].
10619 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10620
10621 [BZ #21022]
10622 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10623
10624 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10625
10626 * sysdeps/i386/fpu/libm-test-ulps: Update.
10627
10628 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10629
10630 * sysdeps/ia64/strcat.c: Remove file.
10631 * sysdeps/powerpc/strcat.c: Likewise.
10632 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10633 C implementation.
10634 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10635 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10636
10637 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10638 Steven Munroe <sjmunroe@us.ibm.com>
10639 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10640
10641 [BZ #20822]
10642 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10643 (__lll_lock_elision): Access adapt_count via C11 atomics.
10644 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10645 (__lll_trylock_elision): Likewise.
10646 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10647 (__lll_unlock_elision): Update adapt_count variable inside the
10648 critical section using C11 atomics.
10649
10650 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10651
10652 * math/test-fenvinline.c (do_test): Disable tests of raised
10653 exceptions if !EXCEPTION_TESTS (FLOAT).
10654
10655 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10656
10657 [BZ #19390]
10658 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10659 maximum string size.
10660 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10661 in pointer addition.
10662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10663 Likewise.
10664
10665 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10666
10667 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10668 passed to tst-ldconfig-X.sh.
10669
10670 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
10671
10672 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10673
10674 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10675
10676 [BZ #21019]
10677 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10678 New syscall entry.
10679 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10680 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10681 lseek.
10682
10683 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10684 power4 glibc for powerpc-linux-gnu.
10685
10686 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10687
10688 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10689 semctl.
10690
10691 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10692
10693 * math/test-nearbyint-except.c: Include <stdbool.h>.
10694 (any_supported): New variable.
10695 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
10696 set any_supported.
10697 (do_test): Return 77 if no floating-point type supported
10698 exceptions.
10699
10700 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
10701 condition on [__mips_hard_float].
10702
10703 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10704
10705 [BZ #21014]
10706 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10707 in pointer addition.
10708 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10709
10710 2017-01-02 Torvald Riegel <triegel@redhat.com>
10711
10712 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10713 new condvar.
10714
10715 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10716
10717 * scripts/build-many-glibcs.py (Context.checkout): Default
10718 binutils version to 2.28 branch.
10719
10720 2017-01-01 Florian Weimer <fweimer@redhat.com>
10721
10722 * support/support_format_netent.c (support_format_netent): Work
10723 around alpha struct netent definition difference.
10724
10725 2017-01-01 Florian Weimer <fweimer@redhat.com>
10726
10727 * support/xwrite.c (xwrite): Use %td for pointer difference.
10728
10729 2017-01-01 Florian Weimer <fweimer@redhat.com>
10730
10731 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10732 have-tunables only.
10733 (tests-static): Add tst-malloc-usable-static-tunables for
10734 have-tunables only.
10735
10736 2017-01-01 Joseph Myers <joseph@codesourcery.com>
10737
10738 * scripts/config.guess: Update to version 2017-01-01.
10739 * scripts/config.sub: Update to version 2017-01-01.
10740
10741 * NEWS: Update copyright dates.
10742 * catgets/gencat.c (print_version): Likewise.
10743 * csu/version.c (banner): Likewise.
10744 * debug/catchsegv.sh: Likewise.
10745 * debug/pcprofiledump.c (print_version): Likewise.
10746 * debug/xtrace.sh (do_version): Likewise.
10747 * elf/ldconfig.c (print_version): Likewise.
10748 * elf/ldd.bash.in: Likewise.
10749 * elf/pldd.c (print_version): Likewise.
10750 * elf/sotruss.sh: Likewise.
10751 * elf/sprof.c (print_version): Likewise.
10752 * iconv/iconv_prog.c (print_version): Likewise.
10753 * iconv/iconvconfig.c (print_version): Likewise.
10754 * locale/programs/locale.c (print_version): Likewise.
10755 * locale/programs/localedef.c (print_version): Likewise.
10756 * login/programs/pt_chown.c (print_version): Likewise.
10757 * malloc/memusage.sh (do_version): Likewise.
10758 * malloc/memusagestat.c (print_version): Likewise.
10759 * malloc/mtrace.pl: Likewise.
10760 * manual/libc.texinfo: Likewise.
10761 * nptl/version.c (banner): Likewise.
10762 * nscd/nscd.c (print_version): Likewise.
10763 * nss/getent.c (print_version): Likewise.
10764 * nss/makedb.c (print_version): Likewise.
10765 * posix/getconf.c (main): Likewise.
10766 * scripts/test-installation.pl: Likewise.
10767 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10768
10769 * All files with FSF copyright notices: Update copyright dates
10770 using scripts/update-copyrights.
10771 * intl/plural.c: Regenerated.
10772 * locale/programs/charmap-kw.h: Likewise.
10773 * locale/programs/locfile-kw.h: Likewise.
10774
10775 2016-12-31 Florian Weimer <fweimer@redhat.com>
10776
10777 [BZ #20593]
10778 Update DNS RR type definitions.
10779 * scripts/gen-rrtypes.py: New file.
10780 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10781 BIND-internal RR type not used on the Internet. Add ns_t_ds,
10782 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10783 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10784 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10785 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10786 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10787 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10788 ns_t_ta, ns_t_dlv.
10789 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10790 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10791 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10792 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10793 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10794 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10795 Define.
10796 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
10797 entry for ns_t_zxfr.
10798
10799 2016-12-31 Florian Weimer <fweimer@redhat.com>
10800
10801 [BZ #18784]
10802 CVE-2015-5180
10803 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10804 T_UNSPEC. Adjust value.
10805 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10806 * resolv/res_query.c (__libc_res_nquery): Likewise.
10807 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10808 QTYPEs.
10809 * resolv/tst-resolv-qtypes.c: New file.
10810 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10811 (tst-resolv-qtypes): Link against libresolv and libpthread.
10812
10813 2016-12-31 Florian Weimer <fweimer@redhat.com>
10814
10815 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10816
10817 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
10818
10819 * manual/tunables.texi: New chapter.
10820 * manual/Makefile (chapters): Add it.
10821 * manual/probes.texi (@node): Point to the Tunables chapter.
10822
10823 * Makeconfig (have-tunables): Check for non-negative instead
10824 of positive.
10825 * configure.ac: Add 'valstring' as a valid value for
10826 --enable-tunables.
10827 * configure: Regenerate.
10828 * elf/Makefile (have-tunables): Check for non-negative instead
10829 of positive.
10830 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10831 dl-tunables.c.
10832 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10833 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10834 (tunables_strdup): Likewise.
10835 (disable_tunables): Likewise.
10836 (parse_tunables): Likewise.
10837 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10838 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10839 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10840 (TUNABLES_FRONTEND_yes): New macro, define as
10841 TUNABLES_FRONTEND_valstring by default.
10842 * manual/install.texi: Document new acceptable values for
10843 --enable-tunables.
10844 * INSTALL: Regenerate.
10845
10846 * config.make.in (have-loop-to-function): Define.
10847 * elf/Makefile (CFLAGS-dl-tunables.c): Add
10848 -fno-tree-loop-distribute-patterns.
10849 * elf/dl-tunables.c: Include libc-internals.h.
10850 (GLIBC_TUNABLES): New macro.
10851 (tunables_strdup): New function.
10852 (parse_tunables): New function.
10853 (min_strlen): New function.
10854 (__tunables_init): Use the new functions and macro.
10855 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10856 * malloc/tst-malloc-usable-tunables.c: New test case.
10857 * malloc/tst-malloc-usable-static-tunables.c: New test case.
10858 * malloc/Makefile (tests, tests-static): Add tests.
10859
10860 * manual/install.texi: Add --enable-tunables option.
10861 * INSTALL: Regenerate.
10862 * README.tunables: New file.
10863 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10864 (before-compile): Generate dl-tunable-list.h early.
10865 * config.h.in: Add HAVE_TUNABLES.
10866 * config.make.in: Add have-tunables.
10867 * configure.ac: Add --enable-tunables option.
10868 * configure: Regenerate.
10869 * csu/init-first.c (__libc_init_first): Move
10870 __libc_init_secure earlier...
10871 * csu/init-first.c (LIBC_START_MAIN):... to here.
10872 Include dl-tunables.h, libc-internal.h.
10873 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10874 binaries.
10875 * elf/Makefile (dl-routines): Add dl-tunables.
10876 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10877 namespace.
10878 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10879 only when !HAVE_TUNABLES.
10880 * elf/rtld.c (process_envvars): Likewise.
10881 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10882 (_dl_sysdep_start): Call __tunables_init.
10883 * elf/dl-tunable-types.h: New file.
10884 * elf/dl-tunables.c: New file.
10885 * elf/dl-tunables.h: New file.
10886 * elf/dl-tunables.list: New file.
10887 * malloc/tst-malloc-usable-static.c: New test case.
10888 * malloc/Makefile (tests-static): Add it.
10889 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10890 Define TUNABLE_NAMESPACE.
10891 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10892 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
10893 callback functions.
10894 (ptmalloc_init): Set tunable values.
10895 * scripts/gen-tunables.awk: New file.
10896 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10897 (_dl_sysdep_start): Call __tunables_init.
10898
10899 2016-12-31 Florian Weimer <fweimer@redhat.com>
10900
10901 * resolv/resolv.h (RES_BLAST): Deprecate.
10902 * resolv/res_debug.c (p_option): Remove RES_BLAST.
10903 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10904 to RES_BLAST.
10905
10906 2016-12-27 Florian Weimer <fweimer@redhat.com>
10907
10908 [BZ #19582]
10909 Deprecate RES_USE_INET6.
10910 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10911 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10912 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10913 RES_USE_INET6.
10914 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10915 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10916 (_nss_nisplus_gethostbyaddr_r): Likewise.
10917 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10918 of res_use_inet6.
10919 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10920 instead of RES_USE_INET6.
10921 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10922 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10923 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10924 Likewise.
10925 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10926 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10927 Likewise.
10928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10929 (_nss_dns_gethostbyname_r): Likewise.
10930 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10931 alternate RES_USE_INET6 handling.
10932 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10933 instead of RES_USE_INET6.
10934 * resolv/res_init.c (res_setoptions): Likewise.
10935 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10936 * resolv/resolv-internal.h: New file.
10937 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10938 make the deprecation warning non-fatal.
10939 * resolv/README (Using the resolver in multi-threaded code): Drop
10940 reference to RES_USE_INET6.
10941 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10942 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10943
10944 2016-12-31 Florian Weimer <fweimer@redhat.com>
10945
10946 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10947 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10948 tst-resolv-search.
10949 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10950 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10951 with libresolv and libpthread.
10952 * resolv/tst-bug18665.c: New file.
10953 * resolv/tst-bug18665-tcp: Likewise.
10954 * resolv/tst-res_use_inet6: Likewise.
10955 * resolv/tst-resolv-basic: Likewise.
10956 * resolv/tst-resolv-network: Likewise.
10957 * resolv/tst-resolv-search: Likewise.
10958 * support/Makefile (libsupport-routines): Add check_addrinfo,
10959 check_dns_packet, check_hostent, check_netent, resolv_test,
10960 support_format_address_family, support_format_addrinfo,
10961 support_format_dns_packet, support_format_herrno,
10962 support_format_hostent, support_format_netent, support_run_diff,
10963 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10964 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10965 xstrdup, xwrite.
10966 * support/check_addrinfo.c: New file.
10967 * support/check_dns_packet.c: Likewise.
10968 * support/check_hostent.c: Likewise.
10969 * support/check_netent.c: Likewise.
10970 * support/check_nss.h: Likewise.
10971 * support/format_nss.h: Likewise.
10972 * support/resolv_test.c: Likewise.
10973 * support/resolv_test.h: Likewise.
10974 * support/run_diff.h: Likewise.
10975 * support/support_format_address_family.c: Likewise.
10976 * support/support_format_addrinfo.c: Likewise.
10977 * support/support_format_dns_packet.c: Likewise.
10978 * support/support_format_herrno.c: Likewise.
10979 * support/support_format_hostent.c: Likewise.
10980 * support/support_format_netent.c: Likewise.
10981 * support/support_run_diff.c: Likewise.
10982 * support/xaccept.c: Likewise.
10983 * support/xbind.c: Likewise.
10984 * support/xconnect.c: Likewise.
10985 * support/xfclose.c: Likewise.
10986 * support/xfopen.c: Likewise.
10987 * support/xgetsockname.c: Likewise.
10988 * support/xlisten.c: Likewise.
10989 * support/xmemstream.c: Likewise.
10990 * support/xmemstream.h: Likewise.
10991 * support/xpoll.c: Likewise.
10992 * support/xpthread_once.c: Likewise.
10993 * support/xrecvfrom.c: Likewise.
10994 * support/xsendto.c: Likewise.
10995 * support/xsetsockopt.c: Likewise.
10996 * support/xstdio.h: Likewise.
10997 * support/xstrdup.c: Likewise.
10998 * support/support.h (xstrdup): Declare.
10999 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11000 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11001 * support/xthread.h (xpthread_once): Likwise.
11002 * support/xunistd.h (xwrite): Declare.
11003
11004 2016-12-31 Florian Weimer <fweimer@redhat.com>
11005
11006 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11007 (test_verbose): Declare.
11008 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11009 * support/support_test_main.c (default_options): Likewise.
11010 (usage, support_test_main): Handle 'v'.
11011 (test_verbose): Define.
11012 * support/tst-support_record_failure.c (do_test): Use
11013 test_verbose.
11014 * support/tst-support_record_failure-2.sh (different_status): Add
11015 --verbose test.
11016
11017 2016-12-31 Florian Weimer <fweimer@redhat.com>
11018
11019 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11020 test failures are recorded.
11021 * support/check.c (support_print_failure_impl): Call
11022 support_record_failure.
11023 (support_exit_failure_impl): Call support_record_failure if status
11024 indicates failure.
11025 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11026 * support/xasprintf.c (xasprintf): Likewise.
11027 * support/xfork.c (xfork): Likewise.
11028 * support/xpthread_check_return.c (xpthread_check_return):
11029 Likewise.
11030 * support/xsocket.c (xsocket): Likeweise.
11031 * support/xwaitpid.c (xwaitpid): Likewise.
11032 * support/support_record_failure.c (struct test_failures): Adjust
11033 to coding style.
11034 * support/support_test_verify_impl.c (support_test_verify_impl):
11035 Adjust error messages.
11036 * support/tst-support_record_failure-2.sh (different_status):
11037 Adjust error messages.
11038
11039 2016-12-31 Florian Weimer <fweimer@redhat.com>
11040
11041 * support/namespace.h: New file.
11042 * support/support_become_root.c: Likewise.
11043 * support/support_enter_network_namespace.c: Likewise.
11044 * support/tst-support-namespace.c: Likewise.
11045 * support/xsocket.c: Likewise.
11046 * support/xsocket.h: Likewise.
11047 * support/Makefile (libsupport-routines): Add support_become_root,
11048 support_enter_network_namespace, xsocket.
11049 (tests): Add tst-support-namespace.
11050
11051 2016-12-31 Florian Weimer <fweimer@redhat.com>
11052
11053 [BZ #17252]
11054 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11055 __USE_GNU.
11056
11057 2016-12-31 Torvald Riegel <triegel@redhat.com>
11058
11059 [BZ #13165]
11060 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11061 use new algorithm.
11062 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11063 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11064 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11065 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11066 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11067 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11068 __condvar_cleanup_waiting, __condvar_dec_grefs,
11069 __pthread_cond_wait_common): New.
11070 (__condvar_cleanup): Remove.
11071 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11072 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11073 Likewise.
11074 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11075 Likewise.
11076 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11077 * nptl/tst-cond1.c: Add comment.
11078 * nptl/tst-cond20.c (do_test): Adapt.
11079 * nptl/tst-cond22.c (do_test): Likewise.
11080 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11081 structure.
11082 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11083 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11084 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11085 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11086 Likewise.
11087 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11088 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11089 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11090 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11091 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11092 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11093 Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11095 Likewise.
11096 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11097 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11098 (COND_CLOCK_BITS): Adapt.
11099 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11100 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11101 __PTHREAD_COND_SHARED_MASK): New.
11102 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11103 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11104 * nptl/nptl_lock_constants.pysym: Adapt.
11105 * nptl/test-cond-printers.py: Adapt.
11106 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11107 cond_compat_check_and_clear): Adapt.
11108 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11109 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11110 (__pthread_cond_timedwait): ... and move here.
11111 * nptl/DESIGN-condvar.txt: Remove file.
11112 * nptl/lowlevelcond.sym: Likewise.
11113 * nptl/pthread_cond_timedwait.c: Likewise.
11114 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11115 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11116 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11117 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11118 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11119 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11120 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11121 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11122 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11124 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11126 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11127 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11130
11131 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11132
11133 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11134 (fromfp): New declaration.
11135 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11136 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11137 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11138 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11139 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11140 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11141 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11142 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11143 * math/math.h: Include <bits/types.h>.
11144 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11145 constant and macro.
11146 (FP_INT_DOWNWARD): Likewise.
11147 (FP_INT_TOWARDZERO): Likewise.
11148 (FP_INT_TONEARESTFROMZERO): Likewise.
11149 (FP_INT_TONEAREST): Likewise.
11150 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11151 (fromfpf): Likewise.
11152 (fromfpl): Likewise.
11153 (ufromfp): Likewise.
11154 (ufromfpf): Likewise.
11155 (ufromfpl): Likewise.
11156 (fromfpx): Likewise.
11157 (fromfpxf): Likewise.
11158 (fromfpxl): Likewise.
11159 (ufromfpx): Likewise.
11160 (ufromfpxf): Likewise.
11161 (ufromfpxl): Likewise.
11162 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11163 s_fromfpxF and s_ufromfpxF.
11164 * math/gen-fromfp-tests.py: New file.
11165 * math/gen-fromfp-tests-inputs: Likewise.
11166 * math/libm-test.inc: Include <stdint.h>
11167 (check_intmax_t): New function.
11168 (check_uintmax_t): Likewise.
11169 (struct test_fiu_M_data): New type.
11170 (struct test_fiu_U_data): Likewise.
11171 (RUN_TEST_fiu_M): New macro.
11172 (RUN_TEST_LOOP_fiu_M): Likewise.
11173 (RUN_TEST_fiu_U): Likewise.
11174 (RUN_TEST_LOOP_fiu_U): Likewise.
11175 (fromfp_test_data): New array.
11176 (fromfp_test): New function.
11177 (fromfpx_test_data): New array.
11178 (fromfpx_test): New function.
11179 (ufromfp_test_data): New array.
11180 (ufromfp_test): New function.
11181 (ufromfpx_test_data): New array.
11182 (ufromfpx_test): New function.
11183 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11184 ufromfpx_test.
11185 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11186 characters.
11187 * math/test-tgmath-ret.c: Include <stdint.h>.
11188 (rm): New variable.
11189 (width): Likewise.
11190 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11191 called function.
11192 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11193 CHECK_RET_CONST_TYPE.
11194 (CHECK_RET_CONST_DOUBLE): Likewise.
11195 (CHECK_RET_CONST_LDOUBLE): Likewise.
11196 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11197 macros.
11198 (fromfp): New CHECK_RET_CONST call.
11199 (ufromfp): Likewise.
11200 (fromfpx): Likewise.
11201 (ufromfpx): Likewise.
11202 (do_test): Call check_return_fromfp, check_return_ufromfp,
11203 check_return_fromfpx and check_return_ufromfpx.
11204 * math/test-tgmath.c: Include <stdint.h>
11205 (NCALLS): Increase to 138.
11206 (F(compile_test)): Initialize i. Call fromfp functions.
11207 (F(fromfp)): New function.
11208 (F(fromfpx)): Likewise.
11209 (F(ufromfp)): Likewise.
11210 (F(ufromfpx)): Likewise.
11211 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11212 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11213 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11214 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11215 ufromfpxl.
11216 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11217 ufromfp and ufromfpx.
11218 * math/fromfp.h: New file.
11219 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11245 ufromfp, fromfpx and ufromfpx.
11246 (CFLAGS-nldbl-fromfp.c): New variable.
11247 (CFLAGS-nldbl-fromfpx.c): Likewise.
11248 (CFLAGS-nldbl-ufromfp.c): Likewise.
11249 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11251 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11252 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11253 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11254 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11255 * sysdeps/nacl/libm.abilist: Update.
11256 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11269 Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11273 Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11275 Likewise.
11276 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11282 Likewise.
11283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11284 Likewise.
11285 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11288
11289 2016-12-30 Florian Weimer <fweimer@redhat.com>
11290
11291 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11292 compat-gethnamaddr.
11293 (CPPFLAGS): Remove.
11294 * resolv/gethnamaddr.c: Rename ...
11295 * resolv/compat-gethnamaddr.c: ... to this file.
11296 (_endhtent): Make static.
11297 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11298 symbol.
11299 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11300 compat symbol.
11301 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11302 symbol.
11303 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11304 Turn into compat symbol.
11305 * include/resolv.h (_endhtent): Remove declaration.
11306
11307 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11308
11309 * bits/types.h (__intmax_t): New typedef.
11310 (__uintmax_t): Likewise.
11311 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11312 (intmax_t): Define using __intmax_t.
11313 (uintmax_t): Define using __uintmax_t.
11314
11315 * support/Makefile (tests-special): Make definition conditional on
11316 [$(run-built-tests) = yes].
11317 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11318 on [$(run-built-tests) = yes].
11319
11320 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11321
11322 * Rules (tests): Add tests-printers-programs to tests to be
11323 built.
11324
11325 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11326
11327 * sysvipc/Makefile (tests): Add test-sysvshm.
11328 * sysvipc/test-sysvshm.c: New file.
11329
11330 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11331 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11332 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11333 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11334 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11335 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11336 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11337 Likewise.
11338 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11339 Likewise.
11340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11341 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11342 is defined.
11343
11344 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11345 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11346 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11347 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11348 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11349 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11350 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11351 Likewise.
11352 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11353 Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11355 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11356 defined.
11357
11358 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11359 oldshmctl.
11360 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11361 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11362 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11363 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11364 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11365 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11366 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11367 Likewise.
11368 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11369 Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11371 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11372 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11373 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11374 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11375 implementation.
11376 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11377 if it is defined.
11378
11379 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11380 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11381 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11382 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11383 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11384 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11385 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11386 Likewise.
11387 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11388 Likewise.
11389 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11390 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11391 Define to __NR_osf_shmat.
11392 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11393 defined.
11394
11395 * sysvipc/Makefile (tests): Add test-sysvsem.
11396 * sysvipc/test-sysvsem.c: New file.
11397
11398 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11399 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11400 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11401 Likewise.
11402 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11403 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11404 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11405 Likewise.
11406 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11407 Likewise.
11408 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11409 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11410 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11411 add a comment about s390 syscall difference from default one.
11412 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11413 syscall if it is defined.
11414
11415 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11416 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11417 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11418 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11419 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11420 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11421 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11422 Likewise.
11423 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11424 Likewise.
11425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11426 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11427 defined.
11428
11429 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11430 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11431 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11432 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11433 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11434 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11435 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11436 Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11438 Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11440 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11441 if it is defined.
11442
11443 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11444 oldsemctl.
11445 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11446 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11447 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11449 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11450 implementation.
11451 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11452 syscall if it is defined.
11453 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11454 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11455 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11456 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11458 Likewise.
11459 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11460
11461 * sysvipc/Makefile (tests): Add test-sysvmsg.
11462 * sysvipc/test-sysvmsg.c: New file.
11463 * support/check.h (FAIL_UNSUPPORTED): New define.
11464
11465 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11466 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11467 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11468 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11469 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11470 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11471 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11472 Likewise.
11473 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11474 Likewise.
11475 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11476 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11477 define.
11478
11479 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11480 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11481 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11482 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11483 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11484 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11485 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11486 Likewise.
11487 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11488 Likewise.
11489 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11490 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11491 if defined.
11492
11493 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11494 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11495 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11496 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11497 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11498 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11499 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11500 Likewise.
11501 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11502 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11503 Likewise.
11504 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11505 if defined.
11506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11507
11508 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11509 oldmsgctl.
11510 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11511 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11512 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11513 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11514 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11515 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11516 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11517 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11518 Likewise.
11519 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11520 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11521 implementation.
11522 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11523 if defined.
11524
11525 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11526 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11527 definition and define its own.
11528 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11529 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11530 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11531 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11532 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11533 definitions to common header.
11534 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11535 operation from ipc_ops.h.
11536
11537 * sysdeps/unix/sysv/linux/kernel-features.h
11538 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11539 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11540 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11541 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11542 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11543 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11544 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11546 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11547 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11548 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11549 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11550 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11551 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11552 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11553
11554 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11555
11556 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11557 overflow in pointer addition.
11558
11559 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11560
11561 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11562 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11564 (strchr): Add __strchr_power8 to list of strchr functions.
11565 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11566 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11568 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11569 (strchr): Add __strchr_power8 to ifunc list.
11570 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11571 (__strchrnul): Add __strchrnul_power8 to ifunc list.
11572 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11573 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11574
11575 2016-12-28 Florian Weimer <fweimer@redhat.com>
11576
11577 * support/Makefile (libsupport-routines): Add
11578 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11579 (tests): Add tst-support_record_failure.
11580 (tests-special): tst-support_record_failure-2.
11581 (tst-support_record_failure-2.out): Depend on
11582 tst-support_record_failure-2.sh and tst-support_record_failure.
11583 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11584 (support_test_verify_impl, support_record_failure)
11585 (support_report_failure, support_report_failure_reset): Declare.
11586 * support/support_test_main.c (adjust_exit_status): New function.
11587 (support_test_main): Call it to incorporate record test failures.
11588 * support/support_test_verify_impl.c: New file.
11589 * support/support_record_failure.c: Likewise.
11590 * support/tst-support_record_failure.c: Likewise.
11591 * support/tst-support_record_failure-2.sh: Likewise.
11592 * support/xunistd.h: Likewise.
11593 * support/xfork.c: Likewise.
11594 * support/xwaitpid.c: Likewise.
11595
11596 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
11597
11598 * scripts/check-c++-types.sh: Add comments.
11599
11600 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
11601
11602 [BZ #19514]
11603 * resolv/res_send.c: Fix typo in comment.
11604 * sysdeps/i386/i386-mcount.S: Likewise.
11605 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11607 * sysdeps/sparc/sparc-mcount.S: Likewise.
11608
11609 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11610
11611 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11612 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11613 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11614 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11615 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11616 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11617 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11618 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11619
11620 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11621
11622 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11623
11624 2016-12-27 Florian Weimer <fweimer@redhat.com>
11625
11626 [BZ #17252]
11627 * posix/unistd.h (getentropy): Declare.
11628
11629 2016-12-27 Florian Weimer <fweimer@redhat.com>
11630
11631 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11632 Remove.
11633 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11634 (cmd): Remove spoof, nospoof, spoofalert.
11635 (parse_line): Ignore spoof-related lines.
11636 (do_init): Do not process RESOLV_SPOOF_CHECK.
11637
11638 2016-12-27 Florian Weimer <fweimer@redhat.com>
11639
11640 [BZ #20964]
11641 sunrpc: Always obtain AF_INET addresses from NSS.
11642 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11643 * sunrpc/rpc_gethostbyname.c: New file.
11644 * sunrpc/Makefile (routines): Add it.
11645 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11646 * sunrpc/clnt_simp.c (callrpc): Likewise.
11647 * sunrpc/getrpcport.c (getrpcport): Likewise.
11648
11649 2016-12-27 Florian Weimer <fweimer@redhat.com>
11650
11651 * sunrpc/rpcinfo.c: Remove.
11652 * sunrpc/Makefile: Remove comments referring to rpcinfo.
11653
11654 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11655
11656 [BZ #19387]
11657 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11658 addition.
11659 * string/test-memchr.c (do_test): Remove alignment limitation.
11660 (test_main): Add test that trigger BZ #19387.
11661
11662 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11663
11664 [BZ #7065]
11665 Enable stack protectore if requested by ./configure.
11666 * Makeconfig (+stack-protector): New variable.
11667 (+cflags): Use it.
11668
11669 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11670
11671 [BZ #7065]
11672 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11674 (__rt_sigreturn_stub): Use inhibit_stack_protector.
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11676 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11677
11678 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11679
11680 [BZ #7065]
11681 * login/Makefile (pt_chown-cflags): Remove.
11682 * nscd/Makefile (CFLAGS-nscd): Likewise.
11683 * resolv/Makefile (CFLAGS-libresolv): Likewise.
11684
11685 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11686
11687 [BZ #7065]
11688 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11689 non-libc-linking testcase.
11690
11691 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11692 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11693 Florian Weimer <fweimer@redhat.com>
11694
11695 [BZ #7065]
11696 PLT avoidance for __stack_chk_fail*.
11697 * debug/Makefile (CFLAGS-stack_chk_fail.c)
11698 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
11699 * debug/stack_chk_fail.c (__stack_chk_fail): Add
11700 __stack_chk_fail_local alias.
11701 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11702 (__stack_chk_fail): Turn into hidden reference to
11703 __stack_chk_fail_local.
11704
11705 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11706
11707 [BZ #7065]
11708 * configure.ac: Add check for unsupported stack-protection level.
11709 (libc_cv_predef_stack_protector): Remove.
11710 (no_ssp): New variable.
11711 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11712 (stack_protector): Set to -fno-stack-protector similarly.
11713 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11714 (libc_cv_asm_set_directive): Likewise.
11715 (libc_cv_protected_data): Likewise.
11716 (libc_cv_z_combreloc): Likewise.
11717 (libc_cv_hashstyle): Likewise.
11718 (libc_cv_has_glob_dat): Likewise.
11719 (libc_cv_output_format): Likewise.
11720 (libc_cv_output_format): Likewise.
11721 (libc_cv_ehdr_start): Likewise.
11722 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11723 (LIBC_LINKER_FEATURE): Likewise.
11724 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11725
11726 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11727
11728 [BZ #7065]
11729 * elf/Makefile (dummy-stack-chk-fail): New.
11730 (librtld.map): Use it.
11731
11732 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11733
11734 [BZ #7065]
11735 Compile the dynamic linker without stack protection.
11736 * elf/Makefile (elide-stack-protector): New.
11737 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11738 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11739 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11740 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11741
11742 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11743
11744 [BZ #7065]
11745 * config.make.in (have-ssp, no-stack-protector): New.
11746 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11747 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11748 (CFLAGS-sbrk.op): Likewise.
11749 (CFLAGS-brk.o): Likewise.
11750 (CFLAGS-brk.op): Likewise.
11751 * string/Makefile (CFLAGS-memcpy.c): Likewise.
11752 (CFLAGS-wordcopy.c): Likewise.
11753
11754 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11755
11756 [BZ #7065]
11757 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11758 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11759 * include/libc-symbols.h (inhibit_stack_protector): New macro.
11760 (__ifunc_resolver): Use it.
11761 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11762 inhibit_stack_protector.
11763 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11764 * elf/ifuncmain7.c (foo_ifunc): Likewise.
11765 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11766 (foo_protected_ifunc): Likewise.
11767 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11768 (foo_protected_ifunc): Likewise.
11769 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11770 * sysdeps/nacl/nacl_interface_query.c
11771 (nacl_interface_query_ifunc): Likewise.
11772 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11774 Likewise.
11775 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11776 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11777 the generated vDSO syscall resolver.
11778
11779 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11780 Florian Weimer <fweimer@redhat.com>
11781
11782 [BZ #7065]
11783 Initialize the stack guard earlier when linking statically.
11784 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11785 (__pthread_initialize_minimal): Declare.
11786 * csu/libc-start.c (__pthread_initialize_minimal): Remove
11787 declaration.
11788 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
11789 stack canary and apply_irel initialization up. Call
11790 __pthread_initialize_minimal only if linked in.
11791 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11792 constant values.
11793 (__pthread_initialize_minimal): Remove.
11794 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11795 (__pthread_initialize_minimal_internal): Do not call
11796 __libc_setup_tls.
11797
11798 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11799
11800 [BZ #7065]
11801 * configure.ac (libc_cv_ssp): Move up.
11802 (libc_cv_ssp_strong): Likewise.
11803 (libc_cv_ssp_all): New.
11804 (stack_protector): Augment, adding -fstack-protector-all.
11805 (no_stack_protector): New.
11806 (STACK_PROTECTOR_LEVEL): New.
11807 (AC_ARG_ENABLE(stack-protector)): New configure flag.
11808 * manual/install.texi (--enable-stack-protector): Document it.
11809 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11810
11811 2016-12-24 Carlos O'Donell <carlos@redhat.com>
11812
11813 * README.pretty-printers: Must specify CPPFLAGS-* also.
11814 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11815 (CPPFLAGS-test-mutex-printers.c): Define.
11816 (CPPFLAGS-test-condattr-printers.c): Define.
11817 (CPPFLAGS-test-cond-printers.c): Define.
11818 (CPPFLAGS-test-rwlockattr-printers.c): Define.
11819 (CPPFLAGS-test-rwlock-printers.c): Define.
11820
11821 * nss/Makefile [ifeq (yes,$(have-thread-library))]
11822 (tests): Add tst-cancel-getpwuid_r.
11823 * nss/tst-cancel-getpwuid_r.c: New file.
11824
11825 [BZ #11941]
11826 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11827 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11828 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11829 tst-nodelete-dlclose.
11830 (modules-names): Add tst-nodelete-dlclose-dso and
11831 tst-nodelete-dlclose-plugin.
11832 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11833 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11834 ($(objpfx)tst-nodelete-dlclose): Define.
11835 ($(objpfx)tst-nodelete-dlclose.out): Define.
11836
11837 2016-12-23 Florian Weimer <fweimer@redhat.com>
11838
11839 * scripts/test_printers_common.py: Log GDB output in case of
11840 Python detection failure.
11841
11842 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11843
11844 * configure.ac: Check for python3 or python.
11845 * configure: Regenerated.
11846 * config.make.in (PYTHON): New variable.
11847 * benchtests/Makefile: Don't define PYTHON.
11848 (bench): Define target only if PYTHON was defined.
11849 * Rules: Don't define PYTHON.
11850 Define pretty printer targets only if PYTHON was defined.
11851 (tests-printers): Add to tests-unsupported if PYTHON is not
11852 found.
11853 (python-flags, python-invoke): Remove.
11854 (tests-printers-out): Use PYTHON instead of python-invoke.
11855
11856 2016-12-21 Joseph Myers <joseph@codesourcery.com>
11857
11858 [BZ #20978]
11859 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11860 Compare name == NULL, not name != NULL.
11861
11862 * manual/texinfo.tex: Update to version 2016-09-18.18 with
11863 trailing whitespace removed.
11864 * scripts/config.guess: Update to version 2016-10-02.
11865 * scripts/config.sub: Update to version 2016-11-19.
11866 * scripts/install-sh: Update to version 2016-01-11.22.
11867 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11868 * scripts/move-if-change: Update to version 2016-01-11 22:04.
11869
11870 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
11871
11872 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11873 (do_one_test) Restore original string so iteration works.
11874 * string/string-inlines.c (do_test): Create better input strings.
11875 (test_main) Reduce number of testruns.
11876 * string/string-inlines.c (__old_strsep_1c): New function.
11877 (__old_strsep_2c): Likewise.
11878 (__old_strsep_3c): Likewise.
11879 * string/strsep.c (__strsep): Remove case of small delim string.
11880 Call strcspn directly rather than strpbrk.
11881 * string/bits/string2.h (__strsep): Remove define.
11882 (__strsep_1c): Remove.
11883 (__strsep_2c): Remove.
11884 (__strsep_3c): Remove.
11885 (strsep): Remove.
11886 * sysdeps/unix/sysv/linux/internal_statvfs.c
11887 (__statvfs_getflags): Rename to __strsep.
11888
11889 2016-12-21 Florian Weimer <fweimer@redhat.com>
11890
11891 * csu/libc-tls.c (_dl_tls_setup): Remove.
11892 * elf/dl-tls.c (_dl_tls_setup): Likewise.
11893 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11894 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11895
11896 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
11897
11898 [BZ #7065]
11899 * sysdeps/x86_64/Makefile [$(subdir) = elf]
11900 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11901
11902 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
11903 Florian Weimer <fweimer@redhat.com>
11904
11905 [BZ #7065]
11906 * csu/Makefile (tests): Empty assignment and document it.
11907 (tests-static): Remove.
11908 * csu/tst-empty.c: Move to...
11909 * misc/tst-empty.c: ... here. Switch to new test driver.
11910 * csu/tst-atomic.c: Move to...
11911 * misc/tst-atomic.c: ... here. Switch to new test driver.
11912 * csu/tst-atomic-long.c: Move to...
11913 * misc/tst-atomic-long.c: ... here.
11914 * misc/Makefile (tests): Add tst-empty, tst-atomic,
11915 tst-atomic-long.
11916 (tests-static): Add tst-empty.
11917
11918 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
11919
11920 * manual/nss.texi: Change incorrect @vtable to @table.
11921 * manual/arith.texi: Convert @tables of variables to @vtables
11922 and remove unnecessary indexing.
11923 * manual/filesys.texi: Likewise.
11924 * manual/llio.texi: Likewise.
11925 * manual/memory.texi: Likewise.
11926 * manual/process.texi: Likewise.
11927 * manual/resource.texi: Likewise.
11928 * manual/search.texi: Likewise.
11929 * manual/signal.texi: Likewise.
11930 * manual/socket.texi: Likewise.
11931 * manual/stdio.texi: Likewise.
11932 * manual/sysinfo.texi: Likewise.
11933 * manual/syslog.texi: Likewise.
11934 * manual/terminal.texi: Likewise.
11935 * manual/time.texi: Likewise.
11936 * manual/users.texi: Likewise.
11937
11938 2016-12-21 Joseph Myers <joseph@codesourcery.com>
11939
11940 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11941 (roundeven): New declaration.
11942 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11943 macro.
11944 * math/Versions (roundeven): New libm symbol at version
11945 GLIBC_2.25.
11946 (roundevenf): Likewise.
11947 (roundevenl): Likewise.
11948 * math/Makefile (libm-calls): Add s_roundevenF.
11949 * math/libm-test.inc (roundeven_test_data): New array.
11950 (roundeven_test): New function.
11951 (main): Call roundeven_test.
11952 * math/test-tgmath.c (NCALLS): Increase to 134.
11953 (F(compile_test)): Call roundeven.
11954 (F(roundeven)): New function.
11955 * manual/arith.texi (Rounding Functions): Document roundeven,
11956 roundevenf and roundevenl.
11957 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11958 * include/math.h (roundeven): Use libm_hidden_proto.
11959 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11960 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11961 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11966 roundeven.
11967 (CFLAGS-nldbl-roundeven.c): New variable.
11968 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11969 * sysdeps/nacl/libm.abilist: Update.
11970 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11983 Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11987 Likewise.
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11989 Likewise.
11990 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11996 Likewise.
11997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11998 Likewise.
11999 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12002
12003 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12004
12005 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12006 preprocessor indentation inside #if.
12007
12008 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12009
12010 * math/libm-test.inc (fmt_ftostr): New function.
12011 (print_float, check_float_internal): Replace some uses of
12012 FTOSTR with uses of fmt_ftostr.
12013 (print_max_error, print_complex_max_error, print_function_ulps)
12014 (print_complex_function_ulps): Remove uses of the macros
12015 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12016 * math/test-double.h (FTOSTR): Define to strfromd.
12017 (PRINTF_EXPR): Delete.
12018 (PRINTF_XEXPR): Likewise.
12019 (PRINTF_NEXPR): Likewise.
12020 * math/test-float.h (FTOSTR): Define to strfromf.
12021 (PRINTF_EXPR): Delete.
12022 (PRINTF_XEXPR): Likewise.
12023 (PRINTF_NEXPR): Likewise.
12024 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12025 (PRINTF_EXPR): Delete.
12026 (PRINTF_XEXPR): Likewise.
12027 (PRINTF_NEXPR): Likewise.
12028
12029 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12030
12031 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12032 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12033 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12034 (__lll_lock_elision): Decrement adapt_count while unlocking
12035 instead of before locking.
12036 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12037 (__lll_trylock_elision): Likewise.
12038 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12039 (__lll_unlock_elision): Likewise.
12040
12041 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12042
12043 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12044 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12045 Use __libc_tbegin_retry macro.
12046
12047 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12048
12049 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12050 Add -msoft-float.
12051 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12052 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12053 Use __libc_t* transaction macros instead of __builtin_t*.
12054 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12056
12057 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12058
12059 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12060 (__lll_lock_elision): Use atomics to load / store adapt_count.
12061 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12062 (__lll_trylock_elision): Likewise.
12063
12064 2016-12-20 Florian Weimer <fweimer@redhat.com>
12065
12066 Do not require memset elimination in explicit_bzero test.
12067 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12068 (enum test_expectation): Add NO_EXPECTATIONS.
12069 (subtests): NO_EXPECTATIONS for ordinary clear.
12070 (check_test_buffer): Handle NO_EXPECTATIONS.
12071 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12072
12073 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12074
12075 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12076 (fmaxmag): New declaration.
12077 (fminmag): Likewise.
12078 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12079 macro.
12080 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12081 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12082 (fmaxmagf): Likewise.
12083 (fmaxmagl): Likewise.
12084 (fminmag): Likewise.
12085 (fminmagf): Likewise.
12086 (fminmagl): Likewise.
12087 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12088 * math/s_fmaxmag_template.c: New file.
12089 * math/s_fminmag_template.c: Likewise.
12090 * math/libm-test.inc (fmaxmag_test_data): New array.
12091 (fmaxmag_test): New function.
12092 (fminmag_test_data): New array.
12093 (fminmag_test): New function.
12094 (main): Call fmaxmag_test and fminmag_test.
12095 * math/test-tgmath.c (NCALLS): Increase to 132.
12096 (F(compile_test)): Call fmaxmag and fminmag.
12097 (F(fminmag)): New function.
12098 (F(fmaxmag)): Likewise.
12099 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12100 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12101 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12102 fminmag.
12103 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12104 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12105 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12108 and fminmag.
12109 (CFLAGS-nldbl-fmaxmag.c): New variable.
12110 (CFLAGS-nldbl-fminmag.c): Likewise.
12111 * sysdeps/nacl/libm.abilist: Update.
12112 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12125 Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12127 Likewise.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12129 Likewise.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12131 Likewise.
12132 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12138 Likewise.
12139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12144
12145 2016-12-19 Torvald Riegel <triegel@redhat.com>
12146
12147 [BZ #20973]
12148 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12149 wake-up in robust mutexes.
12150 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12151
12152 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12153
12154 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12155 (CFLAGS-bench-fmaxf.c): New rule.
12156 (CFLAGS-bench-fminf.c): Likewise.
12157 * benchtests/fmaxf-inputs: New file.
12158 * benchtests/fminf-inputs: Likewise.
12159
12160 * benchtests/Makefile (bench-math): Add fmin and fmax.
12161 (CFLAGS-bench-fmax.c): New rule.
12162 (CFLAGS-bench-fmin.c): Likewise.
12163 * benchtests/fmax-inputs: New file.
12164 * benchtests/fmin-inputs: Likewise.
12165
12166 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12167 parenthesis.
12168 (CMDLINE_PROCESS): Define using function instead of macro.
12169 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12170 of test-skeleton.
12171 * benchtests/bench-memchr.c: Likewise.
12172 * benchtests/bench-memcmp.c: Likewise.
12173 * benchtests/bench-memcpy-large.c: Likewise.
12174 * benchtests/bench-memcpy.c: Likewise.
12175 * benchtests/bench-memmem.c: Likewise.
12176 * benchtests/bench-memmove-large.c: Likewise.
12177 * benchtests/bench-memmove.c: Likewise.
12178 * benchtests/bench-memset-large.c: Likewise.
12179 * benchtests/bench-memset.c: Likewise.
12180 * benchtests/bench-rawmemchr.c: Likewise.
12181 * benchtests/bench-strcasecmp.c: Likewise.
12182 * benchtests/bench-strcasestr.c: Likewise.
12183 * benchtests/bench-strcat.c: Likewise.
12184 * benchtests/bench-strchr.c: Likewise.
12185 * benchtests/bench-strcmp.c: Likewise.
12186 * benchtests/bench-strcpy.c: Likewise.
12187 * benchtests/bench-strcpy_chk.c: Likewise.
12188 * benchtests/bench-strlen.c: Likewise.
12189 * benchtests/bench-strncasecmp.c: Likewise.
12190 * benchtests/bench-strncmp.c: Likewise.
12191 * benchtests/bench-strncpy.c: Likewise.
12192 * benchtests/bench-strnlen.c: Likewise.
12193 * benchtests/bench-strpbrk.c: Likewise.
12194 * benchtests/bench-strrchr.c: Likewise.
12195 * benchtests/bench-strsep.c: Likewise.
12196 * benchtests/bench-strspn.c: Likewise.
12197 * benchtests/bench-strstr.c: Likewise.
12198 * benchtests/bench-strtok.c: Likewise.
12199
12200 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12201
12202 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12203 stepping identification.
12204 (init_cpu_features): Add handle of Haswell.
12205
12206 2016-11-25 Jim Meyering <meyering@fb.com>
12207
12208 [BZ #20386]
12209 Let gcc detect assert(a = 1) errors.
12210 * assert/assert.h (assert): Rewrite, retaining the old definintion
12211 when required, but otherwise putting the expression as-is in an "if"
12212 expression (hence, with no added parentheses) within a statement
12213 expression.
12214
12215 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12216
12217 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12218 DSO.
12219
12220 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12221
12222 * Rules (python-flags, python-invoke): New.
12223 ($(test-printers-out)): Use $(python-flags).
12224
12225 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12226
12227 * manual/arith.texi (Math Error Reporting): Document that sNaN
12228 arguments are not considered domain errors.
12229
12230 2016-12-16 Zack Weinberg <zackw@panix.com>
12231 Florian Weimer <fweimer@redhat.com>
12232 Nick Mathewson <nickm@torproject.org>
12233
12234 * string/explicit_bzero.c: New routine.
12235 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12236 * string/Makefile (routines, strop-tests, tests): Add them.
12237 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12238 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12239
12240 * debug/explicit_bzero_chk.c: New routine.
12241 * debug/Makefile (routines): Add it.
12242 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12243 * string/bits/string3.h: Fortify explicit_bzero.
12244
12245 * manual/string.texi: Document explicit_bzero.
12246 * NEWS: Mention addition of explicit_bzero.
12247
12248 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12249 data before returning, using explicit_bzero.
12250 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12251 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12252 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12253
12254 * include/string.h: Redirect internal uses of explicit_bzero
12255 to __explicit_bzero_chk[_internal].
12256 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12257 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12258 * sysdeps/arm/nacl/libc.abilist
12259 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12260 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12261 * sysdeps/unix/sysv/linux/arm/libc.abilist
12262 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12263 * sysdeps/unix/sysv/linux/i386/libc.abilist
12264 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12265 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12267 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12268 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12269 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12270 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12271 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12272 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12277 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12278 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12279 * sysdeps/unix/sysv/linux/sh/libc.abilist
12280 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12284 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12285 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12286 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12287 Add entries for explicit_bzero and __explicit_bzero_chk.
12288
12289 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12290
12291 * math/fenv.h
12292 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12293 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12294 * math/test-fe-snans-always-signal.c: New file.
12295 * math/Makefile (tests): Add test-fe-snans-always-signal.
12296 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12297 * manual/arith.texi (Infinity and NaN): Document
12298 FE_SNANS_ALWAYS_SIGNAL.
12299
12300 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301
12302 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12303 bracket.
12304
12305 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12306
12307 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12308 before calling execv.
12309
12310 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12311
12312 [BZ #20971]
12313 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12314 overflow in pointer addition.
12315 * string/test-memchr.c (do_test): Add an argument to pass as
12316 the size on memchr.
12317 (test_main): Add check for SIZE_MAX.
12318
12319 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12320
12321 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12322 (libm-calls): Add w_scalblnF.
12323 * math/w_scalbln.c: Remove.
12324 * math/w_scalblnf.c: Likewise.
12325 * math/w_scalblnl.c: Likewise.
12326 * math/w_scalbln_template.c: New file with type-generic
12327 implementation based on math/w_scalbln.c.
12328 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12329 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12330
12331 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12332
12333 [BZ #20947]
12334 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12335 either is a signaling NaN.
12336 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12337 follow fmaxl more closely.
12338 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12339 when either is a signaling NaN.
12340 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12341 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12342 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12343 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12344 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12345 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12346 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12347 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12348 (fmin_test_data): Likewise.
12349
12350 2016-12-15 Andreas Schwab <schwab@suse.de>
12351
12352 * support/support_test_main.c (support_test_main): Don't shadow
12353 file-local variable test_pid.
12354
12355 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12356
12357 [BZ #20947]
12358 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12359 either is a signaling NaN.
12360 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12361
12362 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #20947]
12365 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12366 when either is a signaling NaN.
12367 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12368
12369 * bits/long-double.h: New file.
12370 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12371 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12372 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12373 * sysdeps/mips/bits/long-double.h: Likewise.
12374 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12375 * math/Makefile (headers): Add bits/long-double.h.
12376 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12377 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12378 <bits/wordsize.h>.
12379 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12380 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12381 * math/math.h: Do not include <bits/mathdef.h>.
12382 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12383 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12384 inclusion.
12385 * sysdeps/ia64/bits/mathdef.h: Remove file.
12386 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12387 * sysdeps/mips/bits/mathdef.h: Likewise.
12388 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12389 * sysdeps/s390/bits/mathdef.h: Likewise.
12390 * sysdeps/sparc/bits/mathdef.h: Likewise.
12391 * sysdeps/x86/bits/mathdef.h: Likewise.
12392 * sysdeps/s390/s390-32/bits/wordsize.h
12393 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12394 conditional code.
12395 * sysdeps/s390/s390-64/bits/wordsize.h
12396 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12399 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12400 Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12402 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12403 Likewise.
12404 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12405 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12406 Likewise.
12407
12408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12409 <linux/falloc.h>.
12410 (FALLOC_FL_KEEP_SIZE): Remove.
12411 (FALLOC_FL_PUNCH_HOLE): Likewise.
12412 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12413 (FALLOC_FL_ZERO_RANGE): Likewise.
12414
12415 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12416
12417 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12418
12419 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12420
12421 * sysdeps/unix/sysv/linux/renameat.c: New file.
12422 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12423
12424 * sysdeps/unix/sysv/linux/rename.c: New file.
12425 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12426
12427 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12428
12429 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12430 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12431 * string/strtok_r.c (__strtok_r): Optimize for performance.
12432 * string/string-inlines.c (__old_strtok_r_1c): New function.
12433 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12434
12435 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12436
12437 * math/Makefile (gen-libm-calls): Add w_log1pF.
12438 (libm-calls): Remove w_log1pF.
12439 * math/w_log1p.c: Remove.
12440 * math/w_log1pf.c: Likewise.
12441 * math/w_log1pl.c: Likewise.
12442 * math/w_log1p_template.c: New file with type-generic
12443 implementation based on math/w_log1p.c.
12444 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12445 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12446
12447 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12448
12449 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12450
12451 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12452
12453 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12454 kernel version to 4.9.
12455
12456 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12457
12458 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12459 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12460
12461 2016-12-13 Andreas Schwab <schwab@suse.de>
12462
12463 * sysdeps/powerpc/dl-procinfo.c: Don't define
12464 _dl_powerpc_platforms.
12465 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12466 constants instead of referencing _dl_powerpc_platforms.
12467 (_dl_platform_string): Remove.
12468
12469 2016-12-13 Florian Weimer <fweimer@redhat.com>
12470
12471 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12472
12473 2016-12-13 Florian Weimer <fweimer@redhat.com>
12474
12475 * Rules (binaries-shared-tests, binaries-pie-tests)
12476 (binaries-static-tests): Link with $(link-extra-libs-tests).
12477 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12478 Remove $(link-extra-libs-tests).
12479
12480 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12481
12482 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12483 (sysdep_routines): Add strncmp_power9.
12484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12485 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12486 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12487 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12488 (strncmp): Add __strncmp_power9 to ifunc list.
12489 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12490
12491 2016-12-12 Florian Weimer <fweimer@redhat.com>
12492
12493 [BZ #17252]
12494 Add getentropy, getrandom.
12495 * stdlib/sys/random.h: New file.
12496 (headers): Add it.
12497 * stdlib/Makefile (routines): Add getentropy, getrandom.
12498 (tests): Add tst-getrandom.
12499 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12500 * stdlib/getentropy.c: New file.
12501 * stdlib/getrandom.c: Likewise.
12502 * stdlib/tst-getrandom.c: Likewise.
12503 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12504 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12505 * manual/crypt.texi (Unpredictable Bytes): New section.
12506 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12507 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12508 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12523 Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12525 Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12538
12539 2016-12-10 Florian Weimer <fweimer@redhat.com>
12540
12541 [BZ #20956]
12542 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12543 as additional compiler barriers.
12544 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12545 (fn2, do_test): Declare with external linkage.
12546 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12547 (do_test): Declare with external linkage.
12548 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12549 (do_test): Declare with external linkage.
12550 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12551 (do_test): Declare with external linkage.
12552
12553 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12554
12555 * support/support_test_main.c (support_test_main): Use correct
12556 timeout.
12557
12558 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12559 Florian Weimer <fweimer@redhat.com>
12560
12561 [BZ #16421]
12562 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12563 and __u6_addr32 members.
12564 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12565 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12566 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12567 Use __u6_addr32.
12568 * inet/tst-checks.c: Use <support/test-driver.c>
12569 * inet/tst-checks-posix.c: New file.
12570 * inet/Makefile (tests): Add it.
12571 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12572
12573 2016-12-09 Florian Weimer <fweimer@redhat.com>
12574
12575 New subdirectory support for build and test infrastructure.
12576 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
12577 setting install-lib.
12578 * Makeconfig (link-extra-libs-tests): Define.
12579 (+link-pie-tests, +link-static-tests, +link-tests): Use
12580 link-extra-libs-tests.
12581 (rpath-dirs, all-subdirs): Add support.
12582 (built-modules): Add libsupport.
12583 (libsupport): Define.
12584 * support: New directory.
12585 * support/Makefile: New file.
12586 * support/check.c: Likewise.
12587 * support/check.h: Likewise.
12588 * support/delayed_exit.c: Likewise.
12589 * support/ignore_stderr.c: Likewise.
12590 * support/oom_error.c: Likewise.
12591 * support/set_fortify_handler.c: Likewise.
12592 * support/support.h: Likewise.
12593 * support/temp_file-internal.h: Likewise.
12594 * support/temp_file.c: Likewise.
12595 * support/test-driver.c: Likewise.
12596 * support/test-driver.h: Likewise.
12597 * support/test_main.c: Likewise.
12598 * support/write_message.c: Likewise.
12599 * support/xasprintf.c: Likewise.
12600 * support/xcalloc.c: Likewise.
12601 * support/xmalloc.c: Likewise.
12602 * support/xpthread_barrier_destroy.c: Likewise.
12603 * support/xpthread_barrier_init.c: Likewise.
12604 * support/xpthread_barrier_wait.c: Likewise.
12605 * support/xpthread_cancel.c: Likewise.
12606 * support/xpthread_check_return.c: Likewise.
12607 * support/xpthread_cond_wait.c: Likewise.
12608 * support/xpthread_create.c: Likewise.
12609 * support/xpthread_detach.c: Likewise.
12610 * support/xpthread_join.c: Likewise.
12611 * support/xpthread_mutex_lock.c: Likewise.
12612 * support/xpthread_mutex_unlock.c: Likewise.
12613 * support/xpthread_sigmask.c: Likewise.
12614 * support/xpthread_spin_lock.c: Likewise.
12615 * support/xpthread_spin_unlock.c: Likewise.
12616 * support/xrealloc.c: Likewise.
12617 * support/xsignal.h: Likewise.
12618 * support/xthread.h: Likewise.
12619 * support_tempfile.h: Likewise.
12620 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12621 (TEST_DATA_LIMIT): Remove unused macro.
12622 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
12623 <support/check.h>.
12624 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12625 (ignore_stderr, set_fortify_handler): Remove. Now in
12626 <support/support.h>.
12627 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
12628 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12629 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12630 (xpthread_join): Remove. Now in <support/xthread.h>.
12631 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12632 Introduce legacy wrappers.
12633 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12634 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12635 (write_message): Remove.
12636 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12637 test-skeleton.c.
12638 * io/test-open-tmpfile: Likewise.
12639 * io/tst-posix_fallocate-common.c: Likewise.
12640 * libio/tst-fseek.c: Likewise.
12641 * malloc/tst-malloc-backtrace.c: Likewise.
12642 * malloc/tst-malloc-fork-deadlock.c: Likewise.
12643 * malloc/tst-malloc-thread-exit.c: Likewise.
12644 * nptl/tst-cancel7.c: Likewise.
12645 * nptl/tst-cleanup0.c: Likewise.
12646 * posix/tst-posix_fadvise-common.c: Likewise.
12647 * rt/tst-shm.c: Likewise.
12648 * time/bug-getdate1.c: Likewise.
12649 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12650 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12651 * elf/Makefile (tst-piemod1.so): Link against libsupport.
12652
12653 2016-12-08 Joseph Myers <joseph@codesourcery.com>
12654
12655 * Rules [$(run-built-tests) != no] (tests-expected): Add
12656 $(tests-printers).
12657 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12658
12659 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
12660
12661 [BZ #20539]
12662 * math/Makefile (install-lib-ldscripts): Add libm.a.
12663 (install_subdir): Remove.
12664 (install-others): Add.
12665 ($(inst_libdir)/libm.a): Add rule for installation as
12666 linker script.
12667 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12668
12669 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
12670
12671 * INSTALL: Regenerated.
12672 * Makeconfig: Add comments and whitespace to make the control flow
12673 clearer.
12674 (+link-printers-tests, +link-pie-printers-tests,
12675 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12676 built-rtld-LDFLAGS, link-libc-rpath,
12677 link-libc-tests-after-rpath-link,
12678 link-libc-printers-tests): New.
12679 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12680 link-libc-tests): Use the new variables as required.
12681 * Makerules ($(py-const)): New rule.
12682 generated: Add $(py-const).
12683 * README.pretty-printers: New file.
12684 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12685 (others): Depend on $(py-const).
12686 (tests): Depend on $(tests-printers-programs) or
12687 $(tests-printers-out),
12688 as required. Pass $(tests-printers) to merge-test-results.sh.
12689 * manual/install.texi: Add requirements for testing the pretty
12690 printers.
12691 * nptl/Makefile (gen-py-const-headers, pretty-printers,
12692 tests-printers, CFLAGS-test-mutexattr-printers.c
12693 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
12694 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
12695 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
12696 * nptl/nptl-printers.py: New file.
12697 * nptl/nptl_lock_constants.pysym: Likewise.
12698 * nptl/test-cond-printers.c: Likewise.
12699 * nptl/test-cond-printers.py: Likewise.
12700 * nptl/test-condattr-printers.c: Likewise.
12701 * nptl/test-condattr-printers.py: Likewise.
12702 * nptl/test-mutex-printers.c: Likewise.
12703 * nptl/test-mutex-printers.py: Likewise.
12704 * nptl/test-mutexattr-printers.c: Likewise.
12705 * nptl/test-mutexattr-printers.py: Likewise.
12706 * nptl/test-rwlock-printers.c: Likewise.
12707 * nptl/test-rwlock-printers.py: Likewise.
12708 * nptl/test-rwlockattr-printers.c: Likewise.
12709 * nptl/test-rwlockattr-printers.py: Likewise.
12710 * scripts/gen-py-const.awk: Likewise.
12711 * scripts/test_printers_common.py: Likewise.
12712 * scripts/test_printers_exceptions.py: Likewise.
12713
12714 2016-12-07 Joseph Myers <joseph@codesourcery.com>
12715
12716 * scripts/build-many-glibcs.py (Context.__init__): Take strip
12717 argument.
12718 (Glibc.build_glibc): Strip installed shared libraries if
12719 requested.
12720 (get_parser): Add --strip option.
12721 (main): Update Context call.
12722
12723 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12724 Dominik Vogt <vogt@linux.vnet.ibm.com>
12725
12726 [BZ #20847]
12727 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12728 array bounds for else branch.
12729 (__execvpe): Style fixes.
12730 * posix/tst-vfork3.c (run_script): New function.
12731 (create_script): Likewise.
12732 (do_test): Use run_script internal function.
12733 (do_prepare): Use create_script internal function.
12734
12735 2016-12-07 Andreas Schwab <schwab@suse.de>
12736
12737 * sysdeps/unix/sysv/linux/x86/elision-conf.h
12738 (__elision_available): Don't declare.
12739 * sysdeps/unix/sysv/linux/x86/elision-conf.c
12740 (__elision_available): Don't define.
12741 (elision_init): Don't set __elision_available.
12742
12743 2016-12-07 Joseph Myers <joseph@codesourcery.com>
12744
12745 [BZ #20940]
12746 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12747 return Inf for arguments Inf and sNaN.
12748 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12749 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12750 Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12752 Likewise.
12753 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12754 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12755 for arguments Inf and sNaN. When returning a NaN, compute it by
12756 arithmetic on the arguments.
12757 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12758 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12759 arguments.
12760
12761 2016-12-06 Joseph Myers <joseph@codesourcery.com>
12762
12763 [BZ #20916]
12764 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12765 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
12766 to compute result.
12767 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12768 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12769
12770 2016-12-05 Torvald Riegel <triegel@redhat.com>
12771
12772 * include/atomic.h (__atomic_check_size_ls): New.
12773 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12774 atomic_store_release): Use it.
12775 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12776 (elision_adapt, ELIDE_LOCK): Use atomics.
12777 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12778 atomics and improve code comments.
12779 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12780 (__lll_trylock_elision): Likewise.
12781
12782 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12783
12784 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12785 programs.
12786
12787 2016-12-02 Joseph Myers <joseph@codesourcery.com>
12788
12789 [BZ #20916]
12790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12791 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
12792 arguments to compute result.
12793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12794 1 for arguments (sNaN, 0) or (1, sNaN).
12795 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12797
12798 [BZ #20919]
12799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12800 NaN first argument when raised to power 0.
12801 * math/w_pow.c (__pow): Do not check for NaN or zero results from
12802 raising to power zero.
12803 * math/w_powf.c (__powf): Likewise.
12804 * math/w_powl.c (__powl): Likewise.
12805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12806 pow (0, 0) or pow (NaN, 0).
12807
12808 2016-12-02 Carlos O'Donell <carlos@redhat.com>
12809
12810 [BZ #20918]
12811 * configure.ac: Test for static NSS cryptographic libraries and set
12812 libc_cv_static_nss_crypt.
12813 * configure: Regenerate.
12814 * config.make.in (static-nss-crypt): Define.
12815 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12816 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12817 (CFLAGS-tst-linkall-static.c): Define.
12818 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12819 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12820 ($(objpfx)tst-linkall-static): Define.
12821 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12822 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12823
12824 2016-12-02 Florian Weimer <fweimer@redhat.com>
12825
12826 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12827 (one-hundred, tst-tls-many-dynamic-modules): Define.
12828 (modules-names): Add $(tst-tls-many-dynamic-modules).
12829 (tst-tls-manydynamic%mod.os): Build with special preprocessor
12830 macros.
12831 (tst-tls-manydynamic): Link against libdl, libpthread.
12832 (tst-tls-manydynamic.out): The test needs the test modules at run
12833 time.
12834 * elf/tst-tls-manydynamic.c: New file.
12835 * elf/tst-tls-manydynamic.h: Likewise.
12836 * elf/tst-tls-manydynamicmod.c: Likewise.
12837
12838 2016-12-02 Florian Weimer <fweimer@redhat.com>
12839
12840 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12841 (TLS_DTV_UNALLOCATED): Add.
12842 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12843 offsets.
12844
12845 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
12846
12847 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12848
12849 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
12850
12851 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12852 Add -fno-optimize-sibling-calls.
12853
12854 2016-12-02 Joseph Myers <joseph@codesourcery.com>
12855
12856 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12857 New declaration.
12858 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12859 macro.
12860 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12861 New macro.
12862 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12863 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12864 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12865 (llogbf): Likewise.
12866 (llogbl): Likewise.
12867 * math/Makefile (gen-libm-calls): Add w_llogbF.
12868 (tests): Add test-fp-llogb-constants.
12869 * math/w_llogb_template.c: New file. Based on
12870 math/w_ilogb_template.c.
12871 * math/libm-test.inc (llogb_test_data): New array.
12872 (llogb_test): New function.
12873 (main): Call llogb_test.
12874 * math/test-fp-llogb-constants.c: New file. Based on
12875 math/test-fp-ilogb-constants.c.
12876 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12877 (do_test): Call check_return_llogb.
12878 * math/test-tgmath.c (NCALLS): Increase to 126.
12879 (F(compile_test)): Call llogb.
12880 (F(llogb)): New function.
12881 * manual/math.texi (Exponents and Logarithms): Document llogb,
12882 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12883 * manual/libm-err-tab.pl (@all_functions): Add llogb.
12884 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12885 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12887 (CFLAGS-nldbl-llogb.c): New variable.
12888 * sysdeps/nacl/libm.abilist: Update.
12889 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12902 Likewise.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12904 Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12906 Likewise.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12908 Likewise.
12909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12915 Likewise.
12916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12917 Likewise.
12918 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12921
12922 2016-12-01 Joseph Myers <joseph@codesourcery.com>
12923
12924 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12925 _Float128 instead of long double.
12926 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12927
12928 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12929 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12930 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12931 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12932 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12933 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12934 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12935 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12937 Likewise.
12938
12939 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12940
12941 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12942 Remove redirection to __strrchr_ppc.
12943
12944 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12945
12946 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12947 (sysdep_routines): Add strcmp_power9.
12948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12949 (strcmp): Add __strcmp_power9 to list of strcmp functions.
12950 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12951 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12952 (strcmp): Add __strcmp_power9 to ifunc list.
12953 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12954
12955 2016-12-01 Joseph Myers <joseph@codesourcery.com>
12956
12957 * bits/fp-logb.h: New file.
12958 * sysdeps/ia64/bits/fp-logb.h: Likewise.
12959 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12960 * sysdeps/x86/bits/fp-logb.h: Likewise.
12961 * math/Makefile (headers): Add bits/fp-logb.h.
12962 * math/math.h: Include <bits/fp-logb.h>.
12963 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12964 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12965 * bits/mathdef.h (FP_ILOGB0): Remove.
12966 (FP_ILOGBNAN): Likewise.
12967 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12968 (FP_ILOGBNAN): Likewise.
12969 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12970 (FP_ILOGBNAN): Likewise.
12971 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12972 (FP_ILOGBNAN): Likewise.
12973 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12974 (FP_ILOGBNAN): Likewise.
12975 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12976 (FP_ILOGBNAN): Likewise.
12977 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12978 (FP_ILOGBNAN): Likewise.
12979 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12980 (FP_ILOGBNAN): Likewise.
12981 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12982 (FP_ILOGBNAN): Likewise.
12983 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12984 (FP_ILOGBNAN): Likewise.
12985
12986 * scripts/build-many-glibcs.py: Add bot to usage message. Import
12987 time module.
12988 (Context.__init__): Initialize self.logsdir_old.
12989 (Context.run_builds): Handle bot action.
12990 (Context.bot_cycle): Copy logs directory before running builds.
12991 (Context.bot_run_self): Take argument for whether to check
12992 subprocess result. Flush stdout before running subprocess.
12993 (Context.bot): New function.
12994 (get_parser): Allow bot action.
12995
12996 2016-11-30 Joseph Myers <joseph@codesourcery.com>
12997
12998 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12999 Import email.mime.text, email.utils and smtplib modules.
13000 (Context.__init__): Initialize self.bot_config_json.
13001 (Context.run_builds): Handle bot-cycle action.
13002 (Context.load_bot_config_json): New function.
13003 (Context.part_build_old): Likewise.
13004 (Context.bot_cycle): Likewise.
13005 (Context.bot_build_mail): Likewise.
13006 (Context.bot_run_self): Likewise.
13007 (get_parser): Allow bot-cycle action.
13008
13009 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13010
13011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13012 Remove redirection to __stpcpy_ppc.
13013
13014 2016-11-30 Florian Weimer <fweimer@redhat.com>
13015
13016 Remove __libc_memalign from ld.so because it is unused.
13017 * elf/dl-minimal.c: Update comment on the malloc implementation.
13018 (malloc): Renamed from __libc_memalign, replacing the original
13019 malloc implementation. Replace the align parameter with
13020 MALLOC_ALIGNMENT.
13021 * elf/Versions (ld): Update comment and remove __libc_memalign.
13022 * sysdeps/nacl/ld.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13049 * sysdeps/generic/localplt.data (ld.so): Likewise.
13050 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13051 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13052 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13053 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13054 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13055 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13056 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13057 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13058 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13060 (ld.so): Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13062 (ld.so): Likewise.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13064 Likewise.
13065 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13066 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13069 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13070
13071 2016-11-30 Florian Weimer <fweimer@redhat.com>
13072
13073 [BZ #16628]
13074 Implement _dl_catch_error, _dl_signal_error in libc.so.
13075 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13076 (catch_hook): Define as thread-local or regular variable,
13077 depending on DL_ERROR_BOOTSTRAP.
13078 (CATCH_HOOK): Remove.
13079 (dl_signal_error, _dl_catch_error): Use
13080 catch_hook. Add hidden definition for libc.
13081 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13082 for DL_ERROR_BOOTSTRAP only.
13083 * elf/dl-error.c: New file.
13084 * elf/dl-error-minimal.c: Likewise.
13085 * elf/tst-latepthread.c: Likewise.
13086 * elf/tst-latepthreadmod.c: Likewise.
13087 * elf/Makefile (routines): Add dl-error.
13088 (dl-routines): Remove dl-error.
13089 (rtld-routines): Add dl-error-minimal.
13090 [build-shared] (tests): Add tst-latepthread.
13091 (module-names): Add tst-latepthreadmod.
13092 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13093 symbol.
13094 (tst-latepthreadmod.so): Link against libpthread.
13095 (tst-latepthread): Link against libdbl.
13096 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13097 _dl_catch_error.
13098 [ld] (GLIBC_PRIVATE): Likewise.
13099 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13100 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13101 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13102 directly.
13103 * elf/dl-tsd.c: Remove file.
13104 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13105 _dl_catch_error, _dl_signal_error.
13106 (_dl_initial_error_catch_tsd): Remove definition.
13107 (do_preload): Remove initialization of dl_error_catch_tsd.
13108 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13109 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13110 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13111 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13112 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13113 set dl_error_catch_tsd.
13114 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13115 _dl_error_catch_tsd member.
13116 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13117 members.
13118 (_dl_initial_error_catch_tsd): Remove declaration.
13119 (_dl_dprintf): Provide definition for use outside of ld.so.
13120 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13121 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13122 prototype for libc.
13123 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13124 _dl_catch_error.
13125 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13126 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13127 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13128 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13129 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13130 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13131 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13132 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13133 Likewise.
13134 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13136 (ld.so): Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13138 (ld.so): Likewise.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13140 Likewise.
13141 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13142 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13143 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13144 Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13146 Likewise.
13147 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13148
13149 2016-11-30 Florian Weimer <fweimer@redhat.com>
13150
13151 [BZ #4099]
13152 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13153 _IO_BUFSIZ (8192).
13154
13155 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13156
13157 * PROJECTS: Remove file.
13158
13159 2016-11-29 Florian Weimer <fweimer@redhat.com>
13160
13161 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13162
13163 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13164 Steve Ellcey <sellcey@caviumnetworks.com>
13165
13166 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13167 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13168 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13169 fxstatat.
13170 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13171 lxstat.
13172 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13173 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13174 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13175 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13176 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13177 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13178 __xstat.
13179
13180 2016-11-29 Florian Weimer <fweimer@redhat.com>
13181
13182 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13183 Define.
13184 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13185 definition.
13186
13187 2016-11-29 Florian Weimer <fweimer@redhat.com>
13188
13189 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13190 version and turn into strong alias. Remove compat symbol.
13191
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13193 (__longjmp): Remove.
13194
13195 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13196
13197 * bits/fp-fast.h: New file.
13198 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13199 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13200 * math/Makefile (headers): Add bits/fp-fast.h.
13201 * math/math.h: Include <bits/fp-fast.h>.
13202 * bits/mathdef.h (FP_FAST_FMA): Remove.
13203 (FP_FAST_FMAF): Likewise.
13204 (FP_FAST_FMAL): Likewise.
13205 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13206 (FP_FAST_FMAF): Likewise.
13207 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13208 (FP_FAST_FMAF): Likewise.
13209 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13210 (FP_FAST_FMAF): Likewise.
13211 (FP_FAST_FMAL): Likewise.
13212 * sysdeps/arm/bits/mathdef.h: Remove file.
13213 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13214 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13215 * sysdeps/tile/bits/mathdef.h: Likewise.
13216
13217 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13218
13219 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13220 * math/w_ilogb.c: Remove.
13221 * math/w_ilogbf.c: Likewise.
13222 * math/w_ilogbl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13224 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13225 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13226 (libm-calls): Remove w_ilogbF.
13227 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13228 (LDOUBLE_ilogbl_libm_version): New macro.
13229
13230 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13231
13232 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13233 [!__STRICT_ANSI__ && !__cplusplus].
13234
13235 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13236
13237 [BZ #20750]
13238 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13239 of PIC.
13240
13241 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13242 Yury Norov <ynorov@caviumnetworks.com>
13243 Steve Ellcey <sellcey@caviumnetworks.com>
13244
13245 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13246 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13247 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13248 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13249 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13250 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13251 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13252 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13253 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13254 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13255 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13256 to get correct reg name for ILP32.
13257 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13258 (RELA_SIZE): New Macro.
13259 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13260 to support ILP32.
13261 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13262 cast for ILP32 mode.
13263 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13264 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13265 * sysdeps/aarch64/memset.S (__memset): Ditto.
13266 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13267 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13268 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13269 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13270 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13271 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13272 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13273 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13274 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13275 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13276 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13277 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13278 change PTR_MANGLE call to use register numbers instead of names.
13279 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13280 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13281 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13282 * sysdeps/aarch64/start.S (_start): Ditto.
13283 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13284 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13285 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13286 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13287 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13288 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13289 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13290 Make defined values dependent on __ILP32__.
13291 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13292 (sem_t): Change __align type.
13293 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13294 PTR_SIZE): New Macros.
13295 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13296 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13297 Set when in ILP32 mode.
13298 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13299 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13300 Set elf flags for ILP32.
13301 (add_system_dir): Set ILP32 library directories.
13302 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13303 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13304 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13305 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13306 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13307 New Macros.
13308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13309
13310 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13311
13312 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13313 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13314 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13315
13316 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13317
13318 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13319 <asm/cachectl.h>.
13320
13321 2016-11-27 Zack Weinberg <zackw@panix.com>
13322
13323 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13324 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13325
13326 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13327
13328 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13329 error_t to fix usage in C++ programs.
13330
13331 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13332
13333 * scripts/build-many-glibcs.py: Import datetime module.
13334 (Context.__init__): Load JSON build state. Initialize list of
13335 status logs.
13336 (Context.run_builds): Update saved build state.
13337 (Context.add_makefile_cmdlist): Update list of status logs.
13338 (Context.load_build_state_json): New function.
13339 (Context.store_build_state_json): Likewise.
13340 (Context.clear_last_build_state): Likewise.
13341 (Context.update_build_state): Likewise.
13342 (CommandList.status_logs): Likewise.
13343
13344 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13345
13346 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13347 script being executed.
13348 (Context.get_script_text): New function.
13349 (Context.exec_self): Likewise.
13350 (Context.checkout): Re-exec script if changed by checkout process.
13351
13352 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13353
13354 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13355 (setpayloadsig): New declaration.
13356 * math/Versions (setpayloadsig): New libm symbol at version
13357 GLIBC_2.25.
13358 (setpayloadsigf): Likewise.
13359 (setpayloadsigl): Likewise.
13360 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13361 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13362 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13363 (setpayloadsig_test_data): New array.
13364 (setpayloadsig_test): New function.
13365 (main): Call setpayloadsig_test.
13366 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13367 setpayloadsigf and setpayloadsigl.
13368 * manual/libm-err-tab.pl: Update comment on interfaces without
13369 ulps tabulated.
13370 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13371 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13376 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13377 setpayloadsig.
13378 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13379 * sysdeps/nacl/libm.abilist: Update.
13380 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13393 Likewise.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13395 Likewise.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13397 Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13399 Likewise.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13406 Likewise.
13407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13408 Likewise.
13409 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13412
13413 * scripts/build-many-glibcs.py: Import json module.
13414 (Context.__init__): Take replace_sources argument. Load
13415 versions.json.
13416 (Context.load_versions_json): New function.
13417 (Context.store_json): Likewise.
13418 (Context.store_versions_json): Likewise.
13419 (Context.set_component_version): Likewise.
13420 (Context.checkout): Update versions.json. Check for and handle
13421 changes of version. Prefer previously explicitly specified
13422 version to default version.
13423 (Context.checkout_vcs): Return a revision identifier.
13424 (Context.git_checkout): Likewise.
13425 (Context.gcc_checkout): Likewise.
13426 (get_parser): Add --replace-sources option.
13427 (main): Pass replace_sources argument to Context call.
13428
13429 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13430
13431 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13432 * nptl/allocatestack.c (allocate_stack): Likewise.
13433 (__reclaim_stacks): Likewise.
13434 (setxid_signal_thread): Obtain pid through syscall.
13435 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13436 (sighandle_setxid): Likewise.
13437 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13438 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13439 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13440 Likewise.
13441 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13442 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13443 comment.
13444 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13445 * nptl/descr.h (struct pthread): Change comment about pid value.
13446 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13447 pid assert.
13448 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13449 Do not set pid value.
13450 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13451 pid cache check.
13452 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13453 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13454 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13455 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13456 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13457 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13458 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13459 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13460 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13461 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13462 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13463 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13464 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13465 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13466 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13467 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13468 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13469 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13470 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13471 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13472 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13473 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13474 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13475 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13476 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13479 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13480 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13481 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13484 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13486 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13487 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13488 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13489 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13490 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13491 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13492 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13493 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13494 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13497 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13498 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13499 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13500 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13502 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13503 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13504 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13505 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13506 struct access.
13507 (clone_test): Remove function.
13508 (do_test): Rewrite to take in consideration pid is not cached anymore.
13509
13510 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13511
13512 * bits/flt-eval-method.h: New file.
13513 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13514 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13515 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13516 * math/Makefile (headers): Add bits/flt-eval-method.h.
13517 * math/math.h: Include <bits/flt-eval-method.h>.
13518 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13519 [__USE_ISOC99] (double_t): Likewise.
13520 * bits/mathdef.h (float_t): Remove.
13521 (double_t): Likewise.
13522 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13523 (double_t): Likewise.
13524 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13525 (double_t): Likewise.
13526 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13527 (double_t): Likewise.
13528 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13529 (double_t): Likewise.
13530 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13531 (double_t): Likewise.
13532 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13533 (double_t): Likewise.
13534 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13535 (double_t): Likewise.
13536 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13537 (double_t): Likewise.
13538 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13539 (double_t): Likewise.
13540 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13541 (double_t): Likewise.
13542 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13543 (double_t): Likewise.
13544 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13545 (double_t): Likewise.
13546 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13547 (double_t): Likewise.
13548
13549 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13550
13551 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13552 instead of PIC.
13553
13554 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13555
13556 [BZ #20859]
13557 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13558 (-0x7fffffff) instead of 0x80000001.
13559 * math/test-fp-ilogb-constants.c: New file.
13560 * math/Makefile (tests): Add test-fp-ilogb-constants.
13561
13562 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
13563
13564 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13565 (_init): Use it in place of hardcoded R_MIPS_JALR.
13566 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13567 (_init): Use it in place of hardcoded R_MIPS_JALR.
13568 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13569 (_init): Use it in place of hardcoded R_MIPS_JALR.
13570
13571 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #20787]
13574 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13575 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13576 (double_t): Do not define to double if [__x86_64__] when
13577 __FLT_EVAL_METHOD__ is nonzero.
13578 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13579 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13580 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13581 test-flt-eval-method-387 and test-flt-eval-method-sse.
13582 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13583 variable.
13584 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13585
13586 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
13587
13588 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13589 use of -fno-isolate-erroneous-paths options for tilepro.
13590
13591 2016-11-23 Florian Weimer <fweimer@redhat.com>
13592
13593 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13594 structure initialization is no longer needed.
13595
13596 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13597
13598 [BZ #20855]
13599 * bits/mathdef.h (float_t): Define to float.
13600 * math/test-flt-eval-method.c: New file.
13601 * math/Makefile (tests): Add test-flt-eval-method.
13602 (CFLAGS-test-flt-eval-method.c): New variable.
13603
13604 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
13605
13606 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13607 and __fstatfs. Make them aliases of __fstatfs64 if
13608 STATFS_IS_STATFS64 is set to non-zero.
13609 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13610 and __statfs64.
13611 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13612 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13613 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13614 for __statfs and statfs.
13615 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13616 to 0.
13617 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13618 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13619 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13620 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13621 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13622 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13625 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13627 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13628 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13629
13630 2016-11-22 Andreas Schwab <schwab@suse.de>
13631
13632 * misc/mkstemp.c: Include <fcntl.h>.
13633 * misc/mkstemps.c: Likewise.
13634 * misc/mkostemp.c: Likewise.
13635 * misc/mkostemps.c: Likewise.
13636
13637 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
13638
13639 [BZ #20847]
13640 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13641 array bounds.
13642 (__execvpe): Likewise.
13643
13644 2016-11-22 Joseph Myers <joseph@codesourcery.com>
13645
13646 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13647 -fno-isolate-erroneous-paths options for tilepro.
13648
13649 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
13650
13651 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13652 to 0 when in 32 bit mode.
13653 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13654 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13655 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13656 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13658 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13659 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13660 XSTAT_IS_XSTAT64 test.
13661 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13662 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13663 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13664 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13665 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13666 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13667 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13668 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13669 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13670 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13671 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13672
13673 2016-11-19 Joseph Myers <joseph@codesourcery.com>
13674
13675 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13676 (setpayload): New declaration.
13677 * math/Versions (setpayload): New libm symbol at version
13678 GLIBC_2.25.
13679 (setpayloadf): Likewise.
13680 (setpayloadl): Likewise.
13681 * math/Makefile (libm-calls): Add s_setpayloadF.
13682 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13683 test_Ff_b1_data.
13684 (RUN_TEST_Ff_b1): New macro.
13685 (RUN_TEST_LOOP_Ff_b1): Likewise.
13686 (canonicalize_test_data): Update type.
13687 (setpayload_test_data): New array.
13688 (setpayload_test): New function.
13689 (main): Call setpayload_test.
13690 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
13691 setpayloadf and setpayloadl.
13692 * manual/libm-err-tab.pl: Update comment on interfaces without
13693 ulps tabulated.
13694 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
13695 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
13697 Likewise.
13698 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13704 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13706 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13707 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13708 setpayload.
13709 (CFLAGS-nldbl-setpayload.c): New variable.
13710 * sysdeps/nacl/libm.abilist: Update.
13711 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13724 Likewise.
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13726 Likewise.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13728 Likewise.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13730 Likewise.
13731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13737 Likewise.
13738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13739 Likewise.
13740 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13743
13744 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13745
13746 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13747 * include/unistd.h: Extend comment about __access_noerrno return
13748 semantics.
13749 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13750 (access_common): Correct typo for EACCES.
13751
13752 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
13753
13754 * sysdeps/tile/math-tests.h: New file.
13755
13756 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13757 (__old_set_dataplane): Rename from set_dataplane and make a
13758 compatibility symbol.
13759 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13760 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13761 sys/dataplane.h.
13762
13763 2016-11-18 Joseph Myers <joseph@codesourcery.com>
13764
13765 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13766 script quote words in command output to log suitably for input to
13767 the shell.
13768
13769 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
13770 Maciej W. Rozycki <macro@imgtec.com>
13771
13772 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13773 `.Lno_weak_fn' label.
13774 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13775 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13776
13777 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13778 Yury Norov <ynorov@caviumnetworks.com>
13779
13780 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13781 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13782 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13783 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13784 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13786 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13788 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13789 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13790 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13791 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13792 (sysdep_routines): Remove oldgetrlimit64.
13793 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13794 (sysdep_routines): Likewise.
13795 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13796 (sysdep_routines): Likewise.
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13798 [$(subdir) = resource] (sysdep_routines): Likewise.
13799 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13800 [$(subdir) = resource] (sysdep_routines): Likewise.
13801 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13802 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13803 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13804 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13805 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13807 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13808 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13809 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13811 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13812 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13813 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13814 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13815 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13816 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13817 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13818 setrlimit and getrlimit.
13819 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13821 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13826 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13828 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13829 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13830 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13831 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13832 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13833 (__old_getrlimit64): Add compatibility symbol.
13834 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13835
13836 2016-11-17 Joseph Myers <joseph@codesourcery.com>
13837
13838 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13839 newly built gmp, mpfr and mpc.
13840
13841 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13842
13843 2016-11-16 Joseph Myers <joseph@codesourcery.com>
13844
13845 * conform/Makefile (linknamespace-libs): Rename to
13846 linknamespace-libs-thr.
13847 (linknamespace-libs-posix): New variable.
13848 (linknamespace-libs-xsi): Likewise.
13849 (linknamespace-libs-XPG3): Include libcrypt.a.
13850 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13851 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13852 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13853 (linknamespace-libs-XOPEN2K): Likewise.
13854 (linknamespace-libs-XOPEN2K8): Likewise.
13855 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13856
13857 [BZ #20829]
13858 * stdio-common/Versions (__snprintf): Add to version
13859 GLIBC_PRIVATE.
13860 * include/stdio.h (__snprintf): Use libc_hidden_proto.
13861 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13862 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13863 of snprintf.
13864 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13865
13866 2016-11-16 Zack Weinberg <zackw@panix.com>
13867
13868 * string/string.h: Remove obsolete comment stating that
13869 strcoll_l and strxfrm_l have not yet been standardized.
13870
13871 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13872
13873 * hurd/hurd.h (__hurd_fail_noerrno): New function.
13874 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13875 __access_noerrno.
13876 * io/access.c (__access_noerrno): New function.
13877 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13878 (hurd_fail_seterrno): Likewise.
13879 (access_common): Likewise.
13880 (__access_noerrno): Likewise.
13881 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13882 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13883 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13884 macro.
13885
13886 2016-11-16 Joseph Myers <joseph@codesourcery.com>
13887
13888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13889 Only declare fpregs if [__SH_FPU_ANY__].
13890
13891 2016-11-15 Joseph Myers <joseph@codesourcery.com>
13892
13893 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13894 Make code unconditional.
13895 [!(__SH4__ || __SH4A__)]: Remove conditional code.
13896
13897 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
13898
13899 * manual/sysinfo.texi (S_APPEND): Delete.
13900 (S_IMMUTABLE): Likewise.
13901
13902 2016-11-15 Denis Kaganovich <mahatma@eu.by>
13903 Magnus Granberg <zorry@gentoo.org>
13904 Mike Frysinger <vapier@gentoo.org>
13905
13906 [BZ #20662]
13907 * configure.ac (libc_cv_predef_stack_protector): Also check for
13908 __stack_chk_fail_local symbols.
13909 * configure: Regenerated.
13910
13911 2016-11-15 Florian Weimer <fweimer@redhat.com>
13912
13913 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13914 (libc_hidden_def): Remove redefinition.
13915 (__sigsetjmp): Add hidden definition.
13916 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13917 (libc_hidden_def): Remove redefinition.
13918 (__sigsetjmp): Add hidden definition.
13919
13920 2016-11-14 Joseph Myers <joseph@codesourcery.com>
13921
13922 * scripts/build-many-glibcs.py (os.path): Do not import.
13923 (Context): Inherit explicitly from object. Remove blank line
13924 between class and docstring.
13925 (Config): Likewise.
13926 (Glibc): Likewise.
13927 (Command): Likewise.
13928 (CommandList): Likewise.
13929 (Context.write_files): Store chmod mode in a variable.
13930
13931 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13932 LIBC_SLIBDIR_RTLDDIR for tilegx32.
13933 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13934
13935 2016-11-14 Zack Weinberg <zackw@panix.com>
13936
13937 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13938 creating or re-creating it.
13939
13940 * string/bits/string2.h: Fix typo in comment.
13941
13942 2016-11-14 Zack Weinberg <zackw@panix.com>
13943
13944 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13945 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13946 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13947 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13948 of redirected function names.
13949
13950 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13951 as well. Document that MESSAGE must be a single string literal.
13952
13953 2016-11-11 Joseph Myers <joseph@codesourcery.com>
13954
13955 * scripts/build-many-glibcs.py: New file.
13956
13957 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13958 (do_test): Disable -Wmaybe-uninitialized around uses of
13959 except_mask.
13960
13961 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13962
13963 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
13964
13965 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13966 (atomic_store_release): Provide tilepro-specific implementations.
13967
13968 2016-11-10 Joseph Myers <joseph@codesourcery.com>
13969
13970 * math/math.h (__MATH_TG): New macro.
13971 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13972 [__USE_ISOC99] (signbit): Likewise.
13973 [__USE_ISOC99] (isfinite): Likewise.
13974 [__USE_ISOC99] (isnan): Likewise.
13975 [__USE_ISOC99] (isinf): Likewise.
13976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13979 __MATH_TG and __MATH_EVAL_FMT2.
13980 * sysdeps/generic/math_private.h (fabs_tg): Define using
13981 __MATH_TG.
13982 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13983 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13984 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13985 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13986 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13987 macro.
13988 (__iscanonical): Likewise.
13989 (iscanonical): Define using __MATH_TG.
13990
13991 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13992
13993 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13994 guards.
13995
13996 * sysdeps/unix/sysv/linux/access.c: New file.
13997 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13998
13999 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14000
14001 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14002 and __WORDSIZE32_PTRDIFF_LONG.
14003
14004 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14005
14006 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14007
14008 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14009
14010 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14011 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14012 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14016 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14017 * sysdeps/unix/sysv/linux/truncate.c: New file.
14018 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14019 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14020 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14021 Remove.
14022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14023 Likewise.
14024
14025 * posix/tst-truncate-common.c: New file.
14026 * posix/tst-truncate.c: Use tst-truncate-common.c.
14027 * posix/tst-truncate64.c: Likewise and add LFS tests.
14028 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14029 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14030 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14031 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14036 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14037 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14038 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14039 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14040 Remove.
14041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14042 Likewise.
14043
14044 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14045
14046 [BZ #20790]
14047 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14048 to MAXLINESIZE.
14049 * sunrpc/bug20790.x: New file.
14050 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14051 variable.
14052 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14053 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14054
14055 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14056
14057 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14058
14059 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14060 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14061 calloc, realloc, free, memalign and __libc_memalign rather than
14062 making them optional.
14063
14064 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14065 for libc.so.
14066
14067 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14068
14069 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14070 ptw-lseek64.
14071 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14072 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14073 Likewise.
14074 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14075 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14076 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14077 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14078 * sysdeps/unix/sysv/linux/lseek.c: New file.
14079 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14080 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14081 __libc_lseek64 from auto-generation.
14082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14083 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14084
14085 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14086
14087 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14088 * nptl/tst-cleanup1.c (do_test): Likewise.
14089 * nptl/tst-cleanup3.c (do_test): Likewise.
14090 * nptl/tst-key1.c (do_test): Likewise.
14091 * nptl/tst-key2.c (tf, do_test): Likewise.
14092 * nptl/tst-key3.c (tf, do_test): Likewise.
14093 * nptl/tst-stdio1.c (do_test): Likewise.
14094 * nptl/tst-stdio2.c (do_test): Likewise.
14095
14096 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14097 * nptl/tst-kill6.c (handler): Likewise.
14098 * nptl/tst-tls2.c (CB): Likewise.
14099 * nptl/tst-tls3.c (CB): Likewise.
14100
14101 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14102
14103 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14104
14105 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14106 Steve Ellcey <sellcey@caviumnetworks.com>
14107
14108 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14109 __ASSUME_ST_INO_64_BIT as 0
14110 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14111 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14112 over the code where __ASSUME_ST_INO_64_BIT is used.
14113 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14114 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14115 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14116
14117 2016-11-07 Florian Weimer <fweimer@redhat.com>
14118
14119 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14120 Document ABI exposure of the __kind offset.
14121 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14122 Mention reason for the __kind offset exposure in the ABI.
14123 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14124 Likewise.
14125 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14126 Likewise.
14127 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14128 Likewise.
14129 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14130 (struct __pthread_mutex_s): Likewise.
14131 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14132 Likewise.
14133 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14134 Likewise.
14135 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14136 Likewise.
14137 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14138 Likewise.
14139 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14140 Likewise.
14141 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14142 Likewise.
14143 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14144 (struct __pthread_mutex_s): Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14146 (struct __pthread_mutex_s): Likewise.
14147 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14148 Likewise.
14149
14150 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14151
14152 * test-skeleton.c: Document do_test usage.
14153
14154 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14155
14156 * iconv/gconv.h (__gconv_info): Define __data element using a
14157 zero-length array.
14158
14159 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14160
14161 * math/test-tgmath2.c: Split up test function.
14162
14163 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14164
14165 * Rules (tests-expected): New variable, depending on
14166 $(run-built-tests).
14167 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14168 $(tests).
14169
14170 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14171 $(tests-unsupported).
14172
14173 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14174
14175 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14176 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14177
14178 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14179
14180 [BZ #20768]
14181 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14182 __fegetenv instead of fegetenv.
14183
14184 [BZ #14139]
14185 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14186 (find_files): Obtain platform name from libm-test-ulps-name and
14187 store in %pplatforms.
14188 (canonicalize_platform): Remove.
14189 (print_platforms): Use $pplatforms directly.
14190 (by_platforms): Do not allow for platforms missing from
14191 %pplatforms.
14192 * sysdeps/aarch64/libm-test-ulps-name: New file.
14193 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14194 * sysdeps/arm/libm-test-ulps-name: Likewise.
14195 * sysdeps/generic/libm-test-ulps-name: Likewise.
14196 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14197 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14199 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14200 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14201 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14202 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14203 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14204 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14205 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14206 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14207 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14208 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14209 * sysdeps/sh/libm-test-ulps-name: Likewise.
14210 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14211 * sysdeps/tile/libm-test-ulps-name: Likewise.
14212 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14213
14214 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14215
14216 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14217 (test-xfail-check-execstack): New variable.
14218
14219 * sysdeps/mips/localplt.data: New file.
14220
14221 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14222 Steve Ellcey <sellcey@caviumnetworks.com>
14223
14224 * bits/wordsize.h: Add documentation.
14225 * sysdeps/aarch64/bits/wordsize.h : New file
14226 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14227 definitions.
14228 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14229 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14230 with #if instead of #ifdef.
14231 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14232 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14233 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14234 Add or change defines.
14235 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14237 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14238 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14239 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14240 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14241 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14242 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14243 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14244 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14246 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14247 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14248 * sysdeps/x86/bits/wordsize.h: Likewise.
14249
14250 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14251 Kevin Petit <kevin.petit@arm.com>
14252
14253 * sysdeps/aarch64/memchr.S (__memchr): New file.
14254
14255 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14256
14257 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14258
14259 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14260
14261 [BZ #19398]
14262 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14263 $(linknamespace-symlists-tests).
14264
14265 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14266
14267 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14268
14269 2016-11-02 Florian Weimer <fweimer@redhat.com>
14270 Carlos O'Donell <carlos@redhat.com>
14271
14272 [Bug #20729]
14273 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14274 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14275 for -Os related change.
14276
14277 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14278
14279 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14280
14281 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14282
14283 [BZ #19673]
14284 * manual/math.texi (Exponents and Logarithms): Correct description
14285 of clog10.
14286
14287 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14288
14289 [Bz #20729]
14290 * locale/weight.h: Include libc-internal.h.
14291 * locale/weightwc.h: Likewise.
14292 * nptl/nptl_dbP.h: Likewise.
14293
14294 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14295
14296 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14297 when it is MACH_PORT_NULL.
14298
14299 2016-10-31 Andreas Schwab <schwab@suse.de>
14300
14301 [BZ #20707]
14302 * posix/glob.c (glob): Initialize pglob before checking for
14303 GLOB_BRACE. Don't call glob recursively if pattern contains no
14304 valid brace expression despite GLOB_BRACE.
14305 * posix/globtest.sh: Test it.
14306
14307 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14308
14309 [BZ #20729]
14310 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14311 Define.
14312 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14313 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14314 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14315 for seq2.back_us and seq1.back_us only for -Os compiles.
14316 * locale/weightwc.h (findix): Likewise.
14317 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14318 DB_GET_FIELD_ADDRESS only for -Os compiles.
14319 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14320 for slen only for -Os compiles.
14321 * string/strcoll_l.c (get_next_seq): Ignore
14322 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14323 for -Os compiles.
14324
14325 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14326 * include/crypt.h: New file.
14327
14328 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14329
14330 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14331 from test-skeleton.c.
14332 (statclass): Replace calls to write with calls to write_message.
14333
14334 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14335
14336 * math/math.h
14337 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14338 New macro.
14339 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14340 Likewise.
14341 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14342 Likewise.
14343 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14344 SNANL.
14345 * math/test-double.h (snan_value_MACRO): New macro.
14346 * math/test-float.h (snan_value_MACRO): Likewise.
14347 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14348 * math/libm-test.inc (issignaling_test_data): Add tests of
14349 snan_value_MACRO.
14350
14351 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14352
14353 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14354 behavior when eliding a lock not held by the current thread.
14355 * sysdeps/powerpc/nptl/elide.h: Likewise.
14356
14357 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14358
14359 [BZ #20728]
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14361 branch to _exit() by a function call.
14362
14363 2016-10-28 Florian Weimer <fweimer@redhat.com>
14364
14365 * malloc/malloc.c: Update chunk layout comments.
14366 (chunk_main_arena): Update comment.
14367
14368 2016-10-28 Florian Weimer <fweimer@redhat.com>
14369
14370 * crypt/sha256.c, crypt/sha256-block.c,
14371 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14372 sha256_process_block to __sha256_process_block.
14373 * crypt/sha512.c, crypt/sha512-block.c,
14374 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14375 sha512_process_block to __sha512_process_block.
14376
14377 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14378
14379 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14380
14381 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14382
14383 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14384
14385 [BZ #20019]
14386 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14387 definition in unrelocated shared library.
14388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14389
14390 2016-10-28 Florian Weimer <fweimer@redhat.com>
14391
14392 [BZ #20729]
14393 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14394 * sysdeps/unix/sysv/linux/i386/Makefile
14395 (uses-6-syscall-arguments): Define.
14396 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14397 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14398 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14399 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14400 Likewise.
14401 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14402 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14403 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14404 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14405 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14406 (CFLAGS-fallocate64.os): Likewise.
14407 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14408 (CFLAGS-pthread_rwlock_timedrdlock.os)
14409 (CFLAGS-pthread_rwlock_timedwrlock.o)
14410 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14411 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14412 (CFLAGS-sem_timedwait.os): Likewise.
14413
14414 2016-10-28 Florian Weimer <fweimer@redhat.com>
14415
14416 * elf/tst-linkall-static.c: New file.
14417 * elf/Makefile (tests-static): Add tst-linkall-static.
14418 (tst-linkall-static): Link against static libraries.
14419
14420 2016-10-27 Florian Weimer <fweimer@redhat.com>
14421
14422 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14423 mmaped chunks.
14424
14425 2016-10-28 Florian Weimer <fweimer@redhat.com>
14426
14427 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14428 members to mchunk_prev_size, mchunk_size.
14429 (chunk_main_arena): Reverse sense and rename from
14430 chunk_non_main_arena.
14431 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14432 mchunk_size instead of size.
14433 (set_non_main_arena): Define.
14434 (chunksize): Use chunksize_nomask instead of direct member access.
14435 (chunksize_nomask): Define.
14436 (next_chunk): Use chunksize instead of direct member access.
14437 (prev_size, set_prev_size): Define.
14438 (prev_chunk): Use prev_size instead of direct member access.
14439 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14440 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14441 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14442 (mchunk_prev_size, mchunk_size): Poison tokens.
14443 (unlink): Use chunksize_nomask, prev_size accessors.
14444 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14445 (do_check_free_chunk): Use prev_size accessor.
14446 (sysmalloc): Use set_prev_size, set_head accessors.
14447 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14448 (__libc_free): Use chunksize_nomask accessor.
14449 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14450 chunk_main_arena accessors.
14451 (_int_free): Use chunksize_nomask, prev_size accessors.
14452 (malloc_consolidate): Use chunksize, prev_size accessors.
14453 (_int_realloc): Use chunksize_nomask accessor.
14454 (_int_memalign): Use set_prev_size accessor.
14455 (__malloc_info): Use chunksize_nomask accessor.
14456 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14457 accessors.
14458 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14459 (heap_trim): Use chunksize_nomask, prev_size accessors.
14460
14461 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14462
14463 [BZ #19380]
14464 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14465 for inexact results.
14466 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14467 of inexact result where mpfr_subnormalize is the only inexact
14468 step.
14469 * stdlib/tst-strtod-round-data.h: Regenerated.
14470 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14471 Define to 0.
14472 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14473
14474 2016-10-27 David S. Miller <davem@davemloft.net>
14475
14476 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14477
14478 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14479
14480 * malloc/malloc.c (do_set_mallopt_check): New function.
14481 (do_set_mmap_threshold): Likewise.
14482 (do_set_mmaps_max): Likewise.
14483 (do_set_top_pad): Likewise.
14484 (do_set_perturb_byte): Likewise.
14485 (do_set_trim_threshold): Likewise.
14486 (do_set_arena_max): Likewise.
14487 (do_set_arena_test): Likewise.
14488 (__libc_mallopt): Use them.
14489
14490 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14491
14492 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14493 (canonicalize): New declaration.
14494 * math/Versions (canonicalize): New libm symbol at version
14495 GLIBC_2.25.
14496 (canonicalizef): Likewise.
14497 (canonicalizel): Likewise.
14498 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14499 * math/s_canonicalize_template.c: New file.
14500 * math/libm-test.inc: Update comment on functions tested and
14501 testing of NaN payloads.
14502 (TEST_NAN_PAYLOAD): New macro.
14503 (NO_TEST_INLINE): Update value.
14504 (XFAIL_TEST): Likewise.
14505 (ERRNO_UNCHANGED): Likewise.
14506 (ERRNO_EDOM): Likewise.
14507 (ERRNO_ERANGE): Likewise.
14508 (IGNORE_RESULT): Likewise.
14509 (NON_FINITE): Likewise.
14510 (TEST_SNAN): Likewise.
14511 (NO_TEST_MATHVEC): Likewise.
14512 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14513 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14514 (struct test_Ffp_b1_data): New type.
14515 (RUN_TEST_Ffp_b1): New macro.
14516 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14517 (canonicalize_test_data): New array.
14518 (canonicalize_test): New function.
14519 (main): Call canonicalize_test.
14520 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14521 canonicalizef and canonicalizel.
14522 * manual/libm-err-tab.pl: Update comment on interfaces without
14523 ulps tabulated.
14524 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14525 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14526 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14527 canonicalize.
14528 (CFLAGS-nldbl-canonicalize.c): New variable.
14529 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14530 to ...
14531 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14532 ... here.
14533 (do_test): Also test canonicalizel.
14534 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14535 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14536 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14537 file.
14538 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14539 Use libm_hidden_def.
14540 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14541 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14542 (do_test): Also test canonicalizel.
14543 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14544 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14545 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14546 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14547 libm_hidden_def.
14548 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14549 macro.
14550 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14551 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14552 * sysdeps/nacl/libm.abilist: Update.
14553 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14566 Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14568 Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14570 Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14572 Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14579 Likewise.
14580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14581 Likewise.
14582 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14585
14586 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14587 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14588 getpayload.
14589 (CFLAGS-nldbl-getpayload.c): New variable.
14590
14591 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14592
14593 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14594 integer from the format string.
14595
14596 2016-10-26 Florian Weimer <fweimer@redhat.com>
14597
14598 [BZ #19473]
14599 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14600 declarations.
14601 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14602 weak aliases.
14603 * malloc/hooks.c (__malloc_get_state): Remove definition.
14604 (malloc_get_state): New stub implementation as
14605 compatibility symbol.
14606 (malloc_set_state): Rename from __malloc_set_state. Turn into
14607 compat symbol.
14608 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14609 malloc_set_state.
14610 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14611
14612 2016-10-26 Florian Weimer <fweimer@redhat.com>
14613
14614 * iconvdata/iso646.c (enum variant): Drop illegal_var.
14615 (names): Turn into concatenation of strings.
14616 (gconv_init): Adapt iteration over names.
14617
14618 2016-10-26 Florian Weimer <fweimer@redhat.com>
14619
14620 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14621 make const.
14622 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14623 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14624 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14625 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14626 character in sbconv.
14627 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14628 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14629 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14630
14631 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
14632
14633 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14634
14635 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14636 (M_TRIM_THRESHOLD): Likewise.
14637
14638 * manual/memory.texi (M_ARENA_TEST): Add documentation.
14639 (M_ARENA_MAX): Likewise.
14640 * malloc/malloc.c: Remove obsolete comment.
14641
14642 * manual/memory.texi: Add environment variable alternatives to
14643 setting mallopt parameters.
14644
14645 2016-10-26 Carlos O'Donell <carlos@redhat.com>
14646
14647 * include/atomic.h
14648 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14649 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14650
14651 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14652
14653 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14654 * stdlib/tst-strfrom.h: New file.
14655 * stdlib/tst-strfrom.c: New file.
14656 * stdlib/tst-strfrom-locale.c: New file.
14657
14658 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14659 * stdlib/bug-strtod2.c: Likewise.
14660 * stdlib/tst-strtod-round-skeleton.c: Likewise.
14661 * stdlib/tst-strtod6.c: Likewise.
14662 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14663
14664 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14665
14666 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14667 * manual/arith.texi: Document strfromd, strfromf, strfroml.
14668 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14669 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14670 * stdlib/stdlib.h (strfromd): New declaration.
14671 (strfromf): Likewise.
14672 (strfroml): Likewise.
14673 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
14674 strfrom.
14675 * stdlib/strfromd.c: New file.
14676 * stdlib/strfromf.c: Likewise.
14677 * stdlib/strfroml.c: Likewise.
14678 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14679 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14680 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14681 * sysdeps/arm/nacl/libc.abilist: Update.
14682 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14710
14711 2016-10-25 Joseph Myers <joseph@codesourcery.com>
14712
14713 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14714 instead of cmpli.
14715 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14716 instead of cmpli.
14717
14718 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
14719
14720 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14721 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14722 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14723 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14724 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14725 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14726
14727 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14728
14729 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14730 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14731 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14732 SYSCALL_LL64_PRW.
14733 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14734 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14735 __ASSUME_PRW_DUMMY_ARG.
14736 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14737 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14738 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14739 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14740 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14741 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14742
14743 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
14744
14745 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14746
14747 2016-10-22 Florian Weimer <fweimer@redhat.com>
14748
14749 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14750 "C++", to override a potential extern "C" directive around the
14751 header file inclusion.
14752
14753 2016-10-21 Joseph Myers <joseph@codesourcery.com>
14754
14755 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14756
14757 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14758
14759 * sysdeps/powerpc/fpu/fenv_private.h:
14760 (_FPU_MASK_ALL): Rename to...
14761 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14762 XE FPSCR bits.
14763
14764 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14765
14766 (_FPU_MASK_ROUNDING): Rename to...
14767 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14768 NI bits.
14769
14770 (_FPU_MASK_EXCEPT_ROUND): Rename to...
14771 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14772 bits and rounding bits.
14773
14774 (__libc_feholdbits_ppc): New inline function to mask, set,
14775 and pontentially clear FSPCR bits, and change MSR[FE] bits.
14776 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14777 (libc_feholdexcept_setround_ppc): Likewise.
14778
14779 (__libc_femergeenv_ppc): New function to dynamically mask both
14780 old and new FP environments and merge.
14781 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14782 (libc_feresetround_ppc): Likewise.
14783 (libc_feupdateenv_test_ppc): Likewise.
14784 (libc_feupdateenv_ppc): Likewise.
14785
14786 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14787 of ISA RN bits, and update macro names.
14788 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14789 effectively the same as the previously mentioned function.
14790
14791 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14792 usage with fe_resetround_ppc.
14793
14794 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14795 to be used.
14796 (libc_feholdexcept_setround_ctxf): Likewise.
14797 (libc_feholdexcept_setround_ctxl): Likewise.
14798
14799 2016-10-21 Florian Weimer <fweimer@redhat.com>
14800
14801 [BZ #20715]
14802 * math/math.h [__cplusplus] (iszero): Define as function template.
14803 * math/Makefile [CXX] (tests): Add test-math-iszero.
14804 (CFLAGS-test-math-iszero.cc): Set.
14805 * math/test-math-iszero.cc: New file.
14806
14807 2016-10-20 Joseph Myers <joseph@codesourcery.com>
14808
14809 [BZ #20660]
14810 * sysdeps/arm/e_sqrt.c: New file.
14811 * sysdeps/arm/e_sqrtf.c: Likewise.
14812
14813 2016-10-19 Joseph Myers <joseph@codesourcery.com>
14814
14815 [BZ #20718]
14816 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14817 not use floating-point comparisons to test sign.
14818 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14819 Likewise.
14820
14821 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14822 (getpayload): New declaration.
14823 * math/Versions (getpayload): New libm symbol at version
14824 GLIBC_2.25.
14825 (getpayloadf): Likewise.
14826 (getpayloadl): Likewise.
14827 * math/Makefile (libm-calls): Add s_getpayloadF.
14828 * math/libm-test.inc: Include <nan-high-order-bit.h>.
14829 (struct test_f_f_data): Add comment.
14830 (RUN_TEST_fp_f): New macro.
14831 (RUN_TEST_LOOP_fp_f): Likewise.
14832 (getpayload_test_data): New array.
14833 (getpayload_test): New function.
14834 (main): Call getpayload_test.
14835 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14836 descriptor.
14837 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14838 getpayloadf and getpayloadl.
14839 * manual/libm-err-tab.pl: Update comment on interfaces without
14840 ulps tabulated.
14841 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14842 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14843 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14847 * sysdeps/nacl/libm.abilist: Update.
14848 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14861 Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14863 Likewise.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14865 Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14867 Likewise.
14868 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14874 Likewise.
14875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14876 Likewise.
14877 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14880
14881 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14882
14883 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14884 tst-fallocate{64}.
14885 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14886 on syscall return.
14887
14888 2016-10-17 Carlos O'Donell <carlos@redhat.com>
14889
14890 [BZ #20689]
14891 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14892 usable.
14893
14894 2016-10-17 Joseph Myers <joseph@codesourcery.com>
14895
14896 * sysdeps/generic/nan-high-order-bit.h: New file.
14897 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14898 * sysdeps/mips/nan-high-order-bit.h: Likewise.
14899 * sysdeps/hppa/math_private.h: Remove file.
14900 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14901 not define here.
14902 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14903 <nan-high-order-bit.h>.
14904 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14905 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14906 <nan-high-order-bit.h>.
14907 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14908 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14909 <nan-high-order-bit.h>.
14910 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14911 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14912 <nan-high-order-bit.h>.
14913 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14914 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14915 <nan-high-order-bit.h>.
14916 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14917 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14918 <nan-high-order-bit.h>.
14919 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14920 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14921 <nan-high-order-bit.h>.
14922 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14923 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14924 <nan-high-order-bit.h>.
14925 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14926 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14927 <nan-high-order-bit.h>.
14928 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14929 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14930 <nan-high-order-bit.h>.
14931 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14932 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14933 <nan-high-order-bit.h>.
14934 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14935 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14936 <nan-high-order-bit.h>.
14937 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14938 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14939 <nan-high-order-bit.h>.
14940 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14941 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14942 <nan-high-order-bit.h>.
14943 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14944 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14945 <nan-high-order-bit.h>.
14946 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14947 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14948 <nan-high-order-bit.h>.
14949 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14950 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14951 <nan-high-order-bit.h>.
14952 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14953 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14954 <nan-high-order-bit.h>.
14955 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14956
14957 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
14958
14959 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14960
14961 2016-09-22 John David Anglin <dave.anglin@bell.net>
14962
14963 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14964 abort-instr.h.
14965 (EFAULT): Remove conditional define.
14966 (ENOSYS): Likewise.
14967 (atomic_compare_and_exchange_val_acq): Use instruction nullification
14968 instead of conditional branch instructions.
14969
14970 2016-10-15 Joseph Myers <joseph@codesourcery.com>
14971
14972 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14973 (totalordermag): New declaration.
14974 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14975 New macro.
14976 * math/Versions (totalordermag): New libm symbol at version
14977 GLIBC_2.25.
14978 (totalordermagf): Likewise.
14979 (totalordermagl): Likewise.
14980 * math/Makefile (libm-calls): Add s_totalordermagF.
14981 * math/libm-test.inc (totalordermag_test_data): New array.
14982 (totalordermag_test): New function.
14983 (main): Call totalordermag_test.
14984 * math/test-tgmath.c (NCALLS): Increase to 125.
14985 (F(compile_test)): Call totalordermag.
14986 (F(totalordermag)): New function.
14987 * manual/arith.texi (FP Comparison Functions): Document
14988 totalordermag, totalordermagf and totalordermagl.
14989 * manual/libm-err-tab.pl: Update comment on interfaces without
14990 ulps tabulated.
14991 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14992 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14993 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14998 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14999 totalordermag.
15000 (CFLAGS-nldbl-totalordermag.c): New variable.
15001 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15002 (do_test): Also test totalordermagl.
15003 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15004 Likewise.
15005 * sysdeps/nacl/libm.abilist: Update.
15006 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15019 Likewise.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15021 Likewise.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15023 Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15025 Likewise.
15026 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15032 Likewise.
15033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15034 Likewise.
15035 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15038
15039 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15040
15041 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15042 boolean.
15043
15044 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15045
15046 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15047 raising FE_INVALID with feraisexcept in case where part of
15048 argument is infinite, subtract that part of argument from itself.
15049 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15050 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15051 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15052
15053 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15054
15055 * math/libm-test.inc (totalorder_test_data): Add more tests.
15056
15057 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15058
15059 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15060 Undefine weak_alias and add a comment why mips64 require
15061 versioning.
15062
15063 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 [BZ #20647]
15066 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15067 maximum CPUID level is less than 2.
15068
15069 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15070
15071 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15072 (totalorder): New declaration.
15073 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15074 New macro.
15075 * math/Versions (totalorder): New libm symbol at version
15076 GLIBC_2.25.
15077 (totalorderf): Likewise.
15078 (totalorderl): Likewise.
15079 * math/Makefile (libm-calls): Add s_totalorderF.
15080 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15081 string.
15082 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15083 (qnan_value_pl): Likewise.
15084 (snan_value_pl): Likewise.
15085 (qnan_value): Define using qnan_value_pl.
15086 (snan_value): Define using snan_value_pl.
15087 (struct test_ff_i_data): Add comment about which tests use this
15088 structure.
15089 (RUN_TEST_ff_b): New macro.
15090 (RUN_TEST_LOOP_ff_b): Likewise.
15091 (totalorder_test_data): New array.
15092 (totalorder_test): New function.
15093 (main): Call totalorder_test.
15094 * math/test-tgmath.c (NCALLS): Increase to 122.
15095 (F(compile_test)): Call totalorder.
15096 (F(totalorder)): New function.
15097 * manual/arith.texi (FP Comparison Functions): Document
15098 totalorder, totalorderf and totalorderl.
15099 * manual/libm-err-tab.pl: Update comment on interfaces without
15100 ulps tabulated.
15101 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15102 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15103 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15104 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15108 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15109 totalorder.
15110 (CFLAGS-nldbl-totalorder.c): New variable.
15111 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15112 file.
15113 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15114 Add test-totalorderl-ldbl-128ibm.
15115 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15116 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15117 test-totalorderl-ldbl-96.
15118 * sysdeps/nacl/libm.abilist: Update.
15119 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15132 Likewise.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15134 Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15136 Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15138 Likewise.
15139 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15145 Likewise.
15146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15147 Likewise.
15148 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15151
15152 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15153
15154 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15155 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15156 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15157 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15158 remove ENOSYS implementation.
15159 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15160 Consolidate all Linux implementations.
15161
15162 2016-10-11 Florian Weimer <fweimer@redhat.com>
15163
15164 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15165 * resolv/herror.c (herror): Cast away const-ness.
15166 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15167 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15168
15169 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15170
15171 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15172 instead of M_NAN + M_NAN.
15173 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15174
15175 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15176
15177 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15178 unused variable 'p'.
15179
15180 2016-10-09 Alan Modra <amodra@gmail.com>
15181 Andreas Schwab <schwab@linux-m68k.org>
15182
15183 [BZ #20554]
15184 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15185 [PIC && !SHARED]: Set up PIC register for PLT call.
15186
15187 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15188
15189 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15190 conditional on value of [__FLT_EVAL_METHOD__].
15191 * math/test-iseqsig-excess-precision.c: New file.
15192 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15193
15194 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15195
15196 * math/s_iseqsig_template.c: Include math-private.h.
15197
15198 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15199 * posix/tst-posix_fadvise.c: New file.
15200 * posix/tst-posix_fadvise64.c: Likewise.
15201 * posix/tst-posix_fadvise-common.c: Likewise.
15202 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15203 (__ASSUME_FADVISE64_64_6ARG): Define.
15204 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15205 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15206 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15207 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15208 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15209 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15210 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15211 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15212 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15213 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15214 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15215 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15218 Likewise.
15219 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15220 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15221 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15222 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15223 Alias to __posix_fadvise64_l32.
15224 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15225 Add compat definition to posix_fadvise64.
15226 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15227 Add versioned definition to posix_fadvise64.
15228 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15229 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15230 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15231 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15232 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15233
15234 * io/Makefile (tests): Add tst-posix_fallocate and
15235 tst-posix_fallocate64.
15236 * io/tst-posix_fallocate-common.c: New file.
15237 * io/tst-posix_fallocate.c: Likewise.
15238 * io/tst-posix_fallocate64.c: Likewise.
15239 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15240 file.
15241 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15242 Likewise.
15243 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15244 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15245 Likewise.
15246 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15248 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15249 SYSCALL_LL to pass both offset and len arguments.
15250 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15251 Likewise.
15252 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15253 __libc_pwrite64 alias used by posix_fallocate64.
15254
15255 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15256 tst-fallocate64.
15257 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15258 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15259 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15260 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15261 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15262 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15263 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15264 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15265 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15266 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15267 macro on offset argument.
15268 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15269 SYSCALL_LL64 on offset argument.
15270
15271 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15272 tst-fallocate64.
15273 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15274 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15275 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15276 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15277 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15278 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15279 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15280 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15281 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15282 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15283 macro on offset argument.
15284 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15285 SYSCALL_LL64 on offset argument.
15286 * test-skeleton.c (FAIL_RET): Add macro.
15287 (FAIL_EXIT): Likewise.
15288 (FAIL_EXIT1): Likewise.
15289 (_FAIL): Likewise.
15290
15291 2016-10-07 Florian Weimer <fweimer@redhat.com>
15292
15293 [BZ #20629]
15294 resolv: Remove RES_USEBSTRING and its implementation.
15295 * resolv/resolv.h (RES_USEBSTRING): Remove.
15296 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15297 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15298 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15299 (labellen): Remove extended label types support.
15300 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15301 * resolv/res_init.c (res_setoptions): Likewise.
15302 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15303
15304 2016-10-07 Florian Weimer <fweimer@redhat.com>
15305
15306 resolv: Remove RES_NOIP6DOTINT and its implementation.
15307 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15308 (RES_NOIP6DOTINT): Remove.
15309 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15310 handling.
15311 * resolv/res_debug.c (p_option): Likewise.
15312 * resolv/res_init.c (res_setoptions): Likewise.
15313 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15314
15315 2016-10-07 Florian Weimer <fweimer@redhat.com>
15316
15317 resolv: Deprecate unimplemented flags.
15318 * misc/sys/cdefs.h (__glibc_macro_warning1)
15319 (__glibc_macro_warning): Define.
15320 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15321 (RES_KEEPTSIG): Mark as deprecated.
15322 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15323 RES_NOCHECKNAME, RES_KEEPTSIG.
15324 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15325
15326 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15327
15328 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15329 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15330 Use strong_alias to create symbols for glibc verison 2.19.
15331
15332 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15333
15334 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15335
15336 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15337
15338 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15339
15340 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15341
15342 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15343
15344 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15345
15346 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15347 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15348 in header for using it as type for ifunc function because __GI_* symbols
15349 for ppc32 do not target the ifunc symbols.
15350 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15351
15352 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15353
15354 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15355 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15356 libc_ifunc_hidden_def.
15357 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15358 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15359 Redirect ifunced function in header for using it as type of ifunc'ed
15360 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15361 function for __GI_* symbol.
15362 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15363 * include/libc-symbols.h
15364 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15365
15366 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15367
15368 [BZ #20478]
15369 * sysdeps/s390/multiarch/ifunc-resolve.h
15370 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15371 to create ifunc symbols.
15372 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15373 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15374 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15375 for using it as type for ifunc function.
15376 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15377 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15378 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15379 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15380 * sysdeps/s390/multiarch/strcat.c: Likewise.
15381 * sysdeps/s390/multiarch/strchr.c: Likewise.
15382 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15383 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15384 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15385 * sysdeps/s390/multiarch/strlen.c: Likewise.
15386 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15387 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15388 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15389 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15390 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15391 * sysdeps/s390/multiarch/strspn.c: Likewise.
15392 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15393 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15394 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15395 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15396 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15397 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15398 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15399 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15400 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15401 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15402 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15403 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15404
15405 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15406
15407 * include/libc-symbols.h (__ifunc_resolver):
15408 New macro is used by __ifunc* macros.
15409 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15410 depending on HAVE_GCC_IFUNC.
15411 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15412 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15414 Redirect ifunced function in header for using as type for ifunc function.
15415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15421 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15423 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15424 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15425 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15426 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15428 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15434 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15435 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15436 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15437 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15438 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15439 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15440 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15441 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15442 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15443 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15444 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15445 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15446 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15449 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15450 instead of libc_ifunc() macro.
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15452 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15453
15454 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15455
15456 * config.h.in (HAVE_GCC_IFUNC): New undef.
15457 * configure.ac: Add check if gcc supports attribute ifunc feature.
15458 * configure: Regenerated.
15459 * manual/install.texi: Add recommendation for gcc with
15460 indirect-function support.
15461 * INSTALL: Regenerated.
15462
15463 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15464
15465 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15466 macro.
15467 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15468 (__iseqsig): New declaration.
15469 * math/s_iseqsig_template.c: New file.
15470 * math/Versions (__iseqsigf): New libm symbol at version
15471 GLIBC_2.25.
15472 (__iseqsig): Likewise.
15473 (__iseqsigl): Likewise.
15474 * math/libm-test.inc (iseqsig_test_data): New array.
15475 (iseqsig_test): New function.
15476 (main): Call iseqsig_test.
15477 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15478 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15479 * manual/libm-err-tab.pl: Update comment on interfaces without
15480 ulps tabulated.
15481 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15482 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15483 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15484 * sysdeps/nacl/libm.abilist: Update.
15485 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15498 Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15500 Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15502 Likewise.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15504 Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15511 Likewise.
15512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15513 Likewise.
15514 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15517
15518 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15519
15520 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15521 do_sincos_2, sloww, sloww1): Update comments.
15522
15523 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15524 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15525
15526 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15527 K boolean and rename it.
15528 (__sin): Adjust.
15529 (__cos): Adjust.
15530
15531 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15532 Siddhesh Poyarekar <siddhesh@sourceware.org>
15533
15534 * manual/nss.texi: Fix typos in the manual.
15535
15536 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15537
15538 * manual/contrib.texi: Fix typos in the manual.
15539
15540 * manual/maint.texi: Fix typos in the manual.
15541
15542 * manual/install.texi: Fix typos in the manual.
15543 * INSTALL: Regenerated.
15544
15545 * manual/lang.texi: Fix typos in the manual.
15546
15547 * manual/probes.texi: Fix typos in the manual.
15548
15549 * manual/threads.texi: Fix typos in the manual.
15550
15551 * manual/debug.texi: Fix typos in the manual.
15552
15553 * manual/crypt.texi: Fix typos in the manual.
15554
15555 * manual/conf.texi: Fix typos in the manual.
15556
15557 * manual/sysinfo.texi: Fix typos in the manual.
15558
15559 * manual/users.texi: Fix typos in the manual.
15560
15561 * manual/job.texi: Fix typos in the manual.
15562
15563 * manual/process.texi: Fix typos in the manual.
15564
15565 * manual/argp.texi: Fix typos in the manual.
15566 * manual/getopt.texi: Likewise.
15567 * manual/startup.texi: Likewise.
15568
15569 * manual/signal.texi: Fix typos in the manual.
15570
15571 * manual/setjmp.texi: Fix typos in the manual.
15572
15573 * manual/resource.texi: Fix typos in the manual.
15574
15575 * manual/time.texi: Fix typos in the manual.
15576
15577 * manual/arith.texi: Fix typos in the manual.
15578
15579 * manual/math.texi: Fix typos in the manual.
15580
15581 * manual/syslog.texi: Fix typos in the manual.
15582
15583 * manual/terminal.texi: Fix typos in the manual.
15584
15585 * manual/socket.texi: Fix typos in the manual.
15586
15587 * manual/filesys.texi: Fix typos in the manual.
15588
15589 * manual/llio.texi: Fix typos in the manual.
15590
15591 * manual/stdio.text: Fix typos in the manual.
15592
15593 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
15594
15595 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15596 instead of K1.
15597
15598 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15599 SHIFT_QUADRANT and make it bool.
15600 (do_sincos_2): Likewise.
15601 (sloww): Likewise.
15602 (sloww1): Likewise.
15603 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15604 (__cos): Likewise.
15605
15606 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15607
15608 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15609
15610 2016-10-04 Joseph Myers <joseph@codesourcery.com>
15611
15612 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15613 Define to __WORDSIZE, not conditional on [LONG_MAX ==
15614 0x7fffffffL].
15615 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15616
15617 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15618
15619 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15620 inline by __inline__.
15621 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15622 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15623 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15625 sigset_t from signal.h.
15626 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15627 which is already required.
15628
15629 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15630
15631 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15632
15633 2016-10-03 Joseph Myers <joseph@codesourcery.com>
15634
15635 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15636 (struct tcp_repair_window): New type.
15637
15638 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15639
15640 * libio/tst-memstream3.c: Include string.h.
15641
15642 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15643
15644 [BZ #18241]
15645 [BZ #20181]
15646 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15647 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15648 write position is at the end the buffer.
15649 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15650 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15651 (_IO_str_seekoff): Set correct offset from negative displacement and
15652 set EINVAL for invalid ones.
15653 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15654 buffer length.
15655 (_IO_wstr_switch_to_get_mode): New function.
15656 (_IO_wstr_seekoff): Set correct offset from negative displacement and
15657 set EINVAL for invalid ones.
15658 * libio/tst-memstream3.c: New file.
15659 * libio/tst-wmemstream3.c: Likewise.
15660 * manual/examples/memstrm.c: Remove warning when priting size_t.
15661
15662 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15663
15664 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15665 macro to use __builtin_fma.
15666 * sysdeps/x86_64/fpu/dla.h: Remove file.
15667
15668 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15669 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15670 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15671
15672 2016-09-30 Carlos O'Donell <carlos@redhat.com>
15673
15674 [BZ #20292]
15675 * elf/Makefile (routines): Add dl-addr-obj.
15676 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15677 tst-_dl_addr_inside_object.
15678 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15679 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15680 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15681 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15682 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15683 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15684 * elf/dl-open.c: Likewise.
15685 * elf/dl-addr-obj.c: New file.
15686 * elf/tst-_dl_addr_inside_object.c: New file.
15687
15688 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15689
15690 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
15691 <bits/iscanonical.h>.
15692 * bits/iscanonical.h: New file.
15693 * math/s_iscanonicall.c: Likewise.
15694 * math/Versions (__iscanonicall): New libm symbol at version
15695 GLIBC_2.25.
15696 * math/libm-test.inc (iscanonical_test_data): New array.
15697 (iscanonical_test): New function.
15698 (main): Call iscanonical_test.
15699 * math/Makefile (headers): Add bits/iscanonical.h.
15700 (type-ldouble-routines): Add s_iscanonicall.
15701 * manual/arith.texi (Floating Point Classes): Document
15702 iscanonical.
15703 * manual/libm-err-tab.pl: Update comment on interfaces without
15704 ulps tabulated.
15705 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15706 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15708 Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15710 test-iscanonical-ldbl-128ibm.
15711 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15712 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15713 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15714 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15715 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15716 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15719 Likewise.
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15721 Likewise.
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15723 Likewise.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15725 Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15728
15729 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15730
15731 * string/bits/string3.h: Remove C++ style comments.
15732
15733 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15734
15735 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15736 instead of ternary condition.
15737 (do_sincos_2): Likewise.
15738 (__sin): Likewise.
15739 (__cos): Likewise.
15740 (slow): Likewise.
15741 (sloww): Likewise.
15742 (sloww1): Likewise.
15743 (bsloww): Likewise.
15744 (bsloww1): Likewise.
15745
15746 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15747 instead of ternary condition.
15748 (do_sin_slow): Likewise.
15749 (do_sincos_1): Likewise.
15750 (do_sincos_2): Likewise.
15751 (__cos): Likewise.
15752 (sloww): Likewise.
15753 (sloww1): Likewise.
15754 (sloww2): Likewise.
15755 (bsloww): Likewise.
15756 (bsloww1): Likewise.
15757 (bsloww2): Likewise.
15758
15759 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15760 check from here...
15761 (slow2): ... and here...
15762 (__sin): ... to here.
15763
15764 2016-09-28 Joseph Myers <joseph@codesourcery.com>
15765
15766 * math/math.h
15767 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15768 Cast argument to its own type.
15769 * math/test-iszero-excess-precision.c: New file.
15770 * math/Makefile (tests): Add test-iszero-excess-precision.
15771 (CFLAGS-test-iszero-excess-precision.c): New variable.
15772
15773 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15774
15775 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15776 field, add err field.
15777 (__spawni_child): Report error through err member instead of pipe.
15778 (__spawnix): Likewise.
15779
15780 2016-09-28 Zack Weinberg <zackw@panix.com>
15781
15782 * scripts/check-installed-headers.sh: Generalize treatment of
15783 sys/elf.h to all target architectures.
15784
15785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15786 deleted typedef ucontext_t.
15787
15788 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15789
15790 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15791 (__INTERNAL_SYSCALL1): Likewise.
15792 (__INTERNAL_SYSCALL2): Likewise.
15793 (__INTERNAL_SYSCALL3): Likewise.
15794 (__INTERNAL_SYSCALL4): Likewise.
15795 (__INTERNAL_SYSCALL5): Likewise.
15796 (__INTERNAL_SYSCALL6): Likewise.
15797 (__INTERNAL_SYSCALL7): Likewise.
15798 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15799 (__INTERNAL_SYSCALL_NARGS): Likewise.
15800 (__INTERNAL_SYSCALL_DISP): Likewise.
15801 (INTERNAL_SYSCALL_CALL): Likewise.
15802 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15803 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15804 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15805 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15806 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15807 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15808 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15809 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15810 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15811 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15812 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15813 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15814 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15815
15816 2016-09-23 Joseph Myers <joseph@codesourcery.com>
15817
15818 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15819 macro.
15820 * math/libm-test.inc (iszero_test_data): New array.
15821 (iszero_test): New function.
15822 (main): Call iszero_test.
15823 * manual/arith.texi (Floating Point Classes): Document iszero.
15824 * manual/libm-err-tab.pl: Update comment on interfaces without
15825 ulps tabulated.
15826
15827 2016-09-23 Zack Weinberg <zackw@panix.com>
15828
15829 * scripts/check-installed-headers.sh: New script.
15830 * Rules: In each directory that defines header files to be installed,
15831 run check-installed-headers.sh on them as a special test.
15832 * Makefile: Likewise for the headers installed at top level.
15833
15834 * include/aliases.h, include/alloca.h, include/argz.h
15835 * include/arpa/nameser.h, include/arpa/nameser_compat.h
15836 * include/elf.h, include/envz.h, include/err.h
15837 * include/execinfo.h, include/fpu_control.h, include/getopt.h
15838 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15839 * include/link.h, include/malloc.h, include/mcheck.h
15840 * include/mntent.h, include/netinet/ether.h
15841 * include/nss.h, include/obstack.h, include/printf.h
15842 * include/pty.h, include/resolv.h, include/rpc/auth.h
15843 * include/rpc/auth_des.h, include/rpc/auth_unix.h
15844 * include/rpc/clnt.h, include/rpc/des_crypt.h
15845 * include/rpc/key_prot.h, include/rpc/netdb.h
15846 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15847 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15848 * include/rpc/rpc_msg.h, include/rpc/svc.h
15849 * include/rpc/svc_auth.h, include/rpc/xdr.h
15850 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15851 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15852 * include/rpcsvc/ypupd.h, include/shadow.h
15853 * include/stdio_ext.h, include/sys/epoll.h
15854 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15855 * include/sys/prctl.h, include/sys/profil.h
15856 * include/sys/statfs.h, include/sys/sysctl.h
15857 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15858 * sysdeps/arm/nacl/include/bits/setjmp.h
15859 * sysdeps/mips/include/sys/asm.h
15860 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15861 * sysdeps/unix/sysv/linux/include/sys/timex.h
15862 * sysdeps/x86/fpu/include/bits/fenv.h:
15863 Add #ifndef _ISOMAC guard around internal declarations.
15864 Add multiple-inclusion guard if not already present.
15865
15866 2016-09-23 Zack Weinberg <zackw@panix.com>
15867
15868 * sysdeps/generic/sys/ucontext.h
15869 * sysdeps/arm/sys/ucontext.h
15870 * sysdeps/i386/sys/ucontext.h
15871 * sysdeps/m68k/sys/ucontext.h
15872 * sysdeps/mips/sys/ucontext.h
15873 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15874 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15875 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15876 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15877 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15878 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15879 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15880 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15883 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15885 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15886 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15887 Include both bits/sigcontext.h and bits/sigstack.h.
15888 Fix grammar error in comment, if present.
15889
15890 * bits/sigstack.h
15891 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15892 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15893 * sysdeps/unix/sysv/linux/bits/sigstack.h
15894 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15895 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15896 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15897 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15898 * bits/sigcontext.h
15899 * sysdeps/mach/hurd/i386/bits/sigcontext.h
15900 * sysdeps/unix/sysv/linux/bits/sigcontext.h
15901 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15902 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15903 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
15904 as well as signal.h, if this was not already allowed. Request
15905 definition of size_t if necessary. Minimize semantically-null
15906 differences across files.
15907
15908 2016-09-23 Zack Weinberg <zackw@panix.com>
15909
15910 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15911 Remove all logic conditional on __need macros. Move all the
15912 conditionally defined types to their own headers...
15913 * time/bits/types/clock_t.h: Define clock_t here.
15914 * time/bits/types/clockid_t.h: Define clockid_t here.
15915 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15916 * time/bits/types/struct_timespec.h: Define struct timespec here.
15917 * time/bits/types/struct_timeval.h: Define struct timeval here.
15918 * time/bits/types/struct_tm.h: Define struct tm here.
15919 * time/bits/types/time_t.h: Define time_t here.
15920 * time/bits/types/timer_t.h: Define timer_t here.
15921 * time/Makefile: Install the new headers.
15922
15923 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15924 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15925 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15926 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15927 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15928 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15929 * sysdeps/unix/sysv/linux/bits/resource.h
15930 * sysdeps/unix/sysv/linux/bits/timex.h
15931 * sysdeps/unix/sysv/linux/mips/bits/resource.h
15932 * sysdeps/unix/sysv/linux/net/ppp_defs.h
15933 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15934 * sysdeps/unix/sysv/linux/sys/acct.h
15935 * sysdeps/unix/sysv/linux/sys/timerfd.h
15936 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15937 * time/sys/time.h, time/sys/timeb.h
15938 Use the new bits/types headers.
15939
15940 * include/time.h: Remove __need logic.
15941 * include/bits/time.h
15942 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15943 * include/bits/types/time_t.h, include/bits/types/timer_t.h
15944 * include/bits/types/struct_itimerspec.h
15945 * include/bits/types/struct_timespec.h
15946 * include/bits/types/struct_timeval.h
15947 * include/bits/types/struct_tm.h:
15948 New wrapper headers.
15949
15950 2016-09-23 Zack Weinberg <zackw@panix.com>
15951
15952 * sysdeps/mach/hurd/net/if_ppp.h
15953 * sysdeps/unix/sysv/linux/net/if_ppp.h:
15954 Only define struct ifpppstatsreq and struct ifpppcstatsreq
15955 if __USE_MISC is defined, to ensure struct ifreq is declared.
15956
15957 * inet/netinet/ether.h: Condition all function prototypes
15958 on __USE_MISC, to ensure struct ether_addr is declared.
15959
15960 * socket/bits/types/struct_osockaddr.h: New header.
15961 * include/bits/types/struct_osockaddr.h: New wrapper.
15962 * socket/Makefile: Install the new header.
15963 * socket/sys/socket.h, inet/protocols/talkd.h:
15964 Refer to bits/types/struct_osockaddr.h for the definition of
15965 struct osockaddr.
15966
15967 2016-09-23 Zack Weinberg <zackw@panix.com>
15968
15969 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15970 * inet/protocols/routed.h, inet/protocols/talkd.h
15971 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15972 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15973 * sysdeps/generic/netinet/if_ether.h
15974 * sysdeps/generic/netinet/in_systm.h
15975 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15976 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15977 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15978 * sysdeps/mach/hurd/net/if_arp.h
15979 * sysdeps/mach/hurd/net/if_ppp.h
15980 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15981 * sysdeps/unix/sysv/linux/bits/in.h
15982 * sysdeps/unix/sysv/linux/net/ethernet.h
15983 * sysdeps/unix/sysv/linux/net/if_arp.h
15984 * sysdeps/unix/sysv/linux/net/if_ppp.h
15985 * sysdeps/unix/sysv/linux/net/if_shaper.h
15986 * sysdeps/unix/sysv/linux/net/route.h
15987 * sysdeps/unix/sysv/linux/netinet/if_ether.h
15988 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15989 * sysdeps/unix/sysv/linux/netinet/if_tr.h
15990 * sysdeps/unix/sysv/linux/netipx/ipx.h
15991 * sysdeps/unix/sysv/linux/sys/acct.h
15992 * include/arpa/nameser.h, include/resolv.h:
15993 Change all uses of u_char to unsigned char,
15994 u_short and ushort to unsigned short, u_int and uint to unsigned int,
15995 u_long and ulong to unsigned long, u_int8_t to uint8_t,
15996 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15997 and u_int64_t and u_quad_t to uint64_t.
15998
15999 * mach/sys/reboot.h: Remove two casts of integer literals
16000 to the types they already have.
16001
16002 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16003 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16004 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16005 from referring to 'unsigned char' to 'uint8_t' for consistency with
16006 the macro definition below.
16007
16008 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16009 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16010 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16011 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16012 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16013 * sysdeps/unix/sysv/linux/sys/acct.h
16014 * include/arpa/nameser.h, include/resolv.h:
16015 Fix indentation disrupted by mechanical edits.
16016
16017 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16018 * sysdeps/generic/netinet/in_systm.h
16019 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16020 * sysdeps/gnu/netinet/udp.h
16021 * sysdeps/unix/sysv/linux/net/ethernet.h
16022 * sysdeps/unix/sysv/linux/net/if_arp.h
16023 * sysdeps/unix/sysv/linux/net/if_ppp.h
16024 * sysdeps/unix/sysv/linux/net/if_shaper.h
16025 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16026 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16027 * sysdeps/unix/sysv/linux/netipx/ipx.h
16028 * sysdeps/unix/sysv/linux/sys/acct.h
16029 Include stdint.h for uintNN_t definitions.
16030 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16031
16032 2016-09-23 Zack Weinberg <zackw@panix.com>
16033
16034 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16035 * sysdeps/unix/sysv/linux/netrose/rose.h:
16036 Include sys/socket.h and netax25/ax25.h.
16037
16038 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16039 * resolv/arpa/nameser_compat.h:
16040 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16041
16042 * sysdeps/unix/sysv/linux/sys/quota.h:
16043 Use __caddr_t instead of caddr_t.
16044 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16045 Use __clockid_t instead of clockid_t.
16046
16047 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16048
16049 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16050 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16051 expanding it.
16052
16053 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16054 Define __glibc_c99_flexarr_available to 1 when the compiler
16055 supports C99-compatible flexible array members, 0 otherwise.
16056 * sysdeps/unix/sysv/linux/bits/socket.h
16057 * sysdeps/mach/hurd/bits/socket.h
16058 * bits/socket.h: Use __glibc_c99_flexarr_available in
16059 definitions of struct cmsghdr and CMSG_DATA.
16060
16061 2016-09-23 Florian Weimer <fweimer@redhat.com>
16062
16063 * manual/nss.texi (NSS Modules Interface): Adjust function return
16064 type to enum nss_status. Document errnop argument. Clarify
16065 h_errnop semantics. Fix cross-reference formatting.
16066 (NSS Module Function Internals): Mention that *errnop needs to be
16067 set on failure, but not to zero.
16068
16069 2016-09-23 Florian Weimer <fweimer@redhat.com>
16070
16071 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16072 (get_random_name): New functions.
16073 (check_wrapper_flags_mode): Use linkat to give the new file a name
16074 determined by get_random_name.
16075 (do_test): Add calls to test open64 and openat64.
16076
16077 2016-09-23 Florian Weimer <fweimer@redhat.com>
16078
16079 * test-skeleton.c: Remove #include <stdarg.h>.
16080
16081 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16082
16083 [BZ #19826]
16084 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16085 initialization of static TLS entries.
16086 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16087 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16088
16089 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16090
16091 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16092 _hurd_malloc_fork_prepare.
16093 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16094 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16095 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16096 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16097 (_hurd_fork_child_hook): Drop malloc_fork_child.
16098 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16099 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16100 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16101 after locking locks (notably hurd_dtable_lock). Call
16102 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16103 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16104 __malloc_fork_unlock_child.
16105 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16106
16107 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16108
16109 * soft-fp/extendhftf2.c: New.
16110 * soft-fp/fixhfti.c: Likewise.
16111 * soft-fp/fixunshfti.c: Likewise.
16112 * soft-fp/floattihf.c: Likewise.
16113 * soft-fp/floatuntihf.c: Likewise.
16114 * soft-fp/half.h: Likewise.
16115 * soft-fp/trunctfhf2.c: Likewise.
16116
16117 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16118
16119 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16120 macro.
16121 * math/libm-test.inc (issubnormal_test_data): New array.
16122 (issubnormal_test): New function.
16123 * manual/arith.texi (Floating Point Classes): Document
16124 issubnormal.
16125 * manual/libm-err-tab.pl: Update comment on interfaces without
16126 ulps tabulated.
16127
16128 * sysdeps/generic/stdint.h: Define
16129 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16130 <bits/libc-header-start.h> instead of including <features.h>.
16131 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16132 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16133 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16135 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16136 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16137 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16138 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16139 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16140 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16141 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16142 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16143 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16144 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16145 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16146 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16147 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16148 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16149 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16150 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16151 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16152 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16153 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16154 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16155 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16156 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16157 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16158 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16159 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16160 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16161 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16162 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16163 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16164 * manual/arith.texi (Integers): Document these macros for types
16165 specified by width properties.
16166 * manual/lang.texi (Width of Type): Document these macros for
16167 other standard typedefs.
16168 * stdlib/tst-width-stdint.c: New file.
16169 * stdlib/Makefile (tests): Add tst-width-stdint.
16170
16171 2016-09-21 Florian Weimer <fweimer@redhat.com>
16172
16173 [BZ #20016]
16174 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16175 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16176 Move ...
16177 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16178 ... here, as compatibility symbols in a new file.
16179 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16180 * resolv/res_init.c (__res_vinit): Adjust member names.
16181 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16182 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16183 (res_send_rhook): Remove.
16184 (struct __res_state): Rename qhook, rhook members.
16185
16186 2016-09-21 Florian Weimer <fweimer@redhat.com>
16187
16188 malloc: Use __libc_lock wrappers.
16189 * malloc/arena.c (list_lock, free_list_lock): Define using
16190 __libc_lock_define_initialized.
16191 (arena_lock): Adjust formatting.
16192 * malloc/malloc.c (struct malloc_state): Define mutex using
16193 __libc_lock_define.
16194 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16195 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16196 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16197 (mutex_unlock, mutex_trylock): Remove.
16198 (__pthread_initialize): Remove unused macro.
16199 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16200 (mutex_unlock, mutex_trylock): Remove.
16201
16202 2016-09-21 Florian Weimer <fweimer@redhat.com>
16203
16204 [BZ #20592]
16205 Remove RR type classification macros.
16206 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16207 (ns_t_udp_p, ns_t_xfr_p): Remove.
16208
16209 2016-09-21 Florian Weimer <fweimer@redhat.com>
16210
16211 Remove misleading version information.
16212 * resolv/arpa/nameser.h (__NAMESER): Remove.
16213 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16214
16215 2016-09-21 Florian Weimer <fweimer@redhat.com>
16216
16217 Remove the always-defined BIND_4_COMPAT macro.
16218 * resolv/arpa/nameser.h: Unconditionally include
16219 <arpa/nameser_compat.h>.
16220 (BIND_4_COMPAT): Remove.
16221 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16222
16223 2016-09-21 Florian Weimer <fweimer@redhat.com>
16224
16225 [BZ #20591]
16226 Remove obsolete DNSSEC support.
16227 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16228 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16229 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16230 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16231 (ns_cert_types): Add comment.
16232 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16233 separately.
16234 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16235 (dst_s_dns_key_id): Remove.
16236 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16237 variables.
16238
16239 2016-09-21 Florian Weimer <fweimer@redhat.com>
16240
16241 [BZ #20524]
16242 * manual/string.texi (String/Array Comparison): Clarify the
16243 strverscmp behavior.
16244
16245 2016-09-21 Florian Weimer <fweimer@redhat.com>
16246
16247 * test-skeleton.c (xasprintf): Add function.
16248 * io/tst-open-tmpfile.c: New test.
16249 * io/Makefile (tests): Add it.
16250
16251 2016-09-21 Florian Weimer <fweimer@redhat.com>
16252
16253 Avoid running $(CXX) during build to obtain header file paths.
16254 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16255 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16256 * Makerules (cstdlib, cmath): Remove variables. Use
16257 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16258 * configure: Regenerate.
16259
16260 2016-09-21 Florian Weimer <fweimer@redhat.com>
16261
16262 * Makeconfig (all-object-suffixes): Include .op only if
16263 $(build-profile).
16264
16265 2016-09-21 Florian Weimer <fweimer@redhat.com>
16266
16267 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16268 conditionals. Do not define PATH_MAX.
16269
16270 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16271
16272 * posix/Makefile (tests): Add tst-spawn3.
16273 * posix/tst-spawn3.c: New file.
16274 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16275 if it is already opened for open action.
16276
16277 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16278 all signals when executing the clone vfork child.
16279 (SIGALL_SET): Remove macro.
16280
16281 * nptl/Makefile (tests): Add tst-exec5.
16282 * nptl/tst-exec5.c: New file.
16283 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16284 asynchronous cancellation.
16285
16286 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16287
16288 * hurd/exc2signal.c: #include <hurd/signal.h>
16289 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16290 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16291 accordingly.
16292 * mach/mach_error.c (mach_error): Fix old-style function definition.
16293 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16294
16295 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16296
16297 * math/Makefile (libm-calls): Remove s_nanF.
16298 (gen-libm-calls): Add s_nanF.
16299
16300 * math/s_nan.c: Refactor into ...
16301 * math/s_nan_template.c: New file.
16302
16303 * math/s_nanf.c: Removed.
16304 * math/s_nanl.c: Removed.
16305 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16306 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16307
16308 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16309 (LDOUBLE_nanl_libm_version): New macro.
16310
16311 * sysdeps/generic/math-type-macros-double.h:
16312 (M_STRTO_NAN): New macro.
16313 * sysdeps/generic/math-type-macros-float.h: Likewise.
16314 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16315
16316 * sysdeps/generic/math-type-macros.h: Document
16317 M_STRTO_NAN.
16318
16319 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16320
16321 * math/s_nanf.c: Remove __nanf undef.
16322 * math/s_nan.c: Remove __nan undef.
16323 * math/s_nanl.c: Remove __nanl undef.
16324
16325 * sysdeps/generic/math_private.h (__nan): Remove macro
16326 override.
16327 (__nanf): Likewise.
16328 (__nanl): Likewise.
16329
16330 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16331
16332 * math/Makefile (gen-all-calls): New variable.
16333 (generated): Replace gen-libm-calls with gen-all-calls.
16334 (gen-libm-templates.stmp): Likewise. Also, ensure
16335 the output directory exists or is created and add
16336 dependency on the Makefile.
16337 (calls): Move s_ldexpF into gen-calls.
16338 (gen-calls): New variable.
16339
16340 * math/s_ldexpf.c: Removed.
16341 * math/s_ldexpl.c: Removed.
16342 * math/s_ldexp.c: Refactored into ...
16343 * math/s_ldexp_template.c: New file.
16344
16345 * sysdeps/generic/math-type-macros-double.h: Remove
16346 redundant fall-through definition of declare_mgen_alias.
16347 (declare_mgen_alias_2): New macro.
16348
16349 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16350 New macro for function aliased to two exported symbols.
16351
16352 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16353 new template file.
16354 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16355
16356 2016-09-20 Florian Weimer <fweimer@redhat.com>
16357
16358 * Makeconfig (all-object-suffixes): Remove .og.
16359 * Makerules (elide-routines.og): Remove.
16360 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16361 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16362 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16363
16364 2016-09-20 Florian Weimer <fweimer@redhat.com>
16365
16366 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16367 .os objects.
16368
16369 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16370
16371 [BZ #20615]
16372 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16373 fpu directory by non-fpu.
16374 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16375 on non-fpu directory from a fpu directory.
16376
16377 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16378
16379 * include/limits.h: Define
16380 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16381 <bits/libc-header-start.h> instead of including <features.h>.
16382 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16383 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16384 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16385 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16386 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16387 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16388 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16389 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16390 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16391 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16392 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16393 * manual/lang.texi (Width of Type): Document these macros.
16394 * stdlib/tst-width.c: New file.
16395 * stdlib/Makefile (tests): Add tst-width.
16396
16397 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16398
16399 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16400 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16401
16402 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16403
16404 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16405 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16406 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16407
16408 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16409
16410 [BZ #18243]
16411 * rt/Makefile (test): Add tst-shm-cancel.
16412 * rt/tst-shm-cancel.c: New file.
16413 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16414
16415 [BZ #18243]
16416 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16417 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16418 definition.
16419 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16420 uncontended case.
16421 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16422 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16423 (tf): Fix check for uncontended case.
16424 (do_test): Likewise.
16425 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16426 (tf): Fix check for uncontended case.
16427 (do_test): Likewise.
16428 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16429 (tf): Fix check for uncontended case.
16430 (do_test): Likewise.
16431 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16432 (tf): Fix check for uncontended case.
16433 (do_test): Likewise.
16434
16435 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16436 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16437
16438 [BZ #15765]
16439 * nptl/Makefile (tests): Add tst-sem16.
16440 * nptl/tst-sem16.c: New file.
16441 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16442
16443 * nptl/sem_open.c (sem_open): Init pad value to 0.
16444 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16445 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16446
16447 2016-09-15 Florian Weimer <fweimer@redhat.com>
16448
16449 [BZ #20611]
16450 * inet/Makefile (routines): Add inet6_scopeid_pton.
16451 (tests): Add tst-inet6_scopeid_pton.
16452 * inet/inet6_scopeid_pton.c: New file.
16453 * inet/net-internal.h: Likewise.
16454 * inet/tst-inet6_scopeid_pton.c: New test.
16455 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16456 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16458
16459 2016-09-14 Florian Weimer <fweimer@redhat.com>
16460
16461 Remove support for compiling wrappers with PTW.
16462 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16463 * nptl/Makefile (pthread-compat-wrappers): Define.
16464 (libpthread-routines): Use pthread-compat-wrappers.
16465 * sysdeps/unix/sysv/linux/alpha/Makefile
16466 (libpthread-routines, libpthread-shared-only-routines): Remove
16467 ptw- prefix.
16468 * sysdeps/s390/nptl/Makefile
16469 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16470 * sysdeps/ia64/nptl/Makefile
16471 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16472 * sysdeps/nacl/Makefile (libpthread-routines): Use
16473 pthread-compat-wrappers to filter the routines list instead of the
16474 ptw- prefix.
16475
16476 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16477
16478 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16479 with L() and remove explicit suffix, convert real literals
16480 which can be equivalentally substituted with integers, and
16481 transform -L(x) to L(-x).
16482
16483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16529 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16531 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16532 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16533
16534 2016-09-13 Florian Weimer <fweimer@redhat.com>
16535
16536 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16537
16538 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16539
16540 * malloc/Makefile (tests): Remove individual static test names
16541 and just add all of tests-static.
16542
16543 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16544
16545 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16546
16547 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16548 file.
16549
16550 * sysdeps/sparc/fpu/fegetmode.c: New file.
16551 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16552
16553 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16554 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16555
16556 * sysdeps/s390/fpu/fegetmode.c: New file.
16557 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16558
16559 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16560 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16561 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16562 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16563 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16564 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16565
16566 * sysdeps/mips/fpu/fegetmode.c: New file.
16567 * sysdeps/mips/fpu/fesetmode.c: Likewise.
16568
16569 * sysdeps/m68k/fpu/fegetmode.c: New file.
16570 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16571
16572 * sysdeps/ia64/fpu/fegetmode.c: New file.
16573 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16574
16575 * sysdeps/hppa/fpu/fegetmode.c: New file.
16576 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16577
16578 * sysdeps/arm/fegetmode.c: New file.
16579 * sysdeps/arm/fesetmode.c: Likewise.
16580
16581 * sysdeps/alpha/fpu/fegetmode.c: New file.
16582 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16583
16584 * sysdeps/aarch64/fpu/fegetmode.c: New file.
16585 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16586
16587 * math/fegetmode.c: New file.
16588 * math/fesetmode.c: Likewise.
16589 * sysdeps/i386/fpu/fegetmode.c: Likewise.
16590 * sysdeps/i386/fpu/fesetmode.c: Likewise.
16591 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16592 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16593 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16594 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16595 declaration.
16596 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16597 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16598 typedef.
16599 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16600 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16601 (femode_t): New typedef.
16602 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16603 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16604 (femode_t): New typedef.
16605 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16606 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16607 (femode_t): New typedef.
16608 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16609 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16610 (femode_t): New typedef.
16611 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16612 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16613 (femode_t): New typedef.
16614 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16615 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16616 (femode_t): New typedef.
16617 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16618 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16619 (femode_t): New typedef.
16620 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16621 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16622 (femode_t): New typedef.
16623 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16624 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16625 (femode_t): New typedef.
16626 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16627 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16628 (femode_t): New typedef.
16629 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16630 declaration.
16631 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16632 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16633 (femode_t): New typedef.
16634 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16635 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16636 (femode_t): New typedef.
16637 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16638 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16639 (femode_t): New typedef.
16640 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16641 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16642 (femode_t): New typedef.
16643 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16644 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16645 (femode_t): New typedef.
16646 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16647 * manual/arith.texi (FE_DFL_MODE): Document macro.
16648 (fegetmode): Document function.
16649 (fesetmode): Likewise.
16650 * math/Versions (fegetmode): New libm symbol at version
16651 GLIBC_2.25.
16652 (fesetmode): Likewise.
16653 * math/Makefile (libm-support): Add fegetmode and fesetmode.
16654 (tests): Add test-femode and test-femode-traps.
16655 * math/test-femode-traps.c: New file.
16656 * math/test-femode.c: Likewise.
16657 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16658 alias for __fe_dfl_env.
16659 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16660 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16661 (__fe_dfl_mode): Likewise.
16662 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16663 version GLIBC_2.25.
16664 * sysdeps/nacl/libm.abilist: Update.
16665 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16666 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16667 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16670 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16671 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16672 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16673 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16674 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16676 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16678 Likewise.
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16680 Likewise.
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16682 Likewise.
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16684 Likewise.
16685 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16691 Likewise.
16692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16693 Likewise.
16694 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16695 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16697
16698 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 [BZ #20495]
16701 [BZ #20508]
16702 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16703 processors, set Use_dl_runtime_resolve_slow and set
16704 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16705 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16706 New.
16707 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16708 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16709 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16710 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16711 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16712 if Use_dl_runtime_resolve_opt is set. Use
16713 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16714 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16715 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
16716 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16717 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16718 New.
16719 (_dl_runtime_resolve_opt): Likewise.
16720 (_dl_runtime_profile): Define only if _dl_runtime_profile is
16721 defined.
16722
16723 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
16724
16725 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16726 __libc_memalign with "+ RELA R_390_GLOB_DAT".
16727
16728 2016-09-06 Florian Weimer <fweimer@redhat.com>
16729
16730 Convert malloc to __libc_lock. Automated part, using this Perl
16731 s/// command:
16732 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16733 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16734 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16735 conversion.
16736
16737 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
16738
16739 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16740 (linknamespace-symlists-tests): Likewise.
16741 (linknamespace-header-tests): Likewise.
16742
16743 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
16744
16745 [BZ #19810]
16746 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16747 * elf/tst-noload.c: New test case.
16748 * elf/Makefile (tests): Add tst-noload.
16749
16750 2016-09-02 Roland McGrath <roland@hack.frob.com>
16751
16752 * sysdeps/nacl/dup.c: Add libc_hidden_def.
16753
16754 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16755 not any more.
16756
16757 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16758
16759 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16760
16761 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16762 (do_cos_slow): Likewise.
16763 (do_sin): Likewise.
16764 (do_sin_slow): Likewise.
16765 (slow): Likewise.
16766 (slow1): Likewise.
16767 (slow2): Likewise.
16768 (sloww): Likewise.
16769 (sloww1): Likewise.
16770 (sloww2): Likewise.
16771 (bsloww): Likewise.
16772 (bsloww1): Likewise.
16773 (bsloww2): Likewise.
16774 (cslow2): Likewise.
16775
16776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16777
16778 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16779 arguments. Consolidate input partitioning from callers here.
16780 (do_cos_slow): Likewise.
16781 (do_sin): Likewise.
16782 (do_sin_slow): Likewise.
16783 (do_sincos_1): Remove the no longer necessary input partitioning.
16784 (do_sincos_2): Likewise.
16785 (__sin): Likewise.
16786 (__cos): Likewise.
16787 (slow1): Likewise.
16788 (slow2): Likewise.
16789 (sloww1): Likewise.
16790 (sloww2): Likewise.
16791 (bsloww1): Likewise.
16792 (bsloww2): Likewise.
16793 (cslow2): Likewise.
16794
16795 2016-09-02 Florian Weimer <fweimer@redhat.com>
16796
16797 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16798 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
16799 outside of allocated array.
16800
16801 2016-09-02 Florian Weimer <fweimer@redhat.com>
16802
16803 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16804 instead of MB_CUR_MAX to avoid variable-length array.
16805
16806 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16807
16808 * math/Makefile (libm-calls): Remove k_rem_pio2F.
16809 (type-double-routines): Add k_rem_pio2.
16810 (type-float-routines): Add k_rem_pio2f.
16811
16812 * sysdeps/generic/math_private.h:
16813 (__kernel_rem_pio2l): Removed.
16814
16815 * math/k_rem_pio2l.c: Removed.
16816 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16817 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16818 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16819 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16820
16821 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16822
16823 * math/Makefile (gen-libm-calls): Add s_fmin
16824 (libm-calls): Remove above.
16825
16826 * math/s_fmin.c: Refactor into ...
16827 * math/s_fmin_template.c: New file.
16828
16829 * math/s_fminf.c: Removed.
16830 * math/s_fminl.c: Removed.
16831 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16832 (LDOUBLE_fmin_libm_version): New macro.
16833
16834 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16835 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16836
16837 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16838
16839 * math/Makefile: (gen-libm-calls): Add s_fmax.
16840 (libm-calls): Remove above.
16841
16842 * math/s_fmax.c: Refactor into ...
16843 * math/s_fmax_template.c: New file.
16844 * math/s_fmaxf.c: Removed.
16845 * math/s_fmaxl.c: Removed.
16846
16847 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16848 (LDOUBLE_fmaxl_libm_version): New macro.
16849
16850 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16851 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16852
16853 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16854 s_fmin.c to pick the aarch64 version of the file.
16855 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16856 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16857
16858 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16859
16860 * math/Makefile: (gen-libm-calls): Add s_nextdown.
16861 (libm-calls): Remove above.
16862
16863 * math/s_nextdown.c: Refactor into ...
16864 * math/s_nextdown_template.c: New file.
16865 * math/s_nextdownf.c: Removed.
16866 * math/s_nextdownl.c: Removed.
16867
16868 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16869
16870 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16871
16872 * math/Makefile (gen-libm-calls): Add s_fdim.
16873 (libm-calls): Move to above.
16874
16875 * math/s_fdim.c: Renamed and refactored into to ...
16876 * math/s_fdim_template.c: New file.
16877 * math/s_fdiml.c: Removed.
16878 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16879 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16880
16881 * sysdeps/generic/math-type-macros-double.h:
16882 (declare_mgen_alias): Don't declare if already declared.
16883 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16884 Likewise.
16885
16886 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16887 (declare_mgen_alias): Don't declare if already declared.
16888 (M_LIBM_NEED_COMPAT): Likewise.
16889 (declare_mgen_libm_compat): Likewise.
16890 (LDOUBLE_fdiml_libm_version): New macro.
16891
16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16893 Include math/s_fdim.c now that ldbl-opt version is not needed.
16894 (declare_mgen_alias): New macro to disable aliasing.
16895
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16897 (declare_mgen_alias): Likewise.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16899 (declare_mgen_alias): Likewise.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16901 (declare_mgen_alias): Likewise.
16902 (M_LIBM_NEED_COMPAT): Likewise.
16903
16904 2016-09-01 Florian Weimer <fweimer@redhat.com>
16905
16906 [BZ #20525]
16907 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16908 Include <linux/quota.h>.
16909 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16910 and btodb.
16911 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16912 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16913 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16914 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16915 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16916 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16917 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16918 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16919 types.
16920 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16921 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16922
16923 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16924
16925 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16926 (gammal_positive): Fix spacing.
16927 (__ieee754_gammal_r): Likewise.
16928
16929 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16930
16931 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16932 (_Float128): Define as long double, always.
16933 (L): Apply long double type suffix, always.
16934
16935 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16936 _Float128, excepting comments.
16937
16938 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17004 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17006
17007 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17008 _Float128, and include math_private.h.
17009 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17010
17011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17012 long double semantics.
17013 (_Float128): Likewise.
17014 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17018
17019 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17020
17021 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17022 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17023 * sysdeps/s390/configure: Regenerated.
17024 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17025 instruction for raising over-/underflow if z196 zarch is supported
17026 by default.
17027 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17028
17029 2016-08-30 Svante Signell <svante.signell@gmail.com>
17030
17031 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17032 it point to a dumb buffer for RPC to fill it.
17033
17034 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17035
17036 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17037 instead of if/else.
17038 (do_sin_slow): Likewise.
17039 (do_sincos_1): Use fabs instead of if/else.
17040 (do_sincos_2): Likewise.
17041 (__sin): Likewise.
17042 (__cos): Likewise.
17043 (slow2): Likewise.
17044 (sloww): Likewise.
17045 (sloww1): Likewise. Drop argument M.
17046 (sloww2): Use fabs instead of if/else.
17047 (bsloww): Likewise.
17048 (bsloww1): Likewise.
17049 (bsloww2): Likewise.
17050
17051 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17052 fall through comment.
17053 (do_sincos_1): Likewise.
17054
17055 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17056 Consolidate switch cases 0 and 2.
17057
17058 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17059
17060 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17061 (libm-calls): Remove the above.
17062
17063 * math/s_cexp_template.c: Update using type-generic macros.
17064 * math/s_clog10_template.c: Likewise.
17065 * math/s_cpow_template.c: Likewise.
17066 * math/s_clog_template.c: Likewise.
17067 * math/s_cproj_template.c: Likewise.
17068 * math/s_csqrt_template.c: Likewise.
17069
17070 * math/s_cexp.c: Removed.
17071 * math/s_cexpf.c: Removed.
17072 * math/s_cexpl.c: Removed.
17073 * math/s_clog10.c: Removed.
17074 * math/s_clog10f.c: Removed.
17075 * math/s_clog10l.c: Removed.
17076 * math/s_cpow.c: Removed.
17077 * math/s_cpowf.c: Removed.
17078 * math/s_cpowl.c: Removed.
17079 * math/s_clog.c: Removed.
17080 * math/s_clogf.c: Removed.
17081 * math/s_clogl.c: Removed.
17082 * math/s_cproj.c: Removed.
17083 * math/s_cprojf.c: Removed.
17084 * math/s_cprojl.c: Removed.
17085 * math/s_csqrt.c: Removed.
17086 * math/s_csqrtf.c: Removed.
17087 * math/s_csqrtl.c: Removed.
17088
17089 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17090 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17091 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17092 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17093 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17094 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17095
17096 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17097 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17098 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17099 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17100 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17101 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17102 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17103 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17104 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17105 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17106 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17107
17108 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17109 version.
17110
17111 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17112 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17113 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17114 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17115
17116 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17117
17118 * s_cexp_template.c: Copy of s_cexp.c.
17119 * s_clog_template.c: Copy of s_clog.c.
17120 * s_clog10_template.c: Copy of s_clog10.c.
17121 * s_cpow_template.c: Copy of s_cpow.c.
17122 * s_cproj_template.c: Copy of s_cproj.c.
17123 * s_csqrt_template.c: Copy of s_csqrt.c.
17124
17125 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17126
17127 [BZ #20517]
17128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17129 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17130 exported.
17131
17132 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17133
17134 * math/fetestexceptflag.c: New file.
17135 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17136 Stefan Liebler.
17137 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17138 (fetestexceptflag): New function declaration.
17139 * manual/arith.texi (fetestexceptflag): Document function.
17140 * math/Versions (fetestexceptflag): New libm symbol at version
17141 GLIBC_2.25.
17142 * math/Makefile (libm-support): Add fetestexceptflag.
17143 (tests): Add test-fetestexceptflag.
17144 * math/test-fetestexceptflag.c: New file.
17145 * sysdeps/nacl/libm.abilist: Update.
17146 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17151 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17159 Likewise.
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17161 Likewise.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17163 Likewise.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17165 Likewise.
17166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17172 Likewise.
17173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17174 Likewise.
17175 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17178
17179 2016-08-26 Florian Weimer <fweimer@redhat.com>
17180
17181 [BZ #20432]
17182 Avoid strong references to malloc-internal symbols when linking
17183 statically, to support statically interposed mallocs.
17184 * include/libc-symbols.h (call_function_static_weak): New macro.
17185 * malloc/Makefile (tests): Add tst-interpose-nothread,
17186 tst-interpose-thread, tst-interpose-static-nothread,
17187 tst-interpose-static-thread.
17188 (tests-static): Add tst-interpose-static-nothread,
17189 tst-interpose-static-thread.
17190 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17191 tst-interpose-aux-thread.o.
17192 (test-extras): Add tst-interpose-aux-nothread,
17193 tst-interpose-aux-thread.
17194 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17195 tst-interpose-aux-nothread.o.
17196 (tst-interpose-thread, tst-interpose-static-thread): Link with
17197 tst-interpose-aux-thread.o and libthread.
17198 * malloc/tst-interpose-aux-nothread.c: New file.
17199 * malloc/tst-interpose-aux-thread.c: Likewise.
17200 * malloc/tst-interpose-aux.c: Likewise.
17201 * malloc/tst-interpose-aux.h: Likewise.
17202 * malloc/tst-interpose-nothread.c: Likewise.
17203 * malloc/tst-interpose-skeleton.c: Likewise.
17204 * malloc/tst-interpose-static-nothread.c: Likewise.
17205 * malloc/tst-interpose-static-thread.c: Likewise.
17206 * malloc/tst-interpose-thread.c: Likewise.
17207 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17208 * sysdeps/mach/hurd/fork.c (__fork): Only call
17209 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17210 __malloc_fork_unlock_child if defined.
17211 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17212
17213 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17214
17215 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17216 timespec C99 designated initialization.
17217
17218 2016-08-26 Florian Weimer <fweimer@redhat.com>
17219
17220 [BZ #19946]
17221 Avoid expected SIGALRM signals.
17222 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17223 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17224 (xpthread_create, xpthread_detach, xpthread_join)
17225 (delayed_exit_thread, delayed_exit): New functions.
17226 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17227 (tf): Use xpthread_cond_wait.
17228 (do_test): Likewise. Replace alarm with delayed_exit.
17229 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17230 (do_test): Call delayed_exit. Report failure.
17231 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17232 (do_test): Call delayed_exit.
17233 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17234 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17235 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17236 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17237 error.
17238 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17239 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17240 error.
17241 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17242 (do_test): Call delayed_exit.
17243 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17244 (do_test): Call delayed_exit.
17245 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17246 (do_test): Call delayed_exit instead of alarm. Use
17247 xpthread_mutex_lock.
17248 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17249 (do_test): Call delayed_exit instead of alarm. Use
17250 xpthread_mutex_lock.
17251 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17252 (do_test): Call delayed_exit instead of alarm.
17253 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17254 (do_test): Call delayed_exit instead of alarm. Use
17255 xpthread_spin_lock.
17256 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17257 (do_test): Call delayed_exit instead of alarm. Use
17258 xpthread_join.
17259
17260 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17261
17262 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17263 adjust CFA when allocating register save area on re-aligned
17264 stack.
17265
17266 2016-08-26 Florian Weimer <fweimer@redhat.com>
17267
17268 * string/tst-cmp.c: New test.
17269 * string/Makefile (tests): Add it.
17270
17271 2016-08-25 Mark Wielaard <mark@klomp.org>
17272
17273 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17274 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17275 (check_tree_recurse): Use newly defined accessors.
17276 (check_tree): Likewise.
17277 (maybe_split_for_insert): Likewise.
17278 (__tfind): Likewise.
17279 (__tdelete): Likewise.
17280 (trecurse): Likewise.
17281 (tdestroy_recurse): Likewise.
17282 (__tsearch): Likewise. And add asserts for malloc alignment.
17283 (__twalk): Cast root to node in case CHECK_TREE is defined.
17284
17285 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17286
17287 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17288
17289 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17290
17291 * math/Makefile (libm-gen-calls): Add
17292 catan, catanh, ctan, ctanh.
17293 (libm-calls): Remove the above.
17294
17295 * math/s_catan_template.c: Update using type-generic macros.
17296 * math/s_catanh_template.c: Likewise.
17297 * math/s_ctan_template.c: Likewise.
17298 * math/s_ctanh_template.c: Likewise.
17299
17300 * math/s_catanf.c: Removed.
17301 * math/s_catan.c: Removed.
17302 * math/s_catanl.c: Removed.
17303 * math/s_catanhf.c: Removed.
17304 * math/s_catanh.c: Removed.
17305 * math/s_catanhl.c: Removed.
17306 * math/s_ctanf.c: Removed.
17307 * math/s_ctan.c: Removed.
17308 * math/s_ctanl.c: Removed.
17309 * math/s_ctanhf.c: Removed.
17310 * math/s_ctanh.c: Removed.
17311 * math/s_ctanhl.c: Removed.
17312
17313 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17314 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17315 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17316 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17317 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17318 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17319
17320 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17321 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17322 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17323 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17324
17325 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17326
17327 * s_catan_template.c: Copy of s_catan.c.
17328 * s_catanh_template.c: Copy of s_catanh.c.
17329 * s_ctan_template.c: Copy of s_ctan.c.
17330 * s_ctanh_template.c: Copy of s_ctanh.c.
17331
17332 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17333
17334 * math/Makefile (gen-libm-calls): Move
17335 casin, casinh, csin, csinh here.
17336 (libm-calls): Remove the above.
17337
17338 * math/s_casin_template.c: Update using type-generic macros.
17339 * math/s_casinh_template.c: Likewise.
17340 * math/s_csin_template.c: Likewise.
17341 * math/s_csinh_template.c: Likewise.
17342 * math/k_casinh_template.c: Likewise.
17343
17344 * math/s_casinf.c: Removed.
17345 * math/s_casin.c: Removed.
17346 * math/s_casinl.c: Removed.
17347 * math/s_casinh.c: Removed.
17348 * math/s_casinhf.c: Removed.
17349 * math/s_casinhl.c: Removed.
17350 * math/s_csin.c: Removed.
17351 * math/s_csinf.c: Removed.
17352 * math/s_csinl.c: Removed.
17353 * math/s_csinh.c: Removed.
17354 * math/s_csinhf.c: Removed.
17355 * math/s_csinhl.c: Removed.
17356 * math/k_casinh.c: Removed.
17357 * math/k_casinhf.c: Removed.
17358 * math/k_casinhl.c: Removed.
17359
17360 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17361 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17362 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17363 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17364
17365 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17366 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17367 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17368 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17369 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17370 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17371 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17372 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17373
17374 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17375 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17376 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17377 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17378
17379 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17380 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17381 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17382 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17383
17384 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17385
17386 * s_casin_template.c: Copy of s_casin.c.
17387 * s_casinh_template.c: Copy of s_casinh.c.
17388 * s_csin_template.c: Copy of s_csin.c.
17389 * s_csinh_template.c: Copy of s_csinh.c.
17390 * k_casinh_template.c: Copy of k_casinh.c.
17391
17392 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17395
17396 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17397
17398 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17399 (mul_split) Remove, rename as mul_splitl, remove
17400 redundant float.h include, and include via mul_splitl.h
17401
17402 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17407
17408 * math/mul_splitl.h: New file.
17409
17410 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17411 Move into mul_split.h, and remove redundant float.h include.
17412
17413 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17417
17418 * math/mul_split.h: New file.
17419
17420 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17421
17422 * math/Makefile (libm-gen-calls): Move
17423 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17424 (libm-calls): Remove above.
17425
17426 * math/s_cacos_template.c: Update using type-generic macros.
17427 * math/s_cacosh_template.c: Likewise.
17428 * math/s_ccos_template.c: Likewise.
17429 * math/s_ccosh_template.c: Likewise.
17430
17431 * math/s_cacosf.c: Removed.
17432 * math/s_cacos.c: Removed.
17433 * math/s_cacosl.c: Removed.
17434 * math/s_cacoshf.c: Removed.
17435 * math/s_cacosh.c: Removed.
17436 * math/s_cacoshl.c: Removed.
17437 * math/s_ccosf.c: Removed.
17438 * math/s_ccos.c: Removed.
17439 * math/s_ccosl.c: Removed.
17440 * math/s_ccoshf.c: Removed.
17441 * math/s_ccosh.c: Removed.
17442 * math/s_ccoshl.c: Removed.
17443
17444 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17445 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17446 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17447 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17448 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17449 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17450
17451 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17452 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17453 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17454 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17455
17456 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17457 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17458 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17459 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17460
17461 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17462
17463 * s_cacos_template.c: Copy of s_cacos.c.
17464 * s_cacosh_template.c: Copy of s_cacosh.c.
17465 * s_ccos_template.c: Copy of s_ccos.c.
17466 * s_ccosh_template.c: Copy of s_ccosh.c.
17467
17468 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17469
17470 * stdlib/tst-strtod-round-skeleton.c:
17471 Refactored from tst-strtod-round.c.
17472
17473 (L_): New macro to apply literal modifier.
17474 (FNPFX): New macro to select str or wcs prefix.
17475 (CHAR): New macro to choose wchar_t or char.
17476 (STRM): New macro to choose printf for tested character type.
17477
17478 (STRTO): New macro to choose appropriate string -> real function.
17479 (FNPFXS): Stringitized version of FNPFX.
17480 (STR): Support for above macro.
17481 (STRX): Likewise.
17482
17483 (TEST): Update with above macros.
17484 (test): Likewise.
17485 (GEN_ONE_TEST): Likewise.
17486 (test_in_one_mode): Likewise.
17487
17488 * stdlib/tst-strtod-round.c: New file.
17489 * wcsmbs/tst-wcstod-round.c: New file.
17490
17491 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17492 (tst-wcstod-round): Add libm depencency for fesetround.
17493
17494 2016-08-19 Zack Weinberg <zackw@panix.com>
17495
17496 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17497
17498 2016-08-18 Torvald Riegel <triegel@redhat.com>
17499
17500 [BZ #20477]
17501 * resolv/res_hconf.c (do_init): Use atomic access.
17502 * resolv/res_hconf.h: Add comments.
17503 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17504 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17506
17507 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17508
17509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17510 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17512 Likewise.
17513
17514 2016-08-18 Florian Weimer <fweimer@redhat.com>
17515
17516 [BZ #16907]
17517 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17518 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17519 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17520 (__attribute__): Remove definition.
17521
17522 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17523
17524 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17525 Remove unused sqrtl declaration.
17526
17527 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17528
17529 * math/Makefile: (gen-libm-templates.stmp): New rule.
17530 (libm-calls): Move carg conj cimag and cabs into ...
17531 (gen-libm-calls): New variable.
17532 (generated): Inform Make objects from gen-libm-calls
17533 may be generated.
17534
17535 * sysdeps/generic/math-type-macros.h: New file.
17536 * sysdeps/generic/math-type-macros-float.h: Likewise.
17537 * sysdeps/generic/math-type-macros-double.h: Likewise.
17538 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17539 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17540 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17541
17542 * math/cabs.c: Refactor into
17543 * math/cabs_template.c: new file.
17544 * math/cabsf.c: Removed.
17545 * math/cabsl.c: Removed.
17546 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17547 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17548
17549 * math/carg.c: Refactor into
17550 * math/carg_template.c: new file.
17551 * math/cargf.c: Removed.
17552 * math/cargl.c: Removed.
17553 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17554 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17555
17556 * math/conj.c: Refactor into
17557 * math/conj_template.c: new file.
17558 * math/conjf.c: Removed.
17559 * math/conjl.c: Removed.
17560 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17561 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17562
17563 * math/cimag.c: Refactor into
17564 * math/cimag_template.c: new file.
17565 * math/cimagf.c: Removed.
17566 * math/cimagl.c: Removed.
17567 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17568 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17569
17570 * math/cimag.c: Refactor into
17571 * math/cimag_template.c: new file.
17572 * math/cimagf.c: Removed.
17573 * math/cimagl.c: Removed.
17574 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17575 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17576
17577 2016-08-17 Florian Weimer <fweimer@redhat.com>
17578
17579 Reduce time to expected nptl/tst-once5 failure.
17580 * nptl/tst-once5.cc (TIMEOUT): Define.
17581
17582 2016-08-17 Florian Weimer <fweimer@redhat.com>
17583
17584 [BZ #20452]
17585 Avoid additional copies of objects in libc.a in static libraries.
17586 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17587 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17588 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17589 rt-sysdep.
17590 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17591 Add nptl-sysdep.
17592 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17593 Add ptw-sysdep.
17594 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17595 rt-sysdep.
17596 * sysdeps/unix/sysv/linux/alpha/Makefile
17597 (libpthread-shared-only-routines): Add ptw-sysdep,
17598 ptw-sigprocmask, ptw-rt_sigaction.
17599 * sysdeps/unix/sysv/linux/ia64/Makefile
17600 (librt-shared-only-routines): Add rt-sysdep.
17601 * sysdeps/unix/sysv/linux/i386/Makefile
17602 (libpthread-shared-only-routines): Add libc-do-syscall.
17603 * sysdeps/unix/sysv/linux/microblaze/Makefile
17604 (libpthread-shared-only-routines): Add sysdep.
17605 * sysdeps/unix/sysv/linux/powerpc/Makefile
17606 (librt-shared-only-routines): Add rt-sysdep.
17607 (libpthread-shared-only-routines): Add sysdep.
17608 * sysdeps/unix/sysv/linux/s390/Makefile
17609 (librt-shared-only-routines): Add rt-sysdep.
17610 * sysdeps/unix/sysv/linux/sparc/Makefile
17611 (librt-shared-only-routines): Add rt-sysdep.
17612 (libpthread-shared-only-routines): Add sysdep.
17613 * sysdeps/unix/sysv/linux/tile/Makefile
17614 (libpthread-shared-only-routines): Likewise.
17615
17616 2016-08-16 Joseph Myers <joseph@codesourcery.com>
17617
17618 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17619 Mask implicit bit out of unpacked value.
17620 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17623
17624 * sysdeps/sparc/fpu/fesetexcept.c: New file.
17625
17626 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17627
17628 * sysdeps/s390/fpu/fesetexcept.c: New file.
17629
17630 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17631 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17632 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17633
17634 * sysdeps/mips/fpu/fesetexcept.c: New file.
17635
17636 * sysdeps/m68k/fpu/fesetexcept.c: New file.
17637
17638 * sysdeps/ia64/fpu/fesetexcept.c: New file.
17639
17640 * sysdeps/hppa/fpu/fesetexcept.c: New file.
17641
17642 * sysdeps/arm/fesetexcept.c: New file.
17643
17644 * sysdeps/alpha/fpu/fesetexcept.c: New file.
17645
17646 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17647
17648 * math/fesetexcept.c: New file.
17649 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17650 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17651 * math/fenv.h: Define
17652 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17653 <bits/libc-header-start.h> instead of including <features.h>.
17654 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17655 declaration.
17656 * manual/arith.texi (fesetexcept): Document function.
17657 * math/Versions (fesetexcept): New libm symbol at version
17658 GLIBC_2.25.
17659 * math/Makefile (libm-support): Add fesetexcept.
17660 (tests): Add test-fesetexcept and test-fesetexcept-traps.
17661 * math/test-fesetexcept.c: New file.
17662 * math/test-fesetexcept-traps.c: Likewise.
17663 * sysdeps/nacl/libm.abilist: Update.
17664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17677 Likewise.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17679 Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17681 Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17683 Likewise.
17684 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17685 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17686 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17690 Likewise.
17691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17692 Likewise.
17693 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17696
17697 2016-08-16 Florian Weimer <fweimer@redhat.com>
17698
17699 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
17700 New.
17701 (do_test): Apply default_stack_size_in_mb if not set.
17702 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17703
17704 2016-08-15 Andreas Schwab <schwab@suse.de>
17705
17706 [BZ #20435]
17707 CVE-2016-6323
17708 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17709 as .cantunwind.
17710
17711 2016-08-12 Joseph Myers <joseph@codesourcery.com>
17712
17713 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17714 comment from fraiseexcpt.c.
17715
17716 * math/test-fexcept.c (feraiseexcept_exact): New function.
17717 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17718 (test_except): Likewise.
17719
17720 2016-08-10 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #20455]
17723 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17724 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17725 to be restored.
17726
17727 * math/test-fexcept-traps.c: New file.
17728 * math/test-fexcept.c: Likewise.
17729 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17730 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17731 macro.
17732 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17733 (EXCEPTION_SET_FORCES_TRAP): Likewise.
17734
17735 2016-08-09 Torvald Riegel <triegel@redhat.com>
17736
17737 * include/atomic.h (atomic_fetch_and_relaxed,
17738 atomic_fetch_and_release, atomic_fetch_or_release,
17739 atomic_fetch_xor_release): New.
17740
17741 2016-08-06 Christian Seiler <christian@iwakd.de>
17742
17743 [BZ #20444]
17744 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17745 MACH_PORT_NULL.
17746
17747 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17748
17749 * math/s_fdim.c: Avoid alias renamed.
17750 * math/s_fdimf.c: Likewise.
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17752 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17753 Add s_fdimf-vis3, s_fdim-vis3.
17754 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17755 (CFLAGS-s_fdim-vis3.c): Likewise.
17756 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17757 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17758
17759 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17760
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17762 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17763 Remove s_fdimf-vis3, s_fdim-vis3.
17764 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17765 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17772 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17773 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17774
17775 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17776
17777 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17778 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17779 -Wa,-Av9a -mvis.
17780
17781 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17782
17783 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17784 LIT() to individual constants in simple expressions
17785 after splitting on spaces.
17786 (_apply_lit): Rename replaced version, and use it to
17787 apply to what appears to be a token.
17788
17789 * math/libm-test.inc: Fix many, many issues with
17790 spacing.
17791
17792 2016-08-05 Joseph Myers <joseph@codesourcery.com>
17793
17794 * math/math.h: Move comment about <bits/mathdef.h> definitions
17795 above inclusion of <bits/mathdef.h>. Do not mention
17796 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17797
17798 2016-08-05 Torvald Riegel <triegel@redhat.com>
17799
17800 * include/atomic.h (atomic_exchange_relaxed): New.
17801
17802 2016-08-04 Joseph Myers <joseph@codesourcery.com>
17803
17804 * math/e_scalb.c: Do not include <fenv.h>.
17805 (invalid_fn): Do calculation resulting in NaN instead of raising
17806 FE_INVALID and returning a NaN explicitly.
17807 * math/e_scalbf.c: Do not include <fenv.h>.
17808 (invalid_fn): Do calculation resulting in NaN instead of raising
17809 FE_INVALID and returning a NaN explicitly.
17810 * math/e_scalbl.c: Do not include <fenv.h>.
17811 (invalid_fn): Do calculation resulting in NaN instead of raising
17812 FE_INVALID and returning a NaN explicitly.
17813
17814 2016-08-04 Carlos O'Donell <carlos@redhat.com>
17815
17816 * po/de.po: Updated from Translation Project.
17817 * po/fi.po: Likewise.
17818 * po/sv.po: Likewise.
17819
17820 2016-08-04 Florian Weimer <fweimer@redhat.com>
17821
17822 [BZ #20452]
17823 Use sysdep.o from libc.a in static libraries.
17824 * sysdeps/unix/sysv/linux/i386/Makefile
17825 (libpthread-shared-only-routines): Add sysdep.
17826 (librt-shared-only-routines): Likewise.
17827
17828 2016-08-03 Joseph Myers <joseph@codesourcery.com>
17829
17830 * math/tgmath.h (nextdown): Define if
17831 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17832 (nextup): Likewise.
17833
17834 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17835 macro.
17836 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17837 Document.
17838 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17839 Document macro.
17840 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17841 (exp10f): Likewise.
17842 (exp10l): Likewise.
17843 * math/bits/mathcalls.h (exp10): Declare if
17844 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17845
17846 * manual/arith.texi (nextup): Fix typo in last change.
17847
17848 2016-08-03 Zack Weinberg <zackw@panix.com>
17849
17850 [BZ #19239]
17851 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17852 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17853 define major, minor, and makedev to issue deprecation warnings on use.
17854 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17855 previously-activated deprecation warnings for these macros and prevent
17856 subsequent inclusions of this header from having any effect.
17857 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17858 including <sys/sysmacros.h>, and undefine it again afterward.
17859
17860 2016-08-03 Zack Weinberg <zackw@panix.com>
17861
17862 * sysdeps/generic/sys/sysmacros.h: Delete file.
17863 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17864 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17865 * bits/sysmacros.h: ... here; this encoding is now the generic
17866 encoding. Now defines only the following macros:
17867 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17868 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17869 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17870
17871 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17872 bits/sysmacros.h and the above new macros to generate the
17873 public implementations of major, minor, and makedev.
17874 * misc/tst-makedev.c: New test.
17875 * include/sys/sysmacros.h: New wrapper.
17876
17877 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17878 (routines): Add makedev.
17879 (tests): Add tst-makedev.
17880 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17881 gnu_dev_makedev.
17882 * posix/Makefile (headers): Remove sys/sysmacros.h.
17883 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17884
17885 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17886 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17887 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17888 * sysdeps/unix/sysv/linux/alpha/libc.abilist
17889 * sysdeps/unix/sysv/linux/arm/libc.abilist
17890 * sysdeps/unix/sysv/linux/hppa/libc.abilist
17891 * sysdeps/unix/sysv/linux/i386/libc.abilist
17892 * sysdeps/unix/sysv/linux/ia64/libc.abilist
17893 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17894 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17895 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17896 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17897 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17898 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17899 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17900 * sysdeps/unix/sysv/linux/nios2/libc.abilist
17901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17905 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17907 * sysdeps/unix/sysv/linux/sh/libc.abilist
17908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17912 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17913 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17914 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17915 Add GLIBC_2.25.
17916
17917 * include/features.h (__glibc_clang_prereq): New macro.
17918 * misc/sys/cdefs.h (__glibc_clang_has_extension)
17919 (__attribute_deprecated_msg__): New macros.
17920
17921 2016-08-03 Joseph Myers <joseph@codesourcery.com>
17922
17923 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17924 macro.
17925 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17926 * manual/arith.texi (issignaling): Document as ISO from TS
17927 18661-1:2014.
17928 (nextup): Likewise.
17929 (nextupf): Likewise.
17930 (nextupl): Likewise.
17931 (nextdown): Likewise.
17932 (nextdownf): Likewise.
17933 (nextdownl): Likewise.
17934 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17935 macro.
17936 * math/math.h: Define
17937 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17938 <bits/libc-header-start.h> instead of including <features.h>.
17939 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17940 [__USE_GNU].
17941 * math/bits/mathcalls.h (nextdown): Declare if
17942 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17943 (nextup): Likewise.
17944 (__issignaling): Likewise.
17945
17946 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17947
17948 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17949 check, and remove __glibc_likely hint
17950 from FP_INFINITE check.
17951 * s_csinhf.c (__csinhf): Likewise.
17952
17953 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17954 hint from FP_INFINITE check.
17955 * s_csinhl.c (__csinhl): Likewise.
17956
17957 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17958
17959 * math/Makefile (libm-calls): Insert F placeholder into
17960 object names. Move w_lgamma_compat* routines into
17961 (libm-compat-calls): New variable.
17962 (libm-compat-calls-ldouble-yes): New variable.
17963 (calls): Insert F placeholder.
17964 (generated): Redefine using new type-foreach macro call.
17965 (routines): Likewise.
17966
17967 (types): New variable to hold a list of symbolic names
17968 for each type supported by the target machine.
17969 (libm-routines): Redefine using new types variable.
17970 (type-foreach): macro to replace fooF with the
17971 appropriately suffixed foo for each types.
17972
17973 (type-ldouble-suffix): New variable.
17974 (type-ldouble-routines): Likewise.
17975 (type-ldouble-yes): Likewise.
17976 (type-double-suffix): Likewise.
17977 (type-double-routines): Likewise.
17978 (type-float-suffix): Likewise.
17979 (type-float-routines): Likewise.
17980
17981 (dbl-only-routines): Remove.
17982 (long-c-yes): Likewise.
17983 (long-m-routines): Likewise.
17984 (long-m-support): Likewise.
17985 (long-m-yes): Likewise.
17986 (test-longdouble-yes): Likewise.
17987
17988 (test-float.o): Simplify by increasing the scope of the
17989 recipe which adds libm-test.stmp to the vector types.
17990 (test-ifloat.o): Likewise.
17991 (test-float-finite.o): Likewise.
17992 (test-double.o): Likewise
17993 (test-idouble.o): Likewise.
17994 (test-double-finite.o): Likewise.
17995 (test-ldouble.o): Likewise
17996 (test-ildoubl.o): Likewise.
17997 (test-ldouble-finite.o): Likewise.
17998
17999 (libm-tests): Redefine type tests using foreach and the
18000 list of types in types.
18001
18002 (CPPFLAGS-test-ildoubl.c): Rename to
18003 (CPPFLAGS-test-ildouble.c): New variable
18004
18005 * math/test-ildoubl.c: Rename to
18006 * math/test-ildouble.c: New file.
18007
18008 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18009
18010 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18011 Use fabsl instead of fabs.
18012 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18013 Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18015 Add long double suffix to constant to ensure proper
18016 promotion to long double.
18017
18018 2016-08-03 Tom Tromey <tom@tromey.com>
18019
18020 [BZ #20311]
18021 * nptl_db/Makefile (headers): Add proc_service.h.
18022 * nptl_db/proc_service.h: Add include guard. Use
18023 __BEGIN/__END_DECLS.
18024 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18025 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18026 arguments.
18027
18028
18029 2016-08-03 Florian Weimer <fweimer@redhat.com>
18030
18031 [BZ #17730]
18032 Avoid using memalign for TCB allocations.
18033 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18034 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18035 Avoid alignment gap in the TLS_DTV_AT_TP case.
18036 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18037 determine the pointer to free.
18038 * nptl/tst-tls3-malloc.c: New test.
18039 * nptl/Makefile (tests): Add it.
18040 (tst-tls3-malloc): Link with libdl, libpthread.
18041 (LDFLAGS-tst-tls3-malloc): Set.
18042 (tst-tls3-malloc.out): Depend on DSO used in test.
18043
18044 2016-08-03 Florian Weimer <fweimer@redhat.com>
18045
18046 [BZ #17730]
18047 Avoid using memalign for TLS allocations.
18048 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18049 is_static member with to_free member.
18050 (union dtv): Use struct dtv_pointer.
18051 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18052 dtv_pointer instead of is_static.
18053 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18054 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18055 instead of val.
18056 (allocate_dtv_entry): New function.
18057 (allocate_and_init): Return struct dtv_pointer. Call
18058 allocate_dtv_entry instead of __libc_memalign.
18059 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18060 instead of val.
18061 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18062 instead of is_static. Adjust call to allocate_and_init.
18063 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18064 struct dtv_pointer instead of val.
18065
18066 2016-08-03 Florian Weimer <fweimer@redhat.com>
18067
18068 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18069 (MALLOC_ALIGN_MASK): Move ...
18070 * malloc/malloc-internal.h: ... to here.
18071 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18072
18073 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18074
18075 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18076 (UDP_ENCAP_GTP1U): Likewise.
18077
18078 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18079 (PF_MAX): Update value.
18080 (AF_QIPCRTR): New macro.
18081
18082 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18083
18084 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18085 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18088 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18089 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18090 s_truncf-vis3, s_trunc-vis3.
18091 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18092 (CFLAGS-s_ceil-vis3.c): Likewise.
18093 (CFLAGS-s_floorf-vis3.c): Likewise.
18094 (CFLAGS-s_floor-vis3.c): Likewise.
18095 (CFLAGS-s_truncf-vis3.c): Likewise.
18096 (CFLAGS-s_trunc-vis3.c): Likewise.
18097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18105 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18106 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18107 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18108 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18109
18110 2016-08-02 David S. Miller <davem@davemloft.net>
18111
18112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18113 (__nearbyint_vis3): Don't check for sNaN before float register is
18114 loaded with the incoming argument.
18115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18116 (__nearbyintf_vis3): Likewise.
18117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18118 Likewise.
18119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18120 Likewise.
18121
18122 * string/test-strncmp.c (do_test_limit): Make sure the test data
18123 stream is aligned as required for the type "CHAR".
18124 (do_test): Likewise.
18125
18126 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18127
18128 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18129 by beq instructions jumping to the end of the function.
18130 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18131 clobber list. Use "i" constraint instead of "X".
18132 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18133 of "X".
18134
18135 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18136
18137 * bits/libc-header-start.h: New file.
18138 * Makefile (headers): Add bits/libc-header-start.h.
18139 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18140 (__GLIBC_USE): New macro.
18141 * libio/stdio.h: Define
18142 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18143 <bits/libc-header-start.h> instead of including <features.h>.
18144 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18145 (open_memstream): Likewise.
18146 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18147 (__asprintf): Likewise.
18148 (asprintf): Likewise.
18149 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18150 (getdelim): Likewise.
18151 (getline): Likewise.
18152 * string/string.h: Define
18153 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18154 <bits/libc-header-start.h> instead of including <features.h>.
18155 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18156 (strndup): Likewise.
18157 * wcsmbs/wchar.h: Define
18158 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18159 <bits/libc-header-start.h> instead of including <features.h>.
18160 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18161 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18162
18163 2016-08-02 Florian Weimer <fweimer@redhat.com>
18164
18165 Support linking against compatibility symbols, for use in tests.
18166 * include/libc-symbols.h (symbol_version_reference): New macro.
18167 (symbol_version): Use it.
18168 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18169 (compat_symbol): Use compat_symbol_reference.
18170 (compat_symbol_1, compat_symbol_2): Remove.
18171 (compat_symbol_reference, compat_symbol_reference_1)
18172 (compat_symbol_reference_2): New macro. Use
18173 symbol_version_reference.
18174
18175 2016-08-02 Florian Weimer <fweimer@redhat.com>
18176
18177 [BZ #19469]
18178 * malloc/Makefile (CPPFLAGS): Compile tests with
18179 -DTEST_NO_MALLOPT.
18180 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18181
18182 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18183
18184 [BZ #20033]
18185 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18186 finite version.
18187 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18188 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18189 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18190 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18191 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18192 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18193 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18194 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18195 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18196 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18197 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18198 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18199 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18200 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18201 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18202 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18203 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18204 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18205 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18206 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18207 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18208 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18209 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18210 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18211 in zero power.
18212
18213 2016-08-02 Florian Weimer <fweimer@redhat.com>
18214
18215 [BZ #20370]
18216 * malloc/arena.c (get_free_list): Update comment. Assert that
18217 arenas on the free list have no attached threads.
18218 (remove_from_free_list): New function.
18219 (reused_arena): Call it.
18220
18221 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18222
18223 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18224 when it is a NaN.
18225 [_IEEE_FP_INEXACT] Remove.
18226 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18227 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18228 when it is a NaN.
18229 [_IEEE_FP_INEXACT] Remove.
18230 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18231 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18232 when it is a NaN.
18233 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18234 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18235 when its absolute value is greater than 0x1.0p52.
18236 [_IEEE_FP_INEXACT] Remove.
18237 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18238 when its absolute value is greater than 0x1.0p23.
18239 [_IEEE_FP_INEXACT] Remove.
18240
18241 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18242
18243 * version.h (RELEASE): Set to "development"
18244 (VERSION): Set to 2.24.90.
18245 * NEWS: Add 2.25 section.
18246
18247 * version.h (RELEASE): Set to "stable"
18248 (VERSION): Set to 2.24.
18249 * include/features.h (__GLIBC_MINOR__): Set to 24.
18250
18251 * NEWS: Add 2.24 fixed bugs.
18252 * po/libc.pot: Regenerate.
18253
18254 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18255
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18257 [$(subdir) = math] (libm-sysdep_routines): Remove.
18258 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18259 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18260 s_truncf-vis3, s_trunc-vis3.
18261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18263 file.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18297 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18298 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18300 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18301 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18302 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18303 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18304 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18305 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18306 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18307
18308 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18309
18310 [BZ #20384]
18311 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18312 test-double-libmvec-sincos-avx-main.o,
18313 test-double-libmvec-sincos-avx2-main.o,
18314 test-double-libmvec-sincos-main.o,
18315 test-float-libmvec-sincosf-avx-main.o,
18316 test-float-libmvec-sincosf-avx2-main.o and
18317 test-float-libmvec-sincosf-main.o.
18318 test-float-libmvec-sincosf-avx512-main.o.
18319 ($(objpfx)test-double-libmvec-sincos): Also link with
18320 $(objpfx)test-double-libmvec-sincos-main.o.
18321 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18322 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18323 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18324 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18325 ($(objpfx)test-float-libmvec-sincosf): Also link with
18326 $(objpfx)test-float-libmvec-sincosf-main.o.
18327 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18328 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18329 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18330 test-double-libmvec-sincos-avx512-main.o and
18331 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18332 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18333 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18334 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18335 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18336 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18337 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18338 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18339 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18340 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18341 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18342 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18343 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18344 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18345 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18346 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18347 -DREQUIRE_AVX2.
18348 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18349 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18350 -DREQUIRE_AVX512F.
18351 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18352 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18353 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18354 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18355 file.
18356 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18357 Likewise.
18358 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18359 Likewise.
18360 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18361 Likewise.
18362 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18363 Likewise.
18364 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18365 Likewise.
18366 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18367 Likewise.
18368 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18369 Likewise.
18370
18371 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18372
18373 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18374
18375 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18376
18377 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18378 and typo in a comment about AT_HWCAP entry.
18379
18380 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18381
18382 * sysdeps/aarch64/libm-test-ulps: Updated.
18383
18384 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18385
18386 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18387 of r13 as it is not restored in mvcle case.
18388
18389 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18390
18391 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18392 Rename "ret" to "__ret".
18393 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18394 inline_syscall5, inline_syscall6): Likewise.
18395
18396 2016-07-19 Will Newton <will.newton@gmail.com>
18397
18398 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18399 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18400 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18401 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18402 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18403
18404 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18407 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18408 -mfpmath=387 with $(rtld-CFLAGS).
18409 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18410 $(rtld-CFLAGS).
18411
18412 2016-07-18 Ross Burton <ross.burton@intel.com>
18413 Khem Raj <raj.khem@gmail.com>
18414
18415 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18416 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18417 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18418 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18419 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18420 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18421 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18422 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18423 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18424 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18425 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18426 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18427 R_METAG_TLS_DTPOFF): New.
18428
18429 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18430 Matt Clay <mclay@lycos.com>
18431
18432 [BZ #20357]
18433 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18434 to call __mpsin/__mpcos and to negate values.
18435 * math/auto-libm-test-in: Add test.
18436 * math/auto-libm-test-out: Regenerate.
18437
18438 2016-07-18 Zack Weinberg <zackw@panix.com>
18439
18440 * grp/Makefile: Don't install the internal header grp-merge.h.
18441
18442 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18443
18444 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18445
18446 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18447
18448 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18449
18450 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18451
18452 [BZ #15368]
18453 * sysdeps/unix/sysv/linux/nptl-signals.h
18454 (__nptl_clear_internal_signals): New function.
18455 (__libc_signal_block_all): Likewise.
18456 (__libc_signal_block_app): Likewise.
18457 (__libc_signal_restore_set): Likewise.
18458 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18459 implementation.
18460 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18461 the cached pid/tid value in pthread structure.
18462
18463 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 [BZ #20347]
18466 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18467
18468 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 [BZ #20348]
18471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18472 preadv64, pwrite64 and pwritev64.
18473
18474 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18475
18476 [BZ #20350]
18477 * posix/tst-preadwrite.c: Renamed to ...
18478 * posix/tst-preadwrite-common.c: This.
18479 (PREAD): Removed.
18480 (PWRITE): Likewise.
18481 (STRINGIFY): Likewise.
18482 (STRINGIFY2): Likewise.
18483 (do_prepare): Make it static and remove function arguments.
18484 (do_test): Likewise.
18485 (PREPARE): Updated.
18486 (TEST_FUNCTION): New.
18487 (name): Make it static.
18488 (fd): Likewise.
18489 (do_prepare): Use create_temp_file.
18490 (do_test): Renamed to ...
18491 (do_test_with_offset): This. Make it static and accept offset.
18492 Properly check return value of PWRITE and PREAD. Return bytes
18493 read. Don't close fd nor unlink name.
18494 * posix/tst-preadwrite.c: Rewrite.
18495 * posix/tst-preadwrite64.c: Likewise.
18496
18497 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 [BZ #20309]
18500 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18501 -mtls-dialect=gnu2 works.
18502 * configure: Regenerated.
18503 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18504 (tests): Add tst-gnu2-tls1.
18505 (modules-names): Add tst-gnu2-tls1mod.
18506 ($(objpfx)tst-gnu2-tls1): New.
18507 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18508 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18509 * elf/tst-gnu2-tls1.c: New file.
18510 * elf/tst-gnu2-tls1mod.c: Likewise.
18511 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18512 bytes for push in the PLT entry to align the stack.
18513
18514 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 [BZ #20349]
18517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18518
18519 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18520
18521 [BZ #18707]
18522 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18523 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18524
18525 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18526
18527 * sysdeps/unix/sysv/linux/sysdep.h
18528 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18529 guards.
18530 * misc/tst-preadvwritev-common.c: New file.
18531 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18532 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18533 a check for files larger than 2GB.
18534
18535 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18536 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18537 * sysdeps/unix/sysv/linux/pread.c
18538 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18539 __OFF_T_MATCHES_OFF64_T.
18540 * sysdeps/unix/sysv/linux/pread64.c
18541 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18542 * sysdeps/unix/sysv/linux/preadv.c
18543 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18544 * sysdeps/unix/sysv/linux/preadv64.c
18545 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18546 * sysdeps/unix/sysv/linux/pwrite.c
18547 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18548 * sysdeps/unix/sysv/linux/pwrite64.c
18549 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18550 * sysdeps/unix/sysv/linux/pwritev.c
18551 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18552 * sysdeps/unix/sysv/linux/pwritev64.c
18553 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18554
18555 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18556
18557 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18558 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18559
18560 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18561
18562 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18563
18564 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18565
18566 [BZ #20240]
18567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18568 (CFLAGS-s_modf-ppc32.c): New variable.
18569 (CFLAGS-s_modff-ppc32.c): Likewise.
18570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18571 (CFLAGS-s_modf-ppc64.c): Likewise.
18572 (CFLAGS-s_modff-ppc64.c): Likewise.
18573
18574 2016-07-07 Andreas Schwab <schwab@suse.de>
18575
18576 [BZ #20263]
18577 * nptl/tst-robust10.c: New test.
18578 * nptl/Makefile (tests): Add tst-robust10.
18579
18580 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
18581
18582 [BZ #20263]
18583 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18584
18585 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18586
18587 * sysdeps/s390/linkmap.h (struct link_map_machine):
18588 Remove member gotplt and add member jmprel.
18589 * sysdeps/s390/s390-32/dl-machine.h
18590 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18591 instead of gotplt with &got[3].
18592 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18593 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18594
18595 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
18596
18597 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18598
18599 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18600
18601 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18602 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18603 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18604 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18605 * libio/vtables.c (_IO_vtable_check)
18606 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18607 * libio/libioP.h (IO_set_accept_foreign_vtables)
18608 [!PTR_MANGLE]: Do not call PTR_MANGLE.
18609
18610 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
18611
18612 [BZ #20314]
18613 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18614 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18615 $(common-objpfx)cmath.
18616 ($(common-objpfx)cstdlib): New target.
18617 ($(common-objpfx)cmath): Likewise.
18618
18619 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
18620
18621 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18622
18623 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18624
18625 [BZ #20327]
18626 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18627 are not part of the string.
18628
18629 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18630
18631 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18632 * nptl/tst-cancel4-common.h (fifoname): New variable.
18633 (fifofd): Likewise.
18634 (cl_fifo): New function.
18635 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18636 SIGINT.
18637 (tf_open): Add early cancel test.
18638
18639 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
18640
18641 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18642
18643 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
18644
18645 * sysdeps/generic/ldsodefs.h
18646 (dl_symbol_visibility_binds_local_p): New inline function.
18647 * elf/dl-addr.c (determine_info): Treat hidden and internal
18648 symbols as local.
18649 * elf/dl-lookup.c (do_lookup_x): Likewise.
18650 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18651
18652 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
18653
18654 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18655 invalid exception for a sNaN input.
18656 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18657 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18658 (__nearbyint_vis3): Likewise
18659 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18660 (__nearbyintf_vis3): Likewise
18661 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18662 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18663 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18664 Likewise.
18665 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18666 Likewise.
18667
18668 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
18669
18670 [BZ #20139]
18671 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18672 (HAVE_AVX512DQ_ASM_SUPPORT): This.
18673 * sysdeps/x86_64/configure.ac: Require assembler from binutils
18674 2.24 or above.
18675 (HAVE_AVX512_ASM_SUPPORT): Removed.
18676 (HAVE_AVX512DQ_ASM_SUPPORT): New.
18677 * sysdeps/x86_64/configure: Regenerated.
18678 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18679 check unconditional.
18680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18681 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18682 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18683 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18684 Likewise.
18685 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18686 Likewise.
18687 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18688 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18689 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18691 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18692 Likewise.
18693 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18694 Likewise.
18695 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18696 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18697 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
18698 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
18699 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
18700 Likewise.
18701 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18702 Likewise.
18703 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18704 Likewise.
18705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18706 Likewise.
18707 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18708 Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18710 Likewise.
18711 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18712 Likewise.
18713 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18714 Likewise.
18715 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18716 Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18718 Likewise.
18719 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18720 Likewise.
18721
18722 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
18723
18724 [BZ #20024]
18725 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18726 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18727 of this implementation of vector function.
18728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18730 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18731 Likewise.
18732 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18733 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18734 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18735 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18736 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18737 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18738 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18739 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18740 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18741 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18742 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18743 for testing vector sincos with fixed ABI.
18744 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18745 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18746 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18747 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18748 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18749 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18750 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18751 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18752 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18753 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18754 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18755 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18756 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18757 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18758 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18759 * sysdeps/x86_64/fpu/Makefile: Added new tests.
18760
18761 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
18762
18763 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18764
18765 2016-06-30 Anton Blanchard <anton@samba.org>
18766
18767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18768 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18769 s_sinf-ppc64.
18770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18773 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18774
18775 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18776
18777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18779 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18780 e_expf-ppc64.
18781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18783 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18784 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18785
18786 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
18787
18788 [BZ #20277]
18789 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18790 when SHARED is defined.
18791
18792 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
18793
18794 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18795 (index_arch_Prefer_ERMS): Likewise.
18796 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18797 __memcpy_erms for Prefer_ERMS.
18798 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18799 (__memmove_erms): Enabled for libc.a.
18800 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18801 __memmove_erms or Prefer_ERMS.
18802 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18803 __mempcpy_erms for Prefer_ERMS.
18804 * sysdeps/x86_64/multiarch/memset.S (memset): Return
18805 __memset_erms for Prefer_ERMS.
18806
18807 2016-06-30 Andreas Schwab <schwab@suse.de>
18808
18809 [BZ #20262]
18810 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18811 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
18812 of memory.
18813
18814 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
18815
18816 [BZ #18645]
18817 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18818 (test-extras): Add tst-cleanupx4aux.
18819 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
18820 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18821 tst-cleanupx4aux.o.
18822 * nptl/tst-cleanupx4aux.c: New file.
18823
18824 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
18825
18826 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18827
18828 2016-06-29 Andreas Schwab <schwab@suse.de>
18829
18830 [BZ #20260]
18831 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18832 address before the beginning of the string as an integer to avoid
18833 array-bounds warning.
18834
18835 2016-06-28 Richard Henderson <rth@redhat.com>
18836
18837 * elf/elf.h (EM_BPF): New.
18838 (EM_NUM): Update.
18839 (R_BPF_NONE, R_BPF_MAP_FD): New.
18840
18841 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18842 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18843 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18844 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18845 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18846 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18847 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18848 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18849 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18850 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18851 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18852 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18853 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18854 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18855 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18856 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18857 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18858 (EM_NUM): Update.
18859
18860 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
18861
18862 [BZ #18960]
18863 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18864 Set _nl_current_LC_CATEGORY_used to two instead of one.
18865
18866 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
18867
18868 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18869 (do_test): ... this.
18870 (TEST_FUNCTION): New macro.
18871 Include test-skeleton.c.
18872 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18873 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18874
18875 2016-06-27 Joseph Myers <joseph@codesourcery.com>
18876
18877 [BZ #15479]
18878 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18879 floating-point environment rather than just control word.
18880 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18881 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18882 floating-point environment, with "invalid" exceptions merged in,
18883 rather than just control word.
18884 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18885 * math/libm-test.inc (trunc_test_data): Do not allow spurious
18886 "inexact" exceptions.
18887
18888 [BZ #15479]
18889 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18890 floating-point environment rather than just control word.
18891 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18892 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18893 floating-point environment, with "invalid" exceptions merged in,
18894 rather than just control word.
18895 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18896 * math/libm-test.inc (floor_test_data): Do not allow spurious
18897 "inexact" exceptions.
18898
18899 [BZ #15479]
18900 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18901 floating-point environment rather than just control word.
18902 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18903 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18904 floating-point environment, with "invalid" exceptions merged in,
18905 rather than just control word.
18906 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18907 * math/libm-test.inc (ceil_test_data): Do not allow spurious
18908 "inexact" exceptions.
18909
18910 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
18911
18912 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18913 __libc_vfork.
18914 (__vfork) [IS_IN (libc)]: Remove alias.
18915 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18916 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18917 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18918
18919 2016-06-24 Torvald Riegel <triegel@redhat.com>
18920
18921 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18922 of atomic_compare_and_exchange_bool_rel.
18923 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18924 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18925 catomic_compare_and_exchange_bool_rel): Remove.
18926 * sysdeps/aarch64/atomic-machine.h
18927 (atomic_compare_and_exchange_bool_rel): Likewise.
18928 * sysdeps/alpha/atomic-machine.h
18929 (atomic_compare_and_exchange_bool_rel): Likewise.
18930 * sysdeps/arm/atomic-machine.h
18931 (atomic_compare_and_exchange_bool_rel): Likewise.
18932 * sysdeps/mips/atomic-machine.h
18933 (atomic_compare_and_exchange_bool_rel): Likewise.
18934 * sysdeps/microblaze/atomic-machine.h
18935 ( __arch_compare_and_exchange_bool_8_rel,
18936 __arch_compare_and_exchange_bool_16_rel): Likewise.
18937 * sysdeps/powerpc/atomic-machine.h
18938 ( __arch_compare_and_exchange_bool_8_rel,
18939 __arch_compare_and_exchange_bool_16_rel): Likewise.
18940 * sysdeps/powerpc/powerpc32/atomic-machine.h
18941 ( __arch_compare_and_exchange_bool_32_rel,
18942 __arch_compare_and_exchange_bool_64_rel): Likewise.
18943 * sysdeps/powerpc/powerpc64/atomic-machine.h
18944 ( __arch_compare_and_exchange_bool_32_rel,
18945 __arch_compare_and_exchange_bool_64_rel): Likewise.
18946 * sysdeps/tile/atomic-machine.h
18947 (atomic_compare_and_exchange_bool_rel): Likewise.
18948
18949 2016-06-23 Joseph Myers <joseph@codesourcery.com>
18950
18951 [BZ #20296]
18952 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18953 when either argument is a NaN.
18954 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18955 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18956
18957 * math/libm-test.inc (snan_value_ld): New macro.
18958 (isgreater_test_data): Add sNaN tests.
18959 (isgreaterequal_test_data): Likewise.
18960 (isless_test_data): Likewise.
18961 (islessequal_test_data): Likewise.
18962 (islessgreater_test_data): Likewise.
18963 (isunordered_test_data): Likewise.
18964 (nextafter_test_data): Likewise.
18965 (nexttoward_test_data): Likewise.
18966 (remainder_test_data): Likewise.
18967 (remquo_test_data): Likewise.
18968 (significand_test_data): Likewise.
18969 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18970
18971 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
18972
18973 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18974 environment macros are defined.
18975 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18976
18977 2016-06-23 Florian Weimer <fweimer@redhat.com>
18978
18979 [BZ #20191]
18980 Implement vtable verification in libio.
18981 * Makerules (shlib.lds): Place __libc_IO_vtables section.
18982 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18983 * debug/vdprintf_chk.c (__vdprintf_chk): Call
18984 _IO_new_file_init_internal instead of _IO_file_init.
18985 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18986 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18987 * libio/Makefile (routines): Add vtables.
18988 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18989 (_IO_init): Remove, not for internal use.
18990 (_IO_init_internal): Declare, internal replacement for _IO_init.
18991 (_IO_file_init): Remove, not for internal use.
18992 (_IO_new_file_init): Remove, not for internal use.
18993 (_IO_new_file_init_internal): Declare, internal replacement for
18994 _IO_new_file_init.
18995 (_IO_old_file_init): Remove, not for internal use.
18996 (_IO_old_file_init_internal): Declare, internal replacement for
18997 _IO_old_file_init.
18998 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18999 internal use.
19000 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19001 Declare.
19002 (libio_vtable): New macro.
19003 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19004 functions.
19005 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19006 _IO_new_file_init.
19007 (_IO_new_file_init): New externally visible wrapper which disables
19008 vtable verification.
19009 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19010 Define as vtables.
19011 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19012 (_IO_init): New externally visible wrapper which disables
19013 vtable verification.
19014 * libio/iofdopen.c (_IO_new_fdopen): Call
19015 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19016 comment.
19017 * libio/iofopen.c (__fopen_internal): Call
19018 _IO_new_file_init_internal instead of _IO_file_init.
19019 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19020 Define as vtables.
19021 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19022 _IO_new_file_init_internal instead of _IO_file_init.
19023 * libio/iopopen.c (_IO_new_popen): Likewise.
19024 (_IO_proc_jumps): Define as vtable.
19025 * libio/iovdprintf.c (_IO_vdprintf): Call
19026 _IO_new_file_init_internal instead of _IO_file_init.
19027 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19028 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19029 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19030 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19031 _IO_old_file_init.
19032 (_IO_old_file_init): New externally visible wrapper which disables
19033 vtable verification.
19034 (_IO_old_file_jumps): Define as vtable.
19035 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19036 _IO_old_file_init_internal instead of _IO_old_file_init.
19037 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19038 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19039 (_IO_old_proc_jumps): Define as vtable.
19040 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19041 Define as vtables.
19042 * libio/vtables.c: New file.
19043 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19044 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19045 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19046 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19047 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19048 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19049 instead of _IO_init.
19050
19051 2016-06-23 Florian Weimer <fweimer@redhat.com>
19052
19053 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19054
19055 2016-06-23 Florian Weimer <fweimer@redhat.com>
19056
19057 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19058 potentially unused.
19059
19060 2016-06-22 Florian Weimer <fweimer@redhat.com>
19061
19062 * test-skeleton.c (write_message): New function.
19063 * malloc/tst-mallocfork2.c (write_message): Remove.
19064 * debug/tst-longjmp_chk2.c (write_indented): New function.
19065 (write_message): Remove.
19066 (stackoverflow_handler): Call write_indented.
19067
19068 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19069
19070 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19071 "inexact" exceptions after fnstenv.
19072 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19073 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19074 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19075
19076 2015-06-22 Zack Weinberg <zackw@panix.com>
19077
19078 * sysdeps/generic/bits/hwcap.h: Moved to ...
19079 * bits/hwcap.h: Here.
19080
19081 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19082
19083 * sysdeps/aarch64/memcpy.S (memcpy):
19084 Further tuning for performance.
19085
19086 2016-06-21 Florian Weimer <fweimer@redhat.com>
19087
19088 [BZ #20284]
19089 * malloc/arena.c (reused_arena): Do not return NULL if we start
19090 out with a non-corrupted arena.
19091
19092 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19093
19094 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19095 * misc/tst-preadvwritev.c: New file.
19096 * misc/tst-preadvwritev64.c: Likewise.
19097 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19098 usage.
19099 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19100 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19101 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19102 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19103
19104 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19105
19106 [BZ #19654]
19107 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19108 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19109 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19110 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19111 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19112 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19113 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19114 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19115 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19116 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19117 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19118 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19119 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19120 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19121 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19122 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19123 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19124 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19125 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19126 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19127 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19128 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19129 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19130 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19131 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19132 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19133
19134 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19135
19136 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19137 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19138
19139 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19140
19141 * sysdeps/aarch64/memcpy.S (memcpy):
19142 Rewrite of optimized memcpy and memmove.
19143 * sysdeps/aarch64/memmove.S (memmove): Remove
19144 memmove code (merged into memcpy.S).
19145
19146 2016-06-20 Florian Weimer <fweimer@redhat.com>
19147
19148 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19149 * sysdeps/generic/dl-dtv.h: New file.
19150 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19151 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19152 (dtv_t): Remove.
19153 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19154 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19155 (dtv_t): Remove.
19156 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19157 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19158 (dtv_t): Remove.
19159 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19160 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19161 (dtv_t): Remove.
19162 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19163 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19164 (dtv_t): Remove.
19165 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19166 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19167 (dtv_t): Remove.
19168 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19169 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19170 (dtv_t): Remove.
19171 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19172 (dtv_t): Remove.
19173 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19174 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19175 (dtv_t): Remove.
19176 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19177 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19178 (dtv_t): Remove.
19179 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19180 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19181 (dtv_t): Remove.
19182 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19183 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19184 (dtv_t): Remove.
19185 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19186 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19187 (dtv_t): Remove.
19188 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19189 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19190 (dtv_t): Remove.
19191 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19192 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19193 (dtv_t): Remove.
19194 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19195 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19196 (dtv_t): Remove.
19197
19198 2016-06-20 Florian Weimer <fweimer@redhat.com>
19199
19200 Revert symbol poisoning of __malloc_initialize_hook.
19201 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19202 poisoning.
19203 * malloc/Makefile: Remove un-poisoning.
19204 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19205 instead of old__malloc_initialize_hook.
19206 * malloc/malloc-hooks.h: Likewise.
19207 * malloc/malloc.c: Likewise.
19208 * malloc/mcheck-init.c: Likewise.
19209
19210 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19211
19212 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19213
19214 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19215
19216 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19217 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19218 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19219 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19220
19221 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19222
19223 * NEWS: Mention addition of nextup and nextdown.
19224 * manual/arith.texi: Document nextup and nextdown.
19225 * manual/libm-err-tab.pl: Add nextup and nextdown.
19226 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19227 * math/Versions (libm): Add GLIBC_2.24.
19228 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19229 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19230 Add new test.
19231 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19232 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19233 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19234 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19235 (nextup_test_data): Likewise.
19236 (nextdown_test_data): Likewise.
19237 * math/s_nextdown.c: New file.
19238 * math/s_nextdownf.c: Likewise.
19239 * math/s_nextdownl.c: Likewise.
19240 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19241 F(nextup): New function.
19242 F(nextdown): Likewise.
19243 * math/tgmath.h: Add nextup and nextdown.
19244 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19245 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19248 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19250 Add nextup and nextdown.
19251 (CFLAGS-nldbl-nextup.c): New variable.
19252 (CFLAGS-nldbl-nextdown.c): Likewise.
19253 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19254 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19255 * sysdeps/nacl/libm.abilist: Update.
19256 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19257 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19258 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19260 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19261 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19262 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19263 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19264 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19266 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19270 Likewise.
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19273 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19274 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19275 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19276 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19277 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19281 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19282 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19283 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19284
19285 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19286
19287 * manual/pattern.texi: Fix typos & grammar errors.
19288
19289 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19290
19291 * manual/search.texi: Fix typos & grammar errors.
19292
19293 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19294
19295 * manual/message.texi: Fix typos & grammar errors.
19296
19297 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19298
19299 * manual/contrib.texi: Fix spelling typos.
19300 * manual/crypt.texi: Likewise.
19301 * manual/filesys.texi: Likewise.
19302 * manual/locale.texi: Likewise.
19303 * manual/message.texi: Likewise.
19304 * manual/nss.texi: Likewise.
19305 * manual/string.texi: Likewise.
19306
19307 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19308
19309 * manual/locale.texi: Fix typos & grammar errors.
19310
19311 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19312
19313 * manual/charset.texi: Fix typos & grammar errors.
19314
19315 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19316
19317 * manual/string.texi: Fix typos.
19318
19319 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19320
19321 * manual/ctype.texi: Fix typos.
19322
19323 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19324
19325 * manual/memory.texi: Fix various typos & grammar errors.
19326
19327 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19328
19329 [BZ #20255]
19330 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19331 * math/libm-test.inc (fdim_test_data): Add another test.
19332
19333 [BZ #6796]
19334 [BZ #20255]
19335 [BZ #20256]
19336 * math/s_fdim.c: Include <math_private.h>.
19337 (__fdim): Use math_narrow_eval on result.
19338 * math/s_fdimf.c: Include <math_private.h>.
19339 (__fdimf): Use math_narrow_eval on result.
19340 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19341 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19342 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19343 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19344 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19345 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19346 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19347 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19348 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19349 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19350 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19351 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19352 overflow. Add sNaN tests.
19353
19354 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19355 fpclassify.
19356 * math/s_fdimf.c (__fdimf): Likewise.
19357 * math/s_fdiml.c (__fdiml): Likewise.
19358
19359 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19360
19361 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19362 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19364 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19365 ifunc'ed strcasecmp/strncasecmp.
19366 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19367 [EALIGN]: Removed.
19368 [END]: Likewise.
19369 [__strcasecmp]: Define instead of the above to control symbol name.
19370 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19371 for __strcasecmp_power8.
19372 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19373 for __strncasecmp_power8.
19374 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19375 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19376 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19377 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19378 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19379 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19380
19381 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19382
19383 [BZ #20252]
19384 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19385 arguments when second argument is a NaN.
19386 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19387 qNaN tests.
19388
19389 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19390 (conj_test_data): Likewise.
19391 (copysign_test_data): Likewise.
19392 (creal_test_data): Likewise.
19393 (fma_test_data): Likewise.
19394 (fmod_test_data): Likewise.
19395
19396 [BZ #20250]
19397 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19398 itself.
19399 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19400 zero input to itself.
19401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19402 Likewise.
19403 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19404 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19406 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19407 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19408
19409 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19410
19411 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19412 * nptl/tst-cancel4-common.c: New file.
19413 * nptl/tst-cancel4-common.h: Likewise.
19414 * nptl/tst-cancel4.c: Move common definitions to
19415 tst-cancel4-common.{c,h} file.
19416 * nptl/tst-cancel4_1.c: New test.
19417 * nptl/tst-cancel4_2.c: New test.
19418
19419 2016-06-13 Florian Weimer <fweimer@redhat.com>
19420
19421 [BZ #20248]
19422 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19423 (write_message): New function.
19424 (stackoverflow_handler): Call it instead of printf, to avoid
19425 excessive stack usage by printf.
19426 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19427
19428 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19429
19430 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19431 (prio_inherit_missing): Remove define.
19432 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19433 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19435 Likewise.
19436 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19437 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19439 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19440 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19441 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19442
19443 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19444
19445 [BZ #19670]
19446 [BZ #19672]
19447
19448 * io/test-lfs.c (do_prepare): Use xmalloc.
19449 * io/tst-fcntl.c (do_prepare): Likewise.
19450 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19451 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19452 * login/tst-utmp.c (do_prepare): Likewise.
19453 * posix/tst-exec.c (do_prepare): Likewise.
19454 * posix/tst-pathconf.c (prepare): Likewise.
19455 * posix/tst-spawn.c (do_prepare): Likewise.
19456 * posix/tst-truncate.c (do_prepare): Likewise.
19457 * rt/tst-aio.c (do_prepare): Likewise.
19458 * rt/tst-aio64.c (do_prepare): Likewise.
19459
19460 2016-06-11 Florian Weimer <fweimer@redhat.com>
19461
19462 [BZ #20237]
19463 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19464 (get*ent): Set entidx to NULL during initialization. If entidx is
19465 NULL, start iteration from the beginning.
19466
19467 2016-06-11 Florian Weimer <fweimer@redhat.com>
19468
19469 * malloc/malloc.c (musable): Return correct size for dumped fake
19470 mmapped chunk.
19471
19472 2016-06-11 Florian Weimer <fweimer@redhat.com>
19473
19474 [BZ #20222]
19475 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19476 (_IO_cookie_write): Likewise.
19477 (_IO_cookie_seek): Likewise.
19478 (_IO_cookie_close): Likewise.
19479 (_IO_old_cookie_seek): Likewise.
19480 (set_callbacks): New function.
19481 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19482
19483 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19484
19485 * locale/programs/localedef.c (oldstyle_tables): Remove.
19486 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19487
19488 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19489
19490 [BZ #20240]
19491 * math/Makefile (CFLAGS-s_modf.c): New variable.
19492 (CFLAGS-s_modff.c): Likewise.
19493 (CFLAGS-s_modfl.c): Likewise.
19494 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19495
19496 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19497
19498 [BZ #20215]
19499 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19500 [!__GNUC_PREREQ (3,2)]: Likewise.
19501
19502 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19503
19504 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19505 (msghdr.msg_controllen): Likewise.
19506 (cmsghdr.cmsg_len): Likewise.
19507 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19508 ptw-oldsendmsg.
19509 (CFLAGS-oldrecvmsg.c): Remove rule.
19510 (CFLAGS-oldsendmsg.c): Likewise.
19511 (CFLAGS-recvmsg.c): Add rule.
19512 (CFLAGS-sendmsg.c): Likewise.
19513 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19514 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19515 (CFLAGS-recvmsg.c): Remove rule.
19516 (CFLAGS-sendmsg.c): Likewise.
19517 (CFLAGS-oldrecvmsg.c): Likewise.
19518 (CFLAGS-oldsendmsg.c): Likewise.
19519 (CFLAGS-recvmmsg.c): Likewise.
19520 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19521 to kernel defined interfaces.
19522 (msghdr.msg_controllen): Likewise.
19523 (cmsghdr.cmsg_len): Likewise.
19524 (msghdr.__glibc_reserved1): Remove member.
19525 (msghdr.__glibc_reserved2): Likewise.
19526 (cmsghdr.__glibc_reserved1): Likewise.
19527 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19528 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19529 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19530 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19531 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19532 version.
19533 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19534 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19535 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19536 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19537 Remove recvmsg and sendmsg.
19538 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19539 Likewise.
19540 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19541 Likewise.
19542 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19543 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19544 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19545 Likewise.
19546 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19547 Likewise.
19548 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19549 [libc] (GLIBC_2.24): Likewise.
19550 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19551 Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19553 Likewise.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19555 [libc] (GLIBC_2.24): Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19557 Likewise.
19558 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19559 Likewise.
19560 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19562 Likewise.
19563 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19564 Likewise.
19565 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19566 Likewise.
19567 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19568 Likewise.
19569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19570 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19571 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19572 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19573 version for {recv,send,recm,sendm}msg.
19574 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19587 Likewise.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19589 Likewise.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19594 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19595 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19596 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19597 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19600 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19601 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19602 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19603
19604 2016-06-10 Florian Weimer <fweimer@redhat.com>
19605
19606 [BZ #19564]
19607 Remove __malloc_initialize_hook from the API.
19608 * malloc/malloc.h (__malloc_initialize_hook): Remove.
19609 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19610 #pragma GCC poison.
19611 * malloc/malloc-hooks.h: New file.
19612 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19613 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19614 (old__malloc_initialize_hook): Rename from
19615 __malloc_initialize_hook to evade poisoning. Turn into compat
19616 symbol.
19617 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19618 __malloc_initialize_hook.
19619 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19620 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19621 * manual/memory.texi (Hooks for Malloc): Remove
19622 __malloc_initialize_hook. Adjust hook example.
19623
19624 2016-06-09 Joseph Myers <joseph@codesourcery.com>
19625
19626 [BZ #20235]
19627 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19628 itself.
19629 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19630 * math/libm-test.inc (log2_test_data): Add sNaN tests.
19631
19632 [BZ #20234]
19633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19634 infinity or NaN input to itself.
19635
19636 [BZ #20233]
19637 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19638 to itself.
19639
19640 [BZ #20232]
19641 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19642 itself.
19643
19644 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19645
19646 * sysdeps/x86_64/start.S (_start): Always indirect branch to
19647 __libc_start_main via GOT.
19648
19649 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19650
19651 * sysdeps/x86_64/memcopy.h: New file.
19652 * sysdeps/x86_64/wordcopy.c: Likewise.
19653
19654 2016-06-09 Florian Weimer <fweimer@redhat.com>
19655
19656 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19657 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19658 <cstdlib>.
19659 (optimization_barrier): New.
19660 (do_test): Use it. Call quick_exit in the global namespace.
19661 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19662 instead of <cstdlib>, <thread>.
19663 (optimization_barrier): New.
19664 (non_main_thread): Adjust declaration. Call optimization_barrier.
19665 Call quick_exit in the global namespace.
19666 (do_test): Call optimization_barrier. Use pthread_create,
19667 pthread_join instead of std::thread.
19668
19669 2016-06-09 Andreas Schwab <schwab@suse.de>
19670
19671 [BZ #19755]
19672 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19673 new entries in auto-propagate mode.
19674 * nscd/grpcache.c (cache_addgr): Likewise.
19675
19676 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19677
19678 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19679 New functions.
19680 (add_temp_file): Use them.
19681
19682 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
19683
19684 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19685
19686 2016-06-08 Joseph Myers <joseph@codesourcery.com>
19687
19688 [BZ #20229]
19689 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
19690 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
19691 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
19692
19693 [BZ #20228]
19694 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
19695 itself.
19696 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19697 * math/libm-test.inc (log10_test_data): Add sNaN tests.
19698
19699 [BZ #20227]
19700 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
19701 itself.
19702 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19703 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19704 * math/libm-test.inc (log_test_data): Add sNaN tests.
19705
19706 [BZ #20226]
19707 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19708 itself.
19709 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19710 * math/libm-test.inc (exp_test_data): Add sNaN tests.
19711 (exp10_test_data): Likewise.
19712 (expm1_test_data): Likewise.
19713
19714 [BZ #20225]
19715 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19716 itself.
19717 * math/s_ldexpf.c (__ldexpf): Likewise.
19718 * math/s_ldexpl.c (__ldexpl): Likewise.
19719 * math/w_scalbln.c (__w_scalbln): Likewise.
19720 * math/w_scalblnf.c (__w_scalblnf): Likewise.
19721 * math/w_scalblnl.c (__w_scalblnl): Likewise.
19722 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19723 (scalbln_test_data): Likewise.
19724
19725 [BZ #20224]
19726 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19727 argument to itself.
19728 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19729
19730 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
19731
19732 [BZ #19776]
19733 * sysdeps/x86_64/memcpy.S: Make it dummy.
19734 * sysdeps/x86_64/mempcpy.S: Likewise.
19735 * sysdeps/x86_64/memmove.S: New file.
19736 * sysdeps/x86_64/memmove_chk.S: Likewise.
19737 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19738 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19739 * sysdeps/x86_64/memmove.c: Removed.
19740 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19741 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19742 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19743 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19744 Likewise.
19745 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19746 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19748 memcpy-sse2-unaligned, memmove-avx-unaligned,
19749 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19751 (__libc_ifunc_impl_list): Replace
19752 __memmove_chk_avx512_unaligned_2 with
19753 __memmove_chk_avx512_unaligned. Remove
19754 __memmove_chk_avx_unaligned_2. Replace
19755 __memmove_chk_sse2_unaligned_2 with
19756 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
19757 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
19758 with __memmove_avx512_unaligned. Replace
19759 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19760 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
19761 with __memcpy_chk_avx512_unaligned. Remove
19762 __memcpy_chk_avx_unaligned_2. Replace
19763 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19764 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
19765 Replace __memcpy_avx512_unaligned_2 with
19766 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
19767 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
19768 with __mempcpy_chk_avx512_unaligned. Remove
19769 __mempcpy_chk_avx_unaligned_2. Replace
19770 __mempcpy_chk_sse2_unaligned_2 with
19771 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
19772 Replace __mempcpy_avx512_unaligned_2 with
19773 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
19774 Replace __mempcpy_sse2_unaligned_2 with
19775 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
19776 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19777 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19778 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19779 if processor has ERMS. Default to __memcpy_sse2_unaligned.
19780 (ENTRY): Removed.
19781 (END): Likewise.
19782 (ENTRY_CHK): Likewise.
19783 (libc_hidden_builtin_def): Likewise.
19784 Don't include ../memcpy.S.
19785 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19786 __memcpy_chk_avx512_unaligned_erms and
19787 __memcpy_chk_avx512_unaligned. Use
19788 __memcpy_chk_avx_unaligned_erms and
19789 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19790 Default to __memcpy_chk_sse2_unaligned.
19791 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19792 Change function suffix from unaligned_2 to unaligned.
19793 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19794 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19795 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19796 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
19797 (ENTRY): Removed.
19798 (END): Likewise.
19799 (ENTRY_CHK): Likewise.
19800 (libc_hidden_builtin_def): Likewise.
19801 Don't include ../mempcpy.S.
19802 (mempcpy): New. Add a weak alias.
19803 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19804 __mempcpy_chk_avx512_unaligned_erms and
19805 __mempcpy_chk_avx512_unaligned. Use
19806 __mempcpy_chk_avx_unaligned_erms and
19807 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19808 Default to __mempcpy_chk_sse2_unaligned.
19809
19810 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
19811
19812 [BZ #19881]
19813 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19814 into ...
19815 * sysdeps/x86_64/memset.S: This.
19816 (__bzero): Removed.
19817 (__memset_tail): Likewise.
19818 (__memset_chk): Likewise.
19819 (memset): Likewise.
19820 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19821 defined.
19822 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19823 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19824 (__memset_zero_constant_len_parameter): Check SHARED instead of
19825 PIC.
19826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19827 memset-avx2 and memset-sse2-unaligned-erms.
19828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19829 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19830 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19831 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19832 (__bzero): Enabled.
19833 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19834 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19835 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
19836 or __memset_avx2_unaligned_erms if processor has ERMS. Support
19837 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19838 (memset): Removed.
19839 (__memset_chk): Likewise.
19840 (MEMSET_SYMBOL): New.
19841 (libc_hidden_builtin_def): Replace __memset_sse2 with
19842 __memset_sse2_unaligned.
19843 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19844 __memset_chk_sse2 and __memset_chk_avx2 with
19845 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19846 Use __memset_chk_sse2_unaligned_erms or
19847 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
19848 __memset_chk_avx512_unaligned_erms and
19849 __memset_chk_avx512_unaligned.
19850
19851 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19852
19853 * math/gen-auto-libm-test.c (fp_format_desc): remove
19854 suffix member.
19855 (output_generic_value): Remove usage of suffix member,
19856 and the resulting unuse of the fp_format argument.
19857 (output_for_one_input_case): Remove unused fp_format
19858 parameter.
19859
19860 * math/auto-libm-test-out: Regenerate.
19861
19862 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19863 usage with TEST_COND_ibm128.
19864 (TEST_COND_flt_32): Remove.
19865 (TEST_COND_dbl_64): Remove.
19866 (TEST_COND_ldbl_96_intel): Remove.
19867 (TEST_COND_ldbl_96_m68k): Remove.
19868 (TEST_COND_ldbl_128): Remove.
19869
19870 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19871
19872 * auto-libm-test-in:
19873 Replace flt-32 usage with binary32.
19874 Replace dbl-64 usage with binary64.
19875 Replace ldbl-intel-96 usage with intel96.
19876 Replace ldbl-m68k-96 usage with m68k96.
19877 Replace ldbl-128ibm usage with ibm128.
19878 Replace ldbl-128 usage with binary128.
19879
19880 * auto-libm-test-out: Regenerate.
19881
19882 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19883
19884 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19885 (parse_ulps): Dynamically generate type name matching
19886 string from all_floats.
19887 (get_ulps): Generate the ulps as an array instead.
19888 (output_ulps): Dynamically compose the type based
19889 on the number of supported formats, and print
19890 the indices as type specific helper macros.
19891
19892 * math/libm-test.inc: Remove comment about CHOOSE.
19893 (ulp_data): Generate the type in libm-test-ulps.h.
19894 (ULP_IDX): New macro.
19895 (find_ulps): Update usage of max_ulp.
19896
19897 * math/test-double-vlen2.h (CHOOSE): Remove.
19898 * math/test-double-vlen4.h (CHOOSE): Likewise.
19899 * math/test-double-vlen8.h (CHOOSE): Likewise.
19900 * math/test-float.c (CHOOSE): Likewise.
19901 * math/test-float-finite.c (CHOOSE): Likewise.
19902 * math/test-double.c (CHOOSE): Likewise.
19903 * math/test-double-finite.c (CHOOSE): Likewise.
19904 * math/test-idouble.c (CHOOSE): Likewise.
19905 * math/test-ifloat.c (CHOOSE): Likewise.
19906 * math/test-ildoubl.c (CHOOSE): Likewise.
19907 * math/test-ldouble-finite.c (CHOOSE): Likewise.
19908 * math/test-ldouble.c (CHOOSE): Likewise.
19909
19910 * math/test-float.h (TEST_FLOAT): Remove.
19911 * math/test-double.h (TEST_DOUBLE): Likewise.
19912 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19913
19914 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19915
19916 * math/gen-libm-test.pl: (apply_lit): New subroutine.
19917 (parse_args): Strip C suffix from floating point literals
19918 typed with 'f' and wrap them with LIT().
19919
19920 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19921 (test_ff_f_data_nexttoward): Rename to
19922 (test_fj_f_data): New struct.
19923 (nexttoward_test_data): Relabel tests as
19924 TEST_fj_f instead of TEST_ff_f.
19925
19926 2016-06-08 Florian Weimer <fweimer@redhat.com>
19927
19928 Emacs bug 23726.
19929 * malloc/malloc.c (dumped_main_arena_start): Update comment.
19930 (__libc_realloc): Correct size computation for dumped fake mmapped
19931 chunks.
19932
19933 2016-06-07 Joseph Myers <joseph@codesourcery.com>
19934
19935 [BZ #20219]
19936 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19937 to itself.
19938 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19939
19940 [BZ #20218]
19941 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19942 to itself.
19943 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19944
19945 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
19946
19947 [BZ #20195]
19948 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19949 check to ...
19950 (init_cpu_features): Here.
19951
19952 2016-06-07 Carlos O'Donell <carlos@redhat.com>
19953
19954 [BZ #20214]
19955 * sysdeps/unix/sysv/linux/bits/in.h
19956 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19957 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19958 Define to 1.
19959 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19960 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19961 Define to 0.
19962 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19963 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19964
19965 2016-06-06 Carlos O'Donell <carlos@redhat.com>
19966
19967 [BZ #20198]
19968 * stdlib/Makefile (tests): Add tst-quick_exit, and
19969 tst-thread-quick_exit.
19970 [ifeq ($(have-cxx-thread_local),yes)]
19971 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19972 (CFLAGS-tst-thread-quick_exit.o): Likewise.
19973 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19974 (LDLIBS-tst-thread-quick_exit): Likewise.
19975 [ifneq ($(have-cxx-thread_local),yes)]
19976 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19977 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19978 If run_dtors is true call __call_tls_dtors.
19979 (exit): Call __run_exit_handlers with run_dtors set to true.
19980 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19981 definition.
19982 * stdlib/quick_exit.c (quick_exit): Remove function.
19983 (__new_quick_exit): New function.
19984 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19985 function.
19986 * stdlib/tst-quick_exit.cc: New file.
19987 * stdlib/tst-thread-quick_exit.cc: New file.
19988 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19989 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19991 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19992 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19993 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19994 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19995 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19998 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20002 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20003 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20009 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20010 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20011 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20012 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20015 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20016 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20017 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20018
20019 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20022 a typo in comments.
20023
20024 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20025
20026 [BZ #20213]
20027 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20028 argument to itself.
20029 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20030
20031 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20032
20033 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20034 required flags.
20035 (CFLAGS-pwritev64.c): Likewise.
20036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20038 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20039 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20040 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20042 syscall from auto-generation.
20043 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20044 [WORDSIZE == 64] (pwritev64): Remove macro.
20045 [!PWRITEV] (PWRITEV): Likewise.
20046 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20047 [!PWRITEV] (PWRITE): Likewise.
20048 [!PWRITEV] (OFF_T): Likewise.
20049 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20050 (LO_HI_LONG): Remove macro.
20051 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20052 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20053 (PWRITEV): Remove macro.
20054 (PWRITEV_REPLACEMENTE): Likewise.
20055 (PWRITE): Likewise.
20056 (OFF_T): Likewise.
20057 (pwritev64): New function.
20058 * nptl/tst-cancel4.c (tf_writev): Add test.
20059
20060 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20061 required flags.
20062 (CFLAGS-preadv64.c): Likewise.
20063 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20064 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20065 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20066 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20067 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20068 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20069 syscall from auto-generation.
20070 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20071 [WORDSIZE == 64] (preadv64): Remove macro.
20072 [!PREADV] (PREADV): Likewise.
20073 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20074 [!PREADV] (PREAD): Likewise.
20075 [!PREADV] (OFF_T): Likewise.
20076 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20077 (LO_HI_LONG): Remove macro.
20078 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20079 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20080 (PREADV): Remove macro.
20081 (PREADV_REPLACEMENTE): Likewise.
20082 (PREAD): Likewise.
20083 (OFF_T): Likewise.
20084 (preadv64): New function.
20085 * nptl/tst-cancel4.c (tf_preadv): Add test.
20086
20087 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20088
20089 [BZ #20212]
20090 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20091 argument to itself.
20092 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20093
20094 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20095
20096 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20097 New symbol defined as libc_hidden_def.
20098 (strcasestr): Became a weak alias to __strcasestr.
20099 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20100 according to multi-arch support. Move __stpncpy hidden
20101 definition from here to...
20102 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20103 symbol stpncpy.
20104 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20105 libc_hidden_builtin_def.
20106 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20107 memset symbol to use when multi-arch support is available.
20108
20109 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20110
20111 * dlfcn/tst-rec-dlopen.c: Include string.h.
20112
20113 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20114
20115 * manual/install.texi: Remove mention of --without-tls
20116 * INSTALL: Regenerate.
20117
20118 2016-06-05 Florian Weimer <fweimer@redhat.com>
20119
20120 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20121 Remove.
20122 (call_function, interposed_malloc_called): New variables.
20123 (malloc): New function.
20124 (do_test): Do not change malloc hooks. Initialize malloc. Set
20125 and clear call_function as needed.
20126
20127 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20128
20129 * include/wchar.h (__wmemset): Use __typeof.
20130
20131 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20132
20133 * include/wchar.h (__wmemset): Declare function without typeof.
20134
20135 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #20205]
20138 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20139 exponent when incrementing negative subnormal with low mantissa
20140 word zero.
20141 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20142 Add another test.
20143
20144 2016-06-03 Florian Weimer <fweimer@redhat.com>
20145
20146 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20147 __wmemset instead of wmemset.
20148
20149 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20150
20151 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20152 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20153 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20154 __USE_KERNEL_IPV6_DEFS to 0.
20155 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20156 Update comment.
20157
20158 2016-06-01 Florian Weimer <fweimer@redhat.com>
20159
20160 [BZ #19861]
20161 Do not use IFUNC resolver with potentially unrelocated symbol.
20162 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20163 (DEFINE_FORK): Remove macro and inline definition.
20164 (fork_alias): Renamed from fork_ifunc.
20165 (__fork_alias): Renamed from __fork_ifunc.
20166
20167 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20168
20169 [BZ 19653]
20170 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20171 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20172
20173 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20174
20175 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20176 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20177 i386-linux-gnu).
20178 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20179 Set to no.
20180 * sysdeps/mach/hurd/configure: Refresh.
20181
20182 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20183
20184 [BZ #20178]
20185 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20186 on failure instead of exit.
20187
20188 2016-05-30 Roland McGrath <roland@hack.frob.com>
20189
20190 [BZ #3629]
20191 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20192 of POSIX.1-2008.
20193
20194 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20195
20196 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20197 Use PLT entry for calling _hurd_self_sigstate.
20198
20199 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20200
20201 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20202 available logical processors with SMT level type sharing L2
20203 cache for Intel processors.
20204
20205 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20206
20207 [BZ #20160]
20208 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20209 argument to itself before returning the result.
20210 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20211 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20212 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20214 Likewise.
20215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20216 Likewise.
20217 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20218 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20219 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20220 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20221 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20222 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20223
20224 [BZ #20160]
20225 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20226 argument to itself before returning the result.
20227 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20228 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20229 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20230 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20231 Likewise.
20232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20233 Likewise.
20234 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20235 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20236 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20237 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20238 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20239 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20240
20241 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20242
20243 * libm-test.inc: Replace usage of M_El with
20244 (lit_e): New macro.
20245
20246 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20247
20248 * libm-test.inc: Replace usage of M_PI_4l with
20249 (lit_pi_4_d): New macro.
20250
20251 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20252
20253 * libm-test.inc: Replace usage of M_PIl with
20254 (lit_pi): New macro.
20255
20256 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20257
20258 * libm-test.inc: Replace usage of M_PI2l with
20259 (lit_pi_2_d): New macro.
20260
20261 * math/test-double.h (LITM): New macro.
20262 * math/test-float.h (LITM): Likewise.
20263 * math/test-ldouble.h (LITM): Likewise.
20264
20265 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20266
20267 * libm-test.inc (M_PI_34l): Rename to
20268 (lit_pi_3_m_4_d): New Macro.
20269 (M_PI_34_LOG10El): Rename to
20270 (lit_pi_3_m_4_ln10_m_d): New Macro.
20271 (M_PI2_LOG10El): Rename to
20272 (lit_pi_2_ln10_m_d): New Macro.
20273 (M_PI4_LOG10El): Rename to
20274 (lit_pi_4_ln10_m_d): New Macro.
20275 (M_PI_LOG10El): Rename to
20276 (lit_pi_ln10_d): New Macro.
20277
20278 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20279
20280 [BZ #20157]
20281 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20282 determine whether to negate low half if [_ARCH_PPCGR], and integer
20283 comparison otherwise.
20284 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20285 determine whether to negate low half.
20286
20287 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20288 (NO_TEST_INLINE_DOUBLE): Likewise.
20289 (TEST_COND_x86_64): Likewise.
20290 (TEST_COND_x86): Likewise.
20291 (M_PI_6l): Likewise.
20292
20293 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20294
20295 * math/libm-test.inc:
20296 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20297 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20298 (TEST_LDOUBLE): Update usage to evaluate as true if
20299 the guarded tests match the property being tested.
20300 (LDBL_MAX_EXP): Change to MAX_EXP.
20301 (LDBL_MIN_EXP): Change to MIN_EXP.
20302 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20303 nexttoward tests.
20304
20305 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20306
20307 * math/libm-test.inc:
20308 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20309 (TYPE_MIN): Likewise.
20310 (TYPE_TRUE_MIN): Likewise.
20311 (TYPE_MAX): Likewise.
20312 (MIN_EXP): Likewise.
20313 (MAX_EXP): Likewise.
20314 (MANT_DIG): Likewise.
20315
20316 (FSTR_MAX): New macro.
20317 (__CONCATX): Likewise.
20318 (QTYPE_STR): Likewise.
20319 (TEST_COND_binary32): Likewise.
20320 (TEST_COND_binary64): Likewise.
20321 (TEST_COND_binary128): Likewise.
20322 (TEST_COND_ibm128): Likewise.
20323 (TEST_COND_intel96): Likewise.
20324 (TEST_COND_m68k96): Likewise.
20325
20326 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20327 (TEST_COND_dbl_64): Likewise.
20328 (TEST_COND_ldbl_96_intel): Likewise.
20329 (TEST_COND_ldbl_96_m68k): Likewise.
20330 (TEST_COND_ldbl_128): Likewise.
20331 (TEST_COND_ldbl_128ibm): Likewise.
20332
20333 (plus_zero): Redefine using LIT macro.
20334 (minus_zero): Likewise.
20335 (plus_infty): Redefine as (INF).
20336 (minux_infty): Redefine as (-INF).
20337 (max_value): Redefine as TYPE_MAX.
20338 (min_value): Redefine as TYPE_MIN.
20339 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20340
20341 (print_float): Refactor to use snprintf to convert FLOAT values
20342 to string. This brings it closer to dropin replacement of strtof
20343 for the TS 18661 defined types.
20344 (update_stats): Likewise.
20345 (print_complex_function_ulps): Likewise.
20346 (print_max_error): Likewise.
20347 (print_complex_max_error): Likewise.
20348 (check_float_internal): Likewise.
20349
20350 * math/test-float.h (PREFIX): New macro.
20351 (LIT): Likewise.
20352 (TYPE_STR): Likewise.
20353 (FTOSTR): Likewise.
20354
20355 * math/test-double.h (PREFIX): New macro.
20356 (LIT): Likewise.
20357 (TYPE_STR): Likewise.
20358 (FTOSTR): Likewise.
20359
20360 * math/test-ldouble.h (PREFIX): New macro.
20361 (LIT): Likewise.
20362 (TYPE_STR): Likewise.
20363 (FTOSTR): Likewise.
20364
20365 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20366
20367 [BZ #20156]
20368 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20369 to itself when zero or not finite.
20370 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20374
20375 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20376
20377 [BZ #20153]
20378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20379 x * x + x for infinities and NaNs.
20380
20381 [BZ #20151]
20382 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20383 argument to itself before returning result.
20384 (__ieee754_y0l): Likewise.
20385 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20386 (__ieee754_y1l).
20387
20388 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20389 (atan_test_data): Likewise.
20390 (ceil_test_data): Likewise.
20391 (cos_test_data): Likewise.
20392 (cosh_test_data): Likewise.
20393 (erf_test_data): Likewise.
20394 (exp2_test_data): Likewise.
20395 (fabs_test_data): Likewise.
20396 (floor_test_data): Likewise.
20397 (ilogb_test_data): Likewise.
20398 (j0_test_data): Likewise.
20399 (j1_test_data): Likewise.
20400 (jn_test_data): Likewise.
20401 (lgamma_test_data): Likewise.
20402 (lrint_test_data): Likewise.
20403 (llrint_test_data): Likewise.
20404 (logb_test_data): Likewise.
20405 (lround_test_data): Likewise.
20406 (llround_test_data): Likewise.
20407 (nearbyint_test_data): Likewise.
20408 (rint_test_data): Likewise.
20409 (round_test_data): Likewise.
20410 (sin_test_data): Likewise.
20411 (sincos_test_data): Likewise.
20412 (sinh_test_data): Likewise.
20413 (sqrt_test_data): Likewise.
20414 (tan_test_data): Likewise.
20415 (tanh_test_data): Likewise.
20416 (tgamma_test_data): Likewise.
20417 (trunc_test_data): Likewise.
20418 (y0_test_data): Likewise.
20419 (y1_test_data): Likewise.
20420 (yn_test_data): Likewise.
20421
20422 * math/libm-test.inc: Update comment about NaN testing.
20423 (TEST_SNAN): New macro.
20424 (snan_value): Likewise.
20425 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20426 (fpclassify_test_data): Add sNaN tests.
20427 (isfinite_test_data): Likewise.
20428 (isinf_test_data): Likewise.
20429 (isnan_test_data): Likewise.
20430 (isnormal_test_data): Likewise.
20431 (issignaling_test_data): Likewise.
20432 (signbit_test_data): Likewise.
20433 * math/gen-libm-test.pl (%beautify): Add snan_value.
20434 (show_exceptions): Add argument $test_snan.
20435 (parse_args): Handle snan_value as non-finite. Update call to
20436 show_exceptions.
20437 * math/Makefile (libm-test-no-inline-cflags): Add
20438 -fsignaling-nans.
20439
20440 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20441
20442 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20443 (CFLAGS-oldsendmsg.c): Add rule.
20444 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20445 Correct recvmsg symbol name.
20446 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20447 Likewise.
20448
20449 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20450
20451 * sysdeps/unix/sysv/linux/Makefile
20452 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20453 oldsendmmsg.
20454 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20455 sendmmsg.
20456 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20457 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20458 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20459 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20462 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20464 Likewise.
20465 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20466 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20467 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20468 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20469 iovlen and controllen fields to adjust to POSIX specification.
20470 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20471
20472 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20473 and change to correct expected type.
20474 (msghdr.msg_controllen): Likewise.
20475 (cmsghdr.cmsg_len): Likewise.
20476 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20477 expected POSIX assumption about the size.
20478 (msghdr.msg_controllen): Likewise.
20479 (msghdr.__glibc_reserved1): Likewise.
20480 (msghdr.__glibc_reserved2): Likewise.
20481 (cmsghdr.cmsg_len): Likewise.
20482 (cmsghdr.__glibc_reserved1): Likewise.
20483 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20484 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20485 (CFLAGS-sendmsg.c): Remove rule.
20486 (CFLAGS-recvmsg.c): Likewise.
20487 (CFLAGS-oldsendmsg.c): Add rule.
20488 (CFLAGS-oldrecvmsg.c): Likewise.
20489 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20490 recvmsg and sendmsg.
20491 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20492 Likewise.
20493 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20494 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20495 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20496 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20497 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20498 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20499 Likewise.
20500 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20501 Likewise.
20502 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20503 Likewise.
20504 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20505 Likewise.
20506 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20507 Likewise.
20508 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20509 Likewise.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20511 (GLIBC_2.24): Likewise.
20512 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20513 Likewise.
20514 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20515 Likewise.
20516 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20517 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20518 Likewise.
20519 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20520 Likewise.
20521 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20522 Likewise.
20523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20524 (GLIBC_2.24): Likewise.
20525 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20526 Likewise.
20527 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20528 Likewise.
20529 * sysdeps/unix/sysv/linux/Makefile
20530 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20531 (CFLAGS-sendmsg.c): Add rule.
20532 (CFLAGS-recvmsg.c): Likewise.
20533 (CFLAGS-oldsendmsg.c): Likewise.
20534 (CFLAGS-oldrecvmsg.c): Likewise.
20535 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20536 initialization.
20537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20538 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20539 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20540 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20541 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20542 iovlen and controllen fields to adjust to POSIX specification.
20543 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20544 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20545 added recvmsg and sendmsg.
20546 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20547 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20549 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20550 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20551 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20552 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20553 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20554 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20555 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20556 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20557 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20559 Likewise.
20560 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20562 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20563 Likewise.
20564 Likewise.
20565 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20567 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20568 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20570 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20572 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20574 Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20577
20578 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20579 from auto-generation.
20580 (sendmsg): Likewise.
20581 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20582 (sendmsg): Likewise.
20583 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20584 (sendmsg): Likewise.
20585 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20586 (sendmsg): Likewise.
20587 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20588 (sendmsg): Likewise.
20589 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20590 (sendmsg): Likewise.
20591 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20592 Likewise.
20593 (sendmsg): Likewise.
20594 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20595 (sendmsg): Likewise.
20596 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20597 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20598 Remove.
20599 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20600 Likewise.
20601 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20602 Undefine.
20603 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20604 Likewise.
20605 * sysdeps/unix/sysv/linux/kernel-features.h
20606 (__ASSUME_SENDMSG_SYSCALL): Define.
20607 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20609 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20610 Remove.
20611 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20612 Likewise.
20613 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20614 Undefine.
20615 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20616 Likewise.
20617 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20618 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20619 Remove.
20620 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20621 Likewise.
20622 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20623 Undefine.
20624 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20625 Likewise.
20626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20627 (__ASSUME_SENDMSG_SYSCALL): Undefine.
20628 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20629 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20630 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20631 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20632 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20633 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20634 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20635
20636 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20637
20638 * stdlib/gen-tst-strtod-round.c: Add backslash to
20639 compile command in comment.
20640 (printfp): Remove the literal suffix, and define an infinite
20641 value as INF to avoid expansion clash with INFINITY.
20642 (round_str): Remove the literal suffix.
20643 (round_for_all): Likewise, remove the now duplicate ldbl-64
20644 entry, and remove some magic constants.
20645
20646 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20647 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
20648 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20649 (_CONCAT): New macro.
20650 (CONCAT): Likewise.
20651 (CHOOSE_ld): Likewise.
20652 (CHOOSE_f): Likewise.
20653 (CHOOSE_d): Likewise.
20654 (FTYPE_MEMBER): Likewise.
20655 (BOOL_MEMBER): Likewise.
20656 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20657 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20658 (_XNTRY): Likewise.
20659 (XNTRY): Likewise.
20660 (_ENTRY): Likewise.
20661 (ENTRY): Likewise.
20662 (test_exactness): Generate members via macro.
20663 (test_results): Likewise.
20664 (test): Update members.
20665 (TEST): Redefine using new macros.
20666 (INF): New macro.
20667 (fetestmodes): New structure.
20668 (do_test): Refactor to be type generic.
20669 (test_in_one_mode): Refactor duplicate code into
20670 (GEN_ONE_TEST): New macro.
20671
20672 * stdlib/tst-strtod-round-data.h: Regenerate.
20673
20674 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20675 Extend to pass additional arbitrary parameters to
20676 generators.
20677
20678 2016-05-25 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #15479]
20681 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20682 floating-point state after first floating-point operation on
20683 input. Restore full floating-point state instead of just rounding
20684 mode.
20685 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20686 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20687 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20688 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20689 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20690
20691 [BZ #15479]
20692 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
20693 floating-point state after first floating-point operation on
20694 input. Restore full floating-point state instead of just rounding
20695 mode.
20696 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20697 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20698 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20699 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20700 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20701
20702 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20703
20704 [BZ #19727]
20705 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20706 valid high surrogate.
20707 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20708 of an utf16 surrogate.
20709 * iconv/gconv_simple.c (BODY): Likewise.
20710 * iconvdata/bug-iconv12.c: New file.
20711 * iconvdata/Makefile (tests): Add bug-iconv12.
20712
20713 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20714
20715 [BZ #19726]
20716 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20717 outptrp in case of an illegal input.
20718 * iconv/tst-iconv6.c: New file.
20719 * iconv/Makefile (tests): Add tst-iconv6.
20720
20721 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20722
20723 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20724 an error in case of a value in range of an utf16 low surrogate.
20725
20726 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20727
20728 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20729 an error in case of a value in range of an utf16 low surrogate.
20730
20731 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20732
20733 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20734 Move to ...
20735 * sysdeps/s390/Makefile: ... here.
20736 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20737 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20738 (BRANCH_ON_COUNT): New define.
20739 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20741 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20742 run on s390-32, too.
20743 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20744 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20745 run on s390-32, too.
20746 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20747 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20748 run on s390-32, too.
20749
20750 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20751
20752 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20753 etf3eh or new vector loop-variant.
20754
20755 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20756
20757 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20758 etf3eh or new vector loop-variant.
20759
20760 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20761
20762 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20763 or new vector loop-variant.
20764
20765 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20766
20767 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20768 Rename to TR_LOOP and usage of tr instead of troo instruction.
20769
20770 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20771
20772 * sysdeps/s390/multiarch/gconv_simple.c: New File.
20773 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20774
20775 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20776
20777 * sysdeps/s390/multiarch/8bit-generic.c: New File.
20778 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20779 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20780 New override define.
20781 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20782
20783 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20784
20785 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20786 * sysdeps/s390/configure.ac: Add test for S390 vector register
20787 support in gcc.
20788 * sysdeps/s390/configure: Regenerated.
20789
20790 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20791
20792 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20793 Install file from $(objpfx)gconv-modules.
20794 ($(objpfx)gconv-modules): Concatenate architecture specific file
20795 in variable sysdeps-gconv-modules and gconv-modules in src dir.
20796 * sysdeps/s390/gconv-modules: New file.
20797 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20798 Deleted.
20799 ($(objpfx)gconv-modules-s390): Deleted.
20800 (sysdeps-gconv-modules): New variable.
20801
20802 2016-05-24 Joseph Myers <joseph@codesourcery.com>
20803
20804 [BZ #15479]
20805 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20806 of immediate operand to rounding instruction.
20807 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20808 Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20810 Likewise.
20811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20812 Likewise.
20813
20814 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20815
20816 * math/libm-test.inc (MIN_EXP): Directly define as
20817 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20818
20819 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20820
20821 * math/libm-test.inc (MANT_DIG): Directly define as
20822 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20823
20824 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20825
20826 * stdlib/gen-tst-strtod-round.c (main):
20827 Change usage to more closely match the generated
20828 output. Add usage and compilation instructions.
20829 (string_to_fp): Add and use FILE* parameter as
20830 output target.
20831 (print_fp): Likewise.
20832 (round_str): Likewise.
20833 (round_for_all): Likewise.
20834 * stdlib/tst-strtod-round.c (tests): Move into
20835 * stdlib/tst-strtod-round-data.h: New file.
20836
20837 2016-05-24 Joseph Myers <joseph@codesourcery.com>
20838
20839 [BZ #15479]
20840 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20841 (__round): Do not force "inexact" exception.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20843 variable.
20844 (__round): Do not force "inexact" exception.
20845 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20846 (__roundf): Do not force "inexact" exception.
20847 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20848 (__roundl): Do not force "inexact" exception.
20849 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20850 (__roundl): Do not force "inexact" exception.
20851 * math/libm-test.inc (round_test_data): Do not allow spurious
20852 "inexact" exceptions.
20853
20854 [BZ #15479]
20855 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20856 exception in comment.
20857 (huge): Remove variable.
20858 (__floor): Do not force "inexact" exception.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20860 "inexact" exception in comment.
20861 (huge): Remove variable.
20862 (__floor): Do not force "inexact" exception.
20863 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20864 exception in comment.
20865 (huge): Remove variable.
20866 (__floorf): Do not force "inexact" exception.
20867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20868 exception in comment.
20869 (huge): Remove variable.
20870 (__floorl): Do not force "inexact" exception.
20871
20872 [BZ #15479]
20873 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20874 exception in comment.
20875 (huge): Remove variable.
20876 (__ceil): Do not force "inexact" exception.
20877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20878 "inexact" exception in comment.
20879 (huge): Remove variable.
20880 (__ceil): Do not force "inexact" exception.
20881 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20882 (__ceilf): Do not force "inexact" exception.
20883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20884 exception in comment.
20885 (huge): Remove variable.
20886 (__ceill): Do not force "inexact" exception.
20887
20888 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * config.h.in (BIND_NOW): New.
20891 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
20892 * configure: Regenerated.
20893 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20894 indirect branch via the GOT slot.
20895
20896 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20897
20898 [BZ #19765]
20899 * sysdeps/s390/mempcpy.S: New File.
20900 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20901 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20902 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20903 Add mempcpy variants.
20904 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20905 (memcpy): Adjust to be usable from mempcpy entry point.
20906 (__memcpy_mvcle): Likewise.
20907 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20908 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20909 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20910 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20911 (__memcpy_z10): Likewise.
20912 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20913
20914 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20915
20916 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20917 Remove __GI_ symbol.
20918 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20919 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20920 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20921 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20922 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20923 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20924
20925 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20926
20927 * sysdeps/s390/s390-64/memcpy.S (memcpy):
20928 Use cghi instead of chi to compare 64bit value.
20929
20930 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20931
20932 * sysdeps/s390/s390-32/memcpy.S (memcpy):
20933 Jump to 1MB check before executing mvc-loop.
20934
20935 2016-05-24 Florian Weimer <fweimer@redhat.com>
20936
20937 [BZ #6527]
20938 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20939 unconditionally.
20940 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20941
20942 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20943
20944 * stdlib/tst-strtod6.c (do_test): Use new type generic
20945 invocation of the test function.
20946 (test): Refactor into ...
20947 (TEST_STRTOD): New macro base function.
20948
20949 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20950
20951 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20952 (TEST_STRTOD): New macro.
20953 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20954
20955 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20956
20957 * stdlib/tst-strtod6.c (do_test): Use new type generic
20958 invocation of the test function.
20959 (test): Refactor into ...
20960 (TEST_STRTOD): New macro base function.
20961
20962 2016-05-23 Florian Weimer <fweimer@redhat.com>
20963
20964 CVE-2016-4429
20965 [BZ #20112]
20966 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20967 payload.
20968
20969 2016-05-23 Florian Weimer <fweimer@redhat.com>
20970
20971 [BZ #20111]
20972 * bits/sockaddr.h (_SS_SIZE): Define.
20973 * bits/socket.h (_SS_SIZE): Remove.
20974 (_SS_PADSIZE): Adjust to account for all padding.
20975 (struct sockaddr_storage): Update comment. Avoid implicit
20976 padding.
20977 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20978 (_SS_PADSIZE): Adjust to account for all padding.
20979 (struct sockaddr_storage): Update comment. Avoid implicit
20980 padding.
20981 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20982 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20983 (_SS_PADSIZE): Adjust to account for all padding.
20984 (struct sockaddr_storage): Update comment. Avoid implicit
20985 padding.
20986 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20987 __SS_SIZE is 126 in this version.
20988 * inet/tst-sockaddr.c: New file.
20989 * inet/Makefile (tests): Add tst-sockaddr.c
20990 (tst-sockaddr.c): Compile with non-strict aliasing.
20991
20992 2016-05-23 Joseph Myers <joseph@codesourcery.com>
20993
20994 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20995 [XPG3 || XPG4].
20996 (NL_ARGMAX): Also expect for [XPG3].
20997 (NL_LANGMAX): Likewise.
20998 (NL_MSGMAX): Likewise.
20999 (NL_NMAX): Likewise.
21000 (NL_SETMAX): Likewise.
21001 (NL_TEXTMAX): Likewise.
21002 (NZERO): Likewise.
21003 (TMP_MAX): Likewise.
21004 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21005 variable.
21006
21007 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21008 (PF_MAX): Update value.
21009 (AF_KCM): New macro.
21010 (SOL_NETBEUI): Likewise.
21011 (SOL_LLC): Likewise.
21012 (SOL_DCCP): Likewise.
21013 (SOL_NETLINK): Likewise.
21014 (SOL_TIPC): Likewise.
21015 (SOL_RXRPC): Likewise.
21016 (SOL_PPPOL2TP): Likewise.
21017 (SOL_BLUETOOTH): Likewise.
21018 (SOL_PNPIPE): Likewise.
21019 (SOL_RDS): Likewise.
21020 (SOL_IUCV): Likewise.
21021 (SOL_CAIF): Likewise.
21022 (SOL_ALG): Likewise.
21023 (SOL_NFC): Likewise.
21024 (SOL_KCM): Likewise.
21025 (MSG_BATCH): New enum value and macro.
21026
21027 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21028
21029 [BZ #18185]
21030 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21031 sharing L2 cache to 2 for Knights Landing.
21032
21033 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21034
21035 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21036 (FTW_DP): Do not expect for [XPG3 || XPG4].
21037 (FTW_SL): Do not expect for [XPG3].
21038 (FTW_SLN): Likewise.
21039 (FTW_PHYS): Likewise.
21040 (FTW_MOUNT): Likewise.
21041 (FTW_DEPTH): Likewise.
21042 (FTW_CHDIR): Likewise.
21043 (nftw): Likewise.
21044 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21045 variable.
21046
21047 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21048
21049 * manual/errno.texi: Fix various typos & grammar errors.
21050
21051 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21052
21053 * manual/intro.texi: Fix duplicated typo.
21054
21055 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21056
21057 [BZ #13304]
21058 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21059 <float.h>, <math_private.h> and <stdlib.h>.
21060 (add_split): New function.
21061 (mul_split): Likewise.
21062 (ext_val): New typedef.
21063 (store_ext_val): New function.
21064 (mul_ext_val): New function.
21065 (compare): New function.
21066 (add_split_ext): New function.
21067 (__fmal): After checking for Inf, NaN and zero, compute result as
21068 an exact sum of scaled double values in round-to-nearest before
21069 adding those up and adjusting for other rounding modes.
21070 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21071 tests of fma.
21072 * math/auto-libm-test-out: Regenerated.
21073
21074 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21075
21076 [BZ #20119]
21077 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21078 processor level type mask for CPUID with EAX == 11.
21079
21080 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21081
21082 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21083 logical threads if the HTT bit is 0.
21084 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21085 (index_cpu_HTT): Likewise.
21086 (reg_HTT): Likewise.
21087
21088 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21089
21090 [BZ #20115]
21091 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21092 Remove alignments on jump targets.
21093
21094 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21095
21096 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21097 (getpwent): Likewise.
21098 (setpwent): Likewise.
21099 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21100 variable.
21101
21102 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21103 (remque): Likewise.
21104 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21105 variable.
21106
21107 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21108
21109 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21110 not being tested.
21111
21112 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21113
21114 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21115 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21116 call.
21117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21118 (__condvar_cleanup1): Likewise.
21119
21120 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21121
21122 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21123 New
21124 (__pthread_unwind): Renamed to ...
21125 (PTHREAD_UNWIND): This.
21126 (__pthread_enable_asynccancel): Replace
21127 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21128
21129 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21130
21131 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21132 (CLONE_NEWCGROUP): New macro.
21133
21134 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21135 (Q_GETNEXTQUOTA): New macro.
21136
21137 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21138
21139 [BZ #19907]
21140 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21141 buffer updated by the previous run.
21142 * string/test-memcpy.c (do_one_test): Likewise.
21143 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21144 * string/test-memmove.c (do_one_test): Likewise.
21145
21146 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21147
21148 [BZ #20094]
21149 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21150 not [__USE_XOPEN].
21151 (unlockpt): Likewise.
21152 (ptsname): Likewise.
21153 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21154 variable.
21155
21156 [BZ #20076]
21157 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21158 instead of [__USE_UNIX98].
21159 (S_ISSOCK): Likewise.
21160 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21161 variable.
21162
21163 [BZ #20074]
21164 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21165 [__USE_POSIX].
21166 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21167 variable.
21168
21169 [BZ #20051]
21170 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21171 (ttyslot): Do not declare.
21172 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21173 (ttyslot): New prototype.
21174 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21175 variable.
21176 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21177
21178 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21179
21180 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21181
21182 2016-05-13 Florian Weimer <fweimer@redhat.com>
21183
21184 Fix race condition in tst-mallocfork2, use fewer resources.
21185 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21186 to current process group.
21187 (signal_sender): Yield in the non-sleeping case.
21188
21189 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21190
21191 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21192 (ecvt): Likewise.
21193 (fcvt): Likewise.
21194 (gcvt): Likewise.
21195 (getsubopt): Likewise.
21196 (grantpt): Likewise.
21197 (initstate): Likewise.
21198 (l64a): Likewise.
21199 (mktemp): Likewise.
21200 (mkstemp): Likewise.
21201 (ptsname): Likewise.
21202 (random): Likewise.
21203 (realpath): Likewise.
21204 (setstate): Likewise.
21205 (srandom): Likewise.
21206 (ttyslot): Likewise.
21207 (unlockpt): Likewise.
21208 (valloc): Likewise.
21209
21210 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21211 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21212 variable.
21213
21214 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21215
21216 [BZ #20072]
21217 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21218 init_cpu_features only if SHARED is defined.
21219 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21220
21221 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21224 non-inclusive caches on Intel processors.
21225
21226 2016-05-13 Florian Weimer <fweimer@redhat.com>
21227
21228 * malloc/malloc.c (dumped_main_arena_start)
21229 (dumped_main_arena_end): New variables.
21230 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21231 (do_check_chunk): Skip dumped fake mmapped chunks.
21232 (munmap_chunk): Likewise.
21233 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21234 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21235 mmapped chunks.
21236 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21237 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21238 and dumped_main_arena_end to cover the dumped heap.
21239
21240 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21241
21242 * conform/data/time.h-data (getdate_err): Do not expect for
21243 [XPG3].
21244 (getdate): Likewise.
21245 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21246 variable.
21247
21248 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21249 (F_ULOCK): Likewise.
21250 (F_TEST): Likewise.
21251 (F_TLOCK): Likewise.
21252 (useconds_t): Likewise.
21253 (intptr_t): Do not expect for [XPG3] or [XPG4].
21254 (brk): Do not expect for [XPG3]
21255 (fchown): Likewise.
21256 (fchdir): Likewise.
21257 (ftruncate): Likewise.
21258 (getdtablesize): Likewise.
21259 (gethostid): Likewise.
21260 (getpagesize): Likewise.
21261 (getpgid): Likewise.
21262 (getsid): Likewise.
21263 (getwd): Likewise.
21264 (lchown): Likewise.
21265 (lockf): Likewise.
21266 (readlink): Likewise.
21267 (sbrk): Likewise.
21268 (setpgrp): Likewise.
21269 (setregid): Likewise.
21270 (setreuid): Likewise.
21271 (symlink): Likewise.
21272 (sync): Likewise.
21273 (truncate): Likewise.
21274 (ualarm): Likewise.
21275 (usleep): Likewise.
21276 (vfork): Likewise.
21277 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21278 variable.
21279
21280 [BZ #20054]
21281 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21282 not [__USE_UNIX98].
21283 * conform/data/unistd.h-data (gethostname): Do not expect for
21284 [XPG3].
21285
21286 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21287 [!POSIX] (S_IFBLK): Likewise.
21288 [!POSIX] (S_IFCHR): Likewise.
21289 [!POSIX] (S_IFIFO): Likewise.
21290 [!POSIX] (S_IFREG): Likewise.
21291 [!POSIX] (S_IFDIR): Likewise.
21292 [!POSIX] (S_IFLNK): Likewise.
21293 [!POSIX] (S_IFSOCK): Likewise.
21294 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21295 variable.
21296 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21297
21298 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21299
21300 * sysdeps/aarch64/memset.S (__memset):
21301 Rewrite of optimized memset.
21302
21303 2016-05-12 Florian Weimer <fweimer@redhat.com>
21304
21305 [BZ #19703]
21306 Partially async-signal-safe fork for single-threaded processes.
21307 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21308 variable. Do not acquire and reset/release malloc and libio locks
21309 in single-threaded processes.
21310 * malloc/tst-mallocfork2.c: New file.
21311 * malloc/Makefile (tests): Add it.
21312
21313 2016-05-12 Florian Weimer <fweimer@redhat.com>
21314
21315 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21316 argument. Use scratch buffer instead of extend_alloca.
21317 (gethosts): Use scratch buffer instead of extend_alloca.
21318 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21319 extend_alloca.
21320 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21321
21322 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21323
21324 [BZ #20055]
21325 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21326 instead of [__USE_UNIX98].
21327 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21328 [__USE_UNIX98].
21329 * conform/data/termios.h-data (tcgetsid): Do not expect for
21330 [XPG3].
21331 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21332 variable.
21333 (test-xfail-XPG4/termios.h/conform): Likewise.
21334
21335 2016-05-11 Florian Weimer <fweimer@redhat.com>
21336
21337 Do not use mcheck in localedef.
21338 * locale/programs/localedef.c (turn_on_mcheck)
21339 (__malloc_initialize_hook): Remove.
21340
21341 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21342
21343 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21344 * sysdeps/s390/s390-64/Makefile: Likewise.
21345
21346 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21347
21348 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21349 Remove ifunc-defines.sym.
21350 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21351 Likewise.
21352 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21353 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21354 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21355 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21356 rtld-global-offsets.sym.
21357 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21358 * sysdeps/x86/cpu-features-offsets.sym: This.
21359 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21360 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21361
21362 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21363
21364 [BZ #20073]
21365 * io/sys/stat.h (fchmod): Declare for
21366 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21367 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21368 variable.
21369
21370 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21371 [XPG3] (S_IFSOCK): Likewise.
21372 [XPG3] (S_ISVTX): Likewise.
21373 [XPG3] (S_ISLNK): Likewise.
21374 [XPG3] (S_ISSOCK): Likewise.
21375 [XPG3] (fchmod): Likewise.
21376 [XPG3] (lstat): Likewise.
21377 [XPG3] (mknod): Likewise.
21378
21379 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21380 [XPG3]. Expect type long and XFAIL for [XPG4].
21381 (st_blocks): Likewise.
21382
21383 [BZ #20044]
21384 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21385 (pthread_atfork): New prototype.
21386 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21387 variable.
21388
21389 [BZ #20043]
21390 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21391 prototype.
21392
21393 2016-05-10 Florian Weimer <fweimer@redhat.com>
21394
21395 [BZ #20017]
21396 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21397 gmtime.
21398
21399 2016-05-10 Florian Weimer <fweimer@redhat.com>
21400
21401 [BZ #19994]
21402 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21403 flag in _res.options.
21404
21405 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21406
21407 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21408 [XPG3 || XPG4].
21409 (blksize_t): Likewise.
21410 (clockid_t): Likewise.
21411 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21412 variable.
21413 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21414
21415 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21416
21417 * sysdeps/unix/sysv/linux/s390/init-first.c:
21418 Add VDSO_SYMBOL(getcpu).
21419 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21420 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21421 Add VDSO_SYMBOL(getcpu).
21422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21423 New define HAVE_GETCPU_VSYSCALL.
21424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21425
21426 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21429 instead of <sysdeps/x86_64/cacheinfo.c>.
21430 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21431 * sysdeps/x86/cacheinfo.c: Here.
21432
21433 2016-05-04 Florian Weimer <fweimer@redhat.com>
21434
21435 * malloc/malloc-internal.h: Adjust header file guard.
21436
21437 2016-05-04 Florian Weimer <fweimer@redhat.com>
21438
21439 [BZ #19787]
21440 * inet/getnameinfo.c (check_sprintf_result): New function.
21441 (CHECKED_SNPRINTF): New macro.
21442 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21443 to the host buffer.
21444 (gni_host_local): Use checked_copy to copy the host name.
21445 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21446 (gni_serv_local): Use checked_copy to copy the service name.
21447 (getnameinfo): Remove unnecessary truncation of result buffers.
21448
21449 2016-05-04 Florian Weimer <fweimer@redhat.com>
21450
21451 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21452 in case of inet_ntop failure.
21453
21454 2016-05-04 Florian Weimer <fweimer@redhat.com>
21455
21456 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21457 avoid long lines.
21458 (gni_host_inet_numeric): Likewise. Reduce scope of local
21459 variables.
21460 (gni_host_inet, gni_host_local): Add comment.
21461 (gni_host): Add comment. Use temporary to avoid long lines.
21462
21463 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21464
21465 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21466 registers specifiers where general purpose registers specifiers should
21467 have been used.
21468
21469 2016-05-04 Florian Weimer <fweimer@redhat.com>
21470
21471 [BZ #19779]
21472 CVE-2016-1234
21473 Avoid copying names of directory entries.
21474 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21475 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21476 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21477 (struct readdir_result): New type.
21478 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21479 (GL_READDIR): New macros.
21480 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21481 (convert_dirent, convert_dirent64): New functions.
21482 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21483 convert_dirent64. Adjust references to the readdir result.
21484 * sysdeps/unix/sysv/linux/i386/glob64.c:
21485 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21486 * posix/bug-glob2.c (LONG_NAME): Define.
21487 (filesystem): Add LONG_NAME.
21488 (my_DIR): Increase the size of room_for_dirent.
21489
21490 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21491
21492 [BZ #20041]
21493 * misc/sys/select.h (__need_timespec): Only define if
21494 [__USE_XOPEN2K].
21495 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21496 variable.
21497 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21498 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21499 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21500
21501 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21502 Segher Boessenkool <segher@gcc.gnu.org>
21503
21504 [BZ #20004]
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21506 (__novec_swapcontext): Add missing load.
21507
21508 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21509
21510 [BZ #20023]
21511 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21512 <time.h>.
21513 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21514 variable.
21515 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21516
21517 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21518
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21520 flags CLONE_VM compare.
21521
21522 2016-05-02 Florian Weimer <fweimer@redhat.com>
21523
21524 [BZ #20031]
21525 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21526 completely empty.
21527
21528 2016-05-02 Florian Weimer <fweimer@redhat.com>
21529
21530 [BZ #19573]
21531 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21532 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21533 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21534 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21535 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21536 (hesiod_free_list): Mark as hidden.
21537 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21538 res_set, res_get.
21539 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21540 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21541 (hesiod_init): Remove obsolete res_ninit call.
21542 (hesiod_end): Do not free resolver state. Do not invoke callback.
21543 (hesiod_bind): Do not call init.
21544 (get_txt_records): Use res_mkquery, res_send instead of
21545 res_nmkquery, res_nsend.
21546 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21547 instead of _nss_hesiod_init.
21548 (_nss_hesiod_initgroups_dyn): Likewise.
21549 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21550 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21551 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21552
21553 2016-05-02 Florian Weimer <fweimer@redhat.com>
21554
21555 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21556 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21557
21558 2016-05-02 Florian Weimer <fweimer@redhat.com>
21559
21560 * hesiod/hesiod.h: Remove RCS keyword.
21561 * hesiod/hesiod_p.h: Likewise.
21562
21563 * hesiod/hesiod.c: Likewise.
21564
21565 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
21566
21567 [BZ #12450]
21568 * locale/iso-639.def: Add Samogitian/sgs.
21569
21570 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
21571
21572 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21573
21574 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21575
21576 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
21577 Carlos O'Donell <carlos@redhat.com>
21578
21579 [BZ #19072]
21580 * grp/Makefile (headers): Add grp-merge.h
21581 (routines): Add grp-merge.
21582 * grp/getgrgid_r.c: Include grp-merge.h.
21583 (DEEPCOPY_FN): Define.
21584 (MERGE_FN): Define.
21585 * grp/getgrname_r.c: Include grp-merge.h.
21586 (DEEPCOPY_FN): Define.
21587 (MERGE_FN): Define.
21588 * grp/grp-merge.c: New file.
21589 * grp/grp-merge.h: New file.
21590 * include/grp-merge.h: New file.
21591 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21592 __copy_grp@GLIBC_PRIVATE.
21593 * manual/nss.texi (Actions in the NSS configuration): Describe
21594 return, continue, and merge.
21595 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21596 (DEEPCOPY_FN): Define.
21597 (MERGE_FN): Define.
21598 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21599 (DEEPCOPY_FN): Define.
21600 (MERGE_FN): Define.
21601 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21602 [!MERGE_FN]: Define __merge_einval.
21603 (CHECK_MERGE): Define.
21604 (REENTRANT_NAME): Process merge if do_merge is true.
21605 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21606 (__nss_getent_r): Likewise.
21607 * nss/nsswitch.c (nss_parse_service_list): Likewise.
21608 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21609
21610 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21611
21612 [BZ #20012]
21613 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21614 length to calculate the buffer to read.
21615 (fmemopen_write): Set the buffer position based on bytes written.
21616 (fmemopen_seek): Return EINVAL for invalid whence modes.
21617
21618 [BZ #19957]
21619 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21620 tst-getpid2.
21621 (test): Add tst-clone2.
21622 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21623 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21624 pid/tid fields for CLONE_VM.
21625 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21626 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21627 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21628 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21629 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21630 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21631 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21632 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21634 Likewise.
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21636 Likewise.
21637 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21638 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21639 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21640 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21641 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21642 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21644 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21645
21646 2016-04-29 Florian Weimer <fweimer@redhat.com>
21647
21648 [BZ #19642]
21649 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21650 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21651 (gni_serv_local, gni_serv): New functions extracted from
21652 getnameinfo.
21653 (getnameinfo): Call gni_host and gni_serv to perform the
21654 processing. Always free scratch buffer.
21655
21656 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21657
21658 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21659 remaining bytes in the dest string, with zeros.
21660
21661 2016-04-29 Florian Weimer <fweimer@redhat.com>
21662
21663 [BZ #20010]
21664 CVE-2016-3706
21665 * sysdeps/posix/getaddrinfo.c
21666 (convert_hostent_to_gaih_addrtuple): New function.
21667 (gethosts): Call convert_hostent_to_gaih_addrtuple.
21668 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21669 AF_INET data.
21670
21671 2016-04-29 Florian Weimer <fweimer@redhat.com>
21672
21673 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21674 callback function gl_readdir.
21675 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21676 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21677 (glob_in_dir): Remove len. Use strdup instead of malloc and
21678 memcpy to copy the name.
21679 * manual/pattern.texi (Calling Glob): Document requirements for
21680 implementations of the gl_readdir callback function.
21681 * manual/examples/mkdirent.c: New example.
21682 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21683 per the manual guidance.
21684 * posix/tst-gnuglob.c (my_readdir): Likewise.
21685
21686 2016-04-28 Joseph Myers <joseph@codesourcery.com>
21687
21688 [BZ #20014]
21689 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
21690 not [__USE_POSIX].
21691 (getchar_unlocked): Likewise.
21692 (putc_unlocked): Likewise.
21693 (putchar_unlocked): Likewise.
21694 (flockfile): Likewise.
21695 (ftrylockfile): Likewise.
21696 (funlockfile): Likewise.
21697 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
21698 variable.
21699 (test-xfail-XPG4/stdio.h/conform): Likewise.
21700
21701 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21702 Expect constant.
21703 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21704 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21705 variable.
21706 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21707 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21708
21709 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21710 [__USE_LARGEFILE64] (off64_t): Likewise.
21711 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21712 variable.
21713
21714 2016-04-28 Florian Weimer <fweimer@redhat.com>
21715
21716 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21717
21718 2016-04-28 Florian Weimer <fweimer@redhat.com>
21719
21720 * resolv/inet_addr.c: Reindent preprocessor conditionals.
21721 * resolv/res_init.c: Likewise.
21722 * resolv/res_mkquery.c: Likewise.
21723
21724 2016-04-28 Florian Weimer <fweimer@redhat.com>
21725
21726 * resolv/res_init.c (isascii): Do not define. Use definition in
21727 <ctype.h>.
21728 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21729 (LOG_AUTH): Remove.
21730 (SPRINTF): Remove, adjust caller.
21731 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21732
21733 2016-04-28 Florian Weimer <fweimer@redhat.com>
21734
21735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21736 SUNSECURITY conditional.
21737 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21738
21739 2016-04-28 Florian Weimer <fweimer@redhat.com>
21740
21741 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21742 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21743 Remove BSD-related preprocessor conditionals.
21744 * conf/portability.h: Remove.
21745
21746 2016-04-28 Florian Weimer <fweimer@redhat.com>
21747
21748 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21749 * resolv/res_data.c: Likewise.
21750
21751 2016-04-28 Florian Weimer <fweimer@redhat.com>
21752
21753 * resolv/res_comp.c: Remove code conditional on __ultrix__.
21754 * resolv/res_data.c: Remove code conditional on ultrix.
21755
21756 2016-04-28 Florian Weimer <fweimer@redhat.com>
21757
21758 * resolv/res_init.c (RFC1535): Do not define. Remove
21759 RFC1535 preprocessor conditionals.
21760 * resolv/README: Update. Do not claim strict RFC 1535 compliance
21761 because there configuration options which make the resolver
21762 behavior different.
21763
21764 2016-04-28 Florian Weimer <fweimer@redhat.com>
21765
21766 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
21767 RESOLVSORT preprocessor conditionals.
21768 * resolv/nss_dns/dns-host.c: Likewise.
21769 * resolv/res_init.c: Likewise.
21770
21771 2016-04-28 Florian Weimer <fweimer@redhat.com>
21772
21773 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
21774 is never defined.
21775
21776 2016-04-28 Florian Weimer <fweimer@redhat.com>
21777
21778 * inet/inet_lnaof.c: Remove SCSS keyword.
21779 * inet/inet_mkadr.c: Likewise.
21780 * inet/inet_net.c: Likewise.
21781 * inet/inet_netof.c: Likewise.
21782 * inet/rcmd.c: Likewise.
21783 * inet/rexec.c: Likewise.
21784 * inet/ruserpass.c: Likewise.
21785
21786 2016-04-28 Florian Weimer <fweimer@redhat.com>
21787
21788 * resolv/inet_addr.c: Remove _LIBC conditionals.
21789 * resolv/res_data.c: Likewise.
21790 * resolv/res_init.c: Likewise.
21791 * resolv/res_mkquery.c: Likewise.
21792 * resolv/res_libc.c: Update comment.
21793 * resolv/README: Update.
21794
21795 2016-04-28 Florian Weimer <fweimer@redhat.com>
21796
21797 * resolv/gethnamaddr.c: Remove SCSS keyword.
21798 * resolv/herror.c: Likewise.
21799 * resolv/inet_addr.c: Likewise.
21800 * resolv/inet_net_ntop.c: Likewise.
21801 * resolv/inet_net_pton.c: Likewise.
21802 * resolv/inet_neta.c: Likewise.
21803 * resolv/inet_ntop.c: Likewise.
21804 * resolv/inet_pton.c: Likewise.
21805 * resolv/ns_date.c: Remove RCS keyword.
21806 * resolv/ns_name.c: Likewise.
21807 * resolv/ns_netint.c: Likewise.
21808 * resolv/ns_parse.c: Likewise.
21809 * resolv/ns_print.c: Likewise.
21810 * resolv/ns_samedomain.c: Likewise.
21811 * resolv/ns_ttl.c: Likewise.
21812 * resolv/nsap_addr.c: Likewise.
21813 * resolv/res_comp.c: Remove SCSS and RCS keyword.
21814 * resolv/res_data.c: Remove RCS keyword.
21815 * resolv/res_debug.c: Remove SCSS and RCS keyword.
21816 * resolv/res_init.c: Likewise.
21817 * resolv/res_mkquery.c: Likewise.
21818 * resolv/res_query.c: Likewise.
21819 * resolv/res_send.c: Likewise.
21820
21821 2016-04-27 Joseph Myers <joseph@codesourcery.com>
21822
21823 * conform/data/stdio.h-data (fdopen): Expect also for
21824 [XPG3 || XPG4].
21825
21826 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21827 (fseeko): Likewise.
21828 (ftello): Likewise.
21829 (ftrylockfile): Likewise.
21830 (funlockfile): Likewise.
21831 (getc_unlocked): Likewise.
21832 (getchar_unlocked): Likewise.
21833 (putc_unlocked): Likewise.
21834 (putchar_unlocked): Likewise.
21835
21836 2016-04-27 Florian Weimer <fweimer@redhat.com>
21837
21838 [BZ #19868]
21839 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21840 DNS packet syntax checks (which were not needed before). Skip
21841 over non-PTR records.
21842
21843 2016-04-27 Florian Weimer <fweimer@redhat.com>
21844
21845 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21846 definition. Include <stddef.h> instead.
21847
21848 2016-04-27 Florian Weimer <fweimer@redhat.com>
21849
21850 [BZ #19831]
21851 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21852 function.
21853 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21854 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21855
21856 2016-04-27 Florian Weimer <fweimer@redhat.com>
21857
21858 [BZ #19862]
21859 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21860 (getanswer_r): Do not call syslog.
21861 (gaih_getanswer_slice): Likewise.
21862 * resolv/gethnamaddr.c (AskedForGot): Remove.
21863 (getanswer): Do not call syslog.
21864 (gethostbyaddr): Likewise.
21865
21866 2016-04-27 Joseph Myers <joseph@codesourcery.com>
21867
21868 * conform/data/signal.h-data (union sigval): Expect also if
21869 [XOPEN2K].
21870 (struct sigevent): Likewise.
21871 (SIGEV_NONE): Likewise.
21872 (SIGEV_SIGNAL): Likewise.
21873 (SIGEV_THREAD): Likewise.
21874 (SIGRTMIN): Likewise.
21875 (SIGRTMAX): Likewise.
21876 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21877 variable.
21878 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21879
21880 2016-04-27 Florian Weimer <fweimer@redhat.com>
21881
21882 [BZ #19830]
21883 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21884 (gaih_getanswer_slice): Likewise.
21885 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21886 Also check for availability of RR metadata.
21887
21888 2016-04-27 Florian Weimer <fweimer@redhat.com>
21889
21890 [BZ #19825]
21891 * resolv/res_send.c (send_vc): Remove early *resplen2
21892 initialization. Set *resplen2 on socket error. Call
21893 close_and_return_error for other errors.
21894
21895 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
21896
21897 * sysdeps/unix/sysv/linux/netiucv/iucv.h
21898 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21899 (SCM_IUCV_TRGCLS): New define.
21900
21901 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21902
21903 [BZ #20005]
21904 * libio/fmemopen.c (fmemopen_write): Update internal position after
21905 write.
21906 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21907 * stdio-common/tst-fmemopen4.c: New file..
21908
21909 2016-04-26 Joseph Myers <joseph@codesourcery.com>
21910
21911 [BZ #19996]
21912 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21913 not [__USE_XOPEN2K].
21914 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21915 variable.
21916
21917 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21918 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21919 variable.
21920
21921 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21922 [__USE_XOPEN2K8].
21923 [__USE_LARGEFILE64] (off64_t): Likewise.
21924 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21925 variable.
21926
21927 2016-04-25 Joseph Myers <joseph@codesourcery.com>
21928
21929 [BZ #19989]
21930 * libio/stdio.h (cuserid): Do not declare if
21931 [__USE_XOPEN2K && !__USE_GNU].
21932 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21933 variable.
21934
21935 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21936
21937 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21938 (sysdep_routines): Add P8 and PPC64 strcspn targets.
21939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21940 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21941 ifunc'ed strcspn.
21942 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21943 [EALIGN]: Removed.
21944 [END]: Likewise
21945 [STRSPN]: Define instead of the above to control symbol name.
21946 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21947 New file.
21948 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21949 Likewise.
21950 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21951 Likewise.
21952 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21953 Likewise.
21954 * sysdeps/powerpc/powerpc64/power8/strspn.S:
21955 [INITIAL_MASK]: New macro.
21956 [STRCSPN]: Likewise.
21957 [UPDATE_MASK]: Likewise.
21958 [USE_AS_STRCSPN]: Likewise.
21959
21960 2016-04-25 Florian Weimer <fweimer@redhat.com>
21961
21962 [BZ #19931]
21963 * stdio-common/tst-vfprintf-width-prec.c: New file.
21964 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21965 (tests-special): Add tst-vfprintf-width-prec-mem.out.
21966 (generated): Add mtrace-related files.
21967 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21968 (tst-%-mem.out): New pattern rule, replaces
21969 tst-printf-bz18872-mem.out.
21970 * stdio-common/vfprintf.c (vfprintf): When handling a precision
21971 specifier, deallocate any previously allocated work buffer.
21972
21973 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21974
21975 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21976 Add nop before __startcontext, add explaining comments.
21977
21978 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
21979
21980 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21981 any more. Notably since IPV6_PKTINFO has been reintroduced with a
21982 completely different API.
21983
21984 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21985 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21986 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21987 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21988 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21989 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21990 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21991 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21992 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21993 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21994
21995 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
21996
21997 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21998
21999 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22000
22001 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22002 when it is the default of 0.
22003
22004 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22005
22006 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22007 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22008 (sysdep_routines): Add new strcasestr targets.
22009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22010 (__libc_ifunc_impl_list): Likewise.
22011 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22012 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22013 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22014 * sysdeps/powerpc/powerpc64/power8/Makefile:
22015 New file to add strcasestr-ppc64 to sysdep_routines.
22016 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22017 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22018
22019 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22020
22021 * benchtests/Makefile (wcsmbs-benchset): Include only for
22022 native builds and runs.
22023 (LOCALES): Likewise.
22024 (bench-build): Build timing-type here instead of the bench
22025 target. Generate locale only for native builds.
22026 * benchtests/README: Add note for cross-building.
22027
22028 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22029
22030 * benchtests/README: Update README to include instructions on
22031 using bench-build.
22032
22033 * Makefile.in (bench-build): New target.
22034 * Rules (PHONY): Add bench-build target.
22035 * benchtests/Makefile (bench): Depend on bench-build.
22036 (bench-build): New target.
22037
22038 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22039
22040 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22041 profil_reply_port.
22042 (profile_waiter): Do not initialize profil_reply_port.
22043 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22044 frequency instead of tick length in us.
22045
22046 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22047
22048 [BZ #18712]
22049 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22050 (__old_mempcpy_small): Likewise.
22051 (__old_strcpy_small): Likewise.
22052 (__old_stpcpy_small): Likewise.
22053 (__old_strpbrk_c2): Fix compat symbol name.
22054 (__old_strpbrk_c3): Likewise.
22055 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22056 (__mempcpy_small): Remove.
22057 (__strcpy_small): Remove.
22058 (__stpcpy_small): Remove.
22059
22060 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22061
22062 [BZ #19400]
22063 * locale/iso-639.def: Add the Talossan/tzl language.
22064
22065 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22066
22067 [BZ #16983]
22068 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22069 comment. Add "ln" to strchr check on postal_fmt.
22070
22071 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22072
22073 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22074 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22075 tel_dom_fmt.
22076
22077 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22078
22079 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22080 (sysdep_routines): Added __strlen_power8.
22081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22082 __strlen_power8 entry.
22083 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22084 Implementation for POWER8.
22085 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22086 for __strlen_power8.
22087 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22088 Implementation for POWER8.
22089
22090 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22091
22092 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22093
22094 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22097 Goldmont and Airmont processors.
22098
22099 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22100
22101 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22102 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22103 (__STRING2_SMALL_GET32): Remove.
22104 (memset): Remove.
22105 (__memset_1): Remove.
22106 (__memset_gc): Remove.
22107 (__mempcpy): Remove.
22108 (mempcpy): Remove.
22109 (__mempcpy_args): Remove.
22110 (strchr): Remove.
22111 (strcpy): Remove.
22112 (strcpy_args): Remove.
22113 (__stpcpy_args): Remove.
22114 (__strcmp_cc): Remove.
22115 (__strcmp_gc): Remove.
22116 (strstr): Remove.
22117
22118 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22119
22120 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22121 * nis/nis_call.c (nis_server_cache_add): Likewise.
22122
22123 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22124
22125 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22126
22127 2016-04-14 Florian Weimer <fweimer@redhat.com>
22128
22129 * malloc/arena.c (__malloc_fork_lock_parent)
22130 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22131 internal_function attribute.
22132
22133 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22134
22135 * stdio-common/printf_fp.c (__printf_fp_l):
22136 Rename ___printf_fp_l to __printf_fp_l and
22137 remove strong alias. Use libc_hidden_def instead
22138 of ldbl_hidden_def macro.
22139
22140 2016-04-14 Florian Weimer <fweimer@redhat.com>
22141
22142 Remove malloc hooks from fork handler. They are no longer needed
22143 because malloc runs right before fork, and no malloc calls from
22144 other fork handlers are not possible anymore.
22145 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22146 declarations.
22147 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22148 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22149 (atfork_recursive_cntr): Remove.
22150 (__malloc_fork_lock_parent): Do not override malloc hooks and
22151 thread_arena.
22152 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22153 thread_arena.
22154 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22155 thread_arena instead of save_arena.
22156
22157 2016-04-14 Florian Weimer <fweimer@redhat.com>
22158
22159 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22160 (thread_atfork, thread_atfork_static): Remove.
22161 * sysdeps/mach/hurd/malloc-machine.h:
22162 (thread_atfork, thread_atfork_static): Remove.
22163
22164 2016-04-14 Florian Weimer <fweimer@redhat.com>
22165
22166 [BZ #19431]
22167 Run the malloc fork handler as late as possible to avoid deadlocks.
22168 * malloc/malloc-internal.h: New file.
22169 * malloc/malloc.c: Include it.
22170 * malloc/arena.c (ATFORK_MEM): Remove.
22171 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22172 Update comment.
22173 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22174 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22175 Remove outdated comment.
22176 (ptmalloc_init): Do not call thread_atfork. Remove
22177 thread_atfork_static.
22178 * malloc/tst-malloc-fork-deadlock.c: New file.
22179 * Makefile (tests): Add tst-malloc-fork-deadlock.
22180 (tst-malloc-fork-deadlock): Link against libpthread.
22181 * manual/memory.texi (Aligned Memory Blocks): Update safety
22182 annotation comments.
22183 * sysdeps/nptl/fork.c (__libc_fork): Call
22184 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22185 __malloc_fork_unlock_child.
22186 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22187
22188 2016-04-14 Florian Weimer <fweimer@redhat.com>
22189
22190 [BZ #19613]
22191 Remove union wait.
22192 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22193 (w_stopsig, w_stopval): Remove.
22194 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22195 stat_loc argument.
22196 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22197 (__WAIT_STATUS_DEFN): Remove.
22198 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22199 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22200 (wait, wait3, wait4): Use int * for the stat_loc argument.
22201 * posix/wait.c (__wait): Likewise.
22202 * posix/wait3.c (__wait3): Likewise.
22203 * posix/wait4.c (__wait4): Likewise.
22204 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22205 (__WAIT_STATUS_DEFN): Remove.
22206 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22207 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22208 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22209 argument.
22210 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22211 * sysdeps/posix/wait3.c (__wait3): Likewise.
22212 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22213 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22214 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22215 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22216 stat_loc argument.
22217 * manual/process.texi (BSD Wait Functions): Remove union wait.
22218
22219 2016-04-13 Andreas Schwab <schwab@suse.de>
22220
22221 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22222 (test-extras): Add tst-tlsalign-vars.
22223 * math/Makefile: Wrap long lines.
22224 (libm-vec-test-wrappers): Define.
22225 (test-extras): Add $(libm-vec-test-wrappers).
22226 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22227 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22228 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22229 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22230 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22231 (extra-test-objs): Add corresponding objects.
22232
22233 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22234
22235 [BZ #19928]
22236 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22237 New.
22238 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22239 times of shared cache size.
22240 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22241 (VMOVNT): New.
22242 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22243 (VMOVNT): Likewise.
22244 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22245 (VMOVNT): Likewise.
22246 (VMOVU): Changed to movups for smaller code sizes.
22247 (VMOVA): Changed to movaps for smaller code sizes.
22248 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22249 comments.
22250 (PREFETCH): New.
22251 (PREFETCH_SIZE): Likewise.
22252 (PREFETCHED_LOAD_SIZE): Likewise.
22253 (PREFETCH_ONE_SET): Likewise.
22254 Rewrite to use forward and backward loops, which move 4 vector
22255 registers at a time, to support overlapping addresses and use
22256 non temporal store if size is above the threshold and there is
22257 no overlap between destination and source.
22258
22259 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22260
22261 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22262 Include dl-vdso.
22263 * sysdeps/unix/sysv/linux/mips/Versions: Add
22264 __vdso_clock_gettime.
22265 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22266 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22267 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22268 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22269 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22270 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22271 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22272 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22273 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22274
22275 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22276
22277 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22278 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22279 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22280 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22281 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22282 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22285 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22287 syscalls generation.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22289 [__NR_pwrite64] (__NR_write): Remove define.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22291 [__NR_pwrite64] (__NR_write): Remove define.
22292 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22293 Remove define.
22294 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22295 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22296 Remove define.
22297 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22298 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22299 Linux implementation as base.
22300 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22301
22302 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22303 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22304 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22305 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22308 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22310 syscall generation.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22312 [__NR_pread64] (__NR_pread): Remove define.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22314 [__NR_pread64] (__NR_pread): Likewise.
22315 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22316 define.
22317 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22318 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22319 Remove define.
22320 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22321 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22322 Linux implementation as base.
22323 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22324 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22325 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22326
22327 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22328 definition.
22329 (__ALIGNMENT_COUNT): Likewise.
22330 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22331 (__ALIGNMENT_COUNT): Likewise.
22332 (SYSCALL_LL): New define.
22333 (SYSCALL_LL64): Likewise.
22334 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22335 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22336 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22337 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22338
22339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22340 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22341 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22342 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22343 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22344 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22345
22346 2016-04-11 Florian Weimer <fweimer@redhat.com>
22347
22348 [BZ #19865]
22349 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22350 original buffer before retry.
22351
22352 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22353
22354 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22355 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22356 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22357 GLRO(dl_auxv) list.
22358 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22359 including <ldsodefs.h>.
22360 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22361
22362 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22363
22364 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22365 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22366 $(CPPFLAGS).
22367
22368 2016-04-09 Khem Raj <raj.khem@gmail.com>
22369
22370 [BZ #17950]
22371 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22372 Add -mfpmath=387.
22373
22374 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22375
22376 * sysdeps/i386/configure.ac: Change == to = when calling test.
22377 * sysdeps/x86_64/configure.ac: Likewise.
22378 * sysdeps/i386/configure: Regenerated.
22379 * sysdeps/x86_64/configure: Likewise.
22380
22381 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22382
22383 [BZ #16137]
22384 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22385 * benchtests/bench-strcoll.c (input_files): Likewise.
22386 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22387 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22388 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22389
22390 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22391
22392 [BZ #19929]
22393 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22394 [__USE_XOPEN2K8 && !__USE_GNU].
22395 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22396 variable.
22397
22398 [BZ #19925]
22399 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22400 define if [!__USE_MISC && __USE_XOPEN2K].
22401 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22402 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22404 Likewise.
22405 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22406 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22407 variable.
22408 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22409
22410 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22411
22412 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22413 (sysdep_routines): Add new strspn targets.
22414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22415 (__libc_ifunc_impl_list): Add strspn.
22416 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22417 New file.
22418 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22419 Likewise.
22420 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22421 Likewise.
22422 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22423 Likewise.
22424
22425 2016-04-07 Florian Weimer <fweimer@redhat.com>
22426
22427 * misc/hsearch_r.c: Include <limits.h>.
22428
22429 2016-04-07 Florian Weimer <fweimer@redhat.com>
22430
22431 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22432
22433 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22436 (MEMCPY_SYMBOL): New.
22437 (MEMPCPY_SYMBOL): Likewise.
22438 (MEMMOVE_CHK_SYMBOL): Likewise.
22439 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22440 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22441 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22442 Provide alias for memcpy in libc.a and ld.so.
22443
22444 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22445
22446 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22447 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22448 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22449 Disabled fro now.
22450 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22451 symbols. Properly check USE_MULTIARCH on __memset symbols.
22452
22453 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22454
22455 * benchtests/Makefile (string-benchset): Add memcpy-large,
22456 memmove-large and memset-large.
22457 * benchtests/bench-memcpy-large.c: New file.
22458 * benchtests/bench-memmove-large.c: Likewise.
22459 * benchtests/bench-memmove-large.c: Likewise.
22460 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22461
22462 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22463
22464 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22465 32-bit displacement to avoid long nop between instructions.
22466
22467 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22468
22469 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22470 a comment on VMOVU and VMOVA.
22471
22472 2016-04-04 Florian Weimer <fweimer@redhat.com>
22473
22474 [BZ #19633]
22475 Use specified locale for number formatting in strfmon_l.
22476 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22477 (__nl_lookup_word): New inline functions.
22478 * include/printf.h (__print_fp_l): Declare.
22479 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22480 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22481 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22482 (___printf_fp): New function.
22483 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22484 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22485 * stdlib/tst-strfmon_l.c (do_test): New test.
22486 * stdlib/Makefile (tests): Add kt.
22487 (LOCALES): Build additional locales.
22488 (tst-strfmon_l.out): Require locales.
22489
22490 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22491
22492 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22493 if not in libc.
22494 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22495 Likewise.
22496 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22497 Likewise.
22498 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22499 Likewise.
22500
22501 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22504 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22505 with unaligned_erms.
22506 (__memmove_erms): Skip if source == destination.
22507 (__memmove_unaligned_erms): Don't check source == destination
22508 first.
22509
22510 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22511
22512 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22513 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22514
22515 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22516
22517 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22518 * string/strspn.c (strspn): Likewise.
22519
22520 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 * benchtests/bench-memset.c (do_test): Support 64-byte
22523 alignment.
22524 (test_main): Test 64-byte alignment.
22525
22526 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22527
22528 * benchtests/bench-memmove.c (test_main): Test 64-byte
22529 alignment.
22530
22531 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22532
22533 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22534
22535 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22536
22537 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22538 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22539 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22540
22541 * string/strpbrk.c (strpbrk): Rewrite function.
22542 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22543 (__strpbrk_c2): Likewise.
22544 (__strpbrk_c3): Likewise.
22545 * string/string-inlines.c
22546 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22547 Likewise.
22548 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22549 Likewise.
22550
22551 * string/strspn.c (strcspn): Rewrite function.
22552 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22553 (__strspn_c1): Remove inline function.
22554 (__strspn_c2): Likewise.
22555 (__strspn_c3): Likewise.
22556 * string/string-inlines.c
22557 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22558 compatibility symbol.
22559 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22560 Likewise.
22561 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22562 Likewise.
22563 * string/string-inlines.c: Include generic version.
22564
22565 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
22566 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22567
22568 * string/Version (libc): Add GLIBC_2.24.
22569 * string/strcspn.c (strcspn): Rewrite function.
22570 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22571 (__strcspn_c1): Remove inline function.
22572 (__strcspn_c2): Likewise.
22573 (__strcspn_c3): Likewise.
22574 * string/string-inline.c
22575 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22576 compatibility symbol.
22577 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22578 Likewise.
22579 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22580 Likewise.
22581 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22582
22583 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22584
22585 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22586 Use ahi instead of aghi to adjust stack pointer.
22587
22588 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22589
22590 [BZ #19853]
22591 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22592 TEST to take significant digits as second parameter.
22593 [TEST]: Redefine in terms of TEST_N taking 30
22594 significant digits.
22595 (do_test): Add test case to demonstrate precision
22596 failure in the ldbl-128ibm printf.
22597 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22598 (__mpn_extract_long_double): Carry 7 extra intermediate
22599 bits of precision to aide computing difference when
22600 signs differ.
22601
22602 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22603
22604 [BZ #19881]
22605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22606 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22607 memset-avx512-unaligned-erms.
22608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22609 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22610 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22611 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22612 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22613 __memset_sse2_unaligned_erms, __memset_erms,
22614 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22615 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22616 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22617 file.
22618 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22619 Likewise.
22620 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22621 Likewise.
22622 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22623 Likewise.
22624
22625 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22626
22627 [BZ #19776]
22628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22629 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22630 memmove-avx512-unaligned-erms.
22631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22632 (__libc_ifunc_impl_list): Test
22633 __memmove_chk_avx512_unaligned_2,
22634 __memmove_chk_avx512_unaligned_erms,
22635 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22636 __memmove_chk_sse2_unaligned_2,
22637 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22638 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22639 __memmove_avx512_unaligned_erms, __memmove_erms,
22640 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22641 __memcpy_chk_avx512_unaligned_2,
22642 __memcpy_chk_avx512_unaligned_erms,
22643 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22644 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22645 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22646 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22647 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22648 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22649 __mempcpy_chk_avx512_unaligned_erms,
22650 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22651 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22652 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22653 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22654 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22655 __mempcpy_erms.
22656 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22657 file.
22658 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22659 Likewise.
22660 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22661 Likewise.
22662 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22663 Likewise.
22664
22665 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22666
22667 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22668 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22669 (La_s390_64_regs): Likewise.
22670 (La_s390_32_retval): Append vector register lrv_v24.
22671 (La_s390_64_retval): Likeweise.
22672 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22673 Handle extended structs La_s390_32_regs and La_s390_32_retval.
22674 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22675 Handle extended structs La_s390_64_regs and La_s390_64_retval.
22676
22677 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22678
22679 [BZ #19916]
22680 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22681 to create a non-vector/vector version for _dl_runtime_resolve and
22682 _dl_runtime_profile. Move implementation to ...
22683 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22684 (_dl_runtime_resolve) Save and restore fpr/vrs.
22685 (_dl_runtime_profile) Save and restore vrs and fix some issues
22686 if _dl_call_pltexit is called.
22687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22688 Choose the correct resolver function if running on a machine with vx.
22689 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
22690 to create a non-vector/vector version for _dl_runtime_resolve and
22691 _dl_runtime_profile. Move implementation to ...
22692 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
22693 (_dl_runtime_resolve) Save and restore fpr/vrs.
22694 (_dl_runtime_profile) Save and restore vrs and fix some issues
22695 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
22696 Choose the correct resolver function if running on a machine with vx.
22697
22698 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22699
22700 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22701
22702 2016-03-31 Florian Weimer <fweimer@redhat.com>
22703
22704 [BZ #19509]
22705 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22706 skip_map != NULL.
22707 * elf/tst-dlsym-error.c: New file.
22708 * elf/Makefile (tests): Add tst-dlsym-error.
22709 (tst-dlsym-error): Link against libdl.
22710
22711 2016-03-29 Joseph Myers <joseph@codesourcery.com>
22712
22713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22714 (__ASSUME_FUTIMESAT): Remove macro.
22715 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22716
22717 2016-03-29 Florian Weimer <fweimer@redhat.com>
22718
22719 [BZ #19879]
22720 CVE-2016-3075
22721 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22722 copy name.
22723
22724 2016-03-29 Florian Weimer <fweimer@redhat.com>
22725
22726 [BZ #19837]
22727 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22728 error if parse_line fails.
22729
22730 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22733 (index_cpu_ERMS): Likewise.
22734 (reg_ERMS): Likewise.
22735
22736 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
22737
22738 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22739 PER_LINUX_FDPIC): Add.
22740
22741 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22742
22743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22744 memcpy-avx512-no-vzeroupper.
22745 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22746 to ...
22747 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22748 (MEMCPY): Don't define.
22749 (MEMCPY_CHK): Likewise.
22750 (MEMPCPY): Likewise.
22751 (MEMPCPY_CHK): Likewise.
22752 (MEMPCPY_CHK): Renamed to ...
22753 (__mempcpy_chk_avx512_no_vzeroupper): This.
22754 (MEMPCPY_CHK): Renamed to ...
22755 (__mempcpy_chk_avx512_no_vzeroupper): This.
22756 (MEMCPY_CHK): Renamed to ...
22757 (__memmove_chk_avx512_no_vzeroupper): This.
22758 (MEMCPY): Renamed to ...
22759 (__memmove_avx512_no_vzeroupper): This.
22760 (__memcpy_avx512_no_vzeroupper): New alias.
22761 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22762
22763 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 [BZ #18858]
22766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22767 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22768 and mempcpy-avx512-no-vzeroupper.
22769 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22770 New.
22771 (MEMPCPY): Likewise.
22772 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22773 (MEMPCPY_CHK): New.
22774 (MEMPCPY): Likewise.
22775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22776 (MEMPCPY): Likewise.
22777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22778 (MEMPCPY): Likewise.
22779 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22780 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22781 Likewise.
22782 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22783 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22784
22785 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22786 Amit Pawar <Amit.Pawar@amd.com>
22787
22788 [BZ #19583]
22789 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22790 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22791 processors. Set Fast_Copy_Backward for AMD Excavator
22792 processors.
22793 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22794 New.
22795 (index_arch_Fast_Unaligned_Copy): Likewise.
22796 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22797 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22798
22799 2016-03-25 Florian Weimer <fweimer@redhat.com>
22800
22801 [BZ #19791]
22802 * resolv/res_send.c (close_and_return_error): New function.
22803 (send_dg): Initialize *resplen2 after reopen failure. Call
22804 close_and_return_error for error returns. On error paths without
22805 __res_iclose, initialze *resplen2 explicitly. Update comment for
22806 successful return.
22807
22808 2016-03-25 Florian Weimer <fweimer@redhat.com>
22809
22810 [BZ #19860]
22811 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22812 zero if the compiler does not provide the AVX512F bit.
22813
22814 2016-03-24 Joseph Myers <joseph@codesourcery.com>
22815
22816 [BZ #19848]
22817 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22818 from 8 to 4.
22819 (__ieee754_powl): Compare integer exponent against 4 not 8.
22820 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22821 from 8 to 4.
22822 (__ieee754_powl): Compare integer exponent against 4 not 8.
22823 * math/auto-libm-test-in: Add more tests of pow.
22824 * math/auto-libm-test-out: Regenerated.
22825 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
22828 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
22829
22830 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22831 Make code unconditional.
22832 [!__NR_utimensat]: Remove conditional code.
22833 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22834 Make code unconditional.
22835 [!__NR_utimensat]: Remove conditional code.
22836 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22837 Make code unconditional.
22838 [!__NR_utimensat]: Remove conditional code.
22839
22840 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
22841
22842 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22843 Make code unconditional.
22844
22845 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
22846
22847 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22848 call-clobbered %eax on retry path.
22849 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22850
22851 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
22852
22853 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22854 Don't set %rcx twice before "rep movsb".
22855
22856 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
22857
22858 [BZ #19583]
22859 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22860 inline. Check family before setting family, model and
22861 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
22862 bits here.
22863 (init_cpu_features): Replace HAS_CPU_FEATURE and
22864 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22865 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
22866 for Intel processors with usable AVX2. Call get_common_indeces
22867 for other processors with family == NULL.
22868 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22869 (CPU_FEATURES_ARCH_P): Likewise.
22870 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22871 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22872
22873 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22874
22875 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22876 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22877 $(shared-thread-library) instead of hardcoding the path to libpthread.
22878
22879 2016-03-22 Joseph Myers <joseph@codesourcery.com>
22880
22881 * sysdeps/unix/sysv/linux/kernel-features.h
22882 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22883 * sysdeps/unix/sysv/linux/getdents.c
22884 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22885 [!have_no_getdents64_defined]: Likewise.
22886 (__GETDENTS): Remove __have_no_getdents64 conditional.
22887
22888 2016-03-21 Joseph Myers <joseph@codesourcery.com>
22889
22890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22891 Remove macro.
22892 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22893 <kernel-features.h>.
22894 (signalfd) [__NR_signalfd4]: Make code unconditional.
22895 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22896
22897 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22898
22899 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22900 style.
22901
22902 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
22903
22904 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22905 (__pthread_enable_asynccancel): Use JUMPTARGET to call
22906 __pthread_unwind.
22907 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22908 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22909 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22910 (__condvar_cleanup1): Likewise.
22911
22912 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
22913
22914 [BZ #19822]
22915 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22916 move it to the final $@ location.
22917
22918 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22919
22920 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22921 access where posix_spawn success and pid argument is null.
22922 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22923 success case.
22924
22925 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
22926
22927 * sysdeps/mach/hurd/i386/c++-types.data: New file.
22928
22929 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22930
22931 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22932 and __fcntl.
22933 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22934 __fcntl only.
22935 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22936 adding attribute_hidden to __open and __fcntl.
22937
22938 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22939 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22940 depend on libc-modules.h,
22941 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22942
22943 2016-03-17 Joseph Myers <joseph@codesourcery.com>
22944
22945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22946 Remove macro.
22947 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22948 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22949 entry.
22950
22951 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22952 Remove macro.
22953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22954 include <kernel-features.h>.
22955 [!__ASSUME_FALLOCATE]: Remove conditional code.
22956 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22957
22958 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
22959
22960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22961 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22963 (_ZGVdN4v_cos_avx2): Likewise.
22964 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22965 (_ZGVdN4v_cos): Likewise.
22966 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22967 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22968 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22969 (_ZGVdN4v_exp_avx2): Likewise.
22970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22971 (_ZGVdN4v_exp): Likewise.
22972 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22973 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22974 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22975 (_ZGVdN4v_log_avx2): Likewise.
22976 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22977 (_ZGVdN4v_log): Likewise.
22978 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22979 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22980 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22981 (_ZGVdN4vv_pow_avx2): Likewise.
22982 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22983 (_ZGVdN4vv_pow): Likewise.
22984 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22985 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22986 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22987 (_ZGVdN4v_sin_avx2): Likewise.
22988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22989 (_ZGVdN4v_sin): Likewise.
22990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22991 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22993 (_ZGVdN4vvv_sincos_avx2): Likewise.
22994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22995 (_ZGVdN4vvv_sincos): Likewise.
22996 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22997 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22998 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22999 (_ZGVbN4v_cosf_sse4): Likewise.
23000 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23001 (_ZGVdN8v_cosf_avx2): Likewise.
23002 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23003 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23004 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23005 (_ZGVbN4v_expf_sse4): Likewise.
23006 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23007 (_ZGVdN8v_expf_avx2): Likewise.
23008 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23009 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23010 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23011 (_ZGVbN4v_logf_sse4): Likewise.
23012 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23013 (_ZGVdN8v_logf_avx2): Likewise.
23014 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23015 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23016 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23017 (_ZGVbN4vv_powf_sse4): Likewise.
23018 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23019 (_ZGVdN8vv_powf_avx2): Likewise.
23020 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23021 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23022 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23023 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23024 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23025 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23026 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23027 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23028 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23029 (_ZGVbN4v_sinf_sse4): Likewise.
23030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23031 (_ZGVdN8v_sinf_avx2): Likewise.
23032 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23033 Use JUMPTARGET to call callee.
23034 (WRAPPER_IMPL_SSE2_ff): Likewise.
23035 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23036 (WRAPPER_IMPL_AVX): Likewise.
23037 (WRAPPER_IMPL_AVX_ff): Likewise.
23038 (WRAPPER_IMPL_AVX_fFF): Likewise.
23039 (WRAPPER_IMPL_AVX512): Likewise.
23040 (WRAPPER_IMPL_AVX512_ff): Likewise.
23041 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23042 Likewise.
23043 (WRAPPER_IMPL_SSE2_ff): Likewise.
23044 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23045 (WRAPPER_IMPL_AVX): Likewise.
23046 (WRAPPER_IMPL_AVX_ff): Likewise.
23047 (WRAPPER_IMPL_AVX_fFF): Likewise.
23048 (WRAPPER_IMPL_AVX512): Likewise.
23049 (WRAPPER_IMPL_AVX512_ff): Likewise.
23050 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23051
23052 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23053
23054 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23055 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23056 qualifier.
23057 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23058 internal_function qualifiers.
23059
23060 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23061
23062 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23063 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23064 * math/atest-exp.c (exp_mpn): Mark chk unused.
23065 * math/atest-exp2.c (exp_mpn): Likewise.
23066 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23067 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23068
23069 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23070
23071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23072 Remove macro.
23073 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23074 <kernel-features.h>.
23075 [__NR_ppoll]: Make code unconditional.
23076 [!__ASSUME_PPOLL]: Remove conditional code.
23077
23078 * sysdeps/unix/sysv/linux/kernel-features.h
23079 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23080 (__ASSUME_ACCEPT4): Likewise.
23081 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23082 Define.
23083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23084 Likewise.
23085 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23086 Likewise.
23087 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23088 Likewise.
23089 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23090 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23091 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23092 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23093 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23094 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23096 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23097 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23098 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23099 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23100 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23101 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23102 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23103 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23104 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23105 Likewise.
23106 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23107 Likewise.
23108 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23109 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23110 0x040300].
23111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23112 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23113 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23114 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23115 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23116 0x030300].
23117 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23119 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23120 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23121 0x040300].
23122 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23123 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23124 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23125 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23126 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23127 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23128 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23129 0x030300].
23130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23131 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23132 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23133 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23134 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23135 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23136 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23137 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23138 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23139 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23140 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23141 0x040300].
23142 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23143 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23144 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23145 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23146 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23147 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23148 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23149 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23150 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23151 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23152 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23153 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23154 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23155 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23156 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23157 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23159 Likewise.
23160 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23161 Likewise.
23162
23163 2016-03-15 Andreas Schwab <schwab@suse.de>
23164
23165 [BZ #19257]
23166 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23167 statp->_u._ext.nscount as loop count.
23168
23169 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23170
23171 * math/test-signgam-finite-c99.c: Also #undef
23172 __LIBC_INTERNAL_MATH_INLINES.
23173 * math/test-signgam-main.c: Likewise.
23174
23175 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23176
23177 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23178 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23179 (MADV_FREE): Likewise.
23180 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23181 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23182 EPOLLEXCLUSIVE.
23183
23184 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23185
23186 * timezone/README: Remove mention of checktab.awk. Mention wiki
23187 SharedSourceFiles.
23188
23189 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23190
23191 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23192 WUNTRACED.
23193
23194 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23195
23196 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23197 order to match the type of p when calling atomic_exchange_acq().
23198
23199 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23200
23201 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23202 cfi_offset calls.
23203 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23204 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23205 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23206 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23207 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23208
23209 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23210
23211 * timezone/checktab.awk: Removed.
23212
23213 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23214
23215 * manual/math.texi (Errors in Math Functions): Document relaxed
23216 accuracy goals for IBM long double.
23217 * math/libm-test.inc (test_exceptions): Always allow spurious
23218 "underflow" and "inexact" exceptions for IBM long double.
23219
23220 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23221
23222 [BZ #19762]
23223 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23224 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23225 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23226 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23227 (bit_arch_*): This for feature array.
23228 (bit_*): Renamed to ...
23229 (bit_cpu_*): This for cpu array.
23230 (index_*): Renamed to ...
23231 (index_arch_*): This for feature array.
23232 (index_*): Renamed to ...
23233 (index_cpu_*): This for cpu array.
23234 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23235 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23236 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23237 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23238 bit_##name with index_cpu_##name and bit_cpu_##name.
23239 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23240 bit_##name with index_arch_##name and bit_arch_##name.
23241
23242 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23243
23244 [BZ #19792]
23245 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23246 Terminate FDE before return label.
23247
23248 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23249
23250 [BZ #19790]
23251 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23252 (rintl): Define as macro.
23253 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23254 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23255 of fesetround. Ensure results are evaluated before end of scope.
23256 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23257 USE_AS_NEARBYINTL and include s_rintl.c.
23258 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23259 Disable exception traps in new environment.
23260 (libc_feholdsetround_ppc_ctx): Likewise.
23261
23262 2016-03-08 Roland McGrath <roland@hack.frob.com>
23263
23264 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23265 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23266 (tst_audit10_aux) [__AVX512F__]: ... here.
23267
23268 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23269
23270 * include/sys/auxv.h: New file.
23271
23272 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 [BZ #19759]
23275 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23276
23277 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23278
23279 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23280 operand modifier.
23281 (feclearexcept): Likewise.
23282
23283 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23284
23285 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23286 to reflect the entire 32-bit HWCAP.
23287 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23288 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23289
23290 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 [BZ #19783]
23293 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23294 $(test-via-rtld-prefix).
23295 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23296
23297 2016-03-08 Florian Weimer <fweimer@redhat.com>
23298
23299 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23300 union wait. Report any non-zero exit status as error.
23301
23302 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23303
23304 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23305 configured with --enable-hardcoded-path-in-tests.
23306
23307 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23308
23309 [BZ #19677]
23310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23311 (__ieee754_remainderl): Put zero low parts in canonical form.
23312 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23313 file. Based on
23314 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23315 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23316 with wrapper round test-fmodrem-ldbl-128ibm.c.
23317 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23318 file.
23319 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23320 Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23322 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23323
23324 2016-03-07 Florian Weimer <fweimer@redhat.com>
23325
23326 [BZ #19610]
23327 * elf/ldconfig.c (opt_link): Update comment.
23328 (options): Update help string for option -X.
23329 (search_dir): Unlink stale symbolic link only if updating symbolic
23330 links.
23331 * elf/tst-ldconfig-X.sh: New file.
23332 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23333 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23334
23335 2016-03-07 Andreas Schwab <schwab@suse.de>
23336
23337 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23338 needed arguments.
23339
23340 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23341
23342 [BZ #15333]
23343 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23344 to lstat64.
23345
23346 2016-03-07 Florian Weimer <fweimer@redhat.com>
23347
23348 * libio/filedoalloc.c (isatty): Remove.
23349 (local_isatty): Add comment. Call __isatty directly.
23350 (_IO_file_doallocate): Update comment. Assume _LIBC.
23351 * libio/wfiledoalloc.c (isatty): Remove.
23352 (_IO_wfile_doallocate): Update comment.
23353
23354 2016-03-07 Florian Weimer <fweimer@redhat.com>
23355
23356 [BZ #19269]
23357 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23358 tst-audit4-aux.o.
23359 (tst-audit10): Depend on tst-audit10-aux.o.
23360 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23361 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23362 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23363 instead of inline AVX code.
23364 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23365 instead of inline AVX512 code.
23366 * sysdeps/x86_64/tst-audit4-aux.c: New file
23367 * sysdeps/x86_64/tst-audit10-aux.c: New file
23368
23369 [BZ #19648]
23370 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23371
23372 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23373
23374 [BZ #14750]
23375 [BZ #10354]
23376 [BZ #18433]
23377 * include/sched.h (__clone): Add hidden prototype.
23378 (__clone2): Likewise.
23379 * include/unistd.h (__dup): Likewise.
23380 * posix/Makefile (tests): Add tst-spawn2.
23381 * posix/tst-spawn2.c: New file.
23382 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23383 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23384 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23385 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23386 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23387 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23388 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23389 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23390 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23391 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23392 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23394 Likewise.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23396 Likewise.
23397 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23398 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23399 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23400 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23401 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23402 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23403 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23404 * sysdeps/unix/sysv/linux/nptl-signals.h
23405 (____nptl_is_internal_signal): New function.
23406 * sysdeps/unix/sysv/linux/spawni.c: New file.
23407
23408 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23409 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23410 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23411 * posix/tst-execvp2.c (do_test): Likewise.
23412 * posix/tst-execvp3.c (do_test): Likewise.
23413 * posix/tst-execvp4.c (do_test): Likewise.
23414 * posix/tst-execvpe1.c: New file.
23415 * posix/tst-execvpe2.c: Likewise.
23416 * posix/tst-execvpe3.c: Likewise.
23417 * posix/tst-execvpe4.c: Likewise.
23418 * posix/tst-execvpe5.c: Likewise.
23419 * posix/tst-execvpe6.c: Likewise.
23420
23421 [BZ #19534]
23422 * posix/execl.c (execl): Remove dynamic memory allocation.
23423 * posix/execle.c (execle): Likewise.
23424 * posix/execlp.c (execlp): Likewise.
23425
23426 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23427
23428 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23429 Replace .text with .text.avx512.
23430 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23431 Likewise.
23432
23433 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23434
23435 * sysdeps/generic/libnsl.abilist: New file.
23436 * sysdeps/generic/libutil.abilist: New file.
23437
23438 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 [BZ #19762]
23441 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23442 HAS_ARCH_FEATURE with Fast_Rep_String.
23443 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23444 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23445 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23446 Likewise.
23447 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23448 Likewise.
23449 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23450 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23451 Likewise.
23452 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23453 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23454 Likewise.
23455
23456 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 [BZ #19745]
23459 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23460 with *%rax in call.
23461
23462 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 [BZ #19745]
23465 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23466 with *__libc_start_main@GOTPCREL(%rip) in call.
23467
23468 2016-03-04 Roland McGrath <roland@hack.frob.com>
23469
23470 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23471 inside conditional for nonempty $(CXX).
23472
23473 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23474 nonempty.
23475
23476 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23477 to test for empty $(CXX) rather than $(CXX) of "no".
23478
23479 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23480
23481 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23482
23483 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23484 H.J. Lu <hongjiu.lu@intel.com>
23485
23486 [BZ #18880]
23487 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23488 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23489 enable __memcpy_ssse3_back.
23490
23491 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23492
23493 [BZ #19758]
23494 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23495 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23496
23497 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23498
23499 [BZ #19490]
23500 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23501 (__fentry__): Likewise.
23502
23503 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23504
23505 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23506 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23507
23508 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23509
23510 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23511 __mcount_internal directly.
23512 (C_LABEL(__fentry__)): Likewise.
23513 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23514 directly.
23515
23516 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23517
23518 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23519 (__start_context): Call __setcontext directly.
23520
23521 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23522
23523 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23524 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23525 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23526 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23528 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23529 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23530 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23531 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23532 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23533 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23534 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23536 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23537 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23538 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23539 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23541 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23542 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23543 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23544 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23545 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23546 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23547 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23548 Remove conditional code.
23549 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23550 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23551 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23552 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23553 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23554 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23555 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23556 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23557 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23558 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23560 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23561
23562 2016-02-24 Marko Myllynen <myllynen@redhat.com>
23563
23564 * NEWS (2.23): Fix typo in bug 19048 text.
23565
23566 2016-02-24 Carlos O'Donell <carlos@redhat.com>
23567
23568 [BZ #14259]
23569 * Makeconfig: Rename msgcatdir to localedir.
23570 Rename inst_msgcatdir to inst_localedir.
23571 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23572 * config.make.in: Add localedir.
23573 * elf/Makefile ($(objpfx)sotruss): Use localedir.
23574 (ldd-rewrite): Likewise.
23575 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23576 (install-others): Use inst_localedir.
23577 (CPPFLAGS): Use localedir.
23578 * locale/Makefile (locale-CPPFLAGS): Likewise.
23579 * po/Makefile (mo-installed): Use inst_localedir.
23580
23581 [BZ #19575]
23582 * localedata/charmaps/GB18030: Update comments regarding PAU to
23583 non-PUA mappings.
23584
23585 2016-02-24 Joseph Myers <joseph@codesourcery.com>
23586
23587 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23588 test for header.
23589 * sysdeps/unix/sysv/linux/configure: Regenerated.
23590 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23591 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23592 Remove conditional code.
23593 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23594
23595 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23596 Define to 3.2.0.
23597 (arch_minimum_kernel): Likewise.
23598 * sysdeps/unix/sysv/linux/configure: Regenerated.
23599 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23600 Define to 2.6.32.
23601 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23602 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23603 (arch_minimum_kernel): Define to 2.6.32.
23604 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23605 * README: Document Linux 3.2 requirement.
23606 * manual/install.texi (Linux): Document Linux 3.2 headers
23607 requirement.
23608 * INSTALL: Regenerated.
23609
23610 2016-02-24 Andreas Schwab <schwab@suse.de>
23611
23612 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23613 if !NO_LONG_DOUBLE.
23614
23615 2016-02-22 Roland McGrath <roland@hack.frob.com>
23616
23617 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23618 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23619
23620 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
23621
23622 [BZ #19512]
23623 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23624
23625 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23626
23627 * posix/tst-dir.c: Include libc-internal.h.
23628
23629 2016-02-20 Florian Weimer <fweimer@redhat.com>
23630
23631 [BZ #19056]
23632 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23633 * manual/filesys.texi (Reading/Closing Directory): Mention
23634 deprecaion.
23635 * posix/tst-dir.c (main): Disable deprecation warning in test.
23636
23637 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 [BZ #19679]
23640 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23641 Renamed to ...
23642 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
23643 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23644 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
23645 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23646 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23647 * sysdeps/x86_64/dl-trampoline.h
23648 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23649 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23650
23651 2016-02-19 Mark Wielaard <mjw@redhat.com>
23652
23653 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23654
23655 2016-02-19 Mark Wielaard <mjw@redhat.com>
23656
23657 * elf/elf.h (R_386_GOT32X): New.
23658 (R_386_NUM): Update.
23659 (R_X86_64_GOTPCRELX: New.
23660 (R_X86_64_REX_GOTPCRELX): New.
23661 (R_X86_64_NUM): Update.
23662
23663 2016-02-19 Mike Frysinger <vapier@gentoo.org>
23664
23665 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23666
23667 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
23668
23669 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23670 assign attr->stackaddr to it, and adjust it down when
23671 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
23672 [_STACK_GROWS_UP]: Delete assert.
23673 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23674 Implement stack grows up logic.
23675 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23676 stack grows up logic.
23677
23678 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23679
23680 * NEWS: Update with 2.24 template.
23681
23682 2016-02-19 Joseph Myers <joseph@codesourcery.com>
23683
23684 [BZ #19678]
23685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23686 Ensure +0.0 is returned when taking the next value below the least
23687 positive value.
23688
23689 2016-02-19 Florian Weimer <fweimer@redhat.com>
23690
23691 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
23692 available. Do not define NO_THREADS.
23693 * malloc/malloc.c: Do not check NO_THREADS.
23694 * malloc/arena.c: Likewise.
23695
23696 2016-02-19 Florian Weimer <fweimer@redhat.com>
23697
23698 * malloc/malloc.c (__libc_mallinfo): Update comment.
23699 (struct malloc_par): Remove max_total_mem member, it was always 0.
23700 (int_mallinfo): Store 0 into usmblks (no functional change).
23701 * malloc/hooks.c (struct malloc_state): Document that
23702 max_total_mem is always 0.
23703 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23704 always 0.
23705 * manual/memory.texi (Statistics of Malloc): Likewise.
23706
23707 2016-02-19 Florian Weimer <fweimer@redhat.com>
23708
23709 * malloc/malloc.c (sysmalloc): Do not update arena_max.
23710 * malloc/arena.c (arena_max): Remove.
23711 (heap_trim, _int_new_arena): Do not update arena_max.
23712
23713 2016-02-19 Florian Weimer <fweimer@redhat.com>
23714
23715 * resolv/res_init.c (res_ninit): Update comment.
23716
23717 2016-02-19 Florian Weimer <fweimer@redhat.com>
23718
23719 [BZ #19505]
23720 * posix/spawn_int.h: Add headers and include guard.
23721 (__spawn_valid_fd): New function.
23722 * posix/spawn_faction_addopen.c
23723 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23724 * posix/spawn_faction_addclose.c
23725 (posix_spawn_file_actions_addclose): Likewise.
23726 * posix/spawn_faction_adddup2.c
23727 (posix_spawn_file_actions_adddup2): Likewise. Add check for
23728 second file descriptor.
23729 * posix/spawn_valid_fd.c: New file.
23730 * posix/tst-posix_spawn-fd.c: New file.
23731 * posix/Makefile (routines): Add spawn_valid_fd.
23732 (tests): Add tst-posix_spawn-fd.
23733
23734 2016-02-19 Florian Weimer <fweimer@redhat.com>
23735
23736 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23737 (do_test): Limit the number of arenas, so that we can use fewer
23738 outer threads. Limit timeout to 3 seconds, in preparation for a
23739 larger TIMEOUT value.
23740
23741 2016-02-19 Joseph Myers <joseph@codesourcery.com>
23742
23743 [BZ #19674]
23744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23745 sign in overflowing and underflowing results when overflow or
23746 underflow is detected early. Include sign in result before rather
23747 than after scaling.
23748
23749 [BZ #19603]
23750 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23751 (__ieee754_remainderl): Adjust sign of integer version of low part
23752 when taking absolute value of high part.
23753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23754 * math/libm-test.inc (remainder_test_data): Add another test.
23755 (remquo_test_data): Likewise.
23756
23757 2016-02-18 Joseph Myers <joseph@codesourcery.com>
23758
23759 [BZ #19602]
23760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23761 equal high parts and both low parts zero specially.
23762 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23763 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23764 Add test-fmodl-ldbl-128ibm.
23765
23766 [BZ #19595]
23767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23768 common logic for all cases of shifting subnormal results. Do not
23769 insert sign bit in shifted mantissa. Always pass -1023 as biased
23770 exponent to ldbl_insert_mantissa in subnormal case.
23771
23772 [BZ #19594]
23773 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23774 on high and low parts then adjust result and use
23775 ldbl_canonicalize_int if needed.
23776
23777 [BZ #19593]
23778 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23779 on high part and __floor or __ceil on low part then use
23780 ldbl_canonicalize_int if needed.
23781
23782 [BZ #19592]
23783 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23784 high and low parts then use ldbl_canonicalize_int if needed.
23785
23786 [BZ #17899]
23787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23788 New function.
23789 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23790 on high and low parts then use ldbl_canonicalize_int if needed.
23791
23792 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23793
23794 * configure: Regenerated.
23795
23796 * po/libc.pot: Regenerated.
23797
23798 * po/be.po: Updated translation.
23799 * po/bg.po: Likewise.
23800 * po/ca.po: Likewise.
23801 * po/cs.po: Likewise.
23802 * po/da.po: Likewise.
23803 * po/el.po: Likewise.
23804 * po/eo.po: Likewise.
23805 * po/es.po: Likewise.
23806 * po/fi.po: Likewise.
23807 * po/fr.po: Likewise.
23808 * po/gl.po: Likewise.
23809 * po/hr.po: Likewise.
23810 * po/hu.po: Likewise.
23811 * po/ia.po: Likewise.
23812 * po/id.po: Likewise.
23813 * po/it.po: Likewise.
23814 * po/ja.po: Likewise.
23815 * po/lt.po: Likewise.
23816 * po/nb.po: Likewise.
23817 * po/nl.po: Likewise.
23818 * po/pt_BR.po: Likewise.
23819 * po/rw.po: Likewise.
23820 * po/sk.po: Likewise.
23821 * po/sl.po: Likewise.
23822 * po/sv.po: Likewise.
23823 * po/tr.po: Likewise.
23824 * po/zh_CN.po: Likewise.
23825 * po/zh_TW.po: Likewise.
23826
23827 * version.h (RELEAES): Set to "development".
23828 (VERSION): Set to 2.23.90.
23829
23830 * version.h (RELEASE): Set to "stable".
23831 (VERSION): Set to 2.23.
23832 * include/feature.h (__GLIBC_MINOR__): Set to 23.
23833
23834 * NEWS: Updated fixed bugs.
23835
23836 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
23837 Wilco Dijkstra <wdijkstr@arm.com>
23838
23839 [BZ #19462]
23840 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23841 (_STRING_INLINE_unaligned): This.
23842 * include/string.h: Include <string_private.h>.
23843 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23844 _STRING_INLINE_unaligned.
23845 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23846 (_STRING_INLINE_unaligned): New.
23847 * sysdeps/aarch64/string_private.h: New file.
23848 * sysdeps/generic/string_private.h: Likewise.
23849 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23850 * sysdeps/s390/string_private.h: Likewise.
23851 * sysdeps/x86/string_private.h: Likewise.
23852 * sysdeps/m68k/m680x0/m68020/bits/string.h
23853 (_STRING_ARCH_unaligned): Renamed to ...
23854 (_STRING_INLINE_unaligned): This.
23855 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23856 to ...
23857 (_STRING_INLINE_unaligned): This.
23858 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23859 to ...
23860 (_STRING_INLINE_unaligned): This.
23861 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23862 to ...
23863 (_STRING_INLINE_unaligned): This.
23864
23865 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
23866 H.J. Lu <hongjiu.lu@intel.com>
23867
23868 [BZ #19590]
23869 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23870 relocation.
23871
23872 2016-02-15 Carlos O'Donell <carlos@redhat.com>
23873
23874 [BZ #18665]
23875 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23876 *herrno_p.
23877 (gaih_getanswer): Document functional behviour. Return tryagain
23878 if any result is tryagain.
23879 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23880 when freed.
23881 * resolv/res_send.c: Add copyright text.
23882 (__libc_res_nsend): Document that MAXPACKET is expected.
23883 (send_vc): Document. Remove buffer reuse.
23884 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23885 size of the buffer. Add Dprint for truncated UDP buffer.
23886
23887 2016-02-14 Carlos O'Donell <carlos@redhat.com>
23888
23889 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23890 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23891 * INSTALL: Regenerate.
23892
23893 2016-02-14 Jakub Jelinek <jakub@redhat.com>
23894 Jonathan Wakely <jwakely@redhat.com>
23895 Carlos O'Donell <carlos@redhat.com>
23896
23897 [BZ 19439]
23898 * math/Makefile (tests): Add test-math-isinff.
23899 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23900 * math/bits/mathcalls.h [__USE_MISC]: Use
23901 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23902 functions not in C++11 and which don't conflict e.g. isinff,
23903 isinfl etc.
23904 * math/test-math-isinff.cc: New file.
23905
23906 2016-02-12 Florian Weimer <fweimer@redhat.com>
23907
23908 * misc/bug18240.c (do_test): Set RLIMIT_AS.
23909
23910 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
23911
23912 [BZ #19529]
23913 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23914
23915 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23916
23917 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23918
23919 2016-02-01 Joseph Myers <joseph@codesourcery.com>
23920
23921 [BZ #19550]
23922 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23923 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23924 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23925 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23926 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23927 New syscall entry.
23928 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23929 New syscall entry.
23930 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23931 syscall entry.
23932
23933 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
23934
23935 [BZ #18240]
23936 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23937 unsigned int wraparound.
23938
23939 2016-01-27 Florian Weimer <fweimer@redhat.com>
23940
23941 [BZ #18240]
23942 * misc/bug18240.c: New test.
23943 * misc/Makefile (tests): Add it.
23944
23945 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
23946 Joseph Myers <joseph@codesourcery.com>
23947
23948 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23949 load in branch delay slot when less than a word of input left.
23950
23951 2016-01-27 Andreas Schwab <schwab@suse.de>
23952
23953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23954 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23955 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23956 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23957
23958 2016-01-26 David S. Miller <davem@davemloft.net>
23959
23960 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23961
23962 2016-01-25 David S. Miller <davem@davemloft.net>
23963
23964 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23965 __sqrtl_finite.
23966 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23967 instead using versioned_symbol.
23968 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23969 of entries.
23970
23971 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23972 __sqrtl_finite to GLIBC_2.23
23973
23974 2016-01-25 Ricchard Henderson <rth@redhat.com>
23975
23976 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23977
23978 2016-01-25 Andreas Schwab <schwab@suse.de>
23979
23980 [BZ #17514]
23981 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23982 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23983 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23984 * nptl/tst-mutex-errorcheck.c: New file.
23985
23986 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23987
23988 [BZ #18560]
23989 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23990 (IPCOP_semop): Likewise.
23991 (IPCOP_semget): Likewise.
23992 (IPCOP_semctl): Likewise.
23993 (IPCOP_msgsnd): Likewise.
23994 (IPCOP_msgrcv): Likewise.
23995 (IPCOP_msgget): Likewise.
23996 (IPCOP_msgctl): Likewise.
23997 (IPCOP_shmat): Likewise.
23998 (IPCOP_shmdt): Likewise.
23999 (IPCOP_shmget): Likewise.
24000 (IPCOP_shmctl): Likewise.
24001
24002 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24003
24004 * string/tst-endian.c: Include <libc-internal.h>.
24005 (do_test): Ignore tautological-compare warnings around
24006 "htobeXX (beXXtoh (i)) != i" and
24007 "htoleXX (leXXtoh (i)) != i" if-statements.
24008
24009 2016-01-24 David S. Miller <davem@davemloft.net>
24010
24011 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24012 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24013 alias.
24014 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24015 __sqrtl_finite.
24016
24017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24018
24019 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24020
24021 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24022 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24023 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24024
24025 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24026
24027 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24028 (thread_func): Use new function to simplify barrier check.
24029 (do_test): Use new function to simplify checking barrier exit
24030 code, and actually join the child thread.
24031
24032 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24033
24034 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24035 semicolon.
24036 (__libc_tend): Likewise.
24037 (__libc_tabort): Likewise.
24038
24039 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24040
24041 * sysdeps/nios2/libm-test-ulps: Update.
24042 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24043 (__gtsf2): Likewise.
24044 (__unorddf2): Likewise.
24045 (__unordsf2): Likewise.
24046 (__ledf2): Likewise.
24047
24048 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24049
24050 * nis/nis_table.c (__follow_path): Disable diagnostic for
24051 uninitialized variable that is a false positive for gcc 4.7.
24052 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24053
24054 2016-01-20 Roland McGrath <roland@hack.frob.com>
24055
24056 * sysdeps/nacl/lowlevellock-futex.h
24057 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24058 Always evaluate PRIVATE argument.
24059
24060 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24061
24062 [BZ #19490]
24063 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24064 (pthread_cond_broadcast): Use ENTRY/END
24065 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24066 (pthread_cond_signal): Likewise.
24067 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24068 Likewise.
24069 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24070 Likewise.
24071 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24072 Likewise.
24073
24074 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24075
24076 * sysdeps/ieee754/dbl-64/s_finite.c
24077 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24078 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24079 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24081 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24082
24083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24084 (__gtsf2): Add as optional for libc.so.
24085 (__unordsf2): Likewise.
24086 (__signbit): Remove for libc.so.
24087 (__signbitl): Likewise.
24088
24089 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24090
24091 * iconvdata/bug-iconv11.c (test_ibm93x):
24092 Use %zu printf format specifier for size_t argument.
24093
24094 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24095
24096 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24097 already-recorded ulps.
24098 * sysdeps/arm/libm-test-ulps: Regenerated.
24099 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24100 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24101 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24102
24103 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24104 Paul Pluzhnikov <ppluzhnikov@google.com>
24105
24106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24107 assembler not supporting AVX-512.
24108
24109 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24110
24111 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24112
24113 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24114
24115 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24116 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24117
24118 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24119
24120 * sysdeps/arm/libm-test-ulps: Regenerated.
24121
24122 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24123
24124 [BZ #19451]
24125 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24126
24127 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24128
24129 [BZ #19486]
24130 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24131 * sysdeps/generic/fix-fp-int-convert-overflow.h
24132 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24133 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24134 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24135 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24136 Likewise.
24137 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24138 Avoid conversions to long int where inexact exceptions
24139 could be raised.
24140 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24141 Likewise.
24142 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24143 Avoid conversions to long long int where inexact exceptions
24144 could be raised.
24145 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24146 Likewise.
24147
24148 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24149
24150 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24151 * configure: Regenerated.
24152
24153 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24154
24155 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24156
24157 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24158
24159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24160 outside of comment.
24161
24162 2016-01-15 Torvald Riegel <triegel@redhat.com>
24163
24164 * nptl/tst-barrier1.c: Add description on first line.
24165 * nptl/tst-barrier2.c: Likewise.
24166 * nptl/tst-barrier3.c: Likewise.
24167 * nptl/tst-barrier4.c: Likewise.
24168 * nptl/tst-barrier5.c: Likewise.
24169
24170 2016-01-15 Torvald Riegel <triegel@redhat.com>
24171
24172 [BZ #18868]
24173 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24174
24175 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24176
24177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24179 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24180 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24181 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24182 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24183 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24184 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24185 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24186 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24187 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24188
24189 2016-01-15 Torvald Riegel <triegel@redhat.com>
24190
24191 [BZ #13065]
24192 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24193 new implementation.
24194 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24195 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24196 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24197 (BARRIER_IN_THRESHOLD): New macro.
24198 * nptl/pthread_barrierattr_setpshared.c
24199 (pthread_barrierattr_setpshared): Clean up.
24200 * nptl/tst-barrier4.c: Correct comment.
24201 * nptl/tst-barrier5.c: New file.
24202 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24203 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24204 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24205 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24206 * nptl/lowlevelbarrier.sym: Remove.
24207 * nptl/DESIGN-barrier.txt: Remove.
24208 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24209 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24210 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24211 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24212 error.
24213 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24214 implementation.
24215
24216 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24217
24218 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24219 (do_child): Mask SIGRTMIN while thr is running.
24220
24221 2016-01-15 Martin Sebor <msebor@redhat.com>
24222
24223 [BZ #19432]
24224 * iconvdata/Makefile: Add bug-iconv11.
24225 * iconvdata/bug-iconv11.c: New test.
24226 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24227 * iconvdata/ibm933.c: Same.
24228 * iconvdata/ibm935.c: Same.
24229 * iconvdata/ibm937.c: Same.
24230 * iconvdata/ibm939.c: Same.
24231
24232 2016-01-15 Martin Sebor <msebor@redhat.com>
24233
24234 [BZ #19443]
24235 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24236 [DEBUG] (_ufc_set_bits): Declare used.
24237 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24238 [DEBUG] (print_all): Declare used.
24239 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24240 operands of the ternary ?: expression to target type.
24241 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24242 calling the undeclared abort.
24243 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24244
24245 2016-01-15 Martin Sebor <msebor@redhat.com>
24246
24247 [BZ #18755]
24248 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24249 warnings.
24250 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24251 (__gai_create_helper_thread): Same.
24252 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24253 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24254 to suppress -Wmaybe-uninitialized warnings.
24255
24256 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24257
24258 [BZ #19465]
24259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24260 inside if.
24261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24264
24265 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24266
24267 [BZ #19466]
24268 * time/tst-mktime2.c (time_t_max): Removed.
24269 (time_t_min): Likewise.
24270 (TYPE_SIGNED): New.
24271 (TYPE_MINIMUM): Likewise.
24272 (TYPE_MAXIMUM): Likewise.
24273 (TIME_T_MIN): Likewise.
24274 (TIME_T_MAX): Likewise.
24275 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24276 and TIME_T_MIN.
24277 (do_test): Likewise.
24278
24279 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24280
24281 [BZ #19467]
24282 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24283 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24284
24285 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24286
24287 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24288
24289 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24290
24291 * benchtests/Makefile (PYTHON): Define.
24292 (bench-func): Use $(PYTHON) to run python scripts.
24293 ($(objpfx)bench-%.c): Likewise.
24294
24295 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24296
24297 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24298 leading slash when `file_name' is "/".
24299
24300 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24301
24302 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24303 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24304 Likewise.
24305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24306 Likewise.
24307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24308 Likewise.
24309 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24310 enum constant and macro.
24311 (PTRACE_SETSIGMASK): Likewise.
24312 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24313 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24314 (PTRACE_GETSIGMASK): Likewise.
24315 (PTRACE_SETSIGMASK): Likewise.
24316 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24318 Likewise.
24319 (PTRACE_SETSIGMASK): Likewise.
24320 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24322 (PTRACE_GETSIGMASK): Likewise.
24323 (PTRACE_SETSIGMASK): Likewise.
24324 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24326 Likewise.
24327 (PTRACE_SETSIGMASK): Likewise.
24328 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24329 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24330 Likewise.
24331 (PTRACE_SETSIGMASK): Likewise.
24332 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24333 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24334 Likewise.
24335 (PTRACE_SETSIGMASK): Likewise.
24336 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24337
24338 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24339 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24340
24341 [BZ #19439]
24342 * math/bits/mathcalls.h
24343 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24344 prototype.
24345 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24346
24347 2016-01-11 Andreas Schwab <schwab@suse.de>
24348
24349 [BZ #19253]
24350 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24351 cache when TZDEFRULES was used.
24352 * time/tst-tzname.c: New file.
24353 * time/Makefile (test): Add tst-tzname.
24354 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24355 * timezone/Makefile (test-zones): Add $(posixrules-file).
24356 ($(testdata)/$(posixrules-file)): New rule.
24357
24358 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24359
24360 Fix doc quoting problems with Texinfo 5
24361 Without this change, in the info file output, Texinfo 5 quotes code
24362 in text with undirected single quotes 'like this' and generates
24363 code examples that with many PDF readers cannot be cut out of PDFs
24364 and pasted into code.
24365 * manual/libc.texinfo: Configure the libc manual like the GNU
24366 Emacs manual, by using @documentencoding and setting
24367 txicodequoteundirected and txicodequotebacktick. This way,
24368 Texinfo 5 quotes code in text with directed single quotes ‘like
24369 this’ and produces examples that can be cut out of PDFs. This
24370 change causes Texinfo 5 to generate info files that contain UTF-8
24371 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24372 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24373
24374 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24375
24376 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24377 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24378 barriers to their respective compiler built-ins.
24379 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24380 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24381 * sysdeps/powerpc/sysdep.h: Likewise.
24382 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24383 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24384 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24385
24386 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24387
24388 * scripts/config.guess: Revert previous shebang change.
24389 * scripts/config.sub: Likewise.
24390 * scripts/mkinstalldirs: Likewise.
24391
24392 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24393
24394 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24395 PPC_FEATURE2_HAS_IEEE128.
24396 * sysdeps/powerpc/dl-procinfo.c:
24397 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24398
24399 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24400
24401 [BZ #19415]
24402 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24403 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24404 (_dl_lookup_address): Rewrite using function resolver trampoline.
24405 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24406 two bits in address.
24407
24408 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24409
24410 * longlong.h: Change !__SHMEDIA__ to
24411 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24412 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24413
24414 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24415 Joseph Myers <joseph@codesourcery.com>
24416 Mark Shinwell <shinwell@codesourcery.com>
24417 Andrew Stubbs <ams@codesourcery.com>
24418 Rich Felker <dalias@libc.org>
24419
24420 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24421
24422 2016-01-07 Richard Henderson <rth@redhat.com>
24423
24424 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24425
24426 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24427
24428 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24429 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24430 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24431 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24432 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24433
24434 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24435 Joseph Myers <joseph@codesourcery.com>
24436
24437 * timezone/private.h: Update from tzcode 2015g.
24438 * timezone/tzfile.h: Likewise.
24439 * timezone/tzselect.ksh: Likewise.
24440 * timezone/zdump.c: Likewise.
24441 * timezone/zic.c: Likewise.
24442 * timezone/ialloc.c: Remove file.
24443 * timezone/scheck.c: Likewise.
24444 * timezone/Makefile (extra-objs): Remove variable.
24445 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24446 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24447 -Wno-maybe-uninitialized.
24448 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24449 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24450 (CFLAGS-ialloc.c): Remove variable.
24451 (CFLAGS-scheck.c): Likewise.
24452 * timezone/README: Update list of files from tzcode.
24453
24454 2016-01-07 Khem Raj <raj.khem@gmail.com>
24455
24456 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24457 instead of __fxprintf when _LIBC is undefined.
24458
24459 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24460
24461 * catgets/test-gencat.sh: Remove space after shebang.
24462 * conform/GlibcConform.pm: Likewise.
24463 * conform/check-header-lists.sh: Likewise.
24464 * conform/conformtest.pl: Likewise.
24465 * conform/linknamespace.pl: Likewise.
24466 * conform/list-header-symbols.pl: Likewise.
24467 * debug/catchsegv.sh: Likewise.
24468 * elf/genrtldtbl.awk: Likewise.
24469 * elf/tst-pathopt.sh: Likewise.
24470 * elf/tst-rtld-load-self.sh: Likewise.
24471 * grp/tst_fgetgrent.sh: Likewise.
24472 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24473 * iconvdata/gen-8bit-gap.sh: Likewise.
24474 * iconvdata/gen-8bit.sh: Likewise.
24475 * iconvdata/run-iconv-test.sh: Likewise.
24476 * intl/tst-gettext.sh: Likewise.
24477 * intl/tst-gettext2.sh: Likewise.
24478 * intl/tst-gettext4.sh: Likewise.
24479 * intl/tst-gettext6.sh: Likewise.
24480 * intl/tst-translit.sh: Likewise.
24481 * io/ftwtest-sh: Likewise.
24482 * libio/test-freopen.sh: Likewise.
24483 * locale/gen-translit.pl: Likewise.
24484 * malloc/tst-mtrace.sh: Likewise.
24485 * manual/check-safety.sh: Likewise.
24486 * manual/libc-texinfo.sh: Likewise.
24487 * manual/tsort.awk: Likewise.
24488 * manual/xtract-typefun.awk: Likewise.
24489 * nptl/tst-cancel-wrappers.sh: Likewise.
24490 * nptl/tst-tls6.sh: Likewise.
24491 * posix/globtest.sh: Likewise.
24492 * posix/tst-getconf.sh: Likewise.
24493 * posix/wordexp-tst.sh: Likewise.
24494 * scripts/check-c++-types.sh: Likewise.
24495 * scripts/check-local-headers.sh: Likewise.
24496 * scripts/config.guess: Likewise.
24497 * scripts/config.sub: Likewise.
24498 * scripts/cpp: Likewise.
24499 * scripts/cross-test-ssh.sh: Likewise.
24500 * scripts/documented.sh: Likewise.
24501 * scripts/evaluate-test.sh: Likewise.
24502 * scripts/gen-libc-abis: Likewise.
24503 * scripts/gen-sorted.awk: Likewise.
24504 * scripts/list-fixed-bugs.py: Likewise.
24505 * scripts/merge-test-results.sh: Likewise.
24506 * scripts/mkinstalldirs: Likewise.
24507 * scripts/rellns-sh: Likewise.
24508 * scripts/test-installation.pl: Likewise.
24509 * scripts/update-copyrights: Likewise.
24510 * stdio-common/tst-printf.sh: Likewise.
24511 * stdio-common/tst-unbputc.sh: Likewise.
24512 * stdlib/tst-fmtmsg.sh: Likewise.
24513 * stdlib/tst-setcontext3.sh: Likewise.
24514 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24515 * sysdeps/unix/make-syscalls.sh: Likewise.
24516
24517 2016-01-06 John David Anglin <dave.anglin@bell.net>
24518
24519 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24520 asm stw with atomic_exchange_rel. Add explanatory comment.
24521 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24522 Likewise.
24523
24524 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24525
24526 [BZ #19122]
24527 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24528 * sysdeps/generic/dl-unistd.h: New file.
24529 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24530
24531 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24532
24533 [BZ #19122]
24534 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24535 * sysdeps/generic/dl-mman.h: New file.
24536 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24537
24538 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24539
24540 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24541 trailing whitespace removed.
24542 * scripts/config.guess: Update to version 2016-01-01.
24543 * scripts/config.sub: Update to version 2016-01-01.
24544 * scripts/move-if-change: Update from gnulib.
24545
24546 2016-01-04 Anton Blanchard <anton@samba.org>
24547
24548 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24549 for array indices.
24550 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24551
24552 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24553
24554 * NEWS: Update copyright dates.
24555 * catgets/gencat.c (print_version): Likewise.
24556 * csu/version.c (banner): Likewise.
24557 * debug/catchsegv.sh: Likewise.
24558 * debug/pcprofiledump.c (print_version): Likewise.
24559 * debug/xtrace.sh (do_version): Likewise.
24560 * elf/ldconfig.c (print_version): Likewise.
24561 * elf/ldd.bash.in: Likewise.
24562 * elf/pldd.c (print_version): Likewise.
24563 * elf/sotruss.sh: Likewise.
24564 * elf/sprof.c (print_version): Likewise.
24565 * iconv/iconv_prog.c (print_version): Likewise.
24566 * iconv/iconvconfig.c (print_version): Likewise.
24567 * locale/programs/locale.c (print_version): Likewise.
24568 * locale/programs/localedef.c (print_version): Likewise.
24569 * login/programs/pt_chown.c (print_version): Likewise.
24570 * malloc/memusage.sh (do_version): Likewise.
24571 * malloc/memusagestat.c (print_version): Likewise.
24572 * malloc/mtrace.pl: Likewise.
24573 * manual/libc.texinfo: Likewise.
24574 * nptl/version.c (banner): Likewise.
24575 * nscd/nscd.c (print_version): Likewise.
24576 * nss/getent.c (print_version): Likewise.
24577 * nss/makedb.c (print_version): Likewise.
24578 * posix/getconf.c (main): Likewise.
24579 * scripts/test-installation.pl: Likewise.
24580 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24581
24582 * All files with FSF copyright notices: Update copyright dates
24583 using scripts/update-copyrights.
24584 * intl/plural.c: Regenerated.
24585 * locale/programs/charmap-kw.h: Likewise.
24586 * locale/programs/locfile-kw.h: Likewise.
24587
24588 2016-01-02 Helge Deller <deller@gmx.de>
24589
24590 [BZ #19285]
24591 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24592 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24593 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24594 (MADV_xxK_PAGES): Remove.
24595
24596 2016-01-01 Mike Frysinger <vapier@gentoo.org>
24597
24598 [BZ #15421]
24599 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24600 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
24601 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24602 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24603
24604 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
24605
24606 [BZ #19408]
24607 * sysdeps/unix/sysv/linux/personality.c: New file.
24608 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24609 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24610 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24611 (sysdep_routines): Add personality.
24612 (tests): Add tst-personality.
24613 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24615 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24616 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24617 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24618 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24619 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24620 Likewise.
24621 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24622 Likewise.
24623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24624 Likewise.
24625 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24627 Likewise.
24628
24629 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
24630
24631 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24632 (PATH_ARM_SYSTYPE): Remove.
24633 (PATH_CPUINFO): Likewise.
24634 (IO_BASE_FOOTBRIDGE): Likewise.
24635 (IO_SHIFT_FOOTBRIDGE): Likewise.
24636 (struct platform): Likewise.
24637 (init_iosys): Remove compatibility code for 2.4 kernels.
24638 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24639
24640 2015-12-29 Florian Weimer <fweimer@redhat.com>
24641
24642 * malloc/tst-malloc-thread-fail.c: New file.
24643 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24644 (tst-malloc-thread-fail): Link against libpthread.
24645
24646 2015-12-29 Mike Frysinger <vapier@gentoo.org>
24647
24648 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
24649 (get_parser): New function.
24650 (main): New function.
24651
24652 2015-12-29 Rob Wu <rob@robwu.nl>
24653
24654 [BZ #19369]
24655 * resolv/res_init.c (__res_vinit): Reset defdname before use.
24656
24657 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
24658
24659 [BZ #19270]
24660 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24661
24662 2015-12-28 Mike Frysinger <vapier@gentoo.org>
24663
24664 [BZ #15421]
24665 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24666
24667 2015-12-23 Torvald Riegel <triegel@redhat.com>
24668
24669 [BZ #13690]
24670 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24671 after releasing it.
24672 (__lll_robust_unlock): Likewise.
24673 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24675 (lll_robust_unlock): Likewise.
24676 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24677 Prevent warnings in callers.
24678
24679 2015-12-23 Florian Weimer <fweimer@redhat.com>
24680
24681 * malloc/arena.c (list_lock): Update comment.
24682
24683 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24684
24685 * sysdeps/powerpc/hwcapinfo.c: Export symbol
24686 __parse_hwcap_and_convert_at_platform to libc.a.
24687
24688 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24689
24690 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
24691 platform and feature support for POWER9.
24692 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24693 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
24694 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
24695 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
24696 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
24697 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
24698 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
24699 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
24700
24701 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24702
24703 Harmonize generic stdio-lock support with nptl
24704
24705 This fixes build when _IO_funlockfile is a macro, fixes build where
24706 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24707 stack unwind.
24708
24709 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24710 _IO_release_lock ): Use cleanup attribute on new
24711 _IO_acquire_lock_file variable instead of assuming that
24712 _IO_release_lock will be called.
24713 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24714 _IO_acquire_lock_needs_exceptions_enabled.
24715 (_IO_acquire_lock_clear_flags2): New macro.
24716
24717 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24718
24719 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24720
24721 2015-12-21 Florian Weimer <fweimer@redhat.com>
24722
24723 [BZ #19182]
24724 * malloc/arena.c (list_lock): Document lock ordering requirements.
24725 (free_list_lock): New lock.
24726 (ptmalloc_lock_all): Comment on free_list_lock.
24727 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24728 (detach_arena): Update comment. free_list_lock is now needed.
24729 (_int_new_arena): Use free_list_lock around detach_arena call.
24730 Acquire arena lock after list_lock. Add comment, including FIXME
24731 about incorrect synchronization.
24732 (get_free_list): Switch to free_list_lock.
24733 (reused_arena): Acquire free_list_lock around detach_arena call
24734 and attached threads counter update. Add two FIXMEs about
24735 incorrect synchronization.
24736 (arena_thread_freeres): Switch to free_list_lock.
24737 * malloc/malloc.c (struct malloc_state): Update comments to
24738 mention free_list_lock.
24739
24740 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
24741
24742 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24743 Remove functions.
24744 (sloww, sloww1): Accept argument to offset quadrant.
24745 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24746 quadrant.
24747 (__sin, __cos): Consolidate common code into new functions.
24748 (reduce_sincos_1, do_sincos_1): New functions.
24749 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24750
24751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24752 code to new functions.
24753 (reduce_sincos_2, do_sincos_2): New functions.
24754 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24755
24756 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24757 common code for sincos.
24758 (__cos) [!IN_SINCOS]: Likewise.
24759 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24760 New function.
24761 (__sincos): Use it.
24762
24763 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
24764
24765 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24766 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24767 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24768
24769 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
24770
24771 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24774 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24775 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24776 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24777 index_Prefer_No_VZEROUPPER): New feature.
24778 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24779 Prefer_No_VZEROUPPER for Knights Landing.
24780
24781 015-12-18 Torvald Riegel <triegel@redhat.com>
24782
24783 * math/atest-exp2.c (mp_exp_m1): Remove.
24784
24785 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24786
24787 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24788 syscalls.
24789 (__SYSCALL0): New macro.
24790 (__SYSCALL1): Likewise.
24791 (__SYSCALL2): Likewise.
24792 (__SYSCALL3): Likewise.
24793 (__SYSCALL4): Likewise.
24794 (__SYSCALL5): Likewise.
24795 (__SYSCALL6): Likewise.
24796 (__SYSCALL_CONCAT_X): Likewise.
24797 (__SYSCALL_CONCAT): Likewise.
24798 (__SYSCALL_DIST): Likewise.
24799 (__SYSCALL_CALL): Likewise.
24800
24801 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
24802
24803 [BZ #19363]
24804 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24805
24806 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24807
24808 [BZ #19375]
24809 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24810 negative subnormals.
24811
24812 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
24813
24814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24815 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24816 (INTERNAL_SYSCALL_NCS): Use it.
24817 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24818
24819 2015-12-16 Florian Weimer <fweimer@redhat.com>
24820
24821 [BZ #19243]
24822 * malloc/arena.c (get_free_list): Remove assert and adjust
24823 reference count handling. Add comment about reused_arena
24824 interaction.
24825 (reused_arena): Add comments abount get_free_list interaction.
24826 * malloc/tst-malloc-thread-exit.c: New file.
24827 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24828 (tst-malloc-thread-exit): Link against libpthread.
24829
24830 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
24831
24832 [BZ #19367]
24833 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24834 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24835 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24836 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24837 (index_Prefer_MAP_32BIT_EXEC): Likewise.
24838
24839 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
24840
24841 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24842 Silvermont optimizations for Knights Landing.
24843
24844 2015-12-15 Andreas Schwab <schwab@suse.de>
24845
24846 [BZ #17197]
24847 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24848 immediately after emitting SI.
24849 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24850 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24851 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24852 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24853 * iconvdata/bug-iconv10.c: New file.
24854 * iconvdata/Makefile (tests): Add bug-iconv10.
24855 ($(objpfx)bug-iconv10.out): New rule.
24856
24857 2015-12-15 Florian Weimer <fweimer@redhat.com>
24858
24859 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24860 aliasing violation.
24861
24862 2015-12-14 Joseph Myers <joseph@codesourcery.com>
24863
24864 [BZ #18472]
24865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24866 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24867 conditionals for them.
24868 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24869 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24871 sys/kdaemon.h.
24872 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24873 compat-only syscall, obsoleted in glibc 2.23.
24874 (create_module): Likewise.
24875 (get_kernel_syms): Likewise.
24876 (query_module): Likewise.
24877 (uselib): Likewise.
24878 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24879
24880 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
24881
24882 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24883 <linux/version.h>.
24884 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24885 conditional code.
24886 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24887 and ioshift_name initialization.
24888
24889 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24890
24891 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24892 Fix indentation.
24893
24894 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24895
24896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24897
24898 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24899
24900 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24901
24902 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
24903 Jakub Wilk <jwilk@debian.org>
24904
24905 [BZ #19347]
24906 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24907 to change the group of the device to the tty group.
24908
24909 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
24910
24911 Split large string section; add truncation advice
24912 * manual/examples/strncat.c: Remove.
24913 This example was misleading, as the code would have undefined
24914 behavior if "hello" was longer than SIZE. Anyway, the manual
24915 shouldn't encourage strncpy+strncat for this sort of thing.
24916 * manual/string.texi (Copying Strings and Arrays): Split into
24917 three sections Copying Strings and Arrays, Concatenating Strings,
24918 and Truncating Strings, as this section was way too long. All
24919 cross-referenced changed. Add advice about string-truncation
24920 functions. Remove misleading strncat example.
24921
24922 2015-12-10 Carlos O'Donell <carlos@redhat.com>
24923
24924 * manual/nss.texi (NSS Modules Interface): Document
24925 NSS_STATUS_NOTFOUND and SUCCESS.
24926
24927 2015-12-09 Mike FABIAN <mfabian@redhat.com>
24928
24929 [BZ 18568]
24930 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24931 201505L, for Unicode 8.
24932
24933 2015-12-09 Carlos O'Donell <carlos@redhat.com>
24934
24935 * locale/C-translit.h: Regenerate.
24936
24937 2015-12-09 Mike FABIAN <mfabian@redhat.com>
24938
24939 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24940 and U+0153.
24941
24942 2015-12-09 Joseph Myers <joseph@codesourcery.com>
24943
24944 [BZ #19351]
24945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24946 expanding log(1+z), compare z rather than its square with epsilon
24947 to determine when to avoid evaluating the expansion.
24948
24949 [BZ #19350]
24950 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24951 Increase overflow threshold.
24952
24953 [BZ #19349]
24954 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24955 when small.
24956
24957 * sysdeps/unix/sysv/linux/i386/kernel-features.h
24958 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24959 New macro.
24960 [__LINUX_KERNEL_VERSION >= 0x040300]
24961 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24962 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24963 Likewise.
24964 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24965 Likewise.
24966 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24967 Likewise.
24968 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24969 Likewise.
24970 [__LINUX_KERNEL_VERSION >= 0x040300]
24971 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24972 [__LINUX_KERNEL_VERSION >= 0x040300]
24973 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24974 [__LINUX_KERNEL_VERSION >= 0x040300]
24975 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24976 [__LINUX_KERNEL_VERSION >= 0x040300]
24977 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24978 [__LINUX_KERNEL_VERSION >= 0x040300]
24979 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24980 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24981 Likewise.
24982 [__LINUX_KERNEL_VERSION >= 0x040300]
24983 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24984 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24985 Likewise.
24986 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24987 Likewise.
24988 [__LINUX_KERNEL_VERSION >= 0x040300]
24989 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24990 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24991 Likewise.
24992 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24993 Likewise.
24994 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24995 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24996 Likewise.
24997 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24998 Likewise.
24999 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25000 Likewise.
25001 [__LINUX_KERNEL_VERSION >= 0x040300]
25002 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25003 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25004 Likewise.
25005 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25006 Likewise.
25007 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25008 Likewise.
25009 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25010 Likewise.
25011 [__LINUX_KERNEL_VERSION >= 0x040300]
25012 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25013 [__LINUX_KERNEL_VERSION >= 0x040300]
25014 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25015 [__LINUX_KERNEL_VERSION >= 0x040300]
25016 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25017 [__LINUX_KERNEL_VERSION >= 0x040300]
25018 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25019 [__LINUX_KERNEL_VERSION >= 0x040300]
25020 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25021 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25022 Likewise.
25023 [__LINUX_KERNEL_VERSION >= 0x040300]
25024 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25025 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25026 Likewise.
25027 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25028 Likewise.
25029 [__LINUX_KERNEL_VERSION >= 0x040300]
25030 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25031 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25032 Likewise.
25033 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25034 Likewise.
25035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25036 (__ASSUME_SOCKET_SYSCALL): Likewise.
25037 (__ASSUME_BIND_SYSCALL): Likewise.
25038 (__ASSUME_CONNECT_SYSCALL): Likewise.
25039 (__ASSUME_LISTEN_SYSCALL): Likewise.
25040 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25041 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25042 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25043 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25044 (__ASSUME_SEND_SYSCALL): Likewise.
25045 (__ASSUME_SENDTO_SYSCALL): Likewise.
25046 (__ASSUME_RECV_SYSCALL): Likewise.
25047 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25048 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25049 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25050 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25051 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25052 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25053 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25054 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25055 Likewise.
25056 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25057 Likewise.
25058 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25059 Likewise.
25060 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25061 Likewise.
25062 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25063 Likewise.
25064 [__LINUX_KERNEL_VERSION >= 0x020625]
25065 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25066 [__LINUX_KERNEL_VERSION >= 0x020625]
25067 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25068 [__LINUX_KERNEL_VERSION >= 0x020625]
25069 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25070 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25071 Likewise.
25072 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25073 Likewise.
25074 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25075 Likewise.
25076 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25077 Likewise.
25078 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25079 Likewise.
25080 [__LINUX_KERNEL_VERSION >= 0x020625]
25081 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25082 [__LINUX_KERNEL_VERSION >= 0x020625]
25083 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25084 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25085 Likewise.
25086 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25087 Likewise.
25088
25089 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25090
25091 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25092 record the current if the current ABI and CPU support the FP64
25093 extension.
25094 (has-modd-spreg): Define to record the current if the current ABI and
25095 CPU support 32-bit floating point values in odd FPU registers.
25096 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25097 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25098 $(has-modd-spreg) equals yes.
25099 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25100 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25101 $(has-modd-spreg) equal yes.
25102
25103 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25104
25105 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25106 basename.
25107
25108 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25109
25110 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25111 (bench-string): ... here.
25112 (bench): Add bench-string.
25113 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25114 to *-benchset to reflect what they are.
25115 (benchset): Adjust.
25116
25117 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25118 cos-inputs.
25119
25120 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25121
25122 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25123 __attribute__ ((__simd__)) for vector math function declarations.
25124
25125 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25126
25127 Fix typo in strncat, wcsncat manual entries
25128 * manual/string.texi (Copying and Concatenation): Fix typos in
25129 sample implementations of strncat and wcsncat, by having them use
25130 the old value of the destination length, not the new one.
25131
25132 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25133
25134 [BZ #16961]
25135 [BZ #16962]
25136 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25137 string on the stack for strtod.
25138 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25139 a string on the stack for strtof.
25140 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25141 constructing a string on the stack for strtold.
25142 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25143 __strtold_nan to GLIBC_PRIVATE.
25144 * math/test-nan-overflow.c: New file.
25145 * math/test-nan-payload.c: Likewise.
25146 * math/Makefile (tests): Add test-nan-overflow and
25147 test-nan-payload.
25148
25149 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25150
25151 Consistency about byte vs character in string.texi
25152 * manual/string.texi (String and Array Utilities):
25153 Distinguish more carefully among bytes, multibyte characters,
25154 and wide characters. Use "byte" when talking about C 'char',
25155 to distinguish it more clearly from multibyte characters.
25156 Say "wide character" or "multibyte character" instead of
25157 "character", when a wide or multibyte character is intended.
25158 Similarly for "multibyte string" versus "string".
25159 Define these terms more carefully.
25160
25161 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25162
25163 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25164 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25165 Likewise.
25166 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25167 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25168 * sysdeps/sh/math_private.h: New file.
25169 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25170 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25171 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25172 long double function name.
25173 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25174 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25179 Remove __finitel, __isinfl, and __isnanl.
25180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25181 Likewise.
25182 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25184 Remove __finitel.
25185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25186 Likewise.
25187 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25188
25189 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25190
25191 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25192 installed libmvec_nonshared.a.
25193
25194 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25195
25196 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25197 (sysdep_routines): Likewise.
25198 (sysdep-rtld-routines): Likewise.
25199 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25200 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25201 * sysdeps/powerpc/Versions: Added new
25202 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25203 * sysdeps/powerpc/hwcapinfo.c: New file.
25204 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25205 and parse hwcap, hwcap2 and platform number information.
25206 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25207 to store HWCAP+HWCAP2 and platform number.
25208 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25209 for HWCAP+HWCAP2 and platform number in the TCB.
25210 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25211 the HWCAP, HWCAP2 and platform number in the TCB.
25212 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25213 (TLS_INIT_TP): Included calls to add the hwcap and
25214 at_platform values in the TCB in TP initialization.
25215 (TLS_DEFINE_INIT_TP): Likewise.
25216 (THREAD_GET_HWCAP): New macro.
25217 (THREAD_SET_HWCAP): Likewise.
25218 (THREAD_GET_AT_PLATFORM): Likewise.
25219 (THREAD_SET_AT_PLATFORM): Likewise.
25220 * sysdeps/powerpc/powerpc32/dl-machine.h:
25221 (dl_platform_init): New function that calls
25222 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25223 powerpc32.
25224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25225 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25226 this functionality, static linking case.
25227 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25228 linking case.
25229 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25230 __parse_hwcap_and_convert_at_platform for the static linking case.
25231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25232 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25233 ABI list for GLIBC 2.23.
25234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25235 Likewise.
25236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25237 Likewise.
25238
25239 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25240
25241 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25242 * configure: Regenerate.
25243 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25244 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25245
25246 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25247
25248 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25249 * iconvdata/ibm933.c: Likewise.
25250 * iconvdata/ibm935.c: Likewise.
25251 * iconvdata/ibm937.c: Likewise.
25252 * iconvdata/ibm939.c: Likewise.
25253
25254 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25255
25256 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25257 pthread_join.
25258 * nptl/tst-cancel21.c (tf): Likewise.
25259
25260 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25261
25262 [BZ #19313]
25263 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25264 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25265 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25266 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25267 Likewise.
25268 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25269 Likewise.
25270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25271 Likewise.
25272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25273 Likewise.
25274 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25275 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25276 unsigned long int with __CPU_MASK_TYPE.
25277
25278 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25279
25280 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25281
25282 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25283
25284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25285 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25286 t512.x.
25287 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25288
25289 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25290
25291 [BZ #19214]
25292 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25293 argument to return extended model. Update family and model
25294 with extended family and model when family == 0x0f.
25295 (init_cpu_features): Updated.
25296
25297 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25298
25299 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25300 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25301
25302 * sysdeps/mach/hurd/mmap64.c: New file.
25303
25304 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25305
25306 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25307 rights for its main user thread in NEWTASK.
25308
25309 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25310
25311 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25312 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25313
25314 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25315
25316 [BZ #14259]
25317 * Makeconfig: Rename localedir to complocaledir.
25318 Rename inst_localedir to inst_complocaledir.
25319 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25320 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25321 * configure.ac: Use libc_cv_complocaledir.
25322 * configure: Regenerate.
25323 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25324 -DCOMPLOCALEDIR.
25325 * locale/findlocale.c: Use COMPLOCALEDIR.
25326 * locale/loadarchive.c: Likewise.
25327 * locale/programs/locale.c: Likewise.
25328 * locale/programs/localedef.c: Likewise.
25329 * locale/programs/locarchive.c: Likewise.
25330 * localedata/Makefile: Use inst_complocaledir.
25331 * sysdeps/gnu/configure: Regenerate.
25332 * sysdeps/hppa/configure: Regenerate.
25333 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25334 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25336 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25337 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25338 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25340
25341 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25342
25343 [BZ #19058]
25344 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25345 AS_NEEDED.
25346 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25347 workaround.
25348 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25349 libmvec-static-only-routines): Added new file.
25350 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25351
25352 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25353
25354 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25355 of interrupted RPC instead of restoring it.
25356
25357 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25358 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25359 libc_hidden_def.
25360 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25361 into initialized data instead of common. Define rtld_hidden_data_def.
25362 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25363 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25364 libc_hidden_def.
25365 (if_freenameindex): Add libc_hidden_weak.
25366 (if_nameindex): Add libc_hidden_weak.
25367 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25368 __open64.
25369 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25370 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25371 * sysdeps/mach/nanosleep.c: Include <time.h>
25372 (__nanosleep): Rename to __libc_nanosleep.
25373 (__nanosleep): Add weak_alias.
25374 (nanosleep): Update alias.
25375
25376 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25377
25378 * stdlib/strtod_nan.c: New file.
25379 * stdlib/strtod_nan_double.h: Likewise.
25380 * stdlib/strtod_nan_float.h: Likewise.
25381 * stdlib/strtod_nan_main.c: Likewise.
25382 * stdlib/strtod_nan_narrow.h: Likewise.
25383 * stdlib/strtod_nan_wide.h: Likewise.
25384 * stdlib/strtof_nan.c: Likewise.
25385 * stdlib/strtold_nan.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25387 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25388 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25389 * wcsmbs/wcstod_nan.c: Likewise.
25390 * wcsmbs/wcstof_nan.c: Likewise.
25391 * wcsmbs/wcstold_nan.c: Likewise.
25392 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25393 strtold_nan.
25394 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25395 wcstof_nan.
25396 * include/stdlib.h (__strtof_nan): Declare and use
25397 libc_hidden_proto.
25398 (__strtod_nan): Likewise.
25399 (__strtold_nan): Likewise.
25400 (__wcstof_nan): Likewise.
25401 (__wcstod_nan): Likewise.
25402 (__wcstold_nan): Likewise.
25403 * include/wchar.h (____wcstoull_l_internal): Declare.
25404 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25405 (____strtoull_l_internal): Remove declaration.
25406 (STRTOF_NAN): Define macro.
25407 (SET_MANTISSA): Remove macro.
25408 (STRTOULL): Likewise.
25409 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25410 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25411 (STRTOF_NAN): Define macro.
25412 (SET_MANTISSA): Remove macro.
25413 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25414 (SET_MANTISSA): Remove macro.
25415 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25416 macro.
25417 (SET_MANTISSA): Remove macro.
25418 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25419 macro.
25420 (SET_MANTISSA): Remove macro.
25421 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25422 (SET_MANTISSA): Remove macro.
25423 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25424 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25425 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25426
25427 [BZ #19266]
25428 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25429 upper case and lower case letters inside NAN(), not using TOLOWER.
25430 * stdlib/tst-strtod-nan-locale-main.c: New file.
25431 * stdlib/tst-strtod-nan-locale.c: Likewise.
25432 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25433 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25434 Depend on $(gen-locales).
25435 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25436 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25437 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25438 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25439 Depend on $(gen-locales).
25440 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25441
25442 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25443
25444 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25445
25446 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25448 __finitel, __isinfl, and __isnanl.
25449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25450 Likewise.
25451 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25453 __finitel.
25454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25455 Likewise.
25456 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25457
25458 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25459
25460 * malloc/memusage.c (me): Remove redundant getenv call.
25461
25462 2015-10-24 Florian Weimer <fweimer@redhat.com>
25463
25464 [BZ #19143]
25465 [BZ #19164]
25466 * nptl/check-cpuset.h: Remove.
25467 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25468 Remove CPU set size check.
25469 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25470 Likewise.
25471 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25472 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25473 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25474 (__pthread_setaffinity_new): Remove CPU set size check.
25475 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25476 (__kernel_cpumask_size): Remove.
25477 (__sched_setaffinity_new): Remove CPU set size check.
25478 * manual/threads.texi (Default Thread Attributes): Remove stale
25479 reference to check_cpuset_attr, determine_cpumask_size in comment.
25480 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25481 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25482 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25483 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25484 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25485 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25486 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25487 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25488 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25489 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25490 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25491 skeleton test file.
25492 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25493 tst-affinity-pid.
25494
25495 2015-11-24 Florian Weimer <fweimer@redhat.com>
25496
25497 * scripts/update-abilist.sh: New file.
25498 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25499 * Makerules (update-all-abi-%, update-all-abi)
25500 (subdir_update-all-abi): New targets.
25501 * elf/Makefile (update-all-abi): New target.
25502
25503 2015-11-24 Florian Weimer <fweimer@redhat.com>
25504
25505 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25506 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25507 (__libc_lock_define_initialized): Use it.
25508 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25509 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25510 * malloc/malloc.c (main_arena): Likewise.
25511 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25512 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25513
25514 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25515
25516 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25517 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25518 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25519 (PTRACE_O_MASK): Update value.
25520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25521 New value in enum __ptrace_setoptions.
25522 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25523 (PTRACE_O_MASK): Update value.
25524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25525 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25526 (PTRACE_O_MASK): Update value.
25527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25528 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25529 (PTRACE_O_MASK): Update value.
25530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25531 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25532 (PTRACE_O_MASK): Update value.
25533 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25534 New value in enum __ptrace_setoptions.
25535 (PTRACE_O_MASK): Update value.
25536 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25537 New value in enum __ptrace_setoptions.
25538 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25539 (PTRACE_O_MASK): Update value.
25540
25541 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25542 New macro.
25543 (PACKET_AUXDATA): Likewise.
25544 (PACKET_ORIGDEV): Likewise.
25545 (PACKET_VERSION): Likewise.
25546 (PACKET_HDRLEN): Likewise.
25547 (PACKET_RESERVE): Likewise.
25548 (PACKET_TX_RING): Likewise.
25549 (PACKET_LOSS): Likewise.
25550 (PACKET_VNET_HDR): Likewise.
25551 (PACKET_TX_TIMESTAMP): Likewise.
25552 (PACKET_TIMESTAMP): Likewise.
25553 (PACKET_FANOUT): Likewise.
25554 (PACKET_TX_HAS_OFF): Likewise.
25555 (PACKET_QDISC_BYPASS): Likewise.
25556 (PACKET_ROLLOVER_STATS): Likewise.
25557 (PACKET_FANOUT_DATA): Likewise.
25558 (PACKET_MR_UNICAST): Likewise.
25559
25560 [BZ #19242]
25561 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25562 (TOUPPER): Likewise.
25563 * stdlib/tst-strtol-locale-main.c: New file.
25564 * stdlib/tst-strtol-locale.c: Likewise.
25565 * stdlib/Makefile (tests): Add tst-strtol-locale.
25566 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25567 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25568 Depend on $(gen-locales).
25569 * wcsmbs/tst-wcstol-locale.c: New file.
25570 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25571 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25572 tr_TR.ISO-8859-9.
25573 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25574 Depend on $(gen-locales).
25575
25576 2015-11-20 Roland McGrath <roland@hack.frob.com>
25577
25578 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25579 __glibc_likely instead of __builtin_expect. After falling back to
25580 dyncode_create in a non-ET_DYN case, use the allocate_code_data
25581 system interface to register the code pages as occupied.
25582
25583 2015-11-20 Joseph Myers <joseph@codesourcery.com>
25584
25585 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25586 [!ARM_MATH_PRIVATE_H].
25587 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25588 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25589 [!HPPA_MATH_PRIVATE_H].
25590 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25591 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25592 to [!I386_MATH_PRIVATE_H].
25593 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25594 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25595 Change guard to [!M68K_MATH_PRIVATE_H].
25596 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25597 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25598 guard to [!MICROBLAZE_MATH_PRIVATE_H].
25599 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25600 macro.
25601 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25602 [!MIPS_MATH_PRIVATE_H].
25603 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25604 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25605 [!NIO2_MATH_PRIVATE_H].
25606 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25607 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25608 [!TILE_MATH_PRIVATE_H].
25609 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25610
25611 [BZ #15421]
25612 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25613 initialize with 0 and define as weak alias of __signgam.
25614 * include/math.h [!_ISOMAC] (__signgam): Declare.
25615 * math/Makefile (libm-calls): Add w_lgamma_compat.
25616 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25617 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25618 test-signgam-ullong-init.
25619 (tests-static): Add test-signgam-uchar-static,
25620 test-signgam-uchar-init-static, test-signgam-uint-static,
25621 test-signgam-uint-init-static, test-signgam-ullong-static and
25622 test-signgam-ullong-init-static.
25623 (CFLAGS-test-signgam-uchar.c): New variable.
25624 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25625 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25626 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25627 (CFLAGS-test-signgam-uint.c): Likewise.
25628 (CFLAGS-test-signgam-uint-init.c): Likewise.
25629 (CFLAGS-test-signgam-uint-static.c): Likewise.
25630 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25631 (CFLAGS-test-signgam-ullong.c): Likewise.
25632 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25633 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25634 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25635 * math/Versions (libm): Add GLIBC_2.23.
25636 * math/lgamma-compat.h: New file.
25637 * math/test-signgam-main.c: Likewise.
25638 * math/test-signgam-uchar-init-static.c: Likewise.
25639 * math/test-signgam-uchar-init.c: Likewise.
25640 * math/test-signgam-uchar-static.c: Likewise.
25641 * math/test-signgam-uchar.c: Likewise.
25642 * math/test-signgam-uint-init-static.c: Likewise.
25643 * math/test-signgam-uint-init.c: Likewise.
25644 * math/test-signgam-uint-static.c: Likewise.
25645 * math/test-signgam-uint.c: Likewise.
25646 * math/test-signgam-ullong-init-static.c: Likewise.
25647 * math/test-signgam-ullong-init.c: Likewise.
25648 * math/test-signgam-ullong-static.c: Likewise.
25649 * math/test-signgam-ullong.c: Likewise.
25650 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25651 wrapper of w_lgamma_main.c.
25652 * math/w_lgamma_compat.c: New file.
25653 * math/w_lgamma_compatf.c: Likewise.
25654 * math/w_lgamma_compatl.c: Likewise.
25655 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
25656 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25657 defining compatibility symbols.
25658 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
25659 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25660 wrapper of w_lgammaf_main.c.
25661 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
25662 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25663 defining compatibility symbols.
25664 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
25665 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25666 wrapper of w_lgammal_main.c.
25667 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
25668 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25669 defining compatibility symbols.
25670 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
25671 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25672 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25673 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
25674 <lgamma-compat.h>.
25675 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
25676 (__ieee754_gamma): Define as alias.
25677 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25678 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
25679 <lgamma-compat.h>.
25680 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
25681 (__ieee754_gammaf): Define as alias.
25682 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25683 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
25684 <lgamma-compat.h>.
25685 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
25686 (__ieee754_gammal): Define as alias.
25687 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25688 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
25689 <math/w_lgamma_compat.c>.
25690 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
25691 Define as alias of __lgamma_compat and use in defining lgammal.
25692 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
25693 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
25694 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
25695 (USE_AS_COMPAT): New macro.
25696 (LGAMMA_OLD_VER): Undefine and redefine.
25697 (lgammal): Do not define here.
25698 (gammal): Only define here if [GAMMA_ALIAS].
25699 * conform/linknamespace.pl (@whitelist): Remove signgam.
25700 * sysdeps/nacl/libm.abilist: Update.
25701 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25702 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25703 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25704 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25705 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25706 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25707 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25708 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25709 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25710 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25711 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25712 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25714 Likewise.
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25716 Likewise.
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25718 Likewise.
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25720 Likewise.
25721 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25722 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25723 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25725 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25727 Likewise.
25728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25729 Likewise.
25730 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25732 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25733
25734 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25735
25736 [BZ #16364]
25737 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25738 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25739
25740 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
25741
25742 * sysdeps/s390/fpu/bits/mathinline.h:
25743 Use __asm__ [__volatile__] instead of asm [volatile].
25744 * sysdeps/s390/abort-instr.h: Likewise.
25745 * sysdeps/s390/atomic-machine.h: Likewise.
25746 * sysdeps/s390/bits/string.h: Likewise.
25747 * sysdeps/s390/dl-tls.h: Likewise.
25748 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25749 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25750 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25751 * sysdeps/s390/fpu/fesetround.c: Likewise.
25752 * sysdeps/s390/fpu/fpu_control.h: Likewise.
25753 * sysdeps/s390/fpu/s_fma.c: Likewise.
25754 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25755 * sysdeps/s390/memusage.h: Likewise.
25756 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25757 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25758 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25759 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25760 * sysdeps/s390/nptl/tls.h: Likewise.
25761 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25762 * sysdeps/s390/s390-32/backtrace.c: Likewise.
25763 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25764 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25765 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25766 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25767 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25768 * sysdeps/s390/s390-64/backtrace.c: Likewise.
25769 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25770 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25771 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25772 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25773 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25774 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25775 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25776 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25777 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25778 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25779 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25781 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25783 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25784
25785 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25786 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25787
25788 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25789 Add lwarx hint, and use macro for acquire instruction.
25790 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25791 Likewise.
25792 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25793 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25794 update to use new atomic macros.
25795
25796 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25797
25798 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25799 (__lll_trylock_elision): Fix setting of adapt_count.
25800 * sysdeps/unix/sysv/linux/powerpc/htm.h
25801 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25802 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25803 (_ABORT_SYSCALL): Renumber, and clarify definition.
25804 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25805
25806 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25807
25808 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25809 after system headers to prevent MIN/MAX redefinition. Define
25810 HAVE_ALLOCA to preserve builtin alloca usage.
25811
25812 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25813
25814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25815 static and don't set or restore rounding.
25816 (__cos)[IN_SINCOS]: Likewise.
25817 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25818 (__sincos): Set and restore rounding mode. Remove check for infinite
25819 or NaN input.
25820
25821 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25822
25823 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25824 as used.
25825
25826 2015-11-16 Florian Weimer <fweimer@redhat.com>
25827
25828 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25829
25830 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
25831
25832 * config.make.in (have-glob-dat-reloc): New.
25833 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
25834 target supports GLOB_DAT relocaton. AC_SUBST.
25835 * configure: Regenerated.
25836 * elf/Makefile (tests): Add tst-prelink.
25837 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25838 (tst-prelink-ENV): New.
25839 ($(objpfx)tst-prelink-conflict.out): Likewise.
25840 ($(objpfx)tst-prelink-cmp.out): Likewise.
25841 * sysdeps/x86/tst-prelink.c: Moved to ...
25842 * elf/tst-prelink.c: Here.
25843 * sysdeps/x86/tst-prelink.exp: Moved to ...
25844 * elf/tst-prelink.exp: Here.
25845 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25846 (tst-prelink-ENV): Removed.
25847 ($(objpfx)tst-prelink-conflict.out): Likewise.
25848 ($(objpfx)tst-prelink-cmp.out): Likewise.
25849 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25850
25851 2015-11-13 Joseph Myers <joseph@codesourcery.com>
25852
25853 [BZ #14551]
25854 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25855 (__mpn_construct_long_double): If high part overflows to infinity,
25856 set errno and recompute overflowed result of the correct sign.
25857 * sysdeps/ieee754/ldbl-128ibm/Makefile
25858 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25859 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25860 $(libm).
25861 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25862
25863 2015-11-12 Joseph Myers <joseph@codesourcery.com>
25864
25865 [BZ #15479]
25866 [BZ #19238]
25867 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25868 floating-point state after first operation on input. Restore full
25869 state rather than just rounding mode.
25870 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25871 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25872 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25873
25874 [BZ #19235]
25875 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25876 add 0.5 to integer arguments.
25877 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25878 Likewise.
25879 (.LC2): New object.
25880
25881 2015-11-11 Mike Frysinger <vapier@gentoo.org>
25882
25883 * scripts/pylintrc (reports): Set to no.
25884
25885 2015-11-10 Roland McGrath <roland@hack.frob.com>
25886
25887 * elf/dl-load.c (open_verify): Take new argument FD.
25888 Skip __open call if passed FD is not -1.
25889 (_dl_map_object, open_path): Update callers.
25890 * elf/dl-sysdep-open.h: New file.
25891 * elf/dl-load.c: Include it.
25892 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25893 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25894 * sysdeps/nacl/dl-sysdep-open.h: New file.
25895 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25896 from libc to rtld.
25897
25898 2015-11-10 Joseph Myers <joseph@codesourcery.com>
25899
25900 [BZ #19228]
25901 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25902 and restore full floating-point state.
25903 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25904 Likewise.
25905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25906 Likewise.
25907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25908 Likewise.
25909 * math/test-nearbyint-except-2.c: New file.
25910 * math/Makefile (tests): Add test-nearbyint-except-2.
25911
25912 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 [BZ #19178]
25915 * sysdeps/x86/Makefile (tests): Add tst-prelink.
25916 (tst-prelink-ENV): New.
25917 ($(objpfx)tst-prelink-conflict.out): Likewise.
25918 ($(objpfx)tst-prelink-cmp.out): Likewise.
25919 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25920 * sysdeps/x86/tst-prelink.c: New file.
25921 * sysdeps/x86/tst-prelink.exp: Likewise.
25922
25923 2015-11-10 Joseph Myers <joseph@codesourcery.com>
25924
25925 * math/auto-libm-test-in: Add another test of pow.
25926 * math/auto-libm-test-out: Regenerated.
25927 * math/libm-test.inc (pow_test_data): Add another test.
25928
25929 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25930
25931 [BZ #19219]
25932 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25933 weak_alias to nearbyintl.
25934
25935 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
25936
25937 * sysdeps/aarch64/bits/string.h: New file.
25938 (_STRING_ARCH_unaligned): Define.
25939
25940 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
25941
25942 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25943 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25944 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25945 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25947
25948 2015-11-09 Ulrich Drepper <drepper@gmail.com>
25949
25950 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25951 for original name of the DSO. Add it to the name list of the DSO
25952 if it is actually given.
25953 (_dl_map_object): Keep track of whether an audit module rewrote
25954 the file name. If yes, pass the original name to
25955 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
25956 debugging is enabled, log the change of the file name.
25957 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25958 _dl_map_object_from_fd.
25959 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25960 * elf/tst-audit11.c: New file
25961 * elf/tst-auditmod11.c: New file.
25962 * elf/tst-audit11mod1.c: New file.
25963 * elf/tst-audit11mod2.c: New file.
25964 * elf/tst-audit11mod2.map: New file.
25965 * elf/tst-audit12.c: New file
25966 * elf/tst-auditmod12.c: New file.
25967 * elf/tst-audit12mod1.c: New file.
25968 * elf/tst-audit12mod2.c: New file.
25969 * elf/tst-audit12mod2.map: New file.
25970 * elf/tst-audit12mod3.c: New file.
25971
25972 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
25973
25974 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25975 Don't create weak aliases,
25976 because versioned symbols are created later.
25977 * sysdeps/s390/s390-32/setjmp.S
25978 (setjmp, _setjmp): Remove weak and rename to an unique name
25979 in SHARED case due to existing versioned symbols.
25980 * sysdeps/s390/s390-64/setjmp.S: Likewise.
25981 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25982 (getcontext): Create weak alias only in non SHARED case.
25983 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25984
25985 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
25986
25987 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25988 (__ASSUME_*_SYSCALL) Define new macros.
25989 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25990 Remove socketcall syscalls.
25991 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25992 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25993 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25994 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25995 * sysdeps/unix/sysv/linux/send.c (__libc_send):
25996 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25997
25998 2015-11-09 Florian Weimer <fweimer@redhat.com>
25999
26000 [BZ #12926]
26001 Terminate process on invalid netlink response.
26002 * sysdeps/unix/sysv/linux/netlinkaccess.h
26003 (__netlink_assert_response): Declare.
26004 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26005 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26006 (sysdep_routines): Add netlink_assert_response.
26007 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26008 __netlink_assert_response.
26009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26010 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26011 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26012 __netlink_assert_response.
26013
26014 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26015
26016 [BZ #19178]
26017 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26018 (RTYPE_CLASS_PLT): Likewise.
26019 (RTYPE_CLASS_COPY): Likewise.
26020 (RTYPE_CLASS_TLS): Likewise.
26021 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26022 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26023 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26024 DL_DEBUG_PRELINK.
26025
26026 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26027
26028 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26029 calls with argument -0.5.
26030 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26031
26032 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26033 (libc_cv_z_nodlopen): Likewise.
26034 (libc_cv_z_initfirst): Likewise.
26035 * configure: Regenerated.
26036
26037 2015-11-06 Florian Weimer <fweimer@redhat.com>
26038
26039 Simplify abilist format to be line-based.
26040 * scripts/abilist.awk: Collect descriptors in the descs variable.
26041 (emit): Write descs variable and sort it
26042 externally, with sort.
26043 * sysdeps/**/*.abilist: Convert to new format.
26044
26045 2015-11-06 Mark Wielaard <mjw@redhat.com>
26046
26047 [BZ #11460]
26048 * io/Makefile (routines): Add fts64.
26049 (tests): Add tst-fts and tst-fts-lfs.
26050 (CFLAGS-fts64.c): New.
26051 * io/Versions (GLIBC_2.23): New.
26052 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26053 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26054 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26055 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26056 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26057 (FTSENT64): Likewise.
26058 (fts64_children): Likewise.
26059 (fts64_close): Likewise.
26060 (fts64_open): Likewise.
26061 (fts64_read): Likewise.
26062 (fts64_set): Likewise.
26063 * io/fts64.c: New file.
26064 * io/tst-fts.c: New test.
26065 * io/tst-fts-lfs.c: Likewise.
26066 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26067 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26068 fts64_set.
26069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26071 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26072 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26074 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26083 Likewise.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26085 Likewise.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26089 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26090 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26091 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26092 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26098 * sysdeps/wordsize-64/fts.c: New file.
26099 * sysdeps/wordsize-64/fts64.c: Likewise.
26100 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26101 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26104
26105 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26106
26107 * math/libm-test.inc (NON_FINITE): New macro.
26108 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26109 * math/gen-libm-test.pl (show_exceptions): Add argument
26110 $non_finite.
26111 (parse_args): Update call to show_exceptions.
26112 * math/test-math-finite.h: New file.
26113 * math/test-math-no-finite.h: Likewise.
26114 * math/test-double-finite.c: Likewise.
26115 * math/test-float-finite.c: Likewise.
26116 * math/test-ldouble-finite.c: Likewise.
26117 * math/test-double.c: Include "test-math-no-finite.h".
26118 * math/test-float.c: Include "test-math-no-finite.h".
26119 * math/test-ldouble.c: Include "test-math-no-finite.h".
26120 * math/test-math-inline.h (TEST_FINITE): New macro.
26121 * math/test-math-vector.h (TEST_FINITE): Likewise.
26122 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26123 (libm-tests): Add test-float-finite and test-double-finite.
26124 ($(objpfx)test-float-finite.o): New dependency on
26125 $(objpfx)libm-test.stmp.
26126 ($(objpfx)test-double-finite.o): Likewise.
26127 ($(objpfx)test-ldouble-finite.o): Likewise.
26128 (libm-test-no-inline-cflags): New variable.
26129 (libm-test-finite-cflags): Likewise.
26130 (CFLAGS-test-float-finite.c): Likewise.
26131 (CFLAGS-test-double-finite.c): Likewise.
26132 (CFLAGS-test-ldouble-finite.c): Likewise.
26133 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26134 (CFLAGS-test-double.c): Likewise.
26135 (CFLAGS-test-ldouble.c): Likewise.
26136
26137 2015-11-05 Roland McGrath <roland@hack.frob.com>
26138
26139 * io/fcntl.c (__fcntl): Add ... to prototype.
26140 * misc/ioctl.c (__ioctl): Likewise.
26141 * misc/syscall.c (syscall): Likewise.
26142
26143 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26144
26145 * scripts/list-fixed-bugs.py: New file.
26146
26147 [BZ #19213]
26148 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26149 returned for argument 1.
26150 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26151 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26152 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26153 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26154 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26155 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26156
26157 [BZ #19211]
26158 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26159 __USE_XOPEN], not if [!__USE_ISOC99].
26160 (lgammaf): Likewise.
26161 (lgammal): Likewise.
26162 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26163 (gammaf): Likewise.
26164 (gammal): Likewise.
26165 * math/test-signgam-finite-c11.c: New file.
26166 * math/test-signgam-finite-c99.c: Likewise.
26167 * math/test-signgam-finite.c: Likewise.
26168 * math/Makefile (tests): Add test-signgam-finite,
26169 test-signgam-finite-c99 and test-signgam-finite-c11.
26170 (CFLAGS-test-signgam-finite.c): New variable.
26171 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26172 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26173
26174 [BZ #19212]
26175 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26176 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26177 500].
26178 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26179 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26180 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26181 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26182 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26183 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26184 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26185 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26186 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26187 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26188
26189 [BZ #19209]
26190 * math/bits/math-finite.h (ldexp): Remove declaration.
26191 (ldexpf): Likewise.
26192 (ldexpl): Likewise.
26193
26194 [BZ #19205]
26195 * math/bits/math-finite.h (acosf): Condition declaration on
26196 [__USE_ISOC99].
26197 (acosl): Likewise.
26198 (acoshf): Likewise.
26199 (acoshl): Likewise.
26200 (asinf): Likewise.
26201 (asinl): Likewise.
26202 (atan2f): Likewise.
26203 (atan2l): Likewise.
26204 (atanhf): Likewise.
26205 (atanhl): Likewise.
26206 (coshf): Likewise.
26207 (coshl): Likewise.
26208 (expf): Likewise.
26209 (expl): Likewise.
26210 (fmodf): Likewise.
26211 (fmodl): Likewise.
26212 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26213 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26214 (j0l): Likewise.
26215 (y0f): Likewise.
26216 (y0l): Likewise.
26217 (j1f): Likewise.
26218 (j1l): Likewise.
26219 (y1f): Likewise.
26220 (y1l): Likewise.
26221 (jnf): Likewise.
26222 (jnl): Likewise.
26223 (ynf): Likewise.
26224 (ynl): Likewise.
26225 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26226 (lgammal_r): Likewise.
26227 (__lgamma_r_finite): New declaration.
26228 (__lgammaf_r_finite): Likewise.
26229 (__lgammal_r_finite): Likewise.
26230 (lgamma): Use __lgamma_r_finite.
26231 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26232 __lgammaf_r_finite.
26233 (lgammal): Condition definition on [__USE_ISOC99]. Use
26234 __lgammal_r_finite.
26235 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26236 __lgamma_r_finite.
26237 (gammaf): Condition definition on [__USE_ISOC99]. Use
26238 __lgammaf_r_finite.
26239 (gammal): Condition definition on [__USE_ISOC99]. Use
26240 __lgammal_r_finite.
26241 (logf): Condition declaration on [__USE_ISOC99].
26242 (logl): Likewise.
26243 (log10f): Likewise.
26244 (log10l): Likewise.
26245 (ldexpf): Likewise.
26246 (ldexpl): Likewise.
26247 (powf): Likewise.
26248 (powl): Likewise.
26249 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26250 __USE_ISOC99].
26251 (remainderf): Condition declaration on [__USE_ISOC99].
26252 (remainderl): Likewise.
26253 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26254 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26255 (scalbl): Likewise.
26256 (sinhf): Condition declaration on [__USE_ISOC99].
26257 (sinhl): Likewise.
26258 (sqrtf): Likewise.
26259 (sqrtl): Likewise.
26260
26261 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26262
26263 * sysdeps/arm/atomic-machine.h
26264 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26265 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26266 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26267 Remove conditional code.
26268 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26269 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26270 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26271 Change conditional to [__ASSEMBLER__].
26272 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26273 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26274 [!__ASSEMBLER__].
26275 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26276 code.
26277 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26278 conditional macro definitions.
26279 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26280 (__arch_compare_and_exchange_val_16_acq): Likewise.
26281 (__arch_compare_and_exchange_val_32_acq): Likewise.
26282 (atomic_exchange_and_add): Likewise.
26283 (atomic_add): Likewise.
26284 (atomic_add_negative): Likewise.
26285 (atomic_add_zero): Likewise.
26286 (atomic_bit_set): Likewise.
26287 (atomic_bit_test_set): Likewise.
26288 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26289 code unconditional.
26290 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26291
26292 * math/test-math-errno.h: New file.
26293 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26294 empty.
26295 (TEST_ERRNO): New macro.
26296 (TEST_EXCEPTIONS): Likewise.
26297 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26298 (TEST_EXCEPTIONS): Likewise.
26299 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26300 * math/test-double.c: Include "test-math-errno.h".
26301 * math/test-float.c: Likewise.
26302 * math/test-ldouble.c: Likewise.
26303 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26304 code unconditional.
26305 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26306 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26307 unconditional.
26308 (test_errno): Only run code if TEST_ERRNO.
26309 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26310
26311 2015-11-04 Florian Weimer <fweimer@redhat.com>
26312
26313 * nptl/tst-once5.cc: Remove attribution.
26314
26315 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26316
26317 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26318 sqrt, tan, tanh, y0, y1 and yn.
26319 * math/auto-libm-test-out: Regenerated.
26320 * math/libm-test.inc (scalb_test_data): Add more tests.
26321 (scalbn_test_data): Likewise.
26322 (scalbln_test_data): Likewise.
26323 (signbit_test_data): Likewise.
26324 (sin_test_data): Likewise.
26325 (sincos_test_data): Likewise.
26326 (sinh_test_data): Likewise.
26327 (sqrt_test_data): Likewise.
26328 (tan_test_data): Likewise.
26329 (tanh_test_data): Likewise.
26330 (tgamma_test_data): Likewise.
26331 (y0_test_data): Likewise.
26332 (y1_test_data): Likewise.
26333 (yn_test_data): Likewise.
26334 (significand_test_data): Likewise.
26335 * sysdeps/i386/fpu/libm-test-ulps: Update.
26336
26337 2015-11-03 David Kastrup <dak@gnu.org>
26338
26339 [BZ #18604]
26340 * assert/assert.h (assert): Don't macro-expand failed assertion
26341 expression in error message.
26342 * malloc/malloc.c (assert): Likewise.
26343
26344 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26345
26346 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26347 test.
26348 * configure: Regenerated.
26349
26350 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26351
26352 * math/libm-test.inc (modf_test_data): Add more tests.
26353 (nearbyint_test_data): Likewise.
26354 (nextafter_test_data): Likewise.
26355 (nexttoward_test_data): Likewise.
26356 (pow_test_data): Likewise.
26357 (remainder_test_data): Likewise.
26358 (remquo_test_data): Likewise.
26359 (rint_test_data): Likewise.
26360
26361 [BZ #19201]
26362 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26363 Check for zero remainder in case of large exponents and ensure
26364 correct sign of result in that case.
26365 * math/libm-test.inc (remainder_test_data): Add more tests.
26366
26367 [BZ #6799]
26368 * math/s_nextafter.c: Include <errno.h>.
26369 (__nextafter): Set errno on overflow and underflow.
26370 * math/s_nexttowardf.c: Include <errno.h>.
26371 (__nexttowardf): Set errno on overflow and underflow.
26372 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26373 (__nextafterl): Set errno on overflow and underflow.
26374 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26375 (__nexttoward): Set errno on overflow and underflow.
26376 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26377 (__nexttowardf): Set errno on overflow and underflow.
26378 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26379 (__nextafterf): Set errno on overflow and underflow.
26380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26381 (__nextafterl): Set errno on overflow and underflow.
26382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26383 (__nexttoward): Set errno on overflow and underflow.
26384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26385 (__nexttowardf): Set errno on overflow and underflow.
26386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26387 (__nextafterl): Set errno on overflow and underflow.
26388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26389 (__nexttoward): Set errno on overflow and underflow.
26390 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26391 (__nexttowardf): Set errno on overflow and underflow.
26392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26393 (__nexttoward): Set errno on overflow and underflow.
26394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26395 (__nexttowardf): Set errno on overflow and underflow.
26396 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26397 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26398 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26399 (__nextafterl): Set errno on overflow and underflow.
26400 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26401 setting to be missing on overflow. Add more tests.
26402 (nexttoward_test_data): Likewise.
26403
26404 * configure.ac (libc_cv_initfini_array): Remove configure test.
26405 * configure: Regenerated.
26406
26407 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26408
26409 [BZ #19189]
26410 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26411 non-finite argument handle arguments with negative sign.
26412
26413 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26414 result from infinite argument.
26415 (j1_test_data): Likewise.
26416 (jn_test_data): Likewise.
26417 (y0_test_data): Likewise.
26418 (y1_test_data): Likewise.
26419 (yn_test_data): Likewise.
26420
26421 [BZ #16171]
26422 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26423 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26424 * math/w_remainderf.c (dremf): Define as weak alias of
26425 __remainderf.
26426 * math/w_remainderl.c (dreml): Define as weak alias of
26427 __remainderl.
26428 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26429 __remainder.
26430 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26431 __remainderf.
26432 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26433 __remainderl.
26434 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26435 weak alias of remainderl.
26436 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26437 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26438 alias of __remainder.
26439 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26440 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26441 strong alias of __remainderl.
26442 (dreml): Use long_double_symbol.
26443 * math/Makefile (libm-calls): Remove w_drem.
26444 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26445 (CFLAGS-nldbl-drem.c): Remove variable.
26446 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26447 * math/w_drem.c: Remove file.
26448 * math/w_dremf.c: Likewise.
26449 * math/w_dreml.c: Likewise.
26450 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26451 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26452 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26453
26454 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26455 * sysdeps/i386/configure: Regenerated.
26456 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26457 * sysdeps/x86_64/configure: Regenerated.
26458
26459 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26460 test.
26461 (libc_cv_visibility_attribute): Likewise.
26462 (libc_cv_protected_data): Test unconditionally.
26463 (libc_cv_broken_visibility_attribute): Remove configure test.
26464 (libc_cv_have_sdata_section): Test unconditionally.
26465 * configure: Regenerated.
26466
26467 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26468 * include/scratch_buffer.h: Include <stddef.h> instead of
26469 <libc-internal.h>.
26470 (struct scratch_buffer): Use max_align_t instead of
26471 libc_max_align_t.
26472
26473 2015-10-29 Florian Weimer <fweimer@redhat.com>
26474
26475 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26476 instead of extend_alloca. Change control flow to avoid a goto.
26477 Remove assert which is trivially always true.
26478
26479 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26480
26481 [BZ #16068]
26482 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26483 (FE_ALL_EXCEPT_X86): New macro.
26484 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26485 FE_ALL_EXCEPT. Ensure precision control is included in
26486 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26487 handle "denormal operand exception" and clear FZ and DAZ bits.
26488 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26489 (FE_ALL_EXCEPT_X86): New macro.
26490 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26491 FE_ALL_EXCEPT. Ensure precision control is included in
26492 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26493 handle "denormal operand exception" and clear FZ and DAZ bits.
26494 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26495 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26496 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26497 test-fenv-x87 and test-fenv-sse-2.
26498 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26499
26500 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26501 * math/test-double.h (BUILD_COMPLEX): New macro.
26502 * math/test-float.h (BUILD_COMPLEX): Likewise.
26503 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26504
26505 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26506 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26507 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26509 instead of DBL_DENORM_MIN in comment.
26510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26511 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26512 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26513 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26515 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26516
26517 2015-10-28 Florian Weimer <fweimer@redhat.com>
26518
26519 [BZ #19048]
26520 * malloc/malloc.c (struct malloc_state): Update comment. Add
26521 attached_threads member.
26522 (main_arena): Initialize attached_threads.
26523 * malloc/arena.c (list_lock): Update comment.
26524 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26525 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26526 (deattach_arena): New function.
26527 (_int_new_arena): Initialize arena reference count and deattach
26528 replaced arena.
26529 (get_free_list, reused_arena): Update reference count and deattach
26530 replaced arena.
26531 (arena_thread_freeres): Update arena reference count and only put
26532 unreferenced arenas on the free list.
26533
26534 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26535
26536 [BZ #19181]
26537 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26538 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26539 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26540 * math/test-fenv-clear-main.c: New file.
26541 * math/test-fenv-clear.c: Likewise.
26542 * math/Makefile (tests): Add test-fenv-clear.
26543 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26544 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26545 test-fenv-clear-sse.
26546 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26547
26548 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26549 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26550 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26551
26552 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26553
26554 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26555 static libc.
26556
26557 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26558
26559 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26560 test.
26561 * sysdeps/i386/configure: Regenerated.
26562 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26563 test.
26564 * sysdeps/x86_64/configure: Regenerated.
26565 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26567 memset-avx2 unconditionally instead of conditionally on
26568 [$(config-cflags-avx2) = yes].
26569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26570 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26571 unconditional.
26572 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26573 * sysdeps/x86_64/multiarch/memset_chk.S
26574 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26575 to [IS_IN (libc) && SHARED].
26576
26577 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26578
26579 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26580 configure test.
26581 * sysdeps/arm/configure: Regenerated.
26582 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26583 Define variable if not already defined.
26584
26585 [BZ #17404]
26586 * sysdeps/mips/atomic-machine.h
26587 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26588 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26589 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26590
26591 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26592 unconditional.
26593 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26594 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26595 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26596 unconditional.
26597 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26598 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26599 unconditional.
26600 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26601 * stdlib/setenv.c
26602 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26603 code unconditional.
26604 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26605 Remove conditional code.
26606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26607 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26608 unconditional.
26609 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26610 code.
26611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26612 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26613 unconditional.
26614 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26615 code.
26616 * sysdeps/ieee754/ldbl-128/k_tanl.c
26617 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26618 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26619 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26620 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26621 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26623 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26624 unconditional.
26625 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26626 code.
26627 * sysdeps/ieee754/ldbl-96/k_tanl.c
26628 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26629 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26630
26631 * nptl/tst-initializers1-c11.c: New file.
26632 * nptl/tst-initializers1-gnu11.c: Likewise.
26633 * nptl/Makefile (tests): Add these new tests.
26634 (CFLAGS-tst-initializers1-c11.c): New variable.
26635 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26636
26637 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26638 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26639 instead of -std=gnu99.
26640 * configure.ac (systemtap): Test with -std=gnu11 instead of
26641 -std=gnu99.
26642 * configure: Regenerated.
26643 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26644 in compilation command in comment.
26645
26646 * sysdeps/nptl/configure.ac: Remove file.
26647 * sysdeps/nptl/configure: Remove generated file.
26648 * configure.ac (libc_cv_forced_unwind): Do not substitute.
26649 * configure: Regenerated.
26650 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26651 * config.make.in (have-forced-unwind): Remove variable.
26652 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26653 unconditional.
26654 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26655 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26656 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26657 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26658 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26659 unconditional.
26660
26661 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26662
26663 [BZ #19174]
26664 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26665 .skip_lock_out_of_tbegin_retries.
26666 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26667 (__lll_lock_elision): Likewise, and respect a value of
26668 try_tbegin <= 0.
26669
26670 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26671
26672 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26673 statement.
26674
26675 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26676
26677 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26678 variable.
26679 (test-xfail-ISO11/stdalign.h/conform): Likewise.
26680 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26681
26682 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26683 of -std=c1x -D_ISOC11_SOURCE.
26684
26685 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26686 * configure: Regenerated.
26687 * manual/install.texi (Tools for Compilation): Document
26688 requirement for GCC 4.7 or later.
26689 * INSTALL: Regenerated.
26690
26691 2015-10-27 Ludovic Courtès <ludo@gnu.org>
26692
26693 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
26694 on CNT to a conditional jump to 'puntdata'.
26695
26696 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26697
26698 * configure.ac (libc_cv_gcc___thread): Remove configure test.
26699 (libc_cv_gcc_tls_model_attr): Likewise.
26700 * configure: Regenerated.
26701
26702 * configure.ac (libc_cv_need_minus_P): Remove configure test.
26703 * configure: Regenerated.
26704 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26705
26706 2015-10-26 Joseph Myers <joseph@codesourcery.com>
26707
26708 * configure.ac (old_glibc_headers): Remove configure test.
26709 * configure: Regenerated.
26710 * config.make.in (old-glibc-headers): Remove variable.
26711 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26712 (install): Remove dependency on remove-old-headers.
26713 (headers2_0): Remove variable.
26714 (remove-old-headers): Remove rule.
26715
26716 * configure.ac (libc_cv_dot_text): Remove configure test.
26717 (libc_cv_asm_set_directive): Use .text instead of
26718 ${libc_cv_dot_text} in configure test.
26719 * configure: Regenerated.
26720
26721 2015-10-26 Florian Weimer <fweimer@redhat.com>
26722
26723 [BZ #19168]
26724 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26725
26726 2015-10-26 Florian Weimer <fweimer@redhat.com>
26727
26728 * configure.ac (CXX): Clear the variable if the C++ toolchain does
26729 not support static linking.
26730 * configure: Regenerate.
26731
26732 2015-10-23 Joseph Myers <joseph@codesourcery.com>
26733
26734 * math/libm-test.inc (check_float_internal): Do not special-case
26735 errors up to 0.5 ulp.
26736
26737 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26738 log2.
26739 * math/auto-libm-test-out: Regenerated.
26740 * math/libm-test.inc (MAX_EXP): New macro.
26741 (ilogb_test_data): Add more tests.
26742 (isfinite_test_data): Likewise.
26743 (isgreater_test_data): Likewise.
26744 (isgreaterequal_test_data): Likewise.
26745 (isinf_test_data): Likewise.
26746 (isless_test_data): Likewise.
26747 (islessequal_test_data): Likewise.
26748 (islessgreater_test_data): Likewise.
26749 (isnan_test_data): Likewise.
26750 (isnormal_test_data): Likewise.
26751 (issignaling_test_data): Likewise.
26752 (isunordered_test_data): Likewise.
26753 (j0_test_data): Likewise.
26754 (j1_test_data): Likewise.
26755 (jn_test_data): Likewise.
26756 (lgamma_test_data): Likewise.
26757 (log_test_data): Likewise.
26758 (log10_test_data): Likewise.
26759 (log1p_test_data): Likewise.
26760 (log2_test_data): Likewise.
26761 (logb_test_data): Likewise.
26762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26763
26764 [BZ #18611]
26765 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26766 avoid excess range and precision on underflow.
26767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26768 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26769 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26770 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26771 underflow.
26772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26776 * math/auto-libm-test-in: Do not allow missing errno setting for
26777 tests of j1 and jn.
26778 * math/auto-libm-test-out: Regenerated.
26779
26780 2015-10-22 Joseph Myers <joseph@codesourcery.com>
26781
26782 [BZ #15491]
26783 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26784 floating-point environment instead of clearing all exceptions.
26785 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26786 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26787 merging in "invalid" exceptions from frndint.
26788 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26789 * math/test-nearbyint-except.c: New file.
26790 * math/Makefile (tests): Add test-nearbyint-except.
26791
26792 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
26793
26794 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26795
26796 * sysdeps/tile/libm-test-ulps: Regenerated.
26797
26798 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26799
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26801 (__NR_sync_file_range2): Assume it is always defined.
26802 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26803 (__NR_sync_file_range): Assume it is always defined.
26804
26805 2015-10-22 Andreas Schwab <schwab@suse.de>
26806
26807 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26808 INTERNAL_SYSCALL_ERRNO.
26809 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26810 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26811 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26812 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26813 Likewise.
26814 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26815
26816 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26817
26818 * io/tst-fcntl.c (fd): New static variable.
26819 (do_prepare): Open temporary file here....
26820 (do_test): ...not here.
26821
26822 * io/ftwtest-sh: Also trap on exit to remove temporary files.
26823
26824 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
26825
26826 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26827 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26828 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26829 Moved before "#ifdef __ASSEMBLER__".
26830
26831 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26832
26833 [BZ #19156]
26834 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26835 arguments very close to 0.
26836
26837 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
26838
26839 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26840 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26841
26842 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
26843
26844 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26845 New. Defined for GCC 5 and above when not compiling for
26846 profiling.
26847 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26848
26849 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26850 Renamed to ...
26851 (CFLAGS-epoll_pwait.o): This.
26852 (CFLAGS-mmap.c): Renamed to ...
26853 (CFLAGS-mmap.o): This.
26854 (CFLAGS-mmap64.c): Renamed to ...
26855 (CFLAGS-mmap64.o): This.
26856 (CFLAGS-epoll_pwait.os): New.
26857 (CFLAGS-mmap.os): Likewise.
26858 (CFLAGS-mmap64.os): Likewise.
26859 (CFLAGS-semtimedop.os): Likewise.
26860 (CFLAGS-semtimedop.c): Renamed to ...
26861 (CFLAGS-semtimedop.o): This.
26862
26863 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26864
26865 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26866 warning message.
26867
26868 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26869
26870 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26871 * Makefile ($(objpfx)c++-types-check.out): Filter out
26872 $(+gccwarn-c) instead of -Wstrict-prototypes.
26873
26874 * io/fts.c (fts_open): Convert to prototype-style function
26875 definition.
26876 * malloc/mcheck.c (mcheck): Likewise.
26877 (mcheck_pedantic): Likewise.
26878 * posix/regexec.c (re_search_2_stub): Likewise. Use
26879 internal_function.
26880 (re_search_internal): Likewise.
26881 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26882 prototype-style function definition.
26883 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26884 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26885 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26886 (xdr_utmpptr): Likewise.
26887 (xdr_utmparr): Likewise.
26888 (xdr_utmpidle): Likewise.
26889 (xdr_utmpidleptr): Likewise.
26890 (xdr_utmpidlearr): Likewise.
26891
26892 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26893 log, log10 and log2.
26894 * math/auto-libm-test-out: Regenerated.
26895 * math/libm-test.inc (fmod_test_data): Add more tests.
26896 (fpclassify_test_data): Likewise.
26897 (frexp_test_data): Likewise.
26898 (hypot_test_data): Likewise.
26899 (ilogb_test_data): Likewise.
26900
26901 2015-10-20 Joseph Myers <joseph@codesourcery.com>
26902
26903 * debug/fortify_fail.c (__fortify_fail): Convert to
26904 prototype-style function definition. Use internal_function.
26905 * libio/genops.c (save_for_backup): Convert to prototype-style
26906 function definition.
26907 * libio/wgenops.c (save_for_wbackup): Likewise.
26908 * login/grantpt.c (grantpt): Likewise.
26909 * login/ptsname.c (ptsname): Likewise.
26910 (__ptsname_r): Likewise.
26911 * login/unlockpt.c (unlockpt): Likewise.
26912 * mach/msgserver.c (__mach_msg_server): Likewise.
26913 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26914 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26915 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26916 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26917 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26918 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26919 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26920 Likewise.
26921 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
26922 internal_function.
26923 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26924 prototype-style function definition.
26925 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26926 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26927 (__pthread_create_2_0): Likewise.
26928 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26929 * nptl/register-atfork.c (__register_atfork): Likewise.
26930 * posix/glob.c (glob): Likewise.
26931 * posix/regcomp.c (re_comp): Likewise.
26932 * posix/regexec.c (re_exec): Likewise.
26933 * stdlib/add_n.c [__STDC__]: Make code unconditional.
26934 [!__STDC__]: Remove conditional code.
26935 * stdlib/cmp.c [__STDC__]: Make code unconditional.
26936 [!__STDC__]: Remove conditional code.
26937 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26938 [!__STDC__]: Remove conditional code.
26939 * stdlib/divrem.c [__STDC__]: Make code unconditional.
26940 [!__STDC__]: Remove conditional code.
26941 * stdlib/lshift.c [__STDC__]: Make code unconditional.
26942 [!__STDC__]: Remove conditional code.
26943 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26944 [!__STDC__]: Remove conditional code.
26945 * stdlib/mul.c [__STDC__]: Make code unconditional.
26946 [!__STDC__]: Remove conditional code.
26947 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26948 [!__STDC__]: Remove conditional code.
26949 * stdlib/rshift.c [__STDC__]: Make code unconditional.
26950 [!__STDC__]: Remove conditional code.
26951 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26952 function definition.
26953 (STRTOF): Likewise.
26954 * stdlib/strtod_l.c (__STRTOF): Likewise.
26955 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26956 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26957 (__strtol_l): Likewise.
26958 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26959 [!__STDC__]: Remove conditional code.
26960 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26961 definition.
26962 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26963 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26964 type.
26965 (__strcasecmp): Convert to prototype-style function definition.
26966 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26967 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26968 type.
26969 (__strncasecmp): Convert to prototype-style function definition.
26970 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26971 * sunrpc/xdr.c (xdr_union): Likewise.
26972 * sunrpc/xdr_array.c (xdr_array): Likewise.
26973 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26974 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26975 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26976 Likewise.
26977 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26978 Likewise.
26979 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26980 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26981 Likewise.
26982 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26983 (LOCALE_PARAM_PROTO): Likewise.
26984 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26985 argument type.
26986 (ut_argument_spec): Remove macro.
26987 (ut_argument_spec_iso): Rename to ut_argument_spec.
26988 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
26989 prototype-style function definition.
26990 (memcpy_uppcase): Likewise.
26991 (__strftime_internal): Likewise.
26992 (my_strftime): Likewise.
26993 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26994 (LOCALE_PARAM_DECL): Likewise.
26995 [_LIBC] (LOCALE_PARAM): Include argument type.
26996 (__strptime_internal): Convert to prototype-style function
26997 definition.
26998 (strptime): Likewise.
26999 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27000 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27001 type.
27002 (__wcscasecmp): Convert to prototype-style function definition.
27003 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27004 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27005 type.
27006 (__wcsncasecmp): Convert to prototype-style function definition.
27007
27008 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27009 function definition.
27010 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27011 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27012 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27013 * elf/dl-minimal.c (_itoa): Likewise.
27014 * hurd/hurdmalloc.c (malloc): Likewise.
27015 (free): Likewise.
27016 (realloc): Likewise.
27017 * inet/inet6_option.c (inet6_option_space): Likewise.
27018 (inet6_option_init): Likewise.
27019 (inet6_option_append): Likewise.
27020 (inet6_option_alloc): Likewise.
27021 (inet6_option_next): Likewise.
27022 (inet6_option_find): Likewise.
27023 * io/ftw.c (FTW_NAME): Likewise.
27024 (NFTW_NAME): Likewise.
27025 (NFTW_NEW_NAME): Likewise.
27026 (NFTW_OLD_NAME): Likewise.
27027 * libio/iofwide.c (_IO_fwide): Likewise.
27028 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27029 (_IO_str_init_static): Likewise.
27030 (_IO_str_init_readonly): Likewise.
27031 (_IO_str_overflow): Likewise.
27032 (_IO_str_underflow): Likewise.
27033 (_IO_str_count): Likewise.
27034 (_IO_str_seekoff): Likewise.
27035 (_IO_str_pbackfail): Likewise.
27036 (_IO_str_finish): Likewise.
27037 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27038 (_IO_wstr_overflow): Likewise.
27039 (_IO_wstr_underflow): Likewise.
27040 (_IO_wstr_count): Likewise.
27041 (_IO_wstr_seekoff): Likewise.
27042 (_IO_wstr_pbackfail): Likewise.
27043 (_IO_wstr_finish): Likewise.
27044 * locale/programs/localedef.c (normalize_codeset): Likewise.
27045 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27046 (add_locales_to_archive): Likewise.
27047 (delete_locales_from_archive): Likewise.
27048 * malloc/malloc.c (__libc_mallinfo): Likewise.
27049 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27050 * misc/tsearch.c (__tfind): Likewise.
27051 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27052 * nptl/pthread_attr_getdetachstate.c
27053 (__pthread_attr_getdetachstate): Likewise.
27054 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27055 Likewise.
27056 * nptl/pthread_attr_getinheritsched.c
27057 (__pthread_attr_getinheritsched): Likewise.
27058 * nptl/pthread_attr_getschedparam.c
27059 (__pthread_attr_getschedparam): Likewise.
27060 * nptl/pthread_attr_getschedpolicy.c
27061 (__pthread_attr_getschedpolicy): Likewise.
27062 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27063 Likewise.
27064 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27065 Likewise.
27066 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27067 Likewise.
27068 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27069 Likewise.
27070 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27071 (__pthread_attr_init_2_0): Likewise.
27072 * nptl/pthread_attr_setdetachstate.c
27073 (__pthread_attr_setdetachstate): Likewise.
27074 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27075 Likewise.
27076 * nptl/pthread_attr_setinheritsched.c
27077 (__pthread_attr_setinheritsched): Likewise.
27078 * nptl/pthread_attr_setschedparam.c
27079 (__pthread_attr_setschedparam): Likewise.
27080 * nptl/pthread_attr_setschedpolicy.c
27081 (__pthread_attr_setschedpolicy): Likewise.
27082 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27083 Likewise.
27084 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27085 Likewise.
27086 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27087 Likewise.
27088 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27089 Likewise.
27090 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27091 Likewise.
27092 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27093 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27094 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27095 use internal_function.
27096 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27097 prototype-style function definition.
27098 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27099 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27100 internal_function.
27101 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27102 Convert to prototype-style function definition.
27103 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27104 Likewise.
27105 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27106 Likewise.
27107 (__pthread_mutex_unlock): Likewise.
27108 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27109 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27110 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27111 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27112 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27113 * nss/makedb.c (process_input): Likewise.
27114 * posix/fnmatch.c (__strchrnul): Likewise.
27115 (__wcschrnul): Likewise.
27116 (fnmatch): Likewise.
27117 * posix/fnmatch_loop.c (FCT): Likewise.
27118 * posix/glob.c (globfree): Likewise.
27119 (__glob_pattern_type): Likewise.
27120 (__glob_pattern_p): Likewise.
27121 * posix/regcomp.c (re_compile_pattern): Likewise.
27122 (re_set_syntax): Likewise.
27123 (re_compile_fastmap): Likewise.
27124 (regcomp): Likewise.
27125 (regerror): Likewise.
27126 (regfree): Likewise.
27127 * posix/regexec.c (regexec): Likewise.
27128 (re_match): Likewise.
27129 (re_search): Likewise.
27130 (re_match_2): Likewise.
27131 (re_search_2): Likewise.
27132 (re_search_stub): Likewise. Use internal_function
27133 (re_copy_regs): Likewise.
27134 (re_set_registers): Convert to prototype-style function
27135 definition.
27136 (prune_impossible_nodes): Likewise. Use internal_function.
27137 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27138 prototype-style function definition.
27139 (inet_net_pton_ipv4): Likewise.
27140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27141 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27142 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27143 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27144 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27145 Make variadic.
27146 * time/strptime_l.c (localtime_r): Convert to prototype-style
27147 function definition.
27148 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27149 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27150 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27151 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27152
27153 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27154 definition.
27155 (_ufc_doit_r): Likewise.
27156 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27157 (_ufc_output_conversion_r): Likewise.
27158 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27159 * inet/rcmd.c (rcmd_af): Likewise.
27160 (rcmd): Likewise.
27161 (ruserok_af): Likewise.
27162 (ruserok): Likewise.
27163 (ruserok2_sa): Likewise.
27164 (ruserok_sa): Likewise.
27165 (iruserok_af): Likewise.
27166 (iruserok): Likewise.
27167 (__ivaliduser): Likewise.
27168 (__validuser2_sa): Likewise.
27169 * inet/rexec.c (rexec_af): Likewise.
27170 (rexec): Likewise.
27171 * inet/ruserpass.c (ruserpass): Likewise.
27172 * locale/programs/xmalloc.c (xcalloc): Likewise.
27173 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27174 * math/w_drem.c (__drem): Likewise.
27175 * math/w_dremf.c (__dremf): Likewise.
27176 * math/w_dreml.c (__dreml): Likewise.
27177 * misc/daemon.c (daemon): Likewise.
27178 * resolv/res_debug.c (p_fqnname): Likewise.
27179 * stdlib/div.c (div): Likewise.
27180 * string/memcmp.c (memcmp_bytes): Likewise.
27181 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27182 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27183
27184 * crypt/cert.c (main): Convert to prototype-style function
27185 definition.
27186 * io/pipe.c (__pipe): Likewise.
27187 * io/pipe2.c (__pipe2): Likewise.
27188 * misc/futimesat.c (futimesat): Likewise.
27189 * misc/utimes.c (__utimes): Likewise.
27190 * posix/execve.c (__execve): Likewise.
27191 * posix/execvp.c (execvp): Likewise.
27192 * posix/execvpe.c (__execvpe): Likewise.
27193 * posix/fexecve.c (fexecve): Likewise.
27194 * socket/socketpair.c (socketpair): Likewise.
27195 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27196 * stdlib/erand48.c (erand48): Likewise.
27197 * stdlib/erand48_r.c (__erand48_r): Likewise.
27198 * stdlib/jrand48.c (jrand48): Likewise.
27199 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27200 * stdlib/lcong48.c (lcong48): Likewise.
27201 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27202 * stdlib/nrand48.c (nrand48): Likewise.
27203 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27204 * stdlib/seed48.c (seed48): Likewise.
27205 * stdlib/seed48_r.c (__seed48_r): Likewise.
27206 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27207 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27208 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27209
27210 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27211
27212 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27213 * configure: Regenerated.
27214 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27215 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27216 unconditional.
27217 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27218 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27219 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27220 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27221 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27222 unconditional.
27223 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27224
27225 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27226 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27227
27228 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27229 function definition.
27230 * crypt/crypt_util.c (__encrypt_r): Likewise.
27231 * libio/genops.c (_IO_no_init): Likewise.
27232 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27233 (_IO_old_fopencookie): Likewise.
27234 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27235 * libio/iogetline.c (_IO_getline): Likewise.
27236 (_IO_getline_info): Likewise.
27237 * libio/iogetwline.c (_IO_getwline): Likewise.
27238 (_IO_getwline_info): Likewise.
27239 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27240 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27241 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27242 (find_entry): Likewise.
27243 (iterate_table): Likewise.
27244 (lookup): Likewise.
27245 * login/forkpty.c (forkpty): Likewise.
27246 * misc/hsearch_r.c (__hsearch_r): Likewise.
27247 * misc/select.c (__select): Likewise.
27248 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27249 Likewise.
27250 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27251 Likewise.
27252 * nptl/old_pthread_cond_timedwait.c
27253 (__pthread_cond_timedwait_2_0): Likewise.
27254 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27255 * nptl/pthread_barrierattr_getpshared.c
27256 (pthread_barrierattr_getpshared): Likewise.
27257 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27258 Likewise.
27259 * nptl/pthread_mutex_setprioceiling.c
27260 (pthread_mutex_setprioceiling): Likewise.
27261 * nptl/pthread_mutexattr_getprioceiling.c
27262 (pthread_mutexattr_getprioceiling): Likewise.
27263 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27264 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27265 Likewise.
27266 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27267 Likewise.
27268 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27269 Likewise.
27270 * socket/recvfrom.c (__recvfrom): Likewise.
27271 * socket/sendto.c (__sendto): Likewise.
27272 * socket/setsockopt.c (__setsockopt): Likewise.
27273 * stdio-common/_itoa.c (_itoa): Likewise.
27274 * stdio-common/_itowa.c (_itowa): Likewise.
27275 * stdio-common/reg-printf.c (__register_printf_specifier):
27276 Likewise.
27277 (__register_printf_function): Likewise.
27278 * stdio-common/tempname.c (__path_search): Likewise.
27279 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27280 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27281 * stdlib/random_r.c (__initstate_r): Likewise.
27282 * stdlib/setenv.c (__add_to_environ): Likewise.
27283 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27284 * streams/getpmsg.c (getpmsg): Likewise.
27285 * streams/putmsg.c (putmsg): Likewise.
27286 * streams/putpmsg.c (putpmsg): Likewise.
27287 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27288 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27289 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27290 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27291 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27292 * sunrpc/svc_udp.c (cache_get): Likewise.
27293 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27294 * sysdeps/mach/hurd/getcwd.c
27295 (__canonicalize_directory_name_internal): Likewise.
27296 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27297 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27298 * sysdeps/mach/hurd/select.c (__select): Likewise.
27299 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27300 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27301 * sysdeps/sparc/nptl/pthread_barrier_init.c
27302 (__pthread_barrier_init): Likewise.
27303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27304 (__pthread_cond_timedwait): Likewise.
27305 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27306 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27307 Likewise.
27308 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27309 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27310 Likewise.
27311 * sysvipc/semtimedop.c (semtimedop): Likewise.
27312 * time/setitimer.c (__setitimer): Likewise.
27313 * time/strftime_l.c (emacs_strftime): Likewise.
27314
27315 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27316
27317 * config.make.in (have-ssp): Delete.
27318 (stack-protector): New variable.
27319 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27320 cache test for -fstack-protector-strong. Export stack_protector to
27321 the best ssp flag.
27322 * configure: Regenerated.
27323 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27324 * nscd/Makefile (CFLAGS-nscd): Likewise.
27325 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27326
27327 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 [BZ #19122]
27330 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27331 attribute_hidden.
27332
27333 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27334
27335 [BZ #18743]
27336 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27337 code to...
27338 (ELIDE_LOCK): ...here.
27339 (__get_new_count): New function with part of the code from
27340 __elide_lock that updates the value of adapt_count after a
27341 transaction abort.
27342 (__elided_trylock): Moved this code to...
27343 (ELIDE_TRYLOCK): ...here.
27344
27345 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27346
27347 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27348 * configure: Regenerate.
27349 * INSTALL: Regenerate.
27350 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27351 and tweak grammar.
27352
27353 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27354
27355 * login/programs/pt_chown.c: Include signal.h
27356 (main): Clear any signal mask from the parent process.
27357
27358 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27359
27360 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27361 * configure: Regenerated.
27362 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27363 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27364 $(gnu89-inline-CFLAGS).
27365
27366 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27367 test.
27368 (libc_cv_asm_weakext_directive): Likewise.
27369 * configure: Regenerated.
27370 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27371 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27372 * include/libc-symbols.h
27373 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27374 #error.
27375 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27376 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27377
27378 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27379 prototype-style function definition.
27380 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27381 * sysdeps/i386/ffs.c (__ffs): Likewise.
27382 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27383 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27384 Likewise.
27385 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27386 Likewise.
27387 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27389 Likewise.
27390 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27391 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27392 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27393 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27394 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27395 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27396 * sysdeps/mach/hurd/access.c (__access): Likewise.
27397 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27398 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27399 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27400 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27401 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27402 (cthread_getspecific): Likewise.
27403 (cthread_setspecific): Likewise.
27404 (__libc_getspecific): Likewise.
27405 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27406 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27407 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27408 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27409 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27410 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27411 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27412 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27413 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27414 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27415 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27416 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27417 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27418 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27419 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27420 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27421 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27422 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27423 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27424 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27425 * sysdeps/mach/hurd/link.c (__link): Likewise.
27426 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27427 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27428 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27429 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27430 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27431 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27432 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27433 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27434 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27435 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27436 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27437 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27438 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27439 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27440 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27441 * sysdeps/mach/hurd/send.c (__send): Likewise.
27442 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27443 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27444 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27445 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27446 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27447 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27448 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27449 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27450 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27451 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27452 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27453 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27454 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27455 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27456 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27457 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27458 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27459 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27460 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27461 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27462 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27463 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27464 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27465 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27466 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27467 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27468 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27469 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27470 * sysdeps/posix/alarm.c (alarm): Likewise.
27471 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27472 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27473 * sysdeps/posix/dup.c (__dup): Likewise.
27474 * sysdeps/posix/dup2.c (__dup2): Likewise.
27475 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27476 (main): Likewise.
27477 * sysdeps/posix/flock.c (__flock): Likewise.
27478 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27479 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27480 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27481 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27482 * sysdeps/posix/isatty.c (__isatty): Likewise.
27483 * sysdeps/posix/killpg.c (killpg): Likewise.
27484 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27485 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27486 * sysdeps/posix/raise.c (raise): Likewise.
27487 * sysdeps/posix/remove.c (remove): Likewise.
27488 * sysdeps/posix/rename.c (rename): Likewise.
27489 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27490 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27491 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27492 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27493 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27494 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27495 * sysdeps/posix/sigset.c (sigset): Likewise.
27496 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27497 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27498 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27499 * sysdeps/posix/time.c (time): Likewise.
27500 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27501 (ttyname): Likewise.
27502 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27503 * sysdeps/posix/utime.c (utime): Likewise.
27504 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27505 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27506 Likewise.
27507 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27508 (pthread_spin_trylock): Likewise.
27509 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27510 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27511 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27512 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27513 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27514 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27515 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27516 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27517 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27518 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27519 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27520 * sysdeps/s390/ffs.c (__ffs): Likewise.
27521 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27522 Likewise.
27523 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27524 Likewise.
27525 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27526 Likewise.
27527 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27528 (pthread_barrier_destroy): Likewise.
27529 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27530 (__pthread_barrier_wait): Likewise.
27531 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27532 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27533 (__pthread_barrier_wait): Likewise.
27534 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27535 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27536 (memcmp_not_common_alignment): Likewise.
27537 (MEMCMP): Likewise.
27538 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27539 (_wordcopy_fwd_dest_aligned): Likewise.
27540 (_wordcopy_bwd_aligned): Likewise.
27541 (_wordcopy_bwd_dest_aligned): Likewise.
27542 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27543 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27544 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27545 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27546 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27547 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27548 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27549 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27550 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27551 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27552 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27553 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27554 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27555 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27556 * sysdeps/unix/stime.c (stime): Likewise.
27557 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27558 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27559 Likewise. Use internal_function.
27560 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27561 Convert to prototype-style function definition.
27562 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27563 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27565 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27566 Likewise. Use internal_function.
27567 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27568 prototype-style function definition
27569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27570 Likewise.
27571 (__getlogin_r): Likewise.
27572 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27573 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27574 (__pthread_cond_broadcast): Likewise.
27575 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27576 (__pthread_cond_destroy): Likewise.
27577 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27578 (__pthread_cond_init): Likewise.
27579 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27580 (__pthread_cond_signal): Likewise.
27581 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27582 (__pthread_cond_wait): Likewise.
27583 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27584 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27585 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27586 Likewise.
27587 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27588 Likewise.
27589 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27590 Likewise.
27591 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27592 Likewise.
27593 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27595 (__ftruncate64): Likewise.
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27597 (truncate64): Likewise.
27598 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27599 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27600 (pthread_getcpuclockid): Likewise.
27601 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27602 Likewise.
27603 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27604 Likewise.
27605 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27606 Likewise.
27607 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27608 Likewise.
27609 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27610 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27611 (__libc_sigaction): Likewise.
27612 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27613 Likewise.
27614 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27615 (__sigprocmask): Likewise.
27616 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27617 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27618 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27620 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27621 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27622 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27623 Likewise.
27624 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27625 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27626 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27627 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27629 Likewise.
27630 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27631 (__sigprocmask): Likewise.
27632 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27633 (cfgetispeed): Likewise.
27634 (cfsetospeed): Likewise.
27635 (cfsetispeed): Likewise.
27636 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27637 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27638 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27639 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27640 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27641 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27642 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27643 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27644 Likewise.
27645 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27646 Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27648 Likewise.
27649 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27650 Likewise.
27651 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27652
27653 2015-10-17 Florian Weimer <fweimer@redhat.com>
27654
27655 sunrpc: Rewrite with explicit TLS access using __thread.
27656 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27657 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27658 directly.
27659 (__rpc_thread_variables): Access thread_rpc_vars directly.
27660 Eliminate redundant assignment of the tvp variable.
27661
27662 2015-10-17 Florian Weimer <fweimer@redhat.com>
27663
27664 malloc: Rewrite with explicit TLS access using __thread.
27665 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27666 (tsd_setspecific, tsd_getspecific): Remove.
27667 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27668 (tsd_setspecific, tsd_getspecific): Likewise.
27669 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27670 (tsd_setspecific, tsd_getspecific): Likewise.
27671 * malloc/arena.c (thread_arena): New TLS variable.
27672 (arena_key): Remove variable.
27673 (arena_get): Use thread_arena.
27674 (arena_lookup): Remove macro.
27675 (malloc_atfork, free_atfork, ptmalloc_lock_all)
27676 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27677 (_int_new_arena, get_free_list, reused_arena)
27678 (arena_thread_freeres): Use thread_arena.
27679 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27680 tsd_getspecific, tsd_setspecific from safety annotations.
27681 (Allocating Cleared Space): Remove arena_lookup from safety
27682 annotations.
27683
27684 2015-10-17 Florian Weimer <fweimer@redhat.com>
27685
27686 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27687 struct scratch_buffer instead of extend_alloca.
27688
27689 2015-10-17 Florian Weimer <fweimer@redhat.com>
27690
27691 * sysdeps/unix/sysv/linux/kernel-features.h
27692 (__ASSUME_SOCK_CLOEXEC): Remove.
27693 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
27694 (__have_paccept): Remove unused macro.
27695 * include/unistd.h (__have_sock_cloexec): Remove declaration.
27696 * misc/syslog.c (openlog_internal): Remove fallback code for
27697 !__ASSUME_SOCK_CLOEXEC.
27698 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
27699 missing SOCK_CLOEXEC.
27700 * nscd/connections.c (have_sock_cloexec): Remove definition.
27701 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27702 * nscd/nscd_helper.c (open_socket): Remove fallback code for
27703 !__ASSUME_SOCK_CLOEXEC.
27704 * resolv/res_send.c (__have_o_nonblock): Remove definition.
27705 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27706 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27707 definition.
27708 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27709 code for !__ASSUME_SOCK_CLOEXEC.
27710
27711 2015-10-17 Florian Weimer <fweimer@redhat.com>
27712
27713 [BZ #18982]
27714 * manual/stdio.texi (Variable Arguments Output): Add portability
27715 note, explaining that vfprintf clobbers the va_list pointer.
27716
27717 2015-10-16 Joseph Myers <joseph@codesourcery.com>
27718
27719 * math/libm-test.inc (fabs_test_data): Add more tests.
27720 (fdim_test_data): Likewise.
27721 (fma_test_data): Likewise.
27722 (fmax_test_data): Likewise.
27723 (fmin_test_data): Likewise.
27724 (fmod_test_data): Likewise.
27725
27726 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
27727
27728 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
27729 data.
27730
27731 2015-10-16 Joseph Myers <joseph@codesourcery.com>
27732
27733 * math/libm-test.inc (ceil_test_data): Add more tests and more
27734 expectations for "inexact".
27735 (floor_test_data): Add more tests.
27736 (round_test_data): Likewise.
27737 (trunc_test_data): Likewise.
27738
27739 * crypt/cert.c (good_bye): Convert to prototype-style function
27740 definition.
27741 (get8): Likewise.
27742 (put8): Likewise.
27743 * crypt/crypt-entry.c (crypt): Likewise.
27744 (__fcrypt): Likewise.
27745 * crypt/crypt_util.c (_ufc_prbits): Likewise.
27746 (_ufc_set_bits): Likewise.
27747 (_ufc_clearmem): Likewise.
27748 (__init_des_r): Likewise.
27749 (shuffle_sb): Likewise.
27750 (shuffle_sb): Likewise.
27751 (_ufc_setup_salt_r): Likewise.
27752 (_ufc_mk_keytab_r): Likewise.
27753 (_ufc_dofinalperm_r): Likewise.
27754 (encrypt): Likewise.
27755 (__setkey_r): Likewise.
27756 (setkey): Likewise.
27757 * crypt/md5.c (md5_init_ctx): Likewise.
27758 (md5_read_ctx): Likewise.
27759 (md5_finish_ctx): Likewise.
27760 (md5_stream): Likewise.
27761 (md5_buffer): Likewise.
27762 (md5_process_bytes): Likewise.
27763 * crypt/sha256.c (__sha256_init_ctx): Likewise.
27764 (__sha256_finish_ctx): Likewise.
27765 (__sha256_process_bytes): Likewise.
27766 * crypt/sha512.c (__sha512_init_ctx): Likewise.
27767 (__sha512_finish_ctx): Likewise.
27768 (__sha512_process_bytes): Likewise.
27769 * ctype/isctype.c (__isctype): Likewise.
27770 * debug/backtrace.c (__backtrace): Likewise.
27771 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27772 * debug/fgets_chk.c (__fgets_chk): Likewise.
27773 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27774 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27775 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27776 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27777 * debug/memset_chk.c (__memset_chk): Likewise.
27778 * debug/strcat_chk.c (__strcat_chk): Likewise.
27779 * debug/strncat_chk.c (__strncat_chk): Likewise.
27780 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27781 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27782 * dirent/dirfd.c (dirfd): Likewise.
27783 * dirent/getdents.c (__getdirentries): Likewise.
27784 * dirent/getdents64.c (getdirentries64): Likewise.
27785 * dirent/rewinddir.c (__rewinddir): Likewise.
27786 * dirent/seekdir.c (seekdir): Likewise.
27787 * dirent/telldir.c (telldir): Likewise.
27788 * elf/sln.c (makesymlinks): Likewise.
27789 (makesymlink): Likewise.
27790 * gmon/gmon.c (__moncontrol): Likewise.
27791 (__monstartup): Likewise.
27792 (write_hist): Likewise.
27793 (write_call_graph): Likewise.
27794 (write_bb_counts): Likewise.
27795 * grp/setgroups.c (setgroups): Likewise.
27796 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27797 * inet/inet_net.c (inet_network): Likewise.
27798 * inet/inet_netof.c (inet_netof): Likewise.
27799 * inet/rcmd.c (rresvport_af): Likewise.
27800 (rresvport): Likewise.
27801 * io/access.c (__access): Likewise.
27802 * io/chdir.c (__chdir): Likewise.
27803 * io/chmod.c (__chmod): Likewise.
27804 * io/chown.c (__chown): Likewise.
27805 * io/close.c (__close): Likewise.
27806 * io/creat.c (creat): Likewise.
27807 * io/creat64.c (creat64): Likewise.
27808 * io/dup.c (__dup): Likewise.
27809 * io/dup2.c (__dup2): Likewise.
27810 * io/dup3.c (__dup3): Likewise.
27811 * io/euidaccess.c (__euidaccess): Likewise.
27812 * io/faccessat.c (faccessat): Likewise.
27813 * io/fchmod.c (__fchmod): Likewise.
27814 * io/fchmodat.c (fchmodat): Likewise.
27815 * io/fchown.c (__fchown): Likewise.
27816 * io/fchownat.c (fchownat): Likewise.
27817 * io/fcntl.c (__fcntl): Likewise.
27818 * io/flock.c (__flock): Likewise.
27819 * io/fts.c (fts_load): Likewise.
27820 (fts_close): Likewise.
27821 (fts_read): Likewise.
27822 (fts_set): Likewise.
27823 (fts_children): Likewise.
27824 (fts_build): Likewise.
27825 (fts_stat): Likewise.
27826 (fts_sort): Likewise.
27827 (fts_alloc): Likewise.
27828 (fts_lfree): Likewise.
27829 (fts_palloc): Likewise.
27830 (fts_padjust): Likewise.
27831 (fts_maxarglen): Likewise.
27832 (fts_safe_changedir): Likewise.
27833 * io/getwd.c (getwd): Likewise.
27834 * io/isatty.c (__isatty): Likewise.
27835 * io/lchown.c (__lchown): Likewise.
27836 * io/link.c (__link): Likewise.
27837 * io/linkat.c (linkat): Likewise.
27838 * io/lseek.c (__libc_lseek): Likewise.
27839 * io/mkdir.c (__mkdir): Likewise.
27840 * io/mkdirat.c (mkdirat): Likewise.
27841 * io/mkfifo.c (mkfifo): Likewise.
27842 * io/mkfifoat.c (mkfifoat): Likewise.
27843 * io/open.c (__libc_open): Likewise.
27844 * io/open64.c (__libc_open64): Likewise.
27845 * io/readlink.c (__readlink): Likewise.
27846 * io/readlinkat.c (readlinkat): Likewise.
27847 * io/rmdir.c (__rmdir): Likewise.
27848 * io/symlink.c (__symlink): Likewise.
27849 * io/symlinkat.c (symlinkat): Likewise.
27850 * io/ttyname.c (ttyname): Likewise.
27851 * io/ttyname_r.c (__ttyname_r): Likewise.
27852 * io/umask.c (__umask): Likewise.
27853 * io/unlink.c (__unlink): Likewise.
27854 * io/unlinkat.c (unlinkat): Likewise.
27855 * io/utime.c (utime): Likewise.
27856 * libio/clearerr.c (clearerr): Likewise.
27857 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27858 * libio/feof.c (_IO_feof): Likewise.
27859 * libio/feof_u.c (feof_unlocked): Likewise.
27860 * libio/ferror.c (_IO_ferror): Likewise.
27861 * libio/ferror_u.c (ferror_unlocked): Likewise.
27862 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27863 * libio/fileno.c (__fileno): Likewise.
27864 * libio/fputc.c (fputc): Likewise.
27865 * libio/fputc_u.c (fputc_unlocked): Likewise.
27866 * libio/fputwc.c (fputwc): Likewise.
27867 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27868 * libio/freopen.c (freopen): Likewise.
27869 * libio/freopen64.c (freopen64): Likewise.
27870 * libio/fseek.c (fseek): Likewise.
27871 * libio/fseeko.c (fseeko): Likewise.
27872 * libio/fseeko64.c (fseeko64): Likewise.
27873 * libio/ftello.c (__ftello): Likewise.
27874 * libio/ftello64.c (ftello64): Likewise.
27875 * libio/fwide.c (fwide): Likewise.
27876 * libio/genops.c (_IO_un_link): Likewise.
27877 (_IO_link_in): Likewise.
27878 (_IO_least_marker): Likewise.
27879 (_IO_switch_to_main_get_area): Likewise.
27880 (_IO_switch_to_backup_area): Likewise.
27881 (_IO_switch_to_get_mode): Likewise.
27882 (_IO_free_backup_area): Likewise.
27883 (_IO_switch_to_put_mode): Likewise.
27884 (__overflow): Likewise.
27885 (__underflow): Likewise.
27886 (__uflow): Likewise.
27887 (_IO_setb): Likewise.
27888 (_IO_doallocbuf): Likewise.
27889 (_IO_default_underflow): Likewise.
27890 (_IO_default_uflow): Likewise.
27891 (_IO_default_xsputn): Likewise.
27892 (_IO_sgetn): Likewise.
27893 (_IO_default_xsgetn): Likewise.
27894 (_IO_sync): Likewise.
27895 (_IO_default_setbuf): Likewise.
27896 (_IO_default_seekpos): Likewise.
27897 (_IO_default_doallocate): Likewise.
27898 (_IO_init): Likewise.
27899 (_IO_old_init): Likewise.
27900 (_IO_default_sync): Likewise.
27901 (_IO_default_finish): Likewise.
27902 (_IO_default_seekoff): Likewise.
27903 (_IO_sputbackc): Likewise.
27904 (_IO_sungetc): Likewise.
27905 (_IO_set_column): Likewise.
27906 (_IO_set_column): Likewise.
27907 (_IO_adjust_column): Likewise.
27908 (_IO_get_column): Likewise.
27909 (_IO_init_marker): Likewise.
27910 (_IO_remove_marker): Likewise.
27911 (_IO_marker_difference): Likewise.
27912 (_IO_marker_delta): Likewise.
27913 (_IO_seekmark): Likewise.
27914 (_IO_unsave_markers): Likewise.
27915 (_IO_nobackup_pbackfail): Likewise.
27916 (_IO_default_pbackfail): Likewise.
27917 (_IO_default_seek): Likewise.
27918 (_IO_default_stat): Likewise.
27919 (_IO_default_read): Likewise.
27920 (_IO_default_write): Likewise.
27921 (_IO_default_showmanyc): Likewise.
27922 (_IO_default_imbue): Likewise.
27923 (_IO_iter_next): Likewise.
27924 (_IO_iter_file): Likewise.
27925 * libio/getc.c (_IO_getc): Likewise.
27926 * libio/getwc.c (_IO_getwc): Likewise.
27927 * libio/iofclose.c (_IO_new_fclose): Likewise.
27928 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27929 * libio/iofflush.c (_IO_fflush): Likewise.
27930 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27931 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27932 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27933 * libio/iofgets.c (_IO_fgets): Likewise.
27934 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27935 * libio/iofgetws.c (fgetws): Likewise.
27936 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27937 * libio/iofopen64.c (_IO_fopen64): Likewise.
27938 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27939 (_IO_cookie_write): Likewise.
27940 (_IO_cookie_seek): Likewise.
27941 (_IO_cookie_close): Likewise.
27942 (_IO_cookie_seekoff): Likewise.
27943 (_IO_old_cookie_seek): Likewise.
27944 * libio/iofputs.c (_IO_fputs): Likewise.
27945 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27946 * libio/iofputws.c (fputws): Likewise.
27947 * libio/iofputws_u.c (fputws_unlocked): Likewise.
27948 * libio/iofread.c (_IO_fread): Likewise.
27949 * libio/iofread_u.c (__fread_unlocked): Likewise.
27950 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27951 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27952 * libio/ioftell.c (_IO_ftell): Likewise.
27953 * libio/iofwrite.c (_IO_fwrite): Likewise.
27954 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27955 * libio/iogets.c (_IO_gets): Likewise.
27956 * libio/iopadn.c (_IO_padn): Likewise.
27957 * libio/iopopen.c (_IO_new_proc_open): Likewise.
27958 (_IO_new_popen): Likewise.
27959 (_IO_new_proc_close): Likewise.
27960 * libio/ioputs.c (_IO_puts): Likewise.
27961 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27962 (_IO_seekoff): Likewise.
27963 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27964 (_IO_seekpos): Likewise.
27965 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27966 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27967 * libio/ioungetc.c (_IO_ungetc): Likewise.
27968 * libio/ioungetwc.c (ungetwc): Likewise.
27969 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27970 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27971 * libio/iowpadn.c (_IO_wpadn): Likewise.
27972 * libio/libc_fatal.c (__libc_fatal): Likewise.
27973 * libio/memstream.c (__open_memstream): Likewise.
27974 (_IO_mem_sync): Likewise.
27975 (_IO_mem_finish): Likewise.
27976 * libio/oldfileops.c (_IO_old_file_init): Likewise.
27977 (_IO_old_file_close_it): Likewise.
27978 (_IO_old_file_finish): Likewise.
27979 (_IO_old_file_fopen): Likewise.
27980 (_IO_old_file_attach): Likewise.
27981 (_IO_old_file_setbuf): Likewise.
27982 (_IO_old_do_write): Likewise.
27983 (old_do_write): Likewise.
27984 (_IO_old_file_underflow): Likewise.
27985 (_IO_old_file_overflow): Likewise.
27986 (_IO_old_file_sync): Likewise.
27987 (_IO_old_file_seekoff): Likewise.
27988 (_IO_old_file_write): Likewise.
27989 (_IO_old_file_xsputn): Likewise.
27990 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27991 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27992 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27993 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27994 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27995 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27996 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27997 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27998 (_IO_old_popen): Likewise.
27999 (_IO_old_proc_close): Likewise.
28000 * libio/oldpclose.c (__old_pclose): Likewise.
28001 * libio/pclose.c (__new_pclose): Likewise.
28002 * libio/peekc.c (_IO_peekc_locked): Likewise.
28003 * libio/putc.c (_IO_putc): Likewise.
28004 * libio/putc_u.c (putc_unlocked): Likewise.
28005 * libio/putchar.c (putchar): Likewise.
28006 * libio/putchar_u.c (putchar_unlocked): Likewise.
28007 * libio/putwc.c (putwc): Likewise.
28008 * libio/putwc_u.c (putwc_unlocked): Likewise.
28009 * libio/putwchar.c (putwchar): Likewise.
28010 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28011 * libio/rewind.c (rewind): Likewise.
28012 * libio/setbuf.c (setbuf): Likewise.
28013 * libio/setlinebuf.c (setlinebuf): Likewise.
28014 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28015 * libio/vscanf.c (_IO_vscanf): Likewise.
28016 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28017 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28018 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28019 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28020 (_IO_switch_to_main_wget_area): Likewise.
28021 (_IO_switch_to_wbackup_area): Likewise.
28022 (_IO_wsetb): Likewise.
28023 (_IO_wdefault_pbackfail): Likewise.
28024 (_IO_wdefault_finish): Likewise.
28025 (_IO_wdefault_uflow): Likewise.
28026 (__woverflow): Likewise.
28027 (__wuflow): Likewise.
28028 (__wunderflow): Likewise.
28029 (_IO_wdefault_xsputn): Likewise.
28030 (_IO_wdefault_xsgetn): Likewise.
28031 (_IO_wdoallocbuf): Likewise.
28032 (_IO_wdefault_doallocate): Likewise.
28033 (_IO_switch_to_wget_mode): Likewise.
28034 (_IO_free_wbackup_area): Likewise.
28035 (_IO_switch_to_wput_mode): Likewise.
28036 (_IO_sputbackwc): Likewise.
28037 (_IO_sungetwc): Likewise.
28038 (_IO_adjust_wcolumn): Likewise.
28039 (_IO_init_wmarker): Likewise.
28040 (_IO_wmarker_delta): Likewise.
28041 (_IO_seekwmark): Likewise.
28042 (_IO_unsave_wmarkers): Likewise.
28043 * libio/wmemstream.c (open_wmemstream): Likewise.
28044 (_IO_wmem_sync): Likewise.
28045 (_IO_wmem_finish): Likewise.
28046 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28047 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28048 * locale/programs/simple-hash.c (init_hash): Likewise.
28049 (delete_hash): Likewise.
28050 (insert_entry): Likewise.
28051 (set_entry): Likewise.
28052 (next_prime): Likewise.
28053 (is_prime): Likewise.
28054 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28055 (xmalloc): Likewise.
28056 (xrealloc): Likewise.
28057 * locale/programs/xstrdup.c (xstrdup): Likewise.
28058 * localedata/collate-test.c (xstrcoll): Likewise.
28059 * localedata/xfrm-test.c (xstrcmp): Likewise.
28060 * login/getlogin_r.c (__getlogin_r): Likewise.
28061 * login/getpt.c (__posix_openpt): Likewise.
28062 * login/login_tty.c (login_tty): Likewise.
28063 * login/setlogin.c (setlogin): Likewise.
28064 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28065 (mach_msg_destroy_port): Likewise.
28066 (mach_msg_destroy_memory): Likewise.
28067 * malloc/mcheck.c (flood): Likewise.
28068 * misc/acct.c (acct): Likewise.
28069 * misc/brk.c (__brk): Likewise.
28070 * misc/chflags.c (chflags): Likewise.
28071 * misc/chroot.c (chroot): Likewise.
28072 * misc/fchflags.c (fchflags): Likewise.
28073 * misc/fstab.c (getfsspec): Likewise.
28074 (getfsfile): Likewise.
28075 * misc/fsync.c (fsync): Likewise.
28076 * misc/ftruncate.c (__ftruncate): Likewise.
28077 * misc/ftruncate64.c (__ftruncate64): Likewise.
28078 * misc/getdomain.c (getdomainname): Likewise.
28079 (getdomainname): Likewise.
28080 * misc/gethostname.c (__gethostname): Likewise.
28081 * misc/getpass.c (getpass): Likewise.
28082 * misc/getttyent.c (skip): Likewise.
28083 (value): Likewise.
28084 * misc/gtty.c (gtty): Likewise.
28085 * misc/hsearch.c (hsearch): Likewise.
28086 (hcreate): Likewise.
28087 * misc/hsearch_r.c (__hcreate_r): Likewise.
28088 (__hdestroy_r): Likewise.
28089 * misc/ioctl.c (__ioctl): Likewise.
28090 * misc/mkdtemp.c (mkdtemp): Likewise.
28091 * misc/mkostemp.c (mkostemp): Likewise.
28092 * misc/mkostemp64.c (mkostemp64): Likewise.
28093 * misc/mkostemps.c (mkostemps): Likewise.
28094 * misc/mkostemps64.c (mkostemps64): Likewise.
28095 * misc/mkstemp.c (mkstemp): Likewise.
28096 * misc/mkstemp64.c (mkstemp64): Likewise.
28097 * misc/mkstemps.c (mkstemps): Likewise.
28098 * misc/mkstemps64.c (mkstemps64): Likewise.
28099 * misc/mktemp.c (__mktemp): Likewise.
28100 * misc/preadv.c (preadv): Likewise.
28101 * misc/preadv64.c (preadv64): Likewise.
28102 * misc/pwritev.c (pwritev): Likewise.
28103 * misc/pwritev64.c (pwritev64): Likewise.
28104 * misc/readv.c (__readv): Likewise.
28105 * misc/revoke.c (revoke): Likewise.
28106 * misc/setdomain.c (setdomainname): Likewise.
28107 * misc/setegid.c (setegid): Likewise.
28108 * misc/seteuid.c (seteuid): Likewise.
28109 * misc/sethostid.c (sethostid): Likewise.
28110 * misc/sethostname.c (sethostname): Likewise.
28111 * misc/setregid.c (__setregid): Likewise.
28112 * misc/setreuid.c (__setreuid): Likewise.
28113 * misc/sstk.c (sstk): Likewise.
28114 * misc/stty.c (stty): Likewise.
28115 * misc/syscall.c (syscall): Likewise.
28116 * misc/syslog.c (setlogmask): Likewise.
28117 * misc/truncate.c (__truncate): Likewise.
28118 * misc/truncate64.c (truncate64): Likewise.
28119 * misc/ualarm.c (ualarm): Likewise.
28120 * misc/usleep.c (usleep): Likewise.
28121 * misc/ustat.c (ustat): Likewise.
28122 * misc/writev.c (__writev): Likewise.
28123 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28124 * nptl/old_pthread_cond_broadcast.c
28125 (__pthread_cond_broadcast_2_0): Likewise.
28126 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28127 Likewise.
28128 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28129 Likewise.
28130 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28131 Likewise.
28132 * nptl/pt-raise.c (raise): Likewise.
28133 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28134 Likewise.
28135 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28136 * nptl/pthread_barrierattr_destroy.c
28137 (pthread_barrierattr_destroy): Likewise.
28138 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28139 Likewise.
28140 * nptl/pthread_barrierattr_setpshared.c
28141 (pthread_barrierattr_setpshared): Likewise.
28142 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28143 Likewise.
28144 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28145 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28146 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28147 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28148 Likewise.
28149 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28150 Likewise.
28151 * nptl/pthread_condattr_getpshared.c
28152 (pthread_condattr_getpshared): Likewise.
28153 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28154 Likewise.
28155 * nptl/pthread_condattr_setpshared.c
28156 (pthread_condattr_setpshared): Likewise.
28157 * nptl/pthread_detach.c (pthread_detach): Likewise.
28158 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28159 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28160 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28161 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28162 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28163 Likewise.
28164 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28165 Likewise.
28166 * nptl/pthread_mutex_getprioceiling.c
28167 (pthread_mutex_getprioceiling): Likewise.
28168 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28169 Likewise.
28170 * nptl/pthread_mutexattr_getprotocol.c
28171 (pthread_mutexattr_getprotocol): Likewise.
28172 * nptl/pthread_mutexattr_getpshared.c
28173 (pthread_mutexattr_getpshared): Likewise.
28174 * nptl/pthread_mutexattr_getrobust.c
28175 (pthread_mutexattr_getrobust): Likewise.
28176 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28177 Likewise.
28178 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28179 Likewise.
28180 * nptl/pthread_mutexattr_setprioceiling.c
28181 (pthread_mutexattr_setprioceiling): Likewise.
28182 * nptl/pthread_mutexattr_setprotocol.c
28183 (pthread_mutexattr_setprotocol): Likewise.
28184 * nptl/pthread_mutexattr_setpshared.c
28185 (pthread_mutexattr_setpshared): Likewise.
28186 * nptl/pthread_mutexattr_setrobust.c
28187 (pthread_mutexattr_setrobust): Likewise.
28188 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28189 Likewise.
28190 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28191 Likewise.
28192 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28193 Likewise.
28194 * nptl/pthread_rwlockattr_getkind_np.c
28195 (pthread_rwlockattr_getkind_np): Likewise.
28196 * nptl/pthread_rwlockattr_getpshared.c
28197 (pthread_rwlockattr_getpshared): Likewise.
28198 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28199 Likewise.
28200 * nptl/pthread_rwlockattr_setkind_np.c
28201 (pthread_rwlockattr_setkind_np): Likewise.
28202 * nptl/pthread_rwlockattr_setpshared.c
28203 (pthread_rwlockattr_setpshared): Likewise.
28204 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28205 Likewise.
28206 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28207 Likewise.
28208 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28209 Likewise.
28210 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28211 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28212 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28213 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28214 * nptl/sem_close.c (sem_close): Likewise.
28215 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28216 * nptl/sem_init.c (__old_sem_init): Likewise.
28217 * nptl/sigaction.c (__sigaction): Likewise.
28218 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28219 * posix/_exit.c (_exit): Likewise.
28220 * posix/alarm.c (alarm): Likewise.
28221 * posix/confstr.c (confstr): Likewise.
28222 * posix/fpathconf.c (__fpathconf): Likewise.
28223 * posix/getgroups.c (__getgroups): Likewise.
28224 * posix/getpgid.c (__getpgid): Likewise.
28225 * posix/group_member.c (__group_member): Likewise.
28226 * posix/pathconf.c (__pathconf): Likewise.
28227 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28228 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28229 * posix/setgid.c (__setgid): Likewise.
28230 * posix/setpgid.c (__setpgid): Likewise.
28231 * posix/setuid.c (__setuid): Likewise.
28232 * posix/sleep.c (__sleep): Likewise.
28233 * posix/sysconf.c (__sysconf): Likewise.
28234 * posix/times.c (__times): Likewise.
28235 * posix/uname.c (__uname): Likewise.
28236 * posix/waitid.c (__waitid): Likewise.
28237 * pwd/getpw.c (__getpw): Likewise.
28238 * resolv/base64.c (b64_pton): Likewise.
28239 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28240 * resolv/gethnamaddr.c (Dprintf): Likewise.
28241 (gethostbyname): Likewise.
28242 (gethostbyname2): Likewise.
28243 (gethostbyaddr): Likewise.
28244 (_sethtent): Likewise.
28245 (_gethtbyname): Likewise.
28246 (_gethtbyname2): Likewise.
28247 (_gethtbyaddr): Likewise.
28248 (map_v4v6_address): Likewise.
28249 (map_v4v6_hostent): Likewise.
28250 (addrsort): Likewise.
28251 (ht_sethostent): Likewise.
28252 (ht_gethostbyname): Likewise.
28253 (ht_gethostbyaddr): Likewise.
28254 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28255 (inet_net_ntop_ipv4): Likewise.
28256 * resolv/inet_neta.c (inet_neta): Likewise.
28257 * resolv/inet_ntop.c (inet_ntop): Likewise.
28258 (inet_ntop4): Likewise.
28259 (inet_ntop6): Likewise.
28260 * resolv/inet_pton.c (__inet_pton): Likewise.
28261 (inet_pton4): Likewise.
28262 (inet_pton6): Likewise.
28263 * resolv/res_debug.c (loc_aton): Likewise.
28264 (loc_ntoa): Likewise.
28265 * resource/getpriority.c (__getpriority): Likewise.
28266 * resource/getrusage.c (__getrusage): Likewise.
28267 * resource/nice.c (nice): Likewise.
28268 * resource/setpriority.c (__setpriority): Likewise.
28269 * resource/setrlimit64.c (setrlimit64): Likewise.
28270 * resource/vlimit.c (vlimit): Likewise.
28271 * resource/vtimes.c (vtimes): Likewise.
28272 * rt/aio_error.c (aio_error): Likewise.
28273 * rt/aio_return.c (aio_return): Likewise.
28274 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28275 * signal/kill.c (__kill): Likewise.
28276 * signal/killpg.c (killpg): Likewise.
28277 * signal/raise.c (raise): Likewise.
28278 * signal/sigaction.c (__sigaction): Likewise.
28279 * signal/sigaddset.c (sigaddset): Likewise.
28280 * signal/sigaltstack.c (sigaltstack): Likewise.
28281 * signal/sigandset.c (sigandset): Likewise.
28282 * signal/sigblock.c (__sigblock): Likewise.
28283 * signal/sigdelset.c (sigdelset): Likewise.
28284 * signal/sigempty.c (sigemptyset): Likewise.
28285 * signal/sigfillset.c (sigfillset): Likewise.
28286 * signal/sighold.c (sighold): Likewise.
28287 * signal/sigignore.c (sigignore): Likewise.
28288 * signal/sigintr.c (siginterrupt): Likewise.
28289 * signal/sigisempty.c (sigisemptyset): Likewise.
28290 * signal/sigismem.c (sigismember): Likewise.
28291 * signal/signal.c (signal): Likewise.
28292 * signal/sigorset.c (sigorset): Likewise.
28293 * signal/sigpause.c (__sigpause): Likewise.
28294 * signal/sigpending.c (sigpending): Likewise.
28295 * signal/sigprocmask.c (__sigprocmask): Likewise.
28296 * signal/sigrelse.c (sigrelse): Likewise.
28297 * signal/sigreturn.c (__sigreturn): Likewise.
28298 * signal/sigset.c (sigset): Likewise.
28299 * signal/sigsetmask.c (__sigsetmask): Likewise.
28300 * signal/sigstack.c (sigstack): Likewise.
28301 * signal/sigsuspend.c (__sigsuspend): Likewise.
28302 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28303 * signal/sysv_signal.c (__sysv_signal): Likewise.
28304 * socket/accept.c (accept): Likewise.
28305 * socket/accept4.c (__libc_accept4): Likewise.
28306 * socket/bind.c (__bind): Likewise.
28307 * socket/connect.c (__connect): Likewise.
28308 * socket/getpeername.c (getpeername): Likewise.
28309 * socket/getsockname.c (__getsockname): Likewise.
28310 * socket/getsockopt.c (getsockopt): Likewise.
28311 * socket/listen.c (__listen): Likewise.
28312 * socket/recv.c (__recv): Likewise.
28313 * socket/recvmsg.c (__recvmsg): Likewise.
28314 * socket/send.c (__send): Likewise.
28315 * socket/sendmsg.c (__sendmsg): Likewise.
28316 * socket/shutdown.c (shutdown): Likewise.
28317 * socket/sockatmark.c (sockatmark): Likewise.
28318 * socket/socket.c (__socket): Likewise.
28319 * stdio-common/ctermid.c (ctermid): Likewise.
28320 * stdio-common/cuserid.c (cuserid): Likewise.
28321 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28322 * stdio-common/remove.c (remove): Likewise.
28323 * stdio-common/rename.c (rename): Likewise.
28324 * stdio-common/renameat.c (renameat): Likewise.
28325 * stdio-common/tempname.c (__gen_tempname): Likewise.
28326 * stdio-common/xbug.c (InitBuffer): Likewise.
28327 (AppendToBuffer): Likewise.
28328 (ReadFile): Likewise.
28329 * stdlib/a64l.c (a64l): Likewise.
28330 * stdlib/drand48_r.c (drand48_r): Likewise.
28331 * stdlib/getcontext.c (getcontext): Likewise.
28332 * stdlib/getenv.c (getenv): Likewise.
28333 * stdlib/l64a.c (l64a): Likewise.
28334 * stdlib/llabs.c (llabs): Likewise.
28335 * stdlib/lldiv.c (lldiv): Likewise.
28336 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28337 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28338 * stdlib/putenv.c (putenv): Likewise.
28339 * stdlib/random.c (__srandom): Likewise.
28340 (__initstate): Likewise.
28341 (__setstate): Likewise.
28342 * stdlib/random_r.c (__srandom_r): Likewise.
28343 (__setstate_r): Likewise.
28344 (__random_r): Likewise.
28345 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28346 * stdlib/setcontext.c (setcontext): Likewise.
28347 * stdlib/setenv.c (setenv): Likewise.
28348 (unsetenv): Likewise.
28349 * stdlib/srand48.c (srand48): Likewise.
28350 * stdlib/srand48_r.c (__srand48_r): Likewise.
28351 * stdlib/swapcontext.c (swapcontext): Likewise.
28352 * stdlib/system.c (__libc_system): Likewise.
28353 * stdlib/tst-strtod.c (expand): Likewise.
28354 * stdlib/tst-strtol.c (expand): Likewise.
28355 * stdlib/tst-strtoll.c (expand): Likewise.
28356 * streams/fattach.c (fattach): Likewise.
28357 * streams/fdetach.c (fdetach): Likewise.
28358 * streams/getmsg.c (getmsg): Likewise.
28359 * streams/isastream.c (isastream): Likewise.
28360 * string/ffs.c (__ffs): Likewise.
28361 * string/ffsll.c (ffsll): Likewise.
28362 * string/memcmp.c (memcmp_common_alignment): Likewise.
28363 (memcmp_not_common_alignment): Likewise.
28364 (MEMCMP): Likewise.
28365 * string/memcpy.c (memcpy): Likewise.
28366 * string/memmove.c (MEMMOVE): Likewise.
28367 * string/memset.c (memset): Likewise.
28368 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28369 * string/strchrnul.c (STRCHRNUL): Likewise.
28370 * string/strerror.c (strerror): Likewise.
28371 * string/strndup.c (__strndup): Likewise.
28372 * string/strverscmp.c (__strverscmp): Likewise.
28373 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28374 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28375 (clnttcp_freeres): Likewise.
28376 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28377 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28378 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28379 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28380 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28381 (xdr_callhdr): Likewise.
28382 * sunrpc/rpcinfo.c (udpping): Likewise.
28383 (tcpping): Likewise.
28384 (pstatus): Likewise.
28385 (pmapdump): Likewise.
28386 (brdcst): Likewise.
28387 (deletereg): Likewise.
28388 (getprognum): Likewise.
28389 (getvers): Likewise.
28390 (get_inet_address): Likewise.
28391 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28392 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28393 (svcudp_stat): Likewise.
28394 (svcudp_recv): Likewise.
28395 (svcudp_reply): Likewise.
28396 (svcudp_getargs): Likewise.
28397 (svcudp_freeargs): Likewise.
28398 (svcudp_destroy): Likewise.
28399 * sunrpc/xdr.c (xdr_bytes): Likewise.
28400 (xdr_netobj): Likewise.
28401 (xdr_string): Likewise.
28402 (xdr_wrapstring): Likewise.
28403 * sunrpc/xdr_float.c (xdr_float): Likewise.
28404 (xdr_double): Likewise.
28405 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28406 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28407 * sysvipc/ftok.c (ftok): Likewise.
28408 * sysvipc/msgctl.c (msgctl): Likewise.
28409 * sysvipc/msgget.c (msgget): Likewise.
28410 * sysvipc/msgrcv.c (msgrcv): Likewise.
28411 * sysvipc/msgsnd.c (msgsnd): Likewise.
28412 * sysvipc/semget.c (semget): Likewise.
28413 * sysvipc/semop.c (semop): Likewise.
28414 * sysvipc/shmat.c (shmat): Likewise.
28415 * sysvipc/shmctl.c (shmctl): Likewise.
28416 * sysvipc/shmdt.c (shmdt): Likewise.
28417 * sysvipc/shmget.c (shmget): Likewise.
28418 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28419 * termios/speed.c (cfgetospeed): Likewise.
28420 (cfgetispeed): Likewise.
28421 (cfsetospeed): Likewise.
28422 (cfsetispeed): Likewise.
28423 * termios/tcflow.c (tcflow): Likewise.
28424 * termios/tcflush.c (tcflush): Likewise.
28425 * termios/tcgetattr.c (__tcgetattr): Likewise.
28426 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28427 * termios/tcgetsid.c (tcgetsid): Likewise.
28428 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28429 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28430 * time/adjtime.c (__adjtime): Likewise.
28431 * time/dysize.c (dysize): Likewise.
28432 * time/ftime.c (ftime): Likewise.
28433 * time/getitimer.c (__getitimer): Likewise.
28434 * time/gettimeofday.c (__gettimeofday): Likewise.
28435 * time/gmtime.c (__gmtime_r): Likewise.
28436 (gmtime): Likewise.
28437 * time/localtime.c (__localtime_r): Likewise.
28438 (localtime): Likewise.
28439 * time/offtime.c (__offtime): Likewise.
28440 * time/settimeofday.c (__settimeofday): Likewise.
28441 * time/stime.c (stime): Likewise.
28442 * time/strftime_l.c (tm_diff): Likewise.
28443 (iso_week_days): Likewise.
28444 * time/strptime.c (strptime): Likewise.
28445 * time/time.c (time): Likewise.
28446 * time/timespec_get.c (timespec_get): Likewise.
28447 * time/tzset.c (tzset_internal): Likewise.
28448 (compute_change): Likewise.
28449 (__tz_compute): Likewise.
28450 * wcsmbs/btowc.c (__btowc): Likewise.
28451 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28452 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28453 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28454 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28455 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28456 * wcsmbs/wcscat.c (__wcscat): Likewise.
28457 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28458 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28459 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28460 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28461 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28462 * wcsmbs/wcslen.c (__wcslen): Likewise.
28463 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28464 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28465 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28466 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28467 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28468 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28469 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28470 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28471 * wcsmbs/wcstok.c (wcstok): Likewise.
28472 * wcsmbs/wctob.c (wctob): Likewise.
28473 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28474 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28475 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28476 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28477 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28478 * wcsmbs/wmemset.c (__wmemset): Likewise.
28479 * wctype/wcfuncs.c (__towlower): Likewise.
28480 (__towupper): Likewise.
28481
28482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28483 (lll_unlock_elision): Add adapt_count parameter.
28484
28485 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28486
28487 * sysdeps/nptl/configure.ac: Do not give errors based on the
28488 results of top-level configure tests.
28489 * sysdeps/nptl/configure: Regenerated.
28490
28491 * configure.ac (libc_cv_Bgroup): Remove configure test.
28492 * configure: Regenerated.
28493 * config.make.in (have-Bgroup): Remove variable.
28494
28495 * configure.ac (sizeof_long_double): Remove configure test.
28496 * configure: Regenerated.
28497 * config.make.in (sizeof-long-double): Remove variable.
28498
28499 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28500 * configure: Regenerated.
28501 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28502 variable.
28503 (exceptions): Likewise.
28504 * sysdeps/arm/configure: Regenerated.
28505 * config.make.in (exceptions): Remove variable.
28506 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28507 $(exceptions).
28508 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28509 (CFLAGS-vdprintf_chk.c): Likewise.
28510 (CFLAGS-printf_chk.c): Likewise.
28511 (CFLAGS-fprintf_chk.c): Likewise.
28512 (CFLAGS-vprintf_chk.c): Likewise.
28513 (CFLAGS-vfprintf_chk.c): Likewise.
28514 (CFLAGS-gets_chk.c): Likewise.
28515 (CFLAGS-fgets_chk.c): Likewise.
28516 (CFLAGS-fgets_u_chk.c): Likewise.
28517 (CFLAGS-fread_chk.c): Likewise.
28518 (CFLAGS-fread_u_chk.c): Likewise.
28519 (CFLAGS-wprintf_chk.c): Likewise.
28520 (CFLAGS-fwprintf_chk.c): Likewise.
28521 (CFLAGS-vwprintf_chk.c): Likewise.
28522 (CFLAGS-vfwprintf_chk.c): Likewise.
28523 (CFLAGS-fgetws_chk.c): Likewise.
28524 (CFLAGS-fgetws_u_chk.c): Likewise.
28525 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28526 (CFLAGS-fputc.c): Likewise.
28527 (CFLAGS-fputwc.c): Likewise.
28528 (CFLAGS-freopen64.c): Likewise.
28529 (CFLAGS-freopen.c): Likewise.
28530 (CFLAGS-fseek.c): Likewise.
28531 (CFLAGS-fseeko64.c): Likewise.
28532 (CFLAGS-fseeko.c): Likewise.
28533 (CFLAGS-ftello64.c): Likewise.
28534 (CFLAGS-ftello.c): Likewise.
28535 (CFLAGS-fwide.c): Likewise.
28536 (CFLAGS-genops.c): Likewise.
28537 (CFLAGS-getc.c): Likewise.
28538 (CFLAGS-getchar.c): Likewise.
28539 (CFLAGS-getwc.c): Likewise.
28540 (CFLAGS-getwchar.c): Likewise.
28541 (CFLAGS-iofclose.c): Likewise.
28542 (CFLAGS-iofflush.c): Likewise.
28543 (CFLAGS-iofgetpos64.c): Likewise.
28544 (CFLAGS-iofgetpos.c): Likewise.
28545 (CFLAGS-iofgets.c): Likewise.
28546 (CFLAGS-iofgetws.c): Likewise.
28547 (CFLAGS-iofputs.c): Likewise.
28548 (CFLAGS-iofputws.c): Likewise.
28549 (CFLAGS-iofread.c): Likewise.
28550 (CFLAGS-iofsetpos64.c): Likewise.
28551 (CFLAGS-iofsetpos.c): Likewise.
28552 (CFLAGS-ioftell.c): Likewise.
28553 (CFLAGS-iofwrite.c): Likewise.
28554 (CFLAGS-iogetdelim.c): Likewise.
28555 (CFLAGS-iogetline.c): Likewise.
28556 (CFLAGS-iogets.c): Likewise.
28557 (CFLAGS-iogetwline.c): Likewise.
28558 (CFLAGS-ioputs.c): Likewise.
28559 (CFLAGS-ioseekoff.c): Likewise.
28560 (CFLAGS-ioseekpos.c): Likewise.
28561 (CFLAGS-iosetbuffer.c): Likewise.
28562 (CFLAGS-iosetvbuf.c): Likewise.
28563 (CFLAGS-ioungetc.c): Likewise.
28564 (CFLAGS-ioungetwc.c): Likewise.
28565 (CFLAGS-oldfileops.c): Likewise.
28566 (CFLAGS-oldiofclose.c): Likewise.
28567 (CFLAGS-oldiofgetpos64.c): Likewise.
28568 (CFLAGS-oldiofgetpos.c): Likewise.
28569 (CFLAGS-oldiofsetpos64.c): Likewise.
28570 (CFLAGS-oldiofsetpos.c): Likewise.
28571 (CFLAGS-peekc.c): Likewise.
28572 (CFLAGS-putc.c): Likewise.
28573 (CFLAGS-putchar.c): Likewise.
28574 (CFLAGS-putwc.c): Likewise.
28575 (CFLAGS-putwchar.c): Likewise.
28576 (CFLAGS-rewind.c): Likewise.
28577 (CFLAGS-wfileops.c): Likewise.
28578 (CFLAGS-wgenops.c): Likewise.
28579 (CFLAGS-oldiofopen.c): Likewise.
28580 (CFLAGS-iofopen.c): Likewise.
28581 (CFLAGS-iofopen64.c): Likewise.
28582 (CFLAGS-oldtmpfile.c): Likewise.
28583 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28584 (CFLAGS-fprintf.c): Likewise.
28585 (CFLAGS-printf.c): Likewise.
28586 (CFLAGS-vfwprintf.c): Likewise.
28587 (CFLAGS-vfscanf.c): Likewise.
28588 (CFLAGS-vfwscanf.c): Likewise.
28589 (CFLAGS-fscanf.c): Likewise.
28590 (CFLAGS-scanf.c): Likewise.
28591 (CFLAGS-isoc99_vfscanf.c): Likewise.
28592 (CFLAGS-isoc99_vscanf.c): Likewise.
28593 (CFLAGS-isoc99_fscanf.c): Likewise.
28594 (CFLAGS-isoc99_scanf.c): Likewise.
28595 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28596 (CFLAGS-isoc99_fwscanf.c): Likewise.
28597 (CFLAGS-isoc99_vwscanf.c): Likewise.
28598 (CFLAGS-isoc99_vfwscanf.c): Likewise.
28599
28600 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28601 after mkstemp64.
28602 * login/tst-utmp.c (do_prepare): Likewise.
28603 * rt/tst-aio.c (do_prepare): Likewise.
28604 * rt/tst-aio64.c (do_prepare): Likewise.
28605
28606 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28607
28608 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28609 (__lll_lock_elision): Remove adapt_count decrement...
28610 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28611 (__lll_trylock_elision): Likewise.
28612 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28613 (__lll_unlock_elision): ... to here. And utilize
28614 new adapt_count parameter.
28615 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28616 (__lll_unlock_elision): Update to include adapt_count
28617 parameter.
28618 (lll_unlock_elision): Pass pointer to adapt_count
28619 variable.
28620
28621 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28622
28623 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28624 Add elision adapt_count parameter to list of arguments.
28625 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28626 (lll_unlock_elision): Update with new parameter list
28627 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28628 (lll_unlock_elision): Likewise.
28629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28630 (lll_unlock_elision): Likewise.
28631
28632 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28633
28634 [BZ #19122]
28635 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28636 attribute_hidden.
28637
28638 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28639 attribute_hidden.
28640 [IS_IN (rtld)] (__strdup): Likewise.
28641 [IS_IN (rtld)] (__strerror_r): Likewise.
28642 [IS_IN (rtld)] (__strsep_g): Likewise.
28643 [IS_IN (rtld)] (memchr): Likewise.
28644 [IS_IN (rtld)] (memcmp): Likewise.
28645 [IS_IN (rtld)] (memcpy): Likewise.
28646 [IS_IN (rtld)] (memmove): Likewise.
28647 [IS_IN (rtld)] (memset): Likewise.
28648 [IS_IN (rtld)] (rawmemchr): Likewise.
28649 [IS_IN (rtld)] (stpcpy): Likewise.
28650 [IS_IN (rtld)] (strchr): Likewise.
28651 [IS_IN (rtld)] (strcmp): Likewise.
28652 [IS_IN (rtld)] (strlen): Likewise.
28653 [IS_IN (rtld)] (strnlen): Likewise.
28654 [IS_IN (rtld)] (strsep): Likewise.
28655
28656 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28657 attribute_hidden.
28658 [IS_IN (rtld)] (__strtoul_internal): Likewise.
28659
28660 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28661 attribute_hidden.
28662 [IS_IN (rtld)] (__libc_sigaction): Likewise.
28663
28664 * include/setjmp.h (__longjmp): Add attribute_hidden.
28665 [IS_IN (rtld)] (__sigsetjmp): Likewise.
28666
28667 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28668 Add attribute_hidden.
28669
28670 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28671 [IS_IN (rtld)] (__open): Likewise.
28672 [IS_IN (rtld)] (__fcntl): Likewise.
28673
28674 * include/dirent.h (__opendirat): Add attribute_hidden.
28675 (__getdents): Likewise.
28676 (__getdents64): Likewise.
28677 (__alloc_dir): Likewise.
28678 [IS_IN (rtld)] (__closedir): Likewise.
28679 [IS_IN (rtld)] (__fdopendir): Likewise.
28680 [IS_IN (rtld)] (__readdir): Likewise.
28681 [IS_IN (rtld)] (__readdir64): Likewise.
28682 [IS_IN (rtld)] (__rewinddir): Likewise.
28683
28684 * include/dlfcn.h (_dl_catch_error): Moved to ...
28685 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28686 attribute_hidden.
28687
28688 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28689 (_itoa_word): Likewise.
28690
28691 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
28692 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28693 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28694 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
28695 (_dl_higher_prime_number): Likewise.
28696 (_dl_debug_printf_c): Likewise.
28697 (_dl_signal_cerror): Likewise.
28698 (_dl_receive_error): Likewise.
28699 (_dl_reloc_bad_type): Likewise.
28700 (_dl_resolve_conflicts): Likewise.
28701 (_dl_check_all_versions): Likewise.
28702 (_dl_check_map_versions): Likewise.
28703 (_dl_sort_fini): Likewise.
28704 (_dl_debug_initialize): Likewise.
28705 (_dl_init_paths): Likewise.
28706 (_dl_show_auxv): Likewise.
28707 (_dl_next_ld_env_entry): Likewise.
28708 (_dl_important_hwcaps): Likewise.
28709 (_dl_load_cache_lookup): Likewise.
28710 (_dl_update_slotinfo): Likewise.
28711 (_dl_show_scope): Likewise.
28712
28713 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28714 attribute_hidden.
28715 (_wordcopy_fwd_dest_aligned): Likewise.
28716 (_wordcopy_bwd_aligned): Likewise.
28717 (_wordcopy_bwd_dest_aligned): Likewise.
28718
28719 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28720 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28721 Likewise.
28722 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28723 Likewise.
28724 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28725
28726 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28727
28728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28729 GCC 5 requirement.
28730
28731 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28732
28733 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28734 test.
28735 * sysdeps/i386/configure: Regenerated.
28736 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28737 code unconditional.
28738
28739 * configure.ac (libc_cv_asm_previous_directive): Remove configure
28740 test.
28741 (libc_cv_asm_popsection_directive): Likewise.
28742 * configure: Regenerated.
28743 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28744 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28745 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28746 (__make_section_unallocated): Make definition unconditional.
28747 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28748 Remove conditional definition.
28749 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28750 (__make_section_unallocated): Likewise.
28751
28752 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28753 * configure: Regenerated.
28754 * config.make.in (static-libgcc): Remove variable.
28755 * Makerules (build-shlib-helper): Use -static-libgcc instead of
28756 $(static-libgcc).
28757 (build-module-helper): Likewise.
28758
28759 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28760 * configure: Regenerated.
28761
28762 2015-10-15 Florian Weimer <fweimer@redhat.com>
28763
28764 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28765 (struct char_buffer): New type.
28766 (char_buffer_start, char_buffer_size, char_buffer_error)
28767 (char_buffer_rewind, char_buffer_add): New functions.
28768 (ADDW): Remove macro, replaced by the char_buffer_add function.
28769 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28770 of extend_alloca. Make control flow more explicit.
28771
28772 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #19137]
28775 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28776 Add -fomit-frame-pointer.
28777 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28778
28779 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28780
28781 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28782 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28784 only if !__GNUC_PREREQ (5,0).
28785 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28786 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28787 (INTERNAL_SYSCALL_NCS): Likewise.
28788 (LOADREGS_0): New macro for GCC 5.
28789 (ASMARGS_0): Likewise.
28790 (LOADREGS_1): Likewise.
28791 (ASMARGS_1): Likewise.
28792 (LOADREGS_2): Likewise.
28793 (ASMARGS_2): Likewise.
28794 (LOADREGS_3): Likewise.
28795 (ASMARGS_3): Likewise.
28796 (LOADREGS_4): Likewise.
28797 (ASMARGS_4): Likewise.
28798 (LOADREGS_5): Likewise.
28799 (ASMARGS_5): Likewise.
28800 (LOADREGS_6): Likewise.
28801 (ASMARGS_6): Likewise.
28802
28803 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28806 -fomit-frame-pointer.
28807 (CFLAGS-mmap64.c): Likewise.
28808 (CFLAGS-semtimedop.c): Likewise.
28809 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28810 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28812 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28813
28814 2015-10-15 Florian Weimer <fweimer@redhat.com>
28815
28816 [BZ #18928]
28817 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28818 _dl_pointer_guard member.
28819 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28820 initializer.
28821 (security_init): Always set up pointer guard.
28822 (process_envvars): Do not process LD_POINTER_GUARD.
28823
28824 2015-10-14 Joseph Myers <joseph@codesourcery.com>
28825
28826 [BZ #19134]
28827 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28828 (.LC2): Likewise.
28829 (.LC3): Likewise.
28830 (__lround): Do not add 0.5 to integer or out-of-range arguments.
28831
28832 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
28833
28834 [BZ #19129]
28835 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28836 r0 and r1.
28837
28838 2015-10-14 Namhyung Kim <namhyung@gmail.com>
28839
28840 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28841
28842 2015-10-14 Carlos O'Donell <carlos@redhat.com>
28843
28844 * include/stap-probe.h: Fix macro definition formatting.
28845
28846 2015-10-14 Florian Weimer <fweimer@redhat.com>
28847
28848 [BZ #19074]
28849 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28850 load and store num_ifs.
28851
28852 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28853
28854 [BZ #18822]
28855 * sysdeps/unix/sysv/linux/sched_getaffinity.c
28856 (__sched_getaffinity_new): Add libc_hidden_proto and
28857 libc_hidden_def.
28858
28859 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28860
28861 [BZ #19007]
28862 * scripts/localplt.awk: Also allow GOT references.
28863 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28864 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28865 with "+ REL R_386_GLOB_DAT".
28866 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28867 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28868
28869 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28872 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28873 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28874 Likewise.
28875 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28876 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28877 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28878 INTERNAL_SYSCALLINTERNAL_SYSCALL and
28879 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28880 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28881 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28882 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28883 Likewise.
28884 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28885
28886 2015-10-13 Joseph Myers <joseph@codesourcery.com>
28887
28888 [BZ #19125]
28889 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28890 <math_private.h> and <stdint.h>.
28891 (__llround): Avoid conversions to and from long long int, and
28892 subtractions, where those might raise spurious exceptions.
28893 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28894 <math_private.h> and <stdint.h>.
28895 (__llroundf): Avoid conversions to and from long long int, and
28896 subtractions, where those might raise spurious exceptions.
28897
28898 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28901 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28902 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28903 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28904 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28905 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28906 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28907 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28908 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28909 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28910 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28911 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28912 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28913 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28914 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28915 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28916 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28917 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28918 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28919 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28921 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28922 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28923 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28924 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28925 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28926 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28927 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28929 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28930 (__xstat64_conv): Likewise.
28931 (__xstat32_conv): Likewise.
28932
28933 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28934
28935 * sysdeps/unix/sysv/linux/sysdep.h: New file.
28936 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28937 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28938 <sysdeps/unix/sysv/linux/sysdep.h>.
28939 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28940 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28941 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28942 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28943 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28944 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28945 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28946 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28947 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28952 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28953 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28955 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28956 (sysdep-dl-routines): Add sysdep.
28957 [$(subdir) == nptl] (libpthread-routines): Likewise.
28958 [$(subdir) == rt] (librt-routines): Likewise.
28959 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28960 PIC when branching to SYSCALL_ERROR_LABEL.
28961 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28963 <sysdeps/unix/sysv/linux/sysdep.h>.
28964 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28965 (SYSCALL_ERROR_ERRNO): Removed.
28966 (SYSCALL_ERROR_HANDLER): Changed to empty.
28967 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28968 (__syscall_error): New prototype.
28969 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28970 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28971
28972 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28973
28974 [BZ #19124]
28975 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28976 (_dl_runtime_resolve_avx512): Make it a hidden alias of
28977 _dl_runtime_resolve_avx.
28978 (_dl_runtime_profile_avx512): Make it a hidden alias of
28979 _dl_runtime_profile_avx.
28980
28981 2015-10-13 Joseph Myers <joseph@codesourcery.com>
28982
28983 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28984 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28985 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28986 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28987
28988 [BZ #16422]
28989 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28990 New configure test.
28991 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28992 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28993 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28994 <math_private.h> and <stdint.h>.
28995 (__llrint): Avoid conversions to long long int where those might
28996 raise spurious exceptions.
28997 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28998 <math_private.h> and <stdint.h>.
28999 (__llrintf): Avoid conversions to long long int where those might
29000 raise spurious exceptions.
29001
29002 2015-10-12 Andreas Schwab <schwab@suse.de>
29003
29004 [BZ #18969]
29005 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29006 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29007 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29008 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29009 $(gen-locales).
29010 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29011 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29012 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29013 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29014 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29015 $(gen-locales).
29016 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29017 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29018 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29019 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29020 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29021 ($(objpfx)tst-ftell-active-handler.out)
29022 ($(objpfx)tst-ftell-append.out)
29023 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29024 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29025 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29026 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29027 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29028 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29029 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29030 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29031 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29032 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29033 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29034 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29035 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29036 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29037 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29038 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29039 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29040 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29041 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29042 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29043 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29044 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29045 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29046 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29047 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29048 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29049 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29050 $(gen-locales).
29051 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29052 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29053 $(gen-locales).
29054 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29055 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29056 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29057 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29058 $(gen-locales).
29059 * libio/tst_wprintf2.c (main): Use explicit locale.
29060 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29061
29062 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29063
29064 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29065 __msg_sig_post.
29066 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29067
29068 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29069
29070 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29071 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29072
29073 * sysdeps/arm/libm-test-ulps: Regenerated.
29074
29075 [BZ #15470]
29076 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29077
29078 [BZ #16399]
29079 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29080 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29081 and <fix-fp-int-convert-overflow.h>.
29082 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29083 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29084 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29085 and <fix-fp-int-convert-overflow.h>.
29086 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29087 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29088 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29089 <fix-fp-int-convert-overflow.h>.
29090 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29091 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29092 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29093 <fix-fp-int-convert-overflow.h>.
29094 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29095 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29096 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29097 and <fix-fp-int-convert-overflow.h>.
29098 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29099 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29100 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29101 <limits.h> and <fix-fp-int-convert-overflow.h>.
29102 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29103 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29104 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29105 and <fix-fp-int-convert-overflow.h>.
29106 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29107 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29108 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29109 and <fix-fp-int-convert-overflow.h>.
29110 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29111 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29112 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29113
29114 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29115
29116 [BZ #18589]
29117 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29118 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29119 $(gen-locales).
29120
29121 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29122 Phil Blundell <pb@pbcl.net>
29123
29124 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29125 * nptl/tst-cancel26.c: New file.
29126 * nptl/tst-cancel27.c: Likewise.
29127
29128 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29131 __ILP32__ isn't defined.
29132 (lrint): Likewise.
29133 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29134 (lrintf): Likewise.
29135 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29136 (lrintl): Likewise.
29137 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29138 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29139 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29140
29141 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29142
29143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29144 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29145
29146 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29147 file.
29148 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29149 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29150
29151 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29152
29153 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29154 configure test.
29155 * sysdeps/i386/configure: Regenerated.
29156 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29157 configure test.
29158 * sysdeps/x86_64/configure: Regenerated.
29159 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29160 Make code unconditional.
29161
29162 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29163 test.
29164 * sysdeps/i386/configure: Regenerated.
29165 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29166 test.
29167 * sysdeps/x86_64/configure: Regenerated.
29168 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29169 Make code unconditional.
29170 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29171 Likewise.
29172 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29173 Likewise.
29174 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29175 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29176 code unconditional.
29177 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29178 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29179 code unconditional.
29180 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29181 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29182 code unconditional.
29183 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29184 code unconditional.
29185 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29186 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29187 code unconditional.
29188 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29189 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29190 code unconditional.
29191 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29192 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29193 code unconditional.
29194 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29195 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29196 code unconditional.
29197 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29198 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29199
29200 [BZ #19095]
29201 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29202 mantissa to long int before shifting left.
29203
29204 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29205
29206 [BZ #19094]
29207 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29208 <limits.h>.
29209 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29210 when result overflows but exception would not result from cast.
29211 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29212 <limits.h>.
29213 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29214 when result overflows but exception would not result from cast.
29215 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29216 <limits.h>.
29217 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29218 when result overflows but exception would not result from cast.
29219 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29220 <limits.h>.
29221 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29222 when result overflows but exception would not result from cast.
29223 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29224 <limits.h>.
29225 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29226 when result overflows but exception would not result from cast.
29227 * math/libm-test.inc (lrint_test_data): Add more tests.
29228 (llrint_test_data): Likewise.
29229
29230 2015-10-08 Roland McGrath <roland@hack.frob.com>
29231
29232 [BZ #18872]
29233 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29234 Move out from under [$(run-built-tests) = yes] conditional.
29235 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29236 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29237
29238 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29239
29240 [BZ #18589]
29241 * string/Makefile (tests): Add bug-strcoll2.
29242 (LOCALES): Add cs_CZ.UTF-8.
29243 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29244
29245 [BZ #18589]
29246 * string/bug-strcoll2.c: New file.
29247 * locale/categories.def: Revert commit
29248 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29249 * locale/langinfo.h: Likewise.
29250 * locale/localeinfo.h: Likewise.
29251 * locale/C-collate.c: Likewise.
29252 * locale/programs/ld-collate.c (collate_output): Likewise.
29253 * string/strcoll_l.c (STRDIFF): Likewise.
29254 (STRCOLL): Likewise.
29255 * wcsmbs/wcscoll_l.c: Likewise.
29256
29257 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29258
29259 * math/libm-test.inc (lround_test_data): Do not expect the absence
29260 of "inexact" for some tests with non-integer arguments.
29261 (llround_test_data): Likewise.
29262
29263 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29264 test.
29265 (libc_cv_cc_sse2avx): Likewise.
29266 * sysdeps/i386/configure: Regenerated.
29267 * sysdeps/i386/i686/multiarch/Makefile
29268 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29269 [$(subdir) = math].
29270 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29271 code unconditional.
29272 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29273 Likewise.
29274 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29275 Likewise.
29276 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29277 Likewise.
29278 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29279 test.
29280 (libc_cv_cc_sse2avx): Likewise.
29281 * sysdeps/x86_64/configure: Regenerated.
29282 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29283 unconditional.
29284 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29285 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29286 unconditional.
29287 (_dl_runtime_profile)
29288 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29289 conditional code.
29290 * sysdeps/x86_64/fpu/multiarch/Makefile
29291 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29293 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29294 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29295 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29296 * sysdeps/x86_64/fpu/multiarch/e_log.c
29297 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29298 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29299 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29300 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29301 Likewise.
29302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29303 Likewise.
29304 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29305 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29306 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29307 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29308 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29309 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29310 (HAVE_SSE2AVX_SUPPORT): Likewise.
29311
29312 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29313
29314 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29315 instead of #pragma optimize.
29316
29317 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29318
29319 [BZ #17195]
29320 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29321 as is similarly done in systrim and _int_free already.
29322
29323 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29324
29325 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29326
29327 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29328
29329 [BZ #19088]
29330 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29331 <limits.h>.
29332 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29333 overflows but exception would not result from cast.
29334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29335 and <limits.h>.
29336 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29337 overflows but exception would not result from cast.
29338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29339 <limits.h>.
29340 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29341 overflows but exception would not result from cast.
29342 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29343 <limits.h>.
29344 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29345 overflows but exception would not result from cast.
29346 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29347 <limits.h>.
29348 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29349 overflows but exception would not result from cast.
29350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29351 <limits.h>.
29352 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29353 overflows but exception would not result from cast.
29354 * math/libm-test.inc (lround_test_data): Add more tests.
29355 (llround_test_data): Likewise.
29356
29357 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29358
29359 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29360 (CFLAGS-ialloc.c): Ditto.
29361 (CFLAGS-scheck.c): Ditto.
29362
29363 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29364
29365 [BZ #19086]
29366 * manual/filesys.texi (Storage Allocation): Fix argument order for
29367 posix_fallocate64.
29368
29369 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29370
29371 [BZ #19085]
29372 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29373 exponent below 48 inside case for non-overflowing exponent.
29374 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29375
29376 2015-10-07 Florian Weimer <fweimer@redhat.com>
29377
29378 * iconvdata/cp737.h (from_idx): Add const.
29379 * iconvdata/cp775.h (from_idx): Likewise.
29380
29381 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29382
29383 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29384 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29385 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29386
29387 [BZ #19079]
29388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29389 file, conditioned on [!_LP64].
29390 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29391 [!_LP64] (__lround): Do not define as function or alias.
29392 [!_LP64] (lround): Likewise.
29393 [!_LP64] (__lroundl): Likewise.
29394 [!_LP64] (lroundl): Likewise.
29395 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29396 macro.
29397 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29398 Likewise.
29399
29400 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29401
29402 * math/libm-test.inc (lrint_test_data): Add more tests.
29403 (llrint_test_data): Likewise.
29404 (lround_test_data): Likewise.
29405 (llround_test_data): Likewise.
29406
29407 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29408 (llrint_test_data): Add tests used for lrint.
29409
29410 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29411 test.
29412 * sysdeps/i386/configure: Regenerated.
29413 * sysdeps/i386/i686/multiarch/Makefile
29414 [$(config-cflags-sse4) = yes]: Make code unconditional.
29415 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29416 Likewise.
29417 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29418 Likewise.
29419 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29420 test.
29421 * sysdeps/x86_64/configure: Regenerated.
29422 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29423 Make code unconditional.
29424 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29425 Likewise.
29426 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29427 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29428
29429 * scripts/rpm2dynsym.sh: Remove file.
29430
29431 2015-10-06 Florian Weimer <fweimer@redhat.com>
29432
29433 * configure.ac (libc_cv_cxx_thread_local): Define.
29434 * configure: Regenerate.
29435 * config.make.in (have-cxx-thread_local): Define.
29436 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29437 (LDLIBS-tst-thread_local1): Define.
29438 (tests): Add tst-thread_local1.
29439 [have-cxx-thread_local != yes] (tests-unsupported): Add
29440 tst-thread_local1.
29441 * nptl/tst-thread_local1.cc: New file.
29442
29443 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29444
29445 [BZ #19078]
29446 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29447 (u_thres): Likewise.
29448 (__expl): Determine whether to call __kernel_standard_l based on
29449 value of result, not argument.
29450
29451 * math/libm-test.inc (scalb_test_data): Add more expectations for
29452 the "inexact" exception.
29453
29454 [BZ #19077]
29455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29456 0.0L for argument 1.0L.
29457
29458 [BZ #19076]
29459 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29460 constant 0.0L when computing infinite result.
29461
29462 2015-10-06 Florian Weimer <fweimer@redhat.com>
29463
29464 [BZ #10432]
29465 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29466 malloc_usable_size.
29467
29468 2015-10-06 Florian Weimer <fweimer@redhat.com>
29469
29470 [BZ #19018]
29471 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29472 Mangle function pointer before storing it.
29473 (__call_tls_dtors): Demangle function pointer before calling it.
29474
29475 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29476
29477 [BZ #19012]
29478 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29479 Clean up on failure.
29480
29481 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29482
29483 [BZ #19071]
29484 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29485 long int variable to store possibly incremented high part of
29486 mantissa.
29487 * math/libm-test.inc (lround_test_data): Add tests used for
29488 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29489 for tests requiring 64-bit long. Do not condition tests on
29490 [TEST_FLOAT] unnecessarily.
29491 (llround_test_data): Add tests used for lround. Add another
29492 expectation for the "inexact" exception. Do not condition tests
29493 on [TEST_FLOAT] unnecessarily.
29494
29495 [BZ #887]
29496 [BZ #19049]
29497 [BZ #19050]
29498 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29499 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29500 <fix-int-fp-convert-zero.h>.
29501 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29502 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29503 <fix-int-fp-convert-zero.h>.
29504 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29505 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29506 <fix-int-fp-convert-zero.h>.
29507 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29508 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29509 <fix-int-fp-convert-zero.h>.
29510 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29511 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29512 <fix-int-fp-convert-zero.h>.
29513 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29514 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29515 <fix-int-fp-convert-zero.h>.
29516 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29517 * sysdeps/ieee754/flt-32/s_erff.c: Include
29518 <fix-int-fp-convert-zero.h>.
29519 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29520 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29521 <fix-int-fp-convert-zero.h>.
29522 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29524 <fix-int-fp-convert-zero.h>.
29525 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29527 <fix-int-fp-convert-zero.h>.
29528 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29529 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29530 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29531 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29532 file.
29533 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29534
29535 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29536
29537 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29538
29539 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29540
29541 [BZ #19059]
29542 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29543 overflowing computation.
29544 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29545 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29547 Likewise.
29548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29549 Likewise.
29550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29551 Likewise.
29552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29553 Likewise.
29554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29556 Likewise.
29557 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29558 Likewise.
29559 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29560
29561 * nss/rewrite_field.c (__nss_rewrite_field): Use
29562 internal_function.
29563 * nss/valid_field.c (__nss_valid_field): Likewise.
29564 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29565
29566 2015-10-02 Florian Weimer <fweimer@redhat.com>
29567
29568 [BZ #18724]
29569 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29570 (__nss_invalid_field_characters, __nss_valid_field)
29571 (__nss_valid_list_field, __nss_rewrite_field): Declare.
29572 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29573 tst-field.c: New file.
29574 * nss/Makefile (routines): Add valid_field, rewrite_field.
29575 (tests-static): Define unconditionally.
29576 (tests): Include tests-static.
29577 [build-static-nss] (tests-static): Use append.
29578 [build-static-nss] (tests): Remove modification.
29579 * nss/getent.c (print_group): Call putgrent. Report error.
29580 (print_gshadow): Call putsgent. Report error.
29581 (print_passwd): Call putpwent. Report error.
29582 (print_shadow): Call putspent. Report error.
29583 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29584 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29585 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
29586 name, password, directory, shell fields for valid syntax. Rewrite
29587 GECOS field to match syntax.
29588 * pwd/Makefile (tests): Add tst-putpwent.
29589 * pwd/tst-putpwent.c: New file.
29590 * grp/putgrent.c (putgrent): Convert to ISO function definition.
29591 Check grName, grpasswd, gr_mem fields for valid syntax.
29592 Change loop variable i to size_t.
29593 * grp/Makefile (tests): Add tst-putgrent.
29594 * grp/tst-putgrent.c: New file.
29595 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29596 valid syntax.
29597 * shadow/Makefile (tests): Add tst-putspent.
29598 * shadow/tst-putspent.c: New file.
29599 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29600 sg_mem fields for valid syntax.
29601 * gshadow/Makefile (tests): Add tst-putsgent.
29602 * gshadow/tst-putsgent.c: New file.
29603
29604 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29605
29606 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29607 assembly instructions.
29608
29609 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29610
29611 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29612 prefix from operands.
29613
29614 2015-10-01 Joseph Myers <joseph@codesourcery.com>
29615
29616 [BZ #16347]
29617 [BZ #19046]
29618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29619 <libc-internal.h>.
29620 (MAXLGM): Do not use diagnostic control macros.
29621 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29622 threshold for ldbl-128ibm.
29623 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29624 instead of multiplying by log then subtracting.
29625 * math/auto-libm-test-in: Add more tests of lgamma.
29626 * math/auto-libm-test-out: Regenerated.
29627
29628 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29629 (TYPE_HEX_DIG): Likewise.
29630 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29631 precisions when printing floating-point numbers.
29632 (check_float_internal): Likewise.
29633
29634 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29635
29636 [BZ #16620]
29637 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29638 of log (10) rounded downward to 48 bits.
29639 (log10_low): Use corresponding low part of log (10).
29640
29641 [BZ #19032]
29642 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29643 compute result as (x - x) / (x - x) not as 0 / 0.
29644 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29645 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29646
29647 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29648 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29649 and expm1.
29650 * math/auto-libm-test-out: Regenerated.
29651 * math/libm-test.inc (acos_test_data): Add more tests.
29652 (asin_test_data): Likewise.
29653 (asinh_test_data): Likewise.
29654 (atan_test_data): Likewise.
29655 (atanh_test_data): Likewise.
29656 (atan2_test_data): Likewise.
29657 (cbrt_test_data): Likewise.
29658 (ceil_test_data): Likewise.
29659 (copysign_test_data): Likewise.
29660 (cos_test_data): Likewise.
29661 (cosh_test_data): Likewise.
29662 (erf_test_data): Likewise.
29663 (erfc_test_data): Likewise.
29664 (exp_test_data): Likewise.
29665 (exp10_test_data): Likewise.
29666 (exp2_test_data): Likewise.
29667 (expm1_test_data): Likewise.
29668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29669
29670 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
29671
29672 [BZ #19006]
29673 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29674 to ...
29675 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29676 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29677 to ...
29678 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29679 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29680 to ...
29681 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29682 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29683 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29684 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29685 to ...
29686 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29687 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29688 Moved to ...
29689 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
29690 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29691 Moved to ...
29692 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
29693 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
29694 to ...
29695 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
29696 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29697 Moved to ...
29698 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
29699 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
29700 to ...
29701 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29702 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29703 Removed.
29704 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29705 Likewise.
29706 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29707 Likewise.
29708 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29709 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29710 Likewise.
29711 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29712 Likewise.
29713 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29714 Likewise.
29715 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29716 Likewise.
29717 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29718 Likewise.
29719 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29720 Likewise.
29721 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29722 Likewise.
29723 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29724 Likewise.
29725 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29726 Likewise.
29727 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29728 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29729 Likewise.
29730 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29731 Likewise.
29732 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29733 Likewise.
29734 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29735 Likewise.
29736 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29737 Likewise.
29738 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29739 Replace ../i486/pthread_cond_timedwait.S with
29740 ../pthread_cond_timedwait.S.
29741
29742 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29743
29744 * math/libm-test.inc (acos_test_data): Refine expectations for
29745 errno and "inexact" exceptions.
29746 (acosh_test_data): Likewise.
29747 (asin_test_data): Likewise.
29748 (asinh_test_data): Likewise.
29749 (atan_test_data): Likewise.
29750 (atanh_test_data): Likewise.
29751 (atan2_test_data): Likewise.
29752 (cbrt_test_data): Likewise.
29753 (ceil_test_data): Likewise.
29754 (copysign_test_data): Likewise.
29755 (cosh_test_data): Likewise.
29756 (erf_test_data): Likewise.
29757 (erfc_test_data): Likewise.
29758 (exp_test_data): Likewise.
29759 (exp10_test_data): Likewise.
29760 (exp2_test_data): Likewise.
29761 (expm1_test_data): Likewise.
29762 (fabs_test_data): Likewise.
29763 (floor_test_data): Likewise.
29764 (fma_test_data): Likewise.
29765 (fmax_test_data): Likewise.
29766 (fmin_test_data): Likewise.
29767 (fmod_test_data): Likewise.
29768 (fpclassify_test_data): Likewise.
29769 (frexp_test_data): Likewise.
29770 (hypot_test_data): Likewise.
29771 (ilogb_test_data): Likewise.
29772 (isgreater_test_data): Likewise.
29773 (isgreaterequal_test_data): Likewise.
29774 (isinf_test_data): Likewise.
29775 (isless_test_data): Likewise.
29776 (islessequal_test_data): Likewise.
29777 (islessgreater_test_data): Likewise.
29778 (isnan_test_data): Likewise.
29779 (isnormal_test_data): Likewise.
29780 (issignaling_test_data): Likewise.
29781 (isunordered_test_data): Likewise.
29782 (j0_test_data): Likewise.
29783 (j1_test_data): Likewise.
29784 (jn_test_data): Likewise.
29785 (lgamma_test_data): Likewise.
29786 (lrint_test_data): Likewise.
29787 (llrint_test_data): Likewise.
29788 (log_test_data): Likewise.
29789 (log10_test_data): Likewise.
29790 (log1p_test_data): Likewise.
29791 (log2_test_data): Likewise.
29792 (logb_test_data): Likewise.
29793 (lround_test_data): Likewise.
29794 (llround_test_data): Likewise.
29795 (modf_test_data): Likewise.
29796 (nearbyint_test_data): Likewise.
29797 (nextafter_test_data): Likewise.
29798 (nexttoward_test_data): Likewise.
29799 (pow_test_data): Likewise.
29800 (remainder_test_data): Likewise.
29801 (remquo_test_data): Likewise.
29802 (rint_test_data): Likewise.
29803 (round_test_data): Likewise.
29804 (signbit_test_data): Likewise.
29805 (sinh_test_data): Likewise.
29806 (sqrt_test_data): Likewise.
29807 (tanh_test_data): Likewise.
29808 (tgamma_test_data): Likewise.
29809 (trunc_test_data): Likewise.
29810 (y0_test_data): Likewise.
29811 (y1_test_data): Likewise.
29812 (yn_test_data): Likewise.
29813 (significand_test_data): Likewise.
29814
29815 2015-09-29 Carlos O'Donell <carlos@redhat.com>
29816
29817 * manual/filesys.texi (Storage Allocation): Document that
29818 posix_fallocate emulation fails when fd is open with O_WRONLY.
29819
29820 2015-09-28 Joseph Myers <joseph@codesourcery.com>
29821
29822 [BZ #19016]
29823 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29824 allow more cases with X^2 + Y^2 >= 0.5.
29825 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
29826 normal element in sum instead of special-casing based on values of
29827 arguments.
29828 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29829 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
29830 -1 as normal element in sum instead of special-casing based on
29831 values of arguments.
29832 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29833 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29834 (__x2y2m1): Update comment.
29835 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
29836 as normal element in sum instead of special-casing based on values
29837 of arguments.
29838 * math/s_clog.c (__clog): Handle more cases using log1p without
29839 hypot.
29840 * math/s_clog10.c (__clog10): Likewise.
29841 * math/s_clog10f.c (__clog10f): Likewise.
29842 * math/s_clog10l.c (__clog10l): Likewise.
29843 * math/s_clogf.c (__clogf): Likewise.
29844 * math/s_clogl.c (__clogl): Likewise.
29845 * math/auto-libm-test-in: Add more tests of clog and clog10.
29846 * math/auto-libm-test-out: Regenerated.
29847 * sysdeps/i386/fpu/libm-test-ulps: Update.
29848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29849
29850 2015-09-28 Martin Sebor <msebor@redhat.com>
29851
29852 [BZ #18969]
29853 * string/Makefile (LOCALES): Define.
29854 (gen-locales.mk): Include.
29855 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29856 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29857 * string/tst-strxfrm2.c (do_test): Print the name of the locale
29858 on setlocale failure.
29859
29860 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
29861
29862 [BZ #18985]
29863 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29864 (__strftime_internal): Likewise.
29865 * time/tst-strftime.c (do_bz18985): New test.
29866 (do_test): Call it.
29867
29868 2015-09-26 Joseph Myers <joseph@codesourcery.com>
29869
29870 [BZ #18956]
29871 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29872 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
29873 extracting high part.
29874 * math/auto-libm-test-in: Add another test of pow.
29875 * math/auto-libm-test-out: Regenerated.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29877
29878 2015-09-25 Joseph Myers <joseph@codesourcery.com>
29879
29880 [BZ #18825]
29881 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29882 New macro.
29883 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29884 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29885 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29886 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29887 DBL_NARROW_EVAL, reloading the PIC register as needed.
29888 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29889 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29890 FLT_NARROW_EVAL. Use separate return path for case when first
29891 argument is NaN.
29892 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
29893 DEFINE_LDBL_MIN.
29894 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29895 PIC register.
29896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29897 math_check_force_underflow_nonneg.
29898 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29899 underflow for subnormal result.
29900 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29902 math_check_force_underflow_nonneg.
29903 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29904 math_check_force_underflow.
29905 * sysdeps/x86_64/fpu/x86_64-math-asm.h
29906 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29907 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
29908 DEFINE_LDBL_MIN.
29909 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29910 * math/auto-libm-test-in: Add more tests of pow.
29911 * math/auto-libm-test-out: Regenerated.
29912
29913 2015-09-25 Florian Weimer <fweimer@redhat.com>
29914
29915 * nss/bug17079.c (init_test_items): Add diagnostic for
29916 inconsistent entries.
29917 (test_buffer_size): Skip inconsistent entries.
29918
29919 2015-09-25 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #13304]
29922 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29923 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29924 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29925
29926 [BZ #13304]
29927 * sysdeps/microblaze/s_fma.c: New file.
29928 * sysdeps/microblaze/s_fmaf.c: Likewise.
29929 * sysdeps/microblaze/sfp-machine.h: Likewise.
29930
29931 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
29932
29933 [BZ #17250]
29934 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29935 member.
29936
29937 2015-09-24 Joseph Myers <joseph@codesourcery.com>
29938
29939 [BZ #18803]
29940 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29941 (MO): New macro.
29942 (__ieee754_hypot) [PIC]: Load PIC register.
29943 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29944 DBL_NARROW_EVAL.
29945 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29946 math_check_force_underflow_nonneg in case where result might be
29947 tiny.
29948 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29949 Likewise.
29950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29951 Likewise.
29952 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29953 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29954 * math/auto-libm-test-in: Add more tests of hypot.
29955 * math/auto-libm-test-out: Regenerated.
29956
29957 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
29958
29959 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29960
29961 2015-09-24 Joseph Myers <joseph@codesourcery.com>
29962
29963 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29964 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29965 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29966 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29967 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29968 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29969 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29970
29971 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29972 LOAD_PIC_REG.
29973
29974 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29975 (FLT_CHECK_FORCE_UFLOW): Likewise.
29976 (DBL_CHECK_FORCE_UFLOW): Likewise.
29977 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29978 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29979 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29980 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29981 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29982 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29983 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29984 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29985 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29986 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29987 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29988 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29989 (flt_min): Replace with use of DEFINE_FLT_MIN.
29990 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29991 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29992 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29993 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29994 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29995 (flt_min): Replace with use of DEFINE_FLT_MIN.
29996 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29997 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29998 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29999 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30000 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30001 (flt_min): Replace with use of DEFINE_FLT_MIN.
30002 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30003 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30004 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30005 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30006 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30007 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30008 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30009 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30010 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30011 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30012 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30013 (flt_min): Replace with use of DEFINE_FLT_MIN.
30014 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30015 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30016 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30017 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30018 main computation.
30019 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30020 (flt_min): Replace with use of DEFINE_FLT_MIN.
30021 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30022 main computation.
30023 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30024 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30025 (MO): New macro.
30026 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30027 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30028 (flt_min): Replace with use of DEFINE_FLT_MIN.
30029 (MO): New macro.
30030 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30031 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30032 (__log1pl): Use MO.
30033
30034 [BZ #19003]
30035 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30036 $(config-cflags-nofma).
30037
30038 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30039
30040 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30041
30042 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30043
30044 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30045 (TWO127): Likewise.
30046
30047 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30048 (min_of_type): Likewise.
30049 (math_check_force_underflow): Likewise.
30050 (math_check_force_underflow_nonneg): Likewise.
30051 (math_check_force_underflow_complex): Likewise.
30052 * math/e_exp2l.c (__ieee754_exp2l): Use
30053 math_check_force_underflow_nonneg.
30054 * math/k_casinh.c (__kernel_casinh): Likewise.
30055 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30056 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30057 * math/s_catan.c (__catan): Use
30058 math_check_force_underflow_complex.
30059 * math/s_catanf.c (__catanf): Likewise.
30060 * math/s_catanh.c (__catanh): Likewise.
30061 * math/s_catanhf.c (__catanhf): Likewise.
30062 * math/s_catanhl.c (__catanhl): Likewise.
30063 * math/s_catanl.c (__catanl): Likewise.
30064 * math/s_ccosh.c (__ccosh): Likewise.
30065 * math/s_ccoshf.c (__ccoshf): Likewise.
30066 * math/s_ccoshl.c (__ccoshl): Likewise.
30067 * math/s_cexp.c (__cexp): Likewise.
30068 * math/s_cexpf.c (__cexpf): Likewise.
30069 * math/s_cexpl.c (__cexpl): Likewise.
30070 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30071 * math/s_clog10.c (__clog10): Likewise.
30072 * math/s_clog10f.c (__clog10f): Likewise.
30073 * math/s_clog10l.c (__clog10l): Likewise.
30074 * math/s_clogf.c (__clogf): Likewise.
30075 * math/s_clogl.c (__clogl): Likewise.
30076 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30077 * math/s_csinf.c (__csinf): Likewise.
30078 * math/s_csinh.c (__csinh): Likewise.
30079 * math/s_csinhf.c (__csinhf): Likewise.
30080 * math/s_csinhl.c (__csinhl): Likewise.
30081 * math/s_csinl.c (__csinl): Likewise.
30082 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30083 * math/s_csqrtf.c (__csqrtf): Likewise.
30084 * math/s_csqrtl.c (__csqrtl): Likewise.
30085 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30086 * math/s_ctanf.c (__ctanf): Likewise.
30087 * math/s_ctanh.c (__ctanh): Likewise.
30088 * math/s_ctanhf.c (__ctanhf): Likewise.
30089 * math/s_ctanhl.c (__ctanhl): Likewise.
30090 * math/s_ctanl.c (__ctanl): Likewise.
30091 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30092 instead of volatile.
30093 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30094 math_check_force_underflow.
30095 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30096 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30097 volatile when forcing underflow.
30098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30099 math_check_force_underflow_nonneg.
30100 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30101 Likewise.
30102 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30103 math_check_force_underflow.
30104 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30105 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30106 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30107 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30108 math_check_force_underflow_nonneg.
30109 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30110 math_check_force_underflow.
30111 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30113 instead of volatile.
30114 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30115 math_check_force_underflow.
30116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30117 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30118 math_check_force_underflow_nonneg.
30119 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30120 math_check_force_underflow.
30121 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30122 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30123 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30124 math_check_force_underflow_nonneg.
30125 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30126 Likewise.
30127 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30128 math_check_force_underflow.
30129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30130 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30131 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30132 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30133 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30134 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30135 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30136 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30137 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30138 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30139 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30140 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30141 Likewise.
30142 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30143 math_check_force_underflow_nonneg.
30144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30145 Likewise.
30146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30147 math_check_force_underflow.
30148 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30149 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30150 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30151 Likewise.
30152 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30153 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30154 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30155 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30156 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30157 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30159 instead of volatile.
30160 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30161 math_check_force_underflow.
30162 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30164 math_check_force_underflow.
30165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30166 Likewise.
30167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30168 Use math_check_force_underflow_nonneg.
30169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30170 math_check_force_underflow.
30171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30172 Likewise.
30173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30174 Likewise.
30175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30180 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30181 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30182 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30183 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30184 math_check_force_underflow_nonneg.
30185 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30186 math_check_force_underflow.
30187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30188 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30189 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30190 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30191 math_check_force_underflow_nonneg.
30192 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30193 math_check_force_underflow.
30194 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30196 instead of volatile.
30197 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30198 math_check_force_underflow.
30199
30200 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30201 * stdlib/strtod_l.c: Include <math_private.h>.
30202 (overflow_value): Use math_narrow_eval.
30203 (underflow_value): Likewise.
30204 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30205 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30206 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30207 (__ieee754_gamma_r): Likewise.
30208 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30209 Likewise.
30210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30211 Likewise.
30212 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30213 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30214 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30215 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30216 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30217 (__ieee754_gammaf_r): Likewise.
30218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30219 Likewise.
30220 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30221 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30222 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30223 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30224 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30225 volatile.
30226 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30228 math_narrow_eval.
30229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30230 Likewise.
30231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30232 Likewise.
30233 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30234 Likewise.
30235 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30236 volatile.
30237 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30238 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30239 math_narrow_eval.
30240 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30241 Likewise.
30242 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30243 Likewise.
30244
30245 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30246
30247 * nptl/Versions: Remove ignored symbols.
30248
30249 2015-09-22 Florian Weimer <fweimer@redhat.com>
30250
30251 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30252 * nss/Makefile (tests): Update.
30253
30254 2015-09-22 Florian Weimer <fweimer@redhat.com>
30255
30256 * nss/bug18287.c: New file.
30257 * nss/Makefile (tests): Add bug18287.
30258
30259 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30260
30261 * mach/Versions (__mach_host_self_): Add symbol.
30262
30263 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30264
30265 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30266 vm_page_size.
30267
30268 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30269
30270 Really fix sysdeps/i386/fpu/s_scalbn.S build
30271
30272 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30273 (libc: GLIBC_2_22): Remove unused version set.
30274
30275 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30276
30277 * config.make.in (enable-timezone-tools): New variable.
30278 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30279 (enable_timezone_tools): Export to generated files.
30280 * configure: Regenerate.
30281 * INSTALL: Regenerate.
30282 * manual/install.texi (--disable-timezone-tools): Document new flag.
30283 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30284 ifeq ($(enable-timezone-tools),yes) check.
30285
30286 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30287
30288 * timezone/Makefile: Revert previous change.
30289
30290 [BZ #18980]
30291 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30292 (DEFINE_DBL_MIN): Likewise.
30293 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30294 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30295 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30296 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30297 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30298 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30299 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30300 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30301 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30302 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30303 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30304 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30305 (flt_min): Replace with use of DEFINE_FLT_MIN.
30306 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30307 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30308 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30309 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30310 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30311 (flt_min): Replace with use of DEFINE_FLT_MIN.
30312 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30313 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30314 (flt_min): Replace with use of DEFINE_FLT_MIN.
30315 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30316 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30317 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30318 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30319 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30320 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30321 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30322 (__ieee754_pow): Use DBL_NARROW_EVAL.
30323 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30324 (__ieee754_powf): Use FLT_NARROW_EVAL.
30325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30326 (__ieee754_expf_sse2): Convert double-precision result to single
30327 precision.
30328 * sysdeps/i386/fpu/libm-test-ulps: Update.
30329
30330 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30331
30332 * timezone/Makefile: Ignore unused variable errors due to private.h
30333 (time_t_min) and (time_t_max).
30334 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30335 Likewise.
30336
30337 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30338
30339 [BZ #18981]
30340 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30341 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30342 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30343 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30344 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30345 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30346 (__scalbn): Use DBL_NARROW_EVAL.
30347 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30348 (__scalbnf): Use FLT_NARROW_EVAL.
30349
30350 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30351
30352 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30353 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30354 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30355 * stdio-common/printf_fp.c (___printf_fp):
30356 Use signbit to get the sign. Use isinf macro to allow inlining.
30357 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30358 * stdio-common/printf_size.c (__printf_size): Likewise.
30359
30360 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30361
30362 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30363
30364 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30365
30366 [BZ #18980]
30367 * sysdeps/generic/math_private.h: Include <float.h>.
30368 (math_narrow_eval): New macro.
30369 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30370 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30371 math_narrow_eval on overflowing return value.
30372 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30373 Likewise.
30374 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30375 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30376 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30377 Likewise.
30378 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30379
30380 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30381
30382 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30383 * math/Makefile: Remove isinf_ns.c.
30384 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30385 * math/multc3.c (__multc3): Likewise.
30386 * math/s_casin.c (__casin): Likewise.
30387 * math/s_casinf.c (__casinf): Likewise.
30388 * math/s_casinl.c (__casinl): Likewise.
30389 * math/s_cproj.c (__cproj): Likewise.
30390 * math/s_cprojf.c (__cprojf): Likewise.
30391 * math/s_cprojl.c (__cprofl): Likewise.
30392 * math/s_ctan.c (__ctan): Likewise.
30393 * math/s_ctanf.c (__ctanf): Likewise.
30394 * math/s_ctanh.c (__ctanh): Likewise.
30395 * math/s_ctanhf.c (__ctanhf): Likewise.
30396 * math/s_ctanhl.c (__ctanhl): Likewise.
30397 * math/s_ctanl.c (__ctanl): Likewise.
30398 * math/w_fmod.c (__fmod): Likewise.
30399 * math/w_fmodf.c (__fmodf): Likewise.
30400 * math/w_fmodl.c (_fmodl): Likewise.
30401 * math/w_remainder.c (__remainder): Likewise.
30402 * math/w_remainderf.c (__remainderf): Likewise.
30403 * math/w_remainderl.c (__remainderl): Likewise.
30404 * math/w_scalb.c (__scalb): Likewise.
30405 * math/w_scalbf.c (__scalbf): Likewise.
30406 * math/w_scalbl.c (__scalbl): Likewise.
30407 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30408 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30409 with isinf.
30410 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30412 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30413 __isinf_nsf with isinf.
30414 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30415 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30416 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30417 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30418 with isinf.
30419 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30420 __isinf_nsl with isinf.
30421 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30422 with isinf.
30423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30424 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30425 __isinf_nsl with isinf.
30426 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30427 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30428 with isinf.
30429
30430 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30431
30432 * resolv/base64.c (rcsid): Remove unused static.
30433 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30434 static. (tqpi1): Likewise.
30435 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30436 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30437 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30438 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30440 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30441 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30442 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30443 Likewise.
30444
30445 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30446
30447 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30448 <nptl/pthreadP.h>.
30449 (_longjmp_unwind): Use __libc_ptf_call.
30450 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30451
30452 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30453
30454 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30455 * sysdeps/arm/__longjmp.S: Likewise.
30456
30457 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30458
30459 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30460 Use __builtin_signbit.
30461 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30462 Use __builtin_signbitf.
30463 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30464 Use __builtin_signbitl.
30465 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30466 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30467
30468 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30469
30470 [BZ #15367]
30471 [BZ #17441]
30472
30473 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30474 * math/math.h (fpclassify): Use __builtin_fpclassify when
30475 available. (signbit): Use __builtin_signbit(f/l).
30476 (isfinite): Use__builtin_isfinite. (isnormal): Use
30477 __builtin_isnormal. (isnan): Use __builtin_isnan.
30478 (isinf): Use __builtin_isinf_sign.
30479
30480 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30481
30482 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30483 * benchtests/bench-math-inlines.c: New benchmark.
30484 * benchtests/bench-util.h: New file.
30485 * benchtests/bench-util.c: New file.
30486 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30487
30488 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30489
30490 * elf/tst-dlmopen1.c: Define TEST_SO.
30491 (do_test): Use TEST_SO.
30492
30493 * elf/dl-load.c: Include libc-internal.h.
30494 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30495
30496 2015-09-18 Vincent Bernat <vincent@bernat.im>
30497
30498 [BZ #17887]
30499 * time/strptime_l.c (__strptime_internal): Make %z accept
30500 [+-]HH:MM time zones.
30501
30502 2015-09-18 Vincent Bernat <vincent@bernat.im>
30503
30504 [BZ #17886]
30505 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30506 valid time zone.
30507
30508 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30509
30510 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30511 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30512 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30513 (__ASSUME_FDATASYNC): Delete.
30514
30515 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30516
30517 * conform/linknamespace.pl: Require weak undefined symbols to be
30518 in the standard namespace.
30519 (%strong_syms): Rename to %seen_syms.
30520 (%strong_seen): Rename to %seen_where.
30521
30522 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 [BZ #18970]
30525 * misc/error.c (error): Replace pthread_setcancelstate with
30526 __pthread_setcancelstate.
30527 (error_at_line): Likewise.
30528 * posix/wordexp.c (parse_comm): Likewise.
30529 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30530 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30531 (__pthread_setcancelstate): This.
30532 (pthread_setcancelstate): Add an alias.
30533 * nptl/nptl-init.c (pthread_functions): Replace
30534 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30535 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30536 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30537 hidden_proto.
30538 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30539 it with hidden_def.
30540 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30541 (pthread_setcancelstate): Renamed to ...
30542 (__pthread_setcancelstate): This.
30543 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30544 __libc_ptf_call with __pthread_setcancelstate.
30545
30546 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30547 Andreas Schwab <schwab@suse.de>
30548
30549 [BZ #17118]
30550 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30551 result when imaginary part of argument is infinite using sine and
30552 cosine.
30553 * math/s_ctanf.c (__ctanf): Likewise.
30554 * math/s_ctanl.c (__ctanl): Likewise.
30555 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30556 of result when real part of argument is infinite using sine and
30557 cosine.
30558 * math/s_ctanhf.c (__ctanhf): Likewise.
30559 * math/s_ctanhl.c (__ctanhl): Likewise.
30560 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30561 (ctanh_test_data): Add more tests of ctanh.
30562
30563 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30564
30565 [BZ #15384]
30566 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30567 bit-mask as in subtraction.
30568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30569 Likewise.
30570 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30571 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30573
30574 [BZ #18951]
30575 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30576 underflow exception for small results.
30577 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30578 Likewise.
30579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30580 Likewise.
30581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30582 Likewise.
30583 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30584 Likewise.
30585 * math/auto-libm-test-in: Add more tests of tgamma.
30586 * math/auto-libm-test-out: Regenerated.
30587
30588 2015-09-17 Andreas Schwab <schwab@suse.de>
30589
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30591
30592 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30593
30594 [BZ #18977]
30595 * math/bits/mathcalls.h
30596 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30597 not declare.
30598 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30599 Likewise.
30600 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30601 Likewise.
30602 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30603 Likewise.
30604 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30605 Likewise.
30606 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30607 Likewise.
30608 * conform/data/math.h-data
30609 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30610 function.
30611 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30612 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30613 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30614 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30615 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30616 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30617 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30618 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30619 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30620 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30621 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30622
30623 [BZ #6803]
30624 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30625 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30626 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30627 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30628 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30629 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30630 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30631 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30632 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30634 Likewise.
30635 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30636 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30637 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30639 long_double_symbol calls.
30640 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30641 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30642 strong alias of __ldexpl.
30643 (scalbnl): Define using long_double_symbol.
30644 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30645 Remove alias.
30646 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30647 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30648 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30649 (scalbln_test_data): Add more errno expectations.
30650
30651 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
30652
30653 Cache the host port like we cache the task port. This way we do not
30654 need to call the kernel just to get the port. Furthermore, we no
30655 longer increase the reference count on every invocation of
30656 `mach_host_self'.
30657
30658 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30659 Protect declarations against the macro expansion.
30660 * mach/mach_init.c (__mach_host_self_): New variable.
30661 (mach_init): Initialize `__mach_host_self_'.
30662 * mach/mach_init.h (__mach_host_self_): New declaration.
30663 (__mach_host_self, mach_host_self): New macros.
30664 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30665 Release reference.
30666
30667 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30668
30669 [BZ #4404]
30670 * po/de.po: Update from Translation Project.
30671
30672 [BZ #16415]
30673 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30674 (__expm1l): Remove code to handle positive infinity and overflow.
30675 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30676 variable.
30677 (__expm1l): Remove code to handle positive infinity and overflow.
30678
30679 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
30680 Paul Pluzhnikov <ppluzhnikov@google.com>
30681
30682 [BZ #18872]
30683 * stdio-common/Makefile (tst-printf-bz18872): New test.
30684 (tst-printf-bz18872-mem.out): Likewise.
30685 * stdio-common/tst-printf-bz18872.sh: Generate new test.
30686 * stdio-common/vfprintf.c: Fix memory leaks.
30687
30688 2015-09-16 Andreas Schwab <schwab@suse.de>
30689
30690 [BZ #17244]
30691 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
30692 Remove extra va_start/va_end calls.
30693
30694 [BZ #17243]
30695 * posix/execl.c (execl): Add missing va_end.
30696 * posix/execle.c (execle): Likewise.
30697 * posix/execlp.c (execlp): Likewise.
30698
30699 2015-09-15 Roland McGrath <roland@hack.frob.com>
30700
30701 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30702 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30703
30704 2015-09-15 Joseph Myers <joseph@codesourcery.com>
30705
30706 [BZ #18967]
30707 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
30708 undefine around includes of <bits/mathcalls.h>.
30709 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30710 not declare function.
30711 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30712 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30713 (scalb): Likewise.
30714 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30715 not define macro.
30716 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30717 variable.
30718 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30719 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30720 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30721
30722 [BZ #18857]
30723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30724 return non-finite argument without doing ordered comparisons on
30725 it.
30726
30727 [BZ #16296]
30728 * math/fenv.h (fegetround): Use __attribute_pure__.
30729 * include/fenv.h (__fegetround): Likewise.
30730
30731 [BZ #18595]
30732 * math/s_ctan.c (__ctan): Force underflow exception for results
30733 whose real or imaginary part has small absolute value.
30734 * math/s_ctanf.c (__ctanf): Likewise.
30735 * math/s_ctanh.c (__ctanh): Likewise.
30736 * math/s_ctanhf.c (__ctanhf): Likewise.
30737 * math/s_ctanhl.c (__ctanhl): Likewise.
30738 * math/s_ctanl.c (__ctanl): Likewise.
30739 * math/auto-libm-test-in: Do not allow missing underflow for ctan
30740 and ctanh. Add more tests of ctan and ctanh.
30741
30742 [BZ #15918]
30743 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30744 handling of cases where one argument is an infinity.
30745
30746 [BZ #18875]
30747 [BZ #18966]
30748 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30749 (MO): New macro.
30750 (__ieee754_exp10): For small results, force underflow exception
30751 and remove excess range and precision from return value.
30752 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30753 (MO): New macro.
30754 (__ieee754_exp10f): For small results, force underflow exception
30755 and remove excess range and precision from return value.
30756 * math/auto-libm-test-in: Add more tests of exp10.
30757 * math/auto-libm-test-out: Regenerated.
30758
30759 2015-09-14 Joseph Myers <joseph@codesourcery.com>
30760
30761 [BZ #18875]
30762 [BZ #18961]
30763 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30764 (MO): New macro.
30765 (__ieee754_exp): For small results, force underflow exception and
30766 remove excess range and precision from return value.
30767 (__exp_finite): Likewise.
30768 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30769 (MO): New macro.
30770 (__ieee754_expf): For small results, force underflow exception and
30771 remove excess range and precision from return value.
30772 (__expf_finite): Likewise.
30773 * math/auto-libm-test-in: Add more tests of exp.
30774 * math/auto-libm-test-out: Regenerated.
30775
30776 [BZ #16521]
30777 [BZ #18875]
30778 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30779 small results.
30780 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30781 (MO): New macro.
30782 (__ieee754_exp2): For small results, force underflow exception and
30783 remove excess range and precision from return value.
30784 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30785 (MO): New macro.
30786 (__ieee754_exp2f): For small results, force underflow exception
30787 and remove excess range and precision from return value.
30788 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30789 (MO): New macro.
30790 (__ieee754_exp2l): Force underflow exception for small results.
30791 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30792 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30793 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30794 (MO): New macro.
30795 (__ieee754_exp2l): Force underflow exception for small results.
30796 * math/auto-libm-test-in: Add more tests or exp2.
30797 * math/auto-libm-test-out: Regenerated.
30798
30799 2015-09-14 Carlos O'Donell <carlos@redhat.com>
30800
30801 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30802
30803 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30804 /dev/null.
30805
30806 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
30807
30808 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30809 io fs process)): Drop spurious backslash.
30810
30811 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
30812
30813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30814 Use sysinfo system call instead of parsing /proc/meminfo.
30815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30816 Likewise.
30817
30818 2015-09-11 Mike Frysinger <vapier@gentoo.org>
30819
30820 [BZ #16985]
30821 * programs/localedef.c (main): Display argv[remaining] when
30822 output_path is NULL.
30823
30824 2015-09-11 Joseph Myers <joseph@codesourcery.com>
30825
30826 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30827 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30828 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30829 tanh.
30830 * math/auto-libm-test-out: Regenerated.
30831 * sysdeps/i386/fpu/libm-test-ulps: Update.
30832 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30833 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30835
30836 2015-09-11 Roland McGrath <roland@hack.frob.com>
30837
30838 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30839 Use 'override' keyword to freeze the value here, preventing
30840 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30841
30842 2015-09-11 Joseph Myers <joseph@codesourcery.com>
30843
30844 [BZ #14912]
30845 * sysdeps/aarch64/bits/atomic.h: Move to ...
30846 * sysdeps/aarch64/atomic-machine.h: ...here.
30847 (_AARCH64_BITS_ATOMIC_H): Rename macro to
30848 _AARCH64_ATOMIC_MACHINE_H.
30849 * sysdeps/alpha/bits/atomic.h: Move to ...
30850 * sysdeps/alpha/atomic-machine.h: ...here.
30851 * sysdeps/arm/bits/atomic.h: Move to ...
30852 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
30853 * bits/atomic.h: Move to ...
30854 * sysdeps/generic/atomic-machine.h: ...here.
30855 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30856 * sysdeps/i386/bits/atomic.h: Move to ...
30857 * sysdeps/i386/atomic-machine.h: ...here.
30858 * sysdeps/ia64/bits/atomic.h: Move to ...
30859 * sysdeps/ia64/atomic-machine.h: ...here.
30860 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30861 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30862 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30863 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30864 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30865 * sysdeps/microblaze/bits/atomic.h: Move to ...
30866 * sysdeps/microblaze/atomic-machine.h: ...here.
30867 * sysdeps/mips/bits/atomic.h: Move to ...
30868 * sysdeps/mips/atomic-machine.h: ...here.
30869 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30870 * sysdeps/powerpc/bits/atomic.h: Move to ...
30871 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
30872 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30873 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
30874 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
30875 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30876 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
30877 <atomic-machine.h> instead of <bits/atomic.h>.
30878 * sysdeps/s390/bits/atomic.h: Move to ...
30879 * sysdeps/s390/atomic-machine.h: ...here.
30880 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30881 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30882 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30883 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30884 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30885 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30886 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30887 * sysdeps/tile/bits/atomic.h: Move to ...
30888 * sysdeps/tile/atomic-machine.h: ...here.
30889 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30890 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
30891 <sysdeps/tile/atomic-machine.h> instead of
30892 <sysdeps/tile/bits/atomic.h>.
30893 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30894 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30895 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
30896 <sysdeps/tile/atomic-machine.h> instead of
30897 <sysdeps/tile/bits/atomic.h>.
30898 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30899 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30900 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
30901 <sysdeps/arm/atomic-machine.h> instead of
30902 <sysdeps/arm/bits/atomic.h>.
30903 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30904 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30905 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30906 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30907 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30908 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30909 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30910 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30911 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30912 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30913 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30914 * sysdeps/x86_64/bits/atomic.h: Move to ...
30915 * sysdeps/x86_64/atomic-machine.h: ...here.
30916 * include/atomic.h: Include <atomic-machine.h> instead of
30917 <bits/atomic.h>.
30918
30919 * sysdeps/mips/mips32/libm-test-ulps: Update.
30920 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30921
30922 [BZ #18952]
30923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30924 not convert non-integer negative arguments to int to determine the
30925 value of signgam.
30926 * math/auto-libm-test-in: Add more tests of lgamma.
30927 * math/auto-libm-test-out: Regenerated.
30928
30929 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30930 cosh, csqrt, erfc, expm1 and lgamma.
30931 * math/auto-libm-test-out: Regenerated.
30932 * sysdeps/i386/fpu/libm-test-ulps: Update.
30933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30934
30935 2015-09-10 Joseph Myers <joseph@codesourcery.com>
30936
30937 [BZ #2542]
30938 [BZ #2543]
30939 [BZ #2558]
30940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30941 __lgamma_neg for arguments from -28.0 to -2.0.
30942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30943 __lgamma_negf for arguments from -15.0 to -2.0.
30944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30945 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30946 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30947 Call __lgamma_negl for arguments from -33.0 to -2.0.
30948 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30949 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30950 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30951 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30958 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30959 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30960 (__lgamma_neg): Likewise.
30961 (__lgamma_negl): Likewise.
30962 (__lgamma_product): Likewise.
30963 (__lgamma_productl): Likewise.
30964 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30965 * math/auto-libm-test-in: Add more tests of lgamma.
30966 * math/auto-libm-test-out: Regenerated.
30967 * sysdeps/i386/fpu/libm-test-ulps: Update.
30968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30969
30970 2015-09-09 Justin Maggard <jmaggard@netgear.com>
30971
30972 [BZ #18675]
30973 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30974
30975 2015-09-08 Joseph Myers <joseph@codesourcery.com>
30976
30977 [BZ #14912]
30978 * bits/libc-lock.h: Move to ...
30979 * sysdeps/generic/libc-lock.h: ...here.
30980 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30981 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30982 * sysdeps/mach/hurd/libc-lock.h: ...here.
30983 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30984 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30985 * sysdeps/mach/bits/libc-lock.h: Move to ...
30986 * sysdeps/mach/libc-lock.h: ...here.
30987 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30988 * sysdeps/nptl/bits/libc-lock.h: Move to ...
30989 * sysdeps/nptl/libc-lock.h: ...here.
30990 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30991 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30992 * sysdeps/nptl/libc-lockP.h: ...here.
30993 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30994 * crypt/crypt_util.c: Include <libc-lock.h> instead of
30995 <bits/libc-lock.h>.
30996 * dirent/scandir-tail.c: Likewise.
30997 * dlfcn/dlerror.c: Likewise.
30998 * elf/dl-close.c: Likewise.
30999 * elf/dl-iteratephdr.c: Likewise.
31000 * elf/dl-lookup.c: Likewise.
31001 * elf/dl-open.c: Likewise.
31002 * elf/dl-support.c: Likewise.
31003 * elf/dl-writev.h: Likewise.
31004 * elf/rtld.c: Likewise.
31005 * grp/fgetgrent.c: Likewise.
31006 * gshadow/fgetsgent.c: Likewise.
31007 * gshadow/sgetsgent.c: Likewise.
31008 * iconv/gconv_conf.c: Likewise.
31009 * iconv/gconv_db.c: Likewise.
31010 * iconv/gconv_dl.c: Likewise.
31011 * iconv/gconv_int.h: Likewise.
31012 * iconv/gconv_trans.c: Likewise.
31013 * include/link.h: Likewise.
31014 * inet/getnameinfo.c: Likewise.
31015 * inet/getnetgrent.c: Likewise.
31016 * inet/getnetgrent_r.c: Likewise.
31017 * intl/bindtextdom.c: Likewise.
31018 * intl/dcigettext.c: Likewise.
31019 * intl/finddomain.c: Likewise.
31020 * intl/gettextP.h: Likewise.
31021 * intl/loadmsgcat.c: Likewise.
31022 * intl/localealias.c: Likewise.
31023 * intl/textdomain.c: Likewise.
31024 * libidn/idn-stub.c: Likewise.
31025 * libio/libioP.h: Likewise.
31026 * locale/duplocale.c: Likewise.
31027 * locale/freelocale.c: Likewise.
31028 * locale/newlocale.c: Likewise.
31029 * locale/setlocale.c: Likewise.
31030 * login/getutent_r.c: Likewise.
31031 * login/getutid_r.c: Likewise.
31032 * login/getutline_r.c: Likewise.
31033 * login/utmp-private.h: Likewise.
31034 * login/utmpname.c: Likewise.
31035 * malloc/mtrace.c: Likewise.
31036 * misc/efgcvt.c: Likewise.
31037 * misc/error.c: Likewise.
31038 * misc/fstab.c: Likewise.
31039 * misc/getpass.c: Likewise.
31040 * misc/mntent.c: Likewise.
31041 * misc/syslog.c: Likewise.
31042 * nis/nis_call.c: Likewise.
31043 * nis/nis_callback.c: Likewise.
31044 * nis/nss-default.c: Likewise.
31045 * nis/nss_compat/compat-grp.c: Likewise.
31046 * nis/nss_compat/compat-initgroups.c: Likewise.
31047 * nis/nss_compat/compat-pwd.c: Likewise.
31048 * nis/nss_compat/compat-spwd.c: Likewise.
31049 * nis/nss_nis/nis-alias.c: Likewise.
31050 * nis/nss_nis/nis-ethers.c: Likewise.
31051 * nis/nss_nis/nis-grp.c: Likewise.
31052 * nis/nss_nis/nis-hosts.c: Likewise.
31053 * nis/nss_nis/nis-network.c: Likewise.
31054 * nis/nss_nis/nis-proto.c: Likewise.
31055 * nis/nss_nis/nis-pwd.c: Likewise.
31056 * nis/nss_nis/nis-rpc.c: Likewise.
31057 * nis/nss_nis/nis-service.c: Likewise.
31058 * nis/nss_nis/nis-spwd.c: Likewise.
31059 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31060 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31061 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31062 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31063 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31064 * nis/nss_nisplus/nisplus-network.c: Likewise.
31065 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31066 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31067 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31068 * nis/nss_nisplus/nisplus-service.c: Likewise.
31069 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31070 * nis/ypclnt.c: Likewise.
31071 * nptl/libc_pthread_init.c: Likewise.
31072 * nss/getXXbyYY.c: Likewise.
31073 * nss/getXXent.c: Likewise.
31074 * nss/getXXent_r.c: Likewise.
31075 * nss/nss_db/db-XXX.c: Likewise.
31076 * nss/nss_db/db-netgrp.c: Likewise.
31077 * nss/nss_db/nss_db.h: Likewise.
31078 * nss/nss_files/files-XXX.c: Likewise.
31079 * nss/nss_files/files-alias.c: Likewise.
31080 * nss/nsswitch.c: Likewise.
31081 * posix/regex_internal.h: Likewise.
31082 * posix/wordexp.c: Likewise.
31083 * pwd/fgetpwent.c: Likewise.
31084 * resolv/res_hconf.c: Likewise.
31085 * resolv/res_libc.c: Likewise.
31086 * shadow/fgetspent.c: Likewise.
31087 * shadow/lckpwdf.c: Likewise.
31088 * shadow/sgetspent.c: Likewise.
31089 * socket/opensock.c: Likewise.
31090 * stdio-common/reg-modifier.c: Likewise.
31091 * stdio-common/reg-printf.c: Likewise.
31092 * stdio-common/reg-type.c: Likewise.
31093 * stdio-common/vfprintf.c: Likewise.
31094 * stdio-common/vfscanf.c: Likewise.
31095 * stdlib/abort.c: Likewise.
31096 * stdlib/cxa_atexit.c: Likewise.
31097 * stdlib/fmtmsg.c: Likewise.
31098 * stdlib/random.c: Likewise.
31099 * stdlib/setenv.c: Likewise.
31100 * string/strsignal.c: Likewise.
31101 * sunrpc/auth_none.c: Likewise.
31102 * sunrpc/bindrsvprt.c: Likewise.
31103 * sunrpc/create_xid.c: Likewise.
31104 * sunrpc/key_call.c: Likewise.
31105 * sunrpc/rpc_thread.c: Likewise.
31106 * sysdeps/arm/backtrace.c: Likewise.
31107 * sysdeps/generic/ldsodefs.h: Likewise.
31108 * sysdeps/generic/stdio-lock.h: Likewise.
31109 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31110 * sysdeps/i386/backtrace.c: Likewise.
31111 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31112 * sysdeps/m68k/backtrace.c: Likewise.
31113 * sysdeps/mach/hurd/cthreads.c: Likewise.
31114 * sysdeps/mach/hurd/dirstream.h: Likewise.
31115 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31116 * sysdeps/nptl/malloc-machine.h: Likewise.
31117 * sysdeps/nptl/stdio-lock.h: Likewise.
31118 * sysdeps/posix/dirstream.h: Likewise.
31119 * sysdeps/posix/getaddrinfo.c: Likewise.
31120 * sysdeps/posix/system.c: Likewise.
31121 * sysdeps/pthread/aio_suspend.c: Likewise.
31122 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31123 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31124 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31125 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31126 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31127 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31128 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31129 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31130 * sysdeps/unix/sysv/linux/system.c: Likewise.
31131 * sysdeps/x86_64/backtrace.c: Likewise.
31132 * time/alt_digit.c: Likewise.
31133 * time/era.c: Likewise.
31134 * time/tzset.c: Likewise.
31135 * wcsmbs/wcsmbsload.c: Likewise.
31136 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31137 instead of <bits/libc-lock.h> in comment.
31138
31139 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31140
31141 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31142 Only use .set mips2 if the current ISA is below mips2.
31143 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31144 Likewise.
31145 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31146 mips32r2 if the current ISA is below mips32r2.
31147 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31148 (TLS_IE): Updated to use the TLD_RDHWR macro.
31149 (TLS_LE): Likewise.
31150 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31151 __ASSEMBLER__ condition.
31152
31153 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31154
31155 Fix parallel build of before-compile targets.
31156
31157 * sysdeps/mach/Makefile ($(patsubst
31158 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31159 mach-before-compile target.
31160 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31161 io fs process)): Move rule to dedicated hurd-before-compile target.
31162
31163 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31164
31165 Fix rules generating headers in hurd/ and mach/ when initial make call
31166 has subdir= explicitly set.
31167
31168 * sysdeps/mach/Makefile ($(patsubst
31169 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31170 calling $(MAKE).
31171 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31172 io fs process)): Force subdir to hurd when calling $(MAKE).
31173 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31174 subdir to mach when calling $(MAKE).
31175
31176 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31177
31178 Check sysheaders when looking for Mach and Hurd headers
31179
31180 * sysdeps/mach/configure.ac: Add sysheaders check.
31181 * sysdeps/mach/configure: Regenerate.
31182 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31183 * sysdeps/mach/hurd/configure: Regenerate.
31184
31185 2015-09-04 Roland McGrath <roland@hack.frob.com>
31186
31187 [BZ #18921]
31188 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31189 Fix inverted sense of test of 'o_directory_works' value.
31190 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31191 Bernhard Voelker <mail@bernhard-voelker.de>.
31192
31193 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31194
31195 [BZ #14912]
31196 * bits/linkmap.h: Move to ...
31197 * sysdeps/generic/linkmap.h: ...here.
31198 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31199 * sysdeps/aarch64/linkmap.h: ...here.
31200 * sysdeps/arm/bits/linkmap.h: Move to ...
31201 * sysdeps/arm/linkmap.h: ...here.
31202 * sysdeps/hppa/bits/linkmap.h: Move to ...
31203 * sysdeps/hppa/linkmap.h: ...here.
31204 * sysdeps/ia64/bits/linkmap.h: Move to ...
31205 * sysdeps/ia64/linkmap.h: ...here.
31206 * sysdeps/mips/bits/linkmap.h: Move to ...
31207 * sysdeps/mips/linkmap.h: ...here.
31208 * sysdeps/s390/bits/linkmap.h: Move to ...
31209 * sysdeps/s390/linkmap.h: ...here.
31210 * sysdeps/sh/bits/linkmap.h: Move to ...
31211 * sysdeps/sh/linkmap.h: ...here.
31212 * sysdeps/x86/bits/linkmap.h: Move to ...
31213 * sysdeps/x86/linkmap.h: ...here.
31214 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31215
31216 2015-09-04 Andreas Schwab <schwab@suse.de>
31217
31218 [BZ #18635]
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31220 (__makecontext): Terminate FDE before return label.
31221 (__novec_makecontext): Likewise.
31222
31223 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31224
31225 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31226 first member of struct sv in syscall macro.
31227
31228 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31229
31230 [BZ #14912]
31231 * bits/stdio-lock.h: Move to ...
31232 * sysdeps/generic/stdio-lock.h: ...here.
31233 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31234 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31235 * sysdeps/nptl/stdio-lock.h: ...here.
31236 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31237 * include/libio.h: Include <stdio-lock.h> instead of
31238 <bits/stdio-lock.h>.
31239 * sysdeps/nptl/fork.c: Likewise.
31240 * sysdeps/pthread/flockfile.c: Likewise.
31241 * sysdeps/pthread/ftrylockfile.c: Likewise.
31242 * sysdeps/pthread/funlockfile.c: Likewise.
31243
31244 [BZ #14912]
31245 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31246 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31247 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31248 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31249 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31250 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31251 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31252
31253 2015-09-03 Roland McGrath <roland@hack.frob.com>
31254
31255 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31256 (test-xfail-tst-protected1b): New variable.
31257
31258 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31259
31260 [BZ #14912]
31261 * bits/libc-tsd.h: Move to ...
31262 * sysdeps/generic/libc-tsd.h: ...here.
31263 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31264 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31265 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31266 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31267 * include/ctype.h: Include <libc-tsd.h> instead of
31268 <bits/libc-tsd.h>.
31269 * include/rpc/rpc.h: Likewise.
31270 * locale/localeinfo.h: Likewise.
31271 * sunrpc/rpc_thread.c: Likewise.
31272 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31273 * sysdeps/nptl/malloc-machine.h: Likewise.
31274
31275 * Makefile (headers): Remove bits/libc-lock.h.
31276 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31277
31278 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31279 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31280 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31281 <bits/stdio-lock.h>.
31282 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31283 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31284
31285 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31286
31287 [BZ #18757]
31288 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31289 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31290 BZ #18757.
31291
31292 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31293
31294 * malloc/mtrace.pl: Filter out NULL entries.
31295
31296 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31297
31298 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31299 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31300 macro.
31301
31302 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31303 (TCP_CC_INFO): Likewise.
31304 (TCP_SAVE_SYN): Likewise.
31305 (TCP_SAVED_SYN): Likewise.
31306
31307 2015-08-31 Brett Neumeier <brett@neumeier.us>
31308
31309 [BZ #18870]
31310 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31311
31312 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31313
31314 [BZ #18873]
31315 Fix broken overflow check in posix_fallocate
31316 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31317 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31318 Fix parenthesization typo.
31319
31320 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31321
31322 [BZ #18887]
31323 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31324 tst-mntent-blank-passno.
31325 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31326 * misc/tst-mntent-blank-corrupt.c: New test.
31327 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31328 * misc/tst-mntent.c (do_test): ... here.
31329
31330 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31331
31332 [BZ #4404]
31333 * po/de.po: Fix SIGALRM typo.
31334
31335 2015-08-28 James Perkins <james@loowit.net>
31336
31337 * time/tst-strptime2.c (tests): Replace short list of test
31338 strings for strptime %z specifier with code which exhaustively
31339 tests every combination of sign and 0 to 5 digits. Tests for
31340 rejection of invalid strings.
31341
31342 2015-08-28 James Perkins <james@loowit.net>
31343
31344 [BZ #16141]
31345 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31346 calculation, removing incorrect decimal time rounding, so that
31347 all minute values result in a valid seconds value.
31348 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31349 offset range limits to UTC-99:59 through UTC+99:59 to parse
31350 current and historical use cases.
31351 * time/tst-strptime2.c (tests): Modify and add tests for the
31352 strptime %z input field descriptor, specifically conversion of
31353 minutes to seconds and validating an offset range of -9959 to
31354 +9959.
31355
31356 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31357 Dmitry V. Levin <ldv@altlinux.org>
31358
31359 [BZ #18877]
31360 * posix/Makefile (tests): Add tst-mmap-offset.
31361 * posix/tst-mmap.c: New file.
31362 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31363 offset calculation for negative values.
31364
31365 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31366
31367 * sysdeps/i386/init-arch.h: New file.
31368 * sysdeps/i386/i586/init-arch.h: Likewise.
31369 * sysdeps/i386/i686/init-arch.h: Likewise.
31370 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31371 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31372 * sysdeps/x86/cpu-features.h (bit_I586): New.
31373 (bit_I686): Likewise.
31374 (bit_CX8): Likewise.
31375 (bit_CMOV): Likewise.
31376 (index_CX8): Likewise.
31377 (index_CMOV): Likewise.
31378 (index_I586): Likewise.
31379 (index_I686): Likewise.
31380 (reg_CX8): Likewise.
31381 (reg_CMOV): Likewise.
31382 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31383 available at compile-time.
31384 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31385 available at compile-time.
31386 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31387 (USE_I686): Likewise.
31388
31389 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31390
31391 * sysdeps/i386/bcopy.S: New file.
31392 * sysdeps/i386/bzero.S: Likewise.
31393 * sysdeps/i386/memcpy.S: Likewise.
31394 * sysdeps/i386/memmove.S: Likewise.
31395 * sysdeps/i386/mempcpy.S: Likewise.
31396 * sysdeps/i386/memset.S: Likewise.
31397 * sysdeps/i386/bzero.c: Removed.
31398 * sysdeps/i386/memset.c: Likewise.
31399 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31400 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31401 * sysdeps/i386/i586/memset_chk.S: Likewise.
31402 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31403 * sysdeps/i386/memcpy_chk.S: Here.
31404 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31405 * sysdeps/i386/memmove_chk.S: Here.
31406 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31407 * sysdeps/i386/mempcpy_chk.S: Likewise.
31408 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31409 * sysdeps/i386/memset_chk.S: Likewise.
31410
31411 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31412
31413 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31414 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31415 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31416 * soft-fp/fmadf4.c: Ditto.
31417 * soft-fp/fmatf4.c: Ditto.
31418
31419 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31420
31421 * sysdeps/i386/i586/Implies: Removed.
31422 * sysdeps/i386/i686/Implies: Likewise.
31423
31424 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31425
31426 * sysdeps/i386/i486/strlen.S: Moved to ...
31427 * sysdeps/i386/strlen.S: Here.
31428
31429 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 * sysdeps/i386/i486/strcat.S: Moved to ...
31432 * sysdeps/i386/strcat.S: Here.
31433
31434 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31435
31436 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31437 * sysdeps/i386/pthread_spin_trylock.S: Here.
31438 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31439 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31440
31441 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31442
31443 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31444 * sysdeps/i386/string-inlines.c: Here.
31445
31446 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 * sysdeps/i386/i486/htonl.S: Moved ...
31449 * sysdeps/i386/htonl.S: here.
31450
31451 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31452
31453 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31454 * sysdeps/i386/bits/atomic.h: Here.
31455
31456 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31457
31458 * sysdeps/i386/i486/Versions: Removed.
31459
31460 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31461
31462 [BZ #2898]
31463 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31464 Based on patch by Aurelien Jarno.
31465
31466 2015-08-26 Stan Shebs <stanshebs@google.com>
31467
31468 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31469 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31470
31471 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31472
31473 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31474 * sysdeps/powerpc/dl-procinfo.c:
31475 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31476 feature so it shows when LD_SHOW_AUXV=1.
31477
31478 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31479
31480 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31481 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31482 definition. ISA 2.07B no longer requires full sync.
31483
31484 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31485
31486 [BZ #18863]
31487 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31488 (si_call_addr): Define.
31489 (si_syscall): Define.
31490 (si_arch): Define.
31491
31492 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31495 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31496 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31497 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31498 (__memset_zero_constant_len_parameter): New.
31499 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31500 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31501 (__memset_zero_constant_len_parameter): Don't define if
31502 __memset_chk or USE_AS_BZERO are defined.
31503
31504 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31505 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31506 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31507
31508 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31509 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31510 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31511 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31512 comments.
31513 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31514 -mno-mmx for $(all-rtld-routines).
31515 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31516 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31517 i386.
31518
31519 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31520
31521 * sysdeps/generic/unwind.h
31522 (_Unwind_Word): Use __mode__(__unwind_word__)
31523 instead of __mode__(__word__).
31524 (_Unwind_Sword): Likewise.
31525
31526 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31527 (MAX_NEEDED_INPUT): New define.
31528 (MAX_NEEDED_OUTPUT): New define.
31529
31530 * NEWS: New item for IBM z13 string optimizations.
31531
31532 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31533 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31534 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31535 * sysdeps/s390/multiarch/Makefile
31536 (sysdep_routines): Add memrchr functions.
31537 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31538 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31539
31540 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31541 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31542 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31543 * sysdeps/s390/multiarch/Makefile
31544 (sysdep_routines): Add wmemcmp functions.
31545 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31546 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31547 * benchtests/bench-wmemcmp.c: New File.
31548 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31549
31550 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31551 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31552 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31553 * sysdeps/s390/multiarch/Makefile
31554 (sysdep_routines): Add wmemset functions.
31555 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31556 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31557 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31558 * string/test-memset.c: Add wmemset support.
31559 * wcsmbs/test-wmemset.c: New File.
31560 * wcsmbs/Makefile (strop-tests): Add wmemset.
31561 * benchtests/bench-memset.c: Add wmemset support.
31562 * benchtests/bench-wmemset.c: New File.
31563 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31564
31565 * sysdeps/s390/multiarch/memccpy-c.c: New File.
31566 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31567 * sysdeps/s390/multiarch/memccpy.c: Likewise.
31568 * sysdeps/s390/multiarch/Makefile
31569 (sysdep_routines): Add memccpy functions.
31570 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31571 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31572 * string/memccpy.c: Use MEMCCPY if defined.
31573
31574 * sysdeps/s390/multiarch/memchr-vx.S: New File.
31575 * sysdeps/s390/multiarch/memchr.c: Likewise.
31576 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31577 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31578 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31579 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31580 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31581 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31582 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31583 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31584 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31585 and rawmemchr functions.
31586 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31587 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31588 and wmemchr.
31589 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31590 * string/test-memchr.c: Add wmemchr support.
31591 * wcsmbs/test-wmemchr.c: New File.
31592 * wcsmbs/Makefile (strop-tests): Add wmemchr.
31593 * benchtests/bench-memchr.c: Add wmemchr support.
31594 * benchtests/bench-wmemchr.c: New File.
31595 * benchtests/Makefile (wcsmbs-bench): wmemchr.
31596
31597 * sysdeps/s390/multiarch/strcspn-c.c: New File.
31598 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31599 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31600 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31601 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31602 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31603 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31604 wcscspn functions.
31605 * sysdeps/s390/multiarch/ifunc-impl-list.c
31606 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31607 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31608 * string/test-strcspn.c: Add wcscspn support.
31609 * wcsmbs/test-wcscspn.c: New File.
31610 * wcsmbs/Makefile (strop-tests): Add wcscspn.
31611 * benchtests/bench-strcspn.c: Add wcscspn support.
31612 * benchtests/bench-wcscspn.c: New File.
31613 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31614
31615 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31616 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31617 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31618 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31619 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31620 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31621 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31622 wcspbrk functions.
31623 * sysdeps/s390/multiarch/ifunc-impl-list.c
31624 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31625 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31626 * string/test-strpbrk.c: Add wcspbrk support.
31627 * wcsmbs/test-wcspbrk.c: New File.
31628 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31629 * benchtests/bench-strpbrk.c: Add wcspbrk support.
31630 * benchtests/bench-wcspbrk.c: New File.
31631 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31632
31633 * sysdeps/s390/multiarch/strspn-c.c: New File.
31634 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31635 * sysdeps/s390/multiarch/strspn.c: Likewise.
31636 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31637 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31638 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31639 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31640 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31641 wcsspn functions.
31642 * sysdeps/s390/multiarch/ifunc-impl-list.c
31643 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31644 * string/test-strspn.c: Add wcsspn support.
31645 * wcsmbs/test-wcsspn.c: New File.
31646 * wcsmbs/Makefile (strop-tests): Add wcsspn.
31647 * benchtests/bench-strspn.c: Add wcsspn support.
31648 * benchtests/bench-wcsspn.c: New File.
31649 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31650
31651 * sysdeps/s390/multiarch/strrchr-c.c: New File.
31652 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31653 * sysdeps/s390/multiarch/strrchr.c: Likewise.
31654 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31655 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31656 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31657 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31658 wcsrchr functions.
31659 * sysdeps/s390/multiarch/ifunc-impl-list.c
31660 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31661 * benchtests/bench-wcsrchr.c: New File.
31662 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31663
31664 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31665 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31666 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31667 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31668 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31669 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31670 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31671 wcschrnul functions.
31672 * sysdeps/s390/multiarch/ifunc-impl-list.c
31673 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31674 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31675 * string/test-strchr.c: Add wcschrnul support.
31676 * wcsmbs/test-wcschrnul.c: New File.
31677 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31678 * benchtests/bench-strchr.c: Add wcschrnul support.
31679 * benchtests/bench-wcschrnul.c: New File.
31680 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31681
31682 * sysdeps/s390/multiarch/strchr-c.c: New File.
31683 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31684 * sysdeps/s390/multiarch/strchr.c: Likewise.
31685 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31686 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31687 * sysdeps/s390/multiarch/wcschr.c: Likewise.
31688 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31689 wcschr functions.
31690 * sysdeps/s390/multiarch/ifunc-impl-list.c
31691 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
31692 * string/strchr.c (STRCHR): Define and use macro.
31693 * benchtests/bench-wcschr.c: New File.
31694 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
31695
31696 * sysdeps/s390/multiarch/strncmp-c.c: New File.
31697 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
31698 * sysdeps/s390/multiarch/strncmp.c: Likewise.
31699 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
31700 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
31701 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31702 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31703 wcsncmp functions.
31704 * sysdeps/s390/multiarch/ifunc-impl-list.c
31705 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31706 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31707 * benchtests/bench-strncmp.c: Add wcsncmp support.
31708 * benchtests/bench-wcsncmp.c: New File.
31709 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31710
31711 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31712 * sysdeps/s390/multiarch/strcmp.c: Likewise.
31713 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31714 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31715 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31716 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31717 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31718 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31719 wcscmp functions.
31720 * sysdeps/s390/multiarch/ifunc-impl-list.c
31721 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31722 * string/strcmp.c (STRCMP): Define and use macro.
31723 * benchtests/bench-wcscmp.c: New File.
31724 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31725 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31726 instead of _HAVE_STRING_ARCH_memchr.
31727
31728 * sysdeps/s390/multiarch/strncat-c.c: New File.
31729 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31730 * sysdeps/s390/multiarch/strncat.c: Likewise.
31731 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31732 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31733 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31734 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31735 wcsncat functions.
31736 * sysdeps/s390/multiarch/ifunc-impl-list.c
31737 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31738 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31739 * string/test-strncat.c: Add wcsncat support.
31740 * wcsmbs/test-wcsncat.c: New File.
31741 * wcsmbs/Makefile (strop-tests): Add wcsncat.
31742 * benchtests/bench-strncat.c: Add wcsncat support.
31743 * benchtests/bench-wcsncat.c: New File.
31744 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31745
31746 * sysdeps/s390/multiarch/strcat-c.c: New File.
31747 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31748 * sysdeps/s390/multiarch/strcat.c: Likewise.
31749 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31750 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31751 * sysdeps/s390/multiarch/wcscat.c: Likewise.
31752 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31753 wcscat functions.
31754 * sysdeps/s390/multiarch/ifunc-impl-list.c
31755 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31756 * string/strcat.c (STRCAT): Define and use macro.
31757 * wcsmbs/wcscat.c: Use WCSCAT if defined.
31758 * string/test-strcat.c: Add wcscat support.
31759 * wcsmbs/test-wcscat.c: New File.
31760 * wcsmbs/Makefile (strop-tests): Add wcscat.
31761 * benchtests/bench-strcat.c: Add wcscat support.
31762 * benchtests/bench-wcscat.c: New File.
31763 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31764
31765 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31766 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31767 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31768 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31769 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31770 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31771 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31772 wcpncpy functions.
31773 * sysdeps/s390/multiarch/ifunc-impl-list.c
31774 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31775 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31776 * string/test-stpncpy.c: Add wcpncpy support.
31777 * wcsmbs/test-wcpncpy.c: New File.
31778 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31779 * benchtests/bench-stpncpy.c: Add wcpncpy support.
31780 * benchtests/bench-wcpncpy.c: New File.
31781 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31782
31783 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31784 * sysdeps/s390/multiarch/strncpy.c: Likewise.
31785 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31786 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31787 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31788 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31789 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31790 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31791 wcsncpy functions.
31792 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31793 * sysdeps/s390/multiarch/ifunc-impl-list.c
31794 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31795 * string/test-strncpy.c: Add wcsncpy support.
31796 * wcsmbs/test-wcsncpy.c: New File.
31797 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31798 * benchtests/bench-strncpy.c: Add wcsncpy support.
31799 * benchtests/bench-wcsncpy.c: New File.
31800 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31801
31802 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31803 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31804 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31805 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31806 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31807 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31808 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31809 wcpcpy functions.
31810 * string/stpcpy.c: Use STPCPY if defined.
31811 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31812 * sysdeps/s390/multiarch/ifunc-impl-list.c
31813 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31814 * string/test-stpcpy.c: Add wcpcpy support.
31815 * wcsmbs/test-wcpcpy.c: New File.
31816 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31817 * benchtests/bench-stpcpy.c: Add wcpcpy support.
31818 * benchtests/bench-wcpcpy.c: New File.
31819 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31820
31821 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31822 * sysdeps/s390/multiarch/strcpy.c: Likewise.
31823 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31824 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31825 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31826 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31827 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31828 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31829 wcscpy functions.
31830 * sysdeps/s390/multiarch/ifunc-impl-list.c
31831 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31832 * benchtests/bench-wcscpy.c: New File.
31833 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31834
31835 * sysdeps/s390/multiarch/strnlen-c.c: New File.
31836 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31837 * sysdeps/s390/multiarch/strnlen.c: Likewise.
31838 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31839 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31840 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31841 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31842 wcsnlen functions.
31843 * sysdeps/s390/multiarch/ifunc-impl-list.c
31844 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31845 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31846 * string/test-strnlen.c: Add wcsnlen support.
31847 * wcsmbs/test-wcsnlen.c: New File.
31848 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31849 * benchtests/bench-strnlen.c: Add wcsnlen support.
31850 * benchtests/bench-wcsnlen.c: New File.
31851 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31852
31853 * sysdeps/s390/multiarch/Makefile: New File.
31854 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31855 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31856 * sysdeps/s390/multiarch/strlen.c: Likewise.
31857 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31858 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31859 * sysdeps/s390/multiarch/wcslen.c: Likewise.
31860 * string/strlen.c (STRLEN): Define and use macro.
31861 * sysdeps/s390/multiarch/ifunc-impl-list.c
31862 (IFUNC_VX_IMPL): New macro function.
31863 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31864 * benchtests/Makefile (wcsmbs-bench): New variable.
31865 (string-bench-all): Added wcsmbs-bench.
31866 * benchtests/bench-wcslen.c: New File.
31867
31868 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31869 s390_vx_libc_ifunc2): New macro function.
31870
31871 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31872 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31873 assembler support.
31874 * sysdeps/s390/configure: Regenerated.
31875
31876 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31877 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31878
31879 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31880 * sysdeps/s390/dl-procinfo.h: Add vector capability.
31881 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31882
31883 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31884 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31886 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31887 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31888 (memcmp, bcmp): Use __memcmp_default as alias source.
31889 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31890 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31891 Rename to __memcmp_default.
31892 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31893 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31894 (memcpy): Use __memcpy_default as alias source.
31895 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31896 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31897 Rename to __memcpy_default.
31898 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31899 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31900 (memset): Use __memset_default as alias source.
31901 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31902 * sysdeps/s390/s390-32/memset.S (__memset_g5):
31903 Rename to __memset_default.
31904 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31905 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31907 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31908 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31909 (memcmp, bcmp): Use __memcmp_default as alias source.
31910 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31911 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31912 Rename to __memcmp_default.
31913 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31914 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31915 (memcpy): Use __memcpy_default as alias source.
31916 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31917 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31918 Rename to __memcpy_default.
31919 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31920 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31921 (memset): Use __memset_default as alias source.
31922 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31923 * sysdeps/s390/s390-64/memset.S (__memset_z900):
31924 Rename to __memset_default.
31925 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31926 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31927
31928 [BZ #18610]
31929 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31930 __ieee_instruction_pointer to __unused.
31931 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31932 __ieee_instruction_pointer.
31933 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31934 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31935 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31936 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31937 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31938 Mark dxc-field as reserved.
31939
31940 2015-08-25 Roland McGrath <roland@hack.frob.com>
31941
31942 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31943 if the weak reference is not null.
31944
31945 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
31946
31947 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31948
31949 [BZ #11214]
31950 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31951
31952 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31953
31954 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31955 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31956 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31957 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31958 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31959 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31960 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31961 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31962 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31963 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31964 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31965 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31966 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31967 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31968 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31969 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31970 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31971 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31972
31973 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31974
31975 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31976 register other than r0 for tabort, it has special meaning.
31977 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31978 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31979 transaction before starting syscall.
31980
31981 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31982
31983 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31984
31985 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
31986
31987 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31988
31989 * sysdeps/x86_64/rtld-memcmp.c: Removed.
31990 * sysdeps/x86_64/rtld-memset.S: Likewise.
31991 * sysdeps/x86_64/rtld-strchr.S: Likewise.
31992 * sysdeps/x86_64/rtld-strlen.S: Likewise.
31993 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31994 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31995
31996 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31997
31998 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
31999
32000 * debug/strcpy_chk.c: Improve performance.
32001 * debug/stpcpy_chk.c: Likewise.
32002 * sysdeps/x86_64/strcpy_chk.S: Remove.
32003 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32004
32005 [BZ #18240]
32006 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32007
32008 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32009
32010 [BZ #15128]
32011 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32012 ifuncmain8.
32013 (modules-names): Add ifuncmod8.
32014 ($(objpfx)ifuncmain8): New rule.
32015 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32016 <cpuid.h>.
32017 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32018 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32019 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32020 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32021 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32022 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32023 * sysdeps/x86_64/ifuncmain8.c: New file.
32024 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32025 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32026 Removed.
32027 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32028 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32029 Change rtld_savespace_sse to __glibc_unused2.
32030 (RTLD_CHECK_FOREIGN_CALL): Removed.
32031 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32032 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32033 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32034
32035 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32036
32037 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32038
32039 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32040
32041 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32042 Unconditionally set __fpcr to avoid uninialized warning.
32043 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32044
32045 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32046
32047 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32048 is corrupt.
32049
32050 * malloc/arena.c (arena_get2): Drop unused argument.
32051 (arena_lock): Adjust.
32052 (arena_get_retry): Likewise.
32053
32054 2015-08-24 Andreas Schwab <schwab@suse.de>
32055
32056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32057 Don't define.
32058 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32059 (__ASSUME_IPC64): Don't undef.
32060 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32061 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32062 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32063 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32064 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32065 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32066 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32067 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32068 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32069 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32070 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32071 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32072 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32073 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32074 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32075 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32077 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32078 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32079 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32080 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32081
32082 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32083
32084 * manual/Makefile (install): Only build manual when perl is available.
32085
32086 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32087
32088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32089 '#undef memcpy' by '#undef memchr'.
32090
32091 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32092
32093 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32094 memchr not point to the internal __GI_memchr implementation.
32095
32096 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32097
32098 * timezone/Makefile (CFLAGS-zdump.c): Remove
32099 -Wno-strict-prototypes.
32100 (CFLAGS-zic.c): Likewise.
32101 (CFLAGS-ialloc.c): Likewise.
32102 (CFLAGS-scheck.c): Likewise.
32103
32104 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32105 -Wno-error=undef.
32106
32107 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32108
32109 * i386/i686/multiarch/strcasestr-c.c: Removed.
32110 * x86_64/multiarch/strcasestr.c: Likewise.
32111 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32112 Remove strcasestr.
32113
32114 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32115
32116 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32117
32118 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32119 variables for high and low parts before possibly modifying them.
32120
32121 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32122
32123 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32124 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32125 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32126 of "multiarch/init-arch.h".
32127 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32128 * sysdeps/x86/init-arch.h: This.
32129
32130 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32133 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32134
32135 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32136
32137 [BZ #17787]
32138 * manual/macros.texi: Add twoexp macro.
32139 * manual/filesys.texi: Fix exponents.
32140 * manual/llio.texi: Likewise.
32141 * manual/stdio.texi: Likewise.
32142
32143 2015-08-20 Florian Weimer <fweimer@redhat.com>
32144
32145 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32146 incorrect use.
32147
32148 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32149
32150 [BZ #18370]
32151 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32152 whose real or imaginary part has small absolute value.
32153 * math/s_csqrtf.c (__csqrtf): Likewise.
32154 * math/s_csqrtl.c (__csqrtl): Likewise.
32155 * math/auto-libm-test-in: Add more tests of csqrt.
32156 * math/auto-libm-test-out: Regenerated.
32157 * sysdeps/i386/fpu/libm-test-ulps: Update.
32158
32159 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32160
32161 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32162 __ppc_set_ppr_very_low): New functions.
32163 * manual/platform.texi: Add documentation about
32164 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32165
32166 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32167
32168 * string/stpncpy.c (stpncpy): Improve performance using
32169 __strnlen/memcpy/memset.
32170
32171 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32172
32173 [BZ #18796]
32174 * scripts/test-installation.pl: Don't add -lmvec to build options if
32175 libmvec wasn't built.
32176
32177 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32178
32179 [BZ #14341]
32180 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32181 case when there is a gap between DT_REL and DT_JMPREL sections.
32182 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32183 (LDFLAGS-tst-split-dynreloc): New.
32184 (tst-split-dynreloc-ENV): Likewise.
32185 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32186 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32187
32188 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32189
32190 [BZ #18822]
32191 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32192 attribute_hidden.
32193 (__xstat64_conv): Likewise.
32194 (__xstat32_conv): Likewise.
32195
32196 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 [BZ #18822]
32199 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32200 Don't load %ebx when calling __setcontext. Call __setcontext
32201 with HIDDEN_JUMPTARGET.
32202 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32203 libc_hidden_def.
32204
32205 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32206
32207 * sysdeps/i386/i686/Makefile
32208 [$(subdir) == string] (sysdep_routines): Moved to ...
32209 * sysdeps/i386/Makefile: Here.
32210 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32211 * sysdeps/i386/cacheinfo.c: Here.
32212 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32213 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32214 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32215 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32216
32217 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32218
32219 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32220 __i586__ is defined.
32221 (HAS_I686): Defined to 1 if __i686__ is defined.
32222
32223 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32224
32225 * elf/Makefile [$(have-z-execstack) = yes]
32226 (CPPFLAGS-tst-execstack.c): New variable.
32227
32228 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32229 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32230 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32231 UTMPX || _HAVE_UT_TV].
32232 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32233 UTMPX || _HAVE_UT_TV - 0].
32234
32235 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32236
32237 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32238 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32239 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32240
32241 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32242
32243 * sysdeps/powerpc/dl-procinfo.c:
32244 (_dl_powerpc_cap_flags): Added missing strings for some
32245 hwcap features.
32246 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32247
32248 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32249
32250 Port the 0x7efe...feff pattern to GCC 6.
32251 See Steve Ellcey's bug report in:
32252 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32253 * string/memrchr.c (MEMRCHR):
32254 * string/rawmemchr.c (RAWMEMCHR):
32255 * string/strchr.c (strchr):
32256 * string/strchrnul.c (STRCHRNUL):
32257 Rewrite code to avoid issues with signed shift overflow.
32258
32259 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32260
32261 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32262 whether cpuid is available only if HAS_CPUID is 0.
32263 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32264 (HAS_I586): Likewise.
32265 (HAS_I686): Likewise.
32266
32267 2015-08-18 Zack Weinberg <zackw@panix.com>
32268
32269 * misc/Versions (libc): Add GLIBC_2.23.
32270
32271 2015-08-18 Alan Modra <amodra@gmail.com>
32272
32273 [BZ #18421]
32274 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32275 .Lp__global.
32276 (_start): Load %dp via .Lp__global.
32277 [!SHARED]: Use .section .rodata.
32278
32279 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32280
32281 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32282 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32283
32284 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32285
32286 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32287 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32288
32289 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32290
32291 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32292 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32293
32294 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32295
32296 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32297 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32298
32299 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32300
32301 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32302 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32303
32304 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32305
32306 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32307 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32308
32309 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32310
32311 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32312
32313 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32314
32315 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32316 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32317 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32318 (__ASSUME_LWS_CAS): Delete.
32319
32320 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32321
32322 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32323 * sysdeps/hppa/configure: Regenerated.
32324 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32325 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32326 * sysdeps/hppa/nptl/tls.h: Likewise.
32327
32328 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32329
32330 [BZ #18823]
32331 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32332 for scaling up small arguments.
32333 * math/s_csqrtf.c (__csqrtf): Likewise.
32334 * math/s_csqrtl.c (__csqrtl): Likewise.
32335 * math/auto-libm-test-in: Add more tests of csqrt.
32336 * math/auto-libm-test-out: Regenerated.
32337
32338 2015-08-17 Andreas Schwab <schwab@suse.de>
32339
32340 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32341 version set GLIBC_2.19.
32342
32343 2015-08-16 Zack Weinberg <zackw@panix.com>
32344
32345 [BZ #18681]
32346 * misc/regexp.h: This interface is no longer supported.
32347 Remove all contents, leaving only an #error directive.
32348 * misc/regexp.c (loc1, loc2, locs, step, advance):
32349 Demote to compatibility symbols.
32350
32351 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32352
32353 [BZ #18084]
32354 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32355 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32356 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32357 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32358 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32359 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32360 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32361 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32362 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32363
32364 2015-08-15 Zack Weinberg <zackw@panix.com>
32365
32366 [BZ #18795]
32367 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32368 buffer length is known to be too large, not if it's known to be
32369 small enough.
32370 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32371 overflow at runtime, involving a length parameter, twice: once
32372 with a compile-time constant length parameter, once without.
32373
32374 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32375
32376 [BZ #18824]
32377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32378 scaling x * y up instead of down.
32379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32381 * math/auto-libm-test-in: Add more tests of fma.
32382 * math/auto-libm-test-out: Regenerated.
32383
32384 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32385
32386 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32387
32388 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32389
32390 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32391 unnecessary movq.
32392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32393 Likewise.
32394
32395 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32396
32397 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32398 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32399 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32400 and tgamma.
32401 * math/auto-libm-test-out: Regenerated.
32402 * sysdeps/i386/fpu/libm-test-ulps: Update.
32403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32404
32405 [BZ #16520]
32406 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32407 (__tanh): Force underflow exception for arguments with small
32408 absolute value.
32409 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32410 (__tanhf): Force underflow exception for arguments with small
32411 absolute value.
32412 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32413 (__tanhl): Force underflow exception for arguments with small
32414 absolute value.
32415 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32416 (__tanhl): Force underflow exception for arguments with small
32417 absolute value.
32418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32419 (__tanhl): Force underflow exception for arguments with small
32420 absolute value.
32421 * math/auto-libm-test-in: Add more tests of tanh.
32422 * math/auto-libm-test-out: Regenerated.
32423 * sysdeps/i386/fpu/libm-test-ulps: Update.
32424
32425 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32426
32427 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32428 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32429
32430 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32431
32432 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32433 <cpuid.h>.
32434
32435 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32436
32437 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32438 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32439
32440 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32443 Remove $(objpfx)init-arch.o.
32444 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32445 init-arch.
32446 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32447 (INIT_ARCH_EXT): Defined as empty.
32448 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32450 __init_cpu_features call. Replace HAS_XXX with
32451 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32463 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32469 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32470 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32471 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32472 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32473 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32474 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32475 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32476 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32477 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32478 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32479 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32480 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32481 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32482 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32483 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32484 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32485 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32486 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32487
32488 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32489
32490 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32491 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32492 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32493 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32494 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32495 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32496 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32497 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32499 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32500 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32501 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32502 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32503 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32515 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32533
32534 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32537 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32540 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32541 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32542 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32543 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32544 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32547 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32548 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32553 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32554 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32555 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32557 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32558 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32559 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32560 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32561 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32562 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32563 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
32564 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32565 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32566 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32567 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32568 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32569 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32570 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32571 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32572 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32573 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32574 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32575 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32576 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32577 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32578 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32579
32580 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32581
32582 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32583 (dl_platform_init): Call init_cpu_features.
32584 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32585 * sysdeps/i386/i686/cacheinfo.c
32586 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32587 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32588 * sysdeps/i386/i686/multiarch/Versions: Removed.
32589 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32590 Removed.
32591 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32592 * sysdeps/unix/sysv/linux/x86/Makefile
32593 (libpthread-sysdep_routines): Remove init-arch.
32594 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32595 <sysdeps/x86_64/dl-procinfo.c> instead of
32596 sysdeps/generic/dl-procinfo.c>.
32597 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32598 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32599 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32600 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32601 [$(subdir) == elf] (tests-static): Add
32602 tst-get-cpu-features-static.
32603 * sysdeps/x86/Versions: New file.
32604 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32605 * sysdeps/x86/cpu-features.c: Likewise.
32606 * sysdeps/x86/cpu-features.h: Likewise.
32607 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32608 * sysdeps/x86/libc-start.c: Likewise.
32609 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32610 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32611 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32612 * sysdeps/x86_64/dl-procinfo.c: Likewise.
32613 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32614 Assume USE_MULTIARCH is defined and don't check it.
32615 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32616 (is_amd): Likewise.
32617 (max_cpuid): Likewise.
32618 (intel_check_word): Likewise.
32619 (__cache_sysconf): Don't call __init_cpu_features.
32620 (__x86_preferred_memory_instruction): Removed.
32621 (init_cacheinfo): Don't call __init_cpu_features. Replace
32622 __cpu_features with GLRO(dl_x86_cpu_features).
32623 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32624 (dl_platform_init): Call init_cpu_features.
32625 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32626 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32627 * sysdeps/x86_64/multiarch/Versions: Removed.
32628 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32629 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32630 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32631 Removed.
32632 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32633
32634 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32635
32636 [BZ #18820]
32637 * libio/Makefile (test-fmemopen-mem): New test.
32638 * libio/test-fmemopen.c (do_bz18820): New test.
32639 * libio/fmemopen.c (__fmemopen): Fix memory leak.
32640 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32641
32642 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32643
32644 [BZ #16734]
32645 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32646 (FREE_BUF): Delete.
32647 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32648 * libio/genops.c (_IO_setb): Use malloc and free directly.
32649 (_IO_default_doallocate, _IO_default_finish): Likewise.
32650 ( _IO_unbuffer_all): Likewise.
32651 ( libc_freeres_fn): Likewise.
32652 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32653 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32654 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32655 (_IO_wdefault_doallocate): Likewise.
32656
32657 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
32658
32659 [BZ #18086]
32660 * sysdeps/posix/nice.c (nice): Restore old errno.
32661 * posix/tst-nice.c (do_test): Add test for BZ #18086.
32662
32663 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
32664
32665 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32666
32667 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32668
32669 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32670 __bcopy and add a weak_alias to bcopy.
32671 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32672 for static build.
32673
32674 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32675 cleanup macro usage.
32676 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32677 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32678 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32679 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32680 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32681 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32682 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32683 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32684 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32685 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32686 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32687 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32688 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32689 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
32690 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32691 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
32692 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
32693 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
32694 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32695
32696 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
32697 libc_hidden_def.
32698 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
32699
32700 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
32701 (sysdep_routines): Add strstr-ppc64.
32702 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32703
32704 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
32705
32706 [BZ #18778]
32707 * elf/Makefile (tests): Add Add tst-nodelete2.
32708 (modules-names): Add tst-nodelete2mod.
32709 (tst-nodelete2mod.so-no-z-defs): New.
32710 ($(objpfx)tst-nodelete2): Likewise.
32711 ($(objpfx)tst-nodelete2.out): Likewise.
32712 (LDFLAGS-tst-nodelete2): Likewise.
32713 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32714 out of loop through all loaded libraries.
32715 * elf/tst-nodelete2.c: New file.
32716 * elf/tst-nodelete2mod.c: Likewise.
32717 * elf/tst-znodelete-zlib.cc: Delete.
32718
32719 2015-08-11 Andreas Schwab <schwab@suse.de>
32720
32721 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32722 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32723 (__openat64_nocancel): Likewise.
32724
32725 2015-08-11 Joseph Myers <joseph@codesourcery.com>
32726
32727 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32728 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32729 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32730 * math/auto-libm-test-out: Regenerated.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32733
32734 2015-08-10 Joseph Myers <joseph@codesourcery.com>
32735
32736 [BZ #18790]
32737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32738 threshold for returning +/- 1.
32739 * math/auto-libm-test-in: Add more tests of tanh.
32740 * math/auto-libm-test-out: Regenerated.
32741 * sysdeps/i386/fpu/libm-test-ulps: Update.
32742
32743 2015-08-10 Andreas Schwab <schwab@suse.de>
32744
32745 [BZ #18781]
32746 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32747 MORE_OFLAGS to oflag.
32748 * io/test-lfs.c (do_test): Test openat64.
32749
32750 2015-08-10 Joseph Myers <joseph@codesourcery.com>
32751
32752 [BZ #18789]
32753 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32754 smaller threshold for returning the argument.
32755 * math/auto-libm-test-in: Add more tests of sinh.
32756 * math/auto-libm-test-out: Regenerated.
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758
32759 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
32760
32761 [BZ #18674]
32762 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32763 break.
32764
32765 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
32766
32767 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32768 (generated): Don't add $(addprefix z.,$(tzfiles)).
32769
32770 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32771
32772 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32773 * scripts/sysd-rules.awk: Likewise.
32774
32775 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32776
32777 * iconvdata/tst-tables.sh: Change echo -n to printf.
32778 * nss/db-Makefile: Likewise.
32779 * posix/tst-getconf.sh: Likewise.
32780 * stdio-common/tst-unbputc.sh: Likewise.
32781
32782 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32783
32784 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32785 MADV_*_PAGES defines behind this feature check.
32786
32787 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
32788
32789 [BZ #18480]
32790 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32791 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32792 Define.
32793 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32794 LOAD_REGS_5, LOAD_REGS_6): Update.
32795 (INTERNAL_SYSCALL): Update using new LOAD defines.
32796 (INTERNAL_SYSCALL_NCS): Likewise.
32797 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32798
32799 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32800
32801 [BZ #16734]
32802 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32803
32804 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32805
32806 [BZ #17905]
32807 * catgets/Makefile (tst-catgets-mem): New test.
32808 * catgets/catgets.c (catopen): Don't use unbounded alloca.
32809 * catgets/open_catalog.c (__open_catalog): Likewise.
32810 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32811
32812 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
32813
32814 [BZ #18787]
32815 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32816 clobber registers.
32817 (atomic_compare_and_exchange_val_acq): Use register asms to assign
32818 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
32819 Cast return to __typeof (oldval).
32820
32821 2015-08-08 Mike Frysinger <vapier@gentoo.org>
32822
32823 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32824 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
32825 and delete sys/syscall.h include.
32826
32827 2015-08-07 Joseph Myers <joseph@codesourcery.com>
32828
32829 [BZ #16517]
32830 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32831 (tan): Force underflow exception for arguments with small absolute
32832 value.
32833 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32834 (__kernel_tanf): Force underflow exception for arguments with
32835 small absolute value.
32836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32837 (__kernel_tanl): Force underflow exception for arguments with
32838 small absolute value.
32839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32840 (__kernel_tanl): Force underflow exception for arguments with
32841 small absolute value.
32842 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32843 (__kernel_tanl): Force underflow exception for arguments with
32844 small absolute value.
32845 * math/auto-libm-test-in: Add more tests of tan.
32846 * math/auto-libm-test-out: Regenerated.
32847
32848 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32849
32850 Fix sysdeps/i386/fpu/s_scalbn.S build
32851
32852 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32853
32854 2015-08-07 Mike Frysinger <vapier@gentoo.org>
32855
32856 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32857
32858 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32859
32860 Fix gcrt0.o compilation
32861
32862 When static-start-installed-name is different from
32863 start-installed-name, we must not use the shared objects.
32864
32865 * csu/Makefile
32866 (extra-objs): Add gmon-start.o when building shared library and
32867 $(static-start-installed-name) is different from
32868 $(start-installed-name).
32869 $(objpfx)g$(static-start-installed-name): When building shared
32870 library and $(static-start-installed-name) is different from
32871 $(static-start-installed-name), revert to non-shared rule,
32872 i.e. using $(objpfx)% and gmon-start.o.
32873
32874 2015-08-06 Joseph Myers <joseph@codesourcery.com>
32875
32876 [BZ #16519]
32877 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32878 (__ieee754_sinh): Force underflow exception for arguments with
32879 small absolute value.
32880 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32881 (__ieee754_sinhf): Force underflow exception for arguments with
32882 small absolute value.
32883 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32884 (__ieee754_sinhl): Force underflow exception for arguments with
32885 small absolute value.
32886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32887 (__ieee754_sinhl): Force underflow exception for arguments with
32888 small absolute value.
32889 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32890 (__ieee754_sinhl): Force underflow exception for arguments with
32891 small absolute value.
32892 * math/auto-libm-test-in: Add more tests of sinh.
32893 * math/auto-libm-test-out: Regenerated.
32894 * sysdeps/i386/fpu/libm-test-ulps: Update.
32895
32896 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32897
32898 * libio/oldfileops.c: Include unistd.h.
32899
32900 2015-08-06 Mike Frysinger <vapier@gentoo.org>
32901
32902 * stdlib/isomac.c: Include ctype.h.
32903
32904 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
32905
32906 * dirent/tst-seekdir.c (main): Converted to ...
32907 (do_test): ... this.
32908 (TEST_FUNCTION): New macro.
32909 Include test-skeleton.c.
32910 * elf/tst-dlmodcount.c (main): Converted to ...
32911 (do_test): ... this.
32912 (TEST_FUNCTION): New macro.
32913 Include test-skeleton.c.
32914 * elf/tst-order-main.c (main): Converted to ...
32915 (do_test): ... this.
32916 (TEST_FUNCTION): New macro.
32917 Include test-skeleton.c.
32918 * elf/tst-pie2.c (main): Converted to ...
32919 (do_test): ... this.
32920 (TEST_FUNCTION): New macro.
32921 Include test-skeleton.c.
32922 * inet/tst-ether_aton.c (main): Converted to ...
32923 (do_test): ... this.
32924 (TEST_FUNCTION): New macro.
32925 Include test-skeleton.c.
32926 * misc/tst-mntent.c (main): Converted to ...
32927 (do_test): ... this.
32928 (TEST_FUNCTION): New macro.
32929 Include test-skeleton.c.
32930 * misc/tst-tsearch.c (main): Converted to ...
32931 (do_test): ... this.
32932 (TEST_FUNCTION): New macro.
32933 Include test-skeleton.c.
32934 * posix/tst-regexloc.c (main): Converted to ...
32935 (do_test): ... this.
32936 (TEST_FUNCTION): New macro.
32937 Include test-skeleton.c.
32938 * resolv/tst-aton.c (main): Converted to ...
32939 (do_test): ... this.
32940 (TEST_FUNCTION): New macro.
32941 Include test-skeleton.c.
32942 * stdio-common/test-fwrite.c (main): Converted to ...
32943 (do_test): ... this.
32944 (TEST_FUNCTION): New macro.
32945 Include test-skeleton.c.
32946 * stdio-common/tst-ferror.c (main): Converted to ...
32947 (do_test): ... this.
32948 (TEST_FUNCTION): New macro.
32949 Include test-skeleton.c.
32950 * stdio-common/tst-printf.c (main): Converted to ...
32951 (do_test): ... this.
32952 (TEST_FUNCTION): New macro.
32953 Include test-skeleton.c.
32954 * stdio-common/tst-printfsz.c (main): Converted to ...
32955 (do_test): ... this.
32956 (TEST_FUNCTION): New macro.
32957 Include test-skeleton.c.
32958 * stdlib/tst-strtod.c (main): Converted to ...
32959 (do_test): ... this.
32960 (TEST_FUNCTION): New macro.
32961 Include test-skeleton.c.
32962 * string/tst-strlen.c (main): Converted to ...
32963 (do_test): ... this.
32964 (TEST_FUNCTION): New macro.
32965 Include test-skeleton.c.
32966 * string/tst-svc.c (main): Converted to ...
32967 (do_test): ... this.
32968 (TEST_FUNCTION): New macro.
32969 Include test-skeleton.c.
32970 * time/tst-strptime.c (main): Converted to ...
32971 (do_test): ... this.
32972 (TEST_FUNCTION): New macro.
32973 Include test-skeleton.c.
32974 * timezone/tst-timezone.c (main): Converted to ...
32975 (do_test): ... this.
32976 (TEST_FUNCTION): New macro.
32977 Include test-skeleton.c.
32978
32979 2015-08-05 Zack Weinberg <zackw@panix.com>
32980
32981 * misc/regexp.h: Update comments.
32982
32983 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
32984
32985 [BZ #18635]
32986 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32987 before return label.
32988
32989 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32990
32991 [BZ #18661]
32992 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32993 when calling __errno_location.
32994 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32995 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32996
32997 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32998
32999 [BZ #18661]
33000 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33001 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33002 __gettimeofday.
33003
33004 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 [BZ #18661]
33007 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33008 (__start_context): Don't use pop to restore %rdi so that stack
33009 is aligned to 16 bytes when calling __setcontext.
33010
33011 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33014 only for libc.
33015 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33016
33017 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33018
33019 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33020 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33021 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33022
33023 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33024
33025 * string/memccpy.c (memccpy):
33026 Improve performance by using memchr/memcpy/__mempcpy.
33027
33028 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33029
33030 * string/strncpy.c (strncpy):
33031 Improve performance by using __strnlen/memcpy.
33032
33033 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33034
33035 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33036 Optimize to avoid an unnecessary FPCR read.
33037
33038 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33039
33040 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33041 Optimize to reduce FPCR/FPSR accesses.
33042
33043 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33046 dead->data[category] != NULL.
33047
33048 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33049
33050 [BZ #18647]
33051 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33052 and |x| close to 1, use absolute value of x when computing log.
33053 * math/auto-libm-test-in: Add more tests of pow.
33054 * math/auto-libm-test-out: Regenerated.
33055
33056 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33057
33058 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33059 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33060 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33061
33062 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33063
33064 [BZ #18525]
33065 * locales/km_KH: Remove timezone definition.
33066 * locales/lo_LA: Likewise.
33067 * locales/my_MM: Likewise.
33068 * locales/nan_TW@latin: Likewise.
33069 * locales/th_TH: Likewise.
33070 * locales/uk_UA: Likewise.
33071
33072 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33073
33074 [BZ #18265]
33075 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33076 (wcsncat): Likewise.
33077 (wcscmp): Likewise.
33078 (wcsncmp): Likewise.
33079
33080 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33081
33082 * test-skeleton.c (usage): New function.
33083 (main): Call usage when opt is '?'.
33084
33085 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33086
33087 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33088 before first use.
33089
33090 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33091
33092 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33093 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33094 in there too.
33095
33096 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33097
33098 * version.h (RELEASE): Set to "development".
33099 (VERSION): Set to "2.22.90"
33100
33101 * version.h (RELEASE): Set to "stable".
33102 (VERSION): Set to "2.22"
33103 * include/features.h (__GLIBC_MINOR__): Set to 22.
33104
33105 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33106
33107 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33108 Restructure macro to avoid "value computed is not used" warning.
33109 (atomic_compare_and_exchange_val_acq): Likewise.
33110
33111 2015-08-04 Andreas Schwab <schwab@suse.de>
33112
33113 [BZ #18635]
33114 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33115 ret.
33116 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33117
33118 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33119
33120 * po/pl.po: Updated translation.
33121 * po/uk.po: Likewise.
33122 * po/fi.po: Likewise.
33123 * po/ko.po: Likewise.
33124 * po/ru.po: Likewise.
33125 * po/vi.po: Likewise.
33126
33127 2015-07-31 Zack Weinberg <zackw@panix.com>
33128
33129 [BZ #18681]
33130 * regexp.h: Add unconditional #warning stating that this header
33131 will be removed soon. Revise banner comment to match.
33132 (compile): Consistently use ERROR instead of RETURN to report
33133 errors (partial fix for BZ #18681).
33134 * regexp.c: Don't include regexp.h. Remove some unnecessary
33135 declarations.
33136
33137 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33138
33139 * po/libc.pot: Regenerated.
33140
33141 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33142
33143 [BZ #18740]
33144 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33145 float-vlen4-arch-ext-cflags): Removed.
33146 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33147 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33148
33149 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33150
33151 [BZ #14113]
33152 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33153 aligned to __aligned__.
33154 (pthread_cond_t, pthread_rwlock_t): Likewise.
33155
33156 2015-07-30 Torvald Riegel <triegel@redhat.com>
33157
33158 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33159
33160 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33161
33162 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33163 (struct sigaction): Change sa_flags from a long to an int, and add
33164 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33165
33166 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33167
33168 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33169 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33170 sysdeps/generic/sysdep.h include.
33171 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33172 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33173 sysdeps/hppa/sysdep.h.
33174 (ENTRY, PSEUDO): Undefine before defining.
33175
33176 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33177
33178 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33179 from scratch to use INTERNAL_SYSCALL.
33180
33181 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33182
33183 [BZ #18078]
33184 * scripts/check-localplt.awk: Support alternate relocations.
33185 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33186 sections.
33187 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33188 malloc entries with + REL R_386_GLOB_DAT.
33189 * sysdeps/x86_64/localplt.data: New file.
33190
33191 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33192
33193 [BZ #18731]
33194 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33195 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33196 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33197
33198 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33199
33200 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33201
33202 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33203
33204 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33205 directly in terms of __sync_fetch_and_add and delete (int) cast.
33206
33207 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33208
33209 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33210 the -D_ASM_IA64_CURRENT_H flag.
33211
33212 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33213
33214 [BZ #18641]
33215 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33216
33217 2015-07-27 Andreas Schwab <schwab@suse.de>
33218
33219 * conform/conformtest.pl (checknamespace): Filter out string
33220 literals while tokenizing.
33221
33222 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33223
33224 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33225 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33226 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33227
33228 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33229
33230 * nptl/tst-join7mod.c: Add #include <string.h>.
33231
33232 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33233
33234 * sysdeps/nios2/libm-test-ulps: Update.
33235
33236 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33237
33238 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33239 Fix order of arguments to the rt_sigprocmask syscall.
33240 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33241 Likewise.
33242
33243 2015-07-24 Roland McGrath <roland@hack.frob.com>
33244
33245 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33246
33247 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33248
33249 [BZ #18457]
33250 * nptl/Makefile (tests): New test case tst-join7.
33251 (modules-names): New test case module tst-join7mod.
33252 * nptl/tst-join7.c: New file.
33253 * nptl/tst-join7mod.c: New file.
33254 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33255 all translation units in libc.so, libpthread.so and rtld.
33256
33257 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33258
33259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33260
33261 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33262
33263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33265 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33266 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33267 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33269 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33270 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33271 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33272 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33273 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33274 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33275 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33276 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33277 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33278 implementation.
33279
33280 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33281
33282 [BZ #17711]
33283 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33284 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33285 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33286 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33287 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33288 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33289
33290 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33291
33292 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33293 instead of just saying load lock in the comments.
33294
33295 2015-07-23 Roland McGrath <roland@hack.frob.com>
33296
33297 * sysdeps/unix/Subdirs: Moved ...
33298 * sysdeps/posix/Subdirs: ... here.
33299 * login/pty.h (struct termios, struct winsize): Add forward decls.
33300 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33301 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33302 * sysdeps/arm/nacl/libc.abilist: Updated.
33303 * sysdeps/nacl/libutil.abilist: New file.
33304
33305 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33306 (SIGWINCH): New macro.
33307
33308 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33309 * sysdeps/arm/nacl/libc.abilist: Add it.
33310
33311 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33312
33313 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33314
33315 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33316
33317 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33318 Swap __glibc_reserved0 and sa_flags order.
33319
33320 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33321
33322 [BZ #18657]
33323 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33324 are pending TLS destructor calls.
33325 * include/link.h (struct link_map): Add concurrency note for
33326 L_TLS_DTOR_COUNT.
33327 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33328 Don't touch the link map flag. Atomically increment
33329 l_tls_dtor_count.
33330 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33331 Avoid taking the load lock and don't touch the link map flag.
33332 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33333 * stdlib/Makefile (tests): Use it.
33334 * stdlib/tst-tls-atexit.c (do_test): dlopen
33335 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33336 to allow tst-tls-atexit-nodelete test case to use it.
33337
33338 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33339
33340 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33341 to bits/types.h.
33342 (msgqnum_t): New typedef.
33343 (msglen_t): Likewise.
33344 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33345 and msg_qbytes type to msglen_t.
33346
33347 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33348
33349 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33350 pad0 to __glibc_reserved0.
33351 (struct stat64): Likewise.
33352
33353 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33354
33355 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33356 Change sa_flags from a long to an int and add __glibc_reserved0 before
33357 it for padding.
33358
33359 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33360
33361 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33362 anonymous by deleting "siginfo" name.
33363
33364 2015-07-21 Roland McGrath <roland@hack.frob.com>
33365
33366 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33367 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33368 rather than __nacl_irt_filename.
33369 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33370
33371 * NEWS: New item for arm-nacl port.
33372 * sysdeps/arm/nacl/libc.abilist: New file.
33373 * sysdeps/nacl/ld.abilist: New file.
33374 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33375 * sysdeps/nacl/libanl.abilist: New file.
33376 * sysdeps/nacl/libcrypt.abilist: New file.
33377 * sysdeps/nacl/libdl.abilist: New file.
33378 * sysdeps/nacl/libm.abilist: New file.
33379 * sysdeps/nacl/libpthread.abilist: New file.
33380 * sysdeps/nacl/libresolv.abilist: New file.
33381 * sysdeps/nacl/librt.abilist: New file.
33382
33383 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33384
33385 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33386 __startcontext to initialize the new context.
33387 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33388 up CFI directive to forbid further backtracing.
33389
33390 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33391
33392 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33393 reference.
33394 * charmaps/ANSI_X3.4-1968: Likewise.
33395 * charmaps/BS_4730: Likewise.
33396 * charmaps/BS_VIEWDATA: Likewise.
33397 * charmaps/CP1250: Likewise.
33398 * charmaps/CP1251: Likewise.
33399 * charmaps/CP1252: Likewise.
33400 * charmaps/CP1253: Likewise.
33401 * charmaps/CP1254: Likewise.
33402 * charmaps/CP1255: Likewise.
33403 * charmaps/CP1256: Likewise.
33404 * charmaps/CSN_369103: Likewise.
33405 * charmaps/EBCDIC-DK-NO: Likewise.
33406 * charmaps/GB_1988-80: Likewise.
33407 * charmaps/GREEK-CCITT: Likewise.
33408 * charmaps/GREEK7: Likewise.
33409 * charmaps/INIS-8: Likewise.
33410 * charmaps/ISIRI-3342: Likewise.
33411 * charmaps/ISO_2033-1983: Likewise.
33412 * charmaps/ISO_5427-EXT: Likewise.
33413 * locales/POSIX: Likewise.
33414 * locales/ar_SA: Likewise.
33415 * locales/be_BY: Likewise.
33416 * locales/be_BY@latin: Likewise.
33417 * locales/ca_ES: Likewise.
33418 * locales/cs_CZ: Likewise.
33419 * locales/da_DK: Likewise.
33420 * locales/de_BE: Likewise.
33421 * locales/de_CH: Likewise.
33422 * locales/de_LU: Likewise.
33423 * locales/en_AU: Likewise.
33424 * locales/en_BW: Likewise.
33425 * locales/en_CA: Likewise.
33426 * locales/en_DK: Likewise.
33427 * locales/en_GB: Likewise.
33428 * locales/en_IE: Likewise.
33429 * locales/en_NZ: Likewise.
33430 * locales/en_ZA: Likewise.
33431 * locales/en_ZW: Likewise.
33432 * locales/es_AR: Likewise.
33433 * locales/es_BO: Likewise.
33434 * locales/es_CL: Likewise.
33435 * locales/es_CO: Likewise.
33436 * locales/es_DO: Likewise.
33437 * locales/es_EC: Likewise.
33438 * locales/es_ES: Likewise.
33439 * locales/es_HN: Likewise.
33440 * locales/es_MX: Likewise.
33441 * locales/es_PA: Likewise.
33442 * locales/es_PE: Likewise.
33443 * locales/es_PY: Likewise.
33444 * locales/es_SV: Likewise.
33445 * locales/es_US: Likewise.
33446 * locales/es_UY: Likewise.
33447 * locales/es_VE: Likewise.
33448 * locales/et_EE: Likewise.
33449 * locales/fa_IR: Likewise.
33450 * locales/fo_FO: Likewise.
33451 * locales/fr_CA: Likewise.
33452 * locales/fr_CH: Likewise.
33453 * locales/gv_GB: Likewise.
33454 * locales/he_IL: Likewise.
33455 * locales/hr_HR: Likewise.
33456 * locales/id_ID: Likewise.
33457 * locales/is_IS: Likewise.
33458 * locales/it_CH: Likewise.
33459 * locales/iw_IL: Likewise.
33460 * locales/kl_GL: Likewise.
33461 * locales/ko_KR: Likewise.
33462 * locales/kw_GB: Likewise.
33463 * locales/lg_UG: Likewise.
33464 * locales/lt_LT: Likewise.
33465 * locales/lv_LV: Likewise.
33466 * locales/mi_NZ: Likewise.
33467 * locales/nhn_MX: Likewise.
33468 * locales/nl_BE: Likewise.
33469 * locales/pl_PL: Likewise.
33470 * locales/sk_SK: Likewise.
33471 * locales/sl_SI: Likewise.
33472 * locales/sv_FI: Likewise.
33473 * locales/tl_PH: Likewise.
33474 * locales/tr_TR: Likewise.
33475 * locales/vi_VN: Likewise.
33476
33477 2015-07-21 Khem Raj <raj.khem@gmail.com>
33478
33479 [BZ #17475]
33480 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33481 of tu_IN and bh_IN.
33482
33483 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33484
33485 [BZ #18694]
33486 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33487 bits/wordsize.h.
33488 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33489
33490 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33491
33492 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33493 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33494 (spawn_thread): New function.
33495 (load): Rename to reg_dtor_and_close. Move dlopen to...
33496 (do_test): ... here. Use IS_LOADED to test for its
33497 availability.
33498
33499 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33500
33501 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33502
33503 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33504
33505 [BZ #18696]
33506 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33507 si_addr_bnd.
33508 (si_lower): New.
33509 (si_upper): Likewise.
33510
33511 2015-07-16 David S. Miller <davem@davemloft.net>
33512
33513 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33514
33515 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33516
33517 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33518 buffer.
33519 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33520 fail output information.
33521
33522 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33523
33524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33525 and strstr-ppc64..
33526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33527 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33528 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33529 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33530 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33531
33532 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33533
33534 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33535 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33536 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33537 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33538
33539 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33540
33541 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33542 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33543 rtld_hidden_proto.
33544 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33545
33546 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33547
33548 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33549 the test can fail.
33550
33551 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33552
33553 [BZ #18676]
33554 * elf/tst-nodelete-opened.c: New test case.
33555 * elf/tst-nodelete-opened-lib.c: New test case module.
33556 * elf/Makefile (tests, modules-names): Use them.
33557 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33558 early.
33559
33560 2015-07-15 David S. Miller <davem@davemloft.net>
33561
33562 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33563 futex-intenal.h
33564 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33565 * sysdeps/sparc/sparc64/Makefile: Likewise.
33566 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33567 Remove space from macro define.
33568 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33569
33570 2015-07-15 Pravin Satpute <psatpute@redhat.com>
33571
33572 [BZ #17475]
33573 * locale/iso-639.def: Update Bhili and Tulu language codes as
33574 per iso639-3.
33575
33576 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
33577
33578 * elf/tst-leaks1.c (main): Converted to ...
33579 (do_test): ... this.
33580 (TEST_FUNCTION): New macro.
33581 Include test-skeleton.c.
33582 * localedata/tst-langinfo.c (main): Converted to ...
33583 (do_test): ... this.
33584 (TEST_FUNCTION): New macro.
33585 Include test-skeleton.c.
33586 * math/test-fpucw.c (main): Converted to ...
33587 (do_test): ... this.
33588 (TEST_FUNCTION): New macro.
33589 Include test-skeleton.c.
33590 * math/test-tgmath.c (main): Converted to ...
33591 (do_test): ... this.
33592 (TEST_FUNCTION): New macro.
33593 Include test-skeleton.c.
33594 * math/test-tgmath2.c (main): Converted to ...
33595 (do_test): ... this.
33596 (TEST_FUNCTION): New macro.
33597 Include test-skeleton.c.
33598 * setjmp/tst-setjmp.c (main): Converted to ...
33599 (do_test): ... this.
33600 (TEST_FUNCTION): New macro.
33601 Include test-skeleton.c.
33602 * stdio-common/tst-sscanf.c (main): Converted to ...
33603 (do_test): ... this.
33604 (TEST_FUNCTION): New macro.
33605 Include test-skeleton.c.
33606 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33607 (do_test): ... this.
33608 (TEST_FUNCTION): New macro.
33609 Include test-skeleton.c.
33610
33611 * elf/tst-audit9.c (main): Converted to ...
33612 (do_test): ... this.
33613 (TEST_FUNCTION): New macro.
33614 Include test-skeleton.c.
33615
33616 2015-07-15 Mike Frysinger <vapier@gentoo.org>
33617
33618 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33619
33620 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33621
33622 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33623 New variable.
33624
33625 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33626
33627 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33628
33629 2015-07-14 Roland McGrath <roland@hack.frob.com>
33630
33631 * sysdeps/generic/dl-fileid.h: New file.
33632 * sysdeps/posix/dl-fileid.h: New file.
33633 * sysdeps/nacl/dl-fileid.h: New file.
33634 * include/link.h: Include <dl-fileid.h>.
33635 (struct link_map): Replace l_dev and l_ino with l_file_id.
33636 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33637 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
33638 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
33639
33640 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33641
33642 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33643
33644 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33645
33646 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33647 Add iff $CXX is set.
33648 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33649 Likewise.
33650 (tst-nodelete-zmodiff): Likewise.
33651 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33652
33653 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33654
33655 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33656
33657 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33658
33659 * sysdeps/aarch64/fpu/math_private.h
33660 (define math_opt_barrier): Add AArch64 version.
33661 (math_force_eval): Likewise.
33662
33663 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33664
33665 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33666
33667 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
33668
33669 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33670 %ld with %jd and cast to intmax_t.
33671 (do_test_length_zero): Likewise.
33672
33673 2015-07-10 Roland McGrath <roland@hack.frob.com>
33674
33675 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33676
33677 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
33678
33679 * sysdeps/tile/libm-test-ulps: Regenerated.
33680
33681 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33682 Comment out the whole function, not just its body.
33683
33684 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33685
33686 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33687 locks.
33688
33689 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
33690
33691 2015-07-10 Torvald Riegel <triegel@redhat.com>
33692
33693 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
33694 (sem_assume_only_signals_cause_futex_EINTR): Remove.
33695
33696 2015-07-10 Torvald Riegel <triegel@redhat.com>
33697
33698 * sysdeps/nptl/futex-internal.h: New file.
33699 * sysdeps/nacl/futex-internal.h: New file.
33700 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
33701 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33702 error checking.
33703 (setxid_unmark_thread): Likewise.
33704 (__nptl_setxid): Likewise.
33705 (__wait_lookup_done): Likewise.
33706 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33707 * nptl/nptl-init.c (sighandler_setxid): Likewise.
33708 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33709 * nptl/pthread_once.c (clear_once_control): Likewise.
33710 (__pthread_once_slow): Likewise.
33711 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33712 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33713 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33714 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33715 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33716 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33717 Likewise.
33718 (__pthread_rwlock_rdlock): Likewise.
33719 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33720 Likewise.
33721 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33722 Likewise.
33723 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33724 Likewise.
33725 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33726 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33727 Likewise.
33728 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33729 __ASSUME_PRIVATE_FUTEX check.
33730 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33731 Check that shared futexes are supported.
33732 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33733 wrappers with error checking.
33734 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33735 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33736 * nptl/pthread_barrierattr_setpshared.c
33737 (pthread_barrierattr_setpshared): Check that shared futexes are
33738 supported.
33739 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33740 Likewise.
33741 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33742 Likewise.
33743 * nptl/sem_init.c (futex_private_if_supported): Remove.
33744 (__new_sem_init): Adapt and check that shared futexes are supported.
33745 * nptl/sem_open.c (sem_open): Likewise.
33746 * nptl/sem_post.c (futex_wake): Remove.
33747 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33748 (do_futex_wait): Use futex wrappers with error checking.
33749 * nptl/sem_wait.c: Include lowlevellock.h.
33750 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33751 Use futex_supports_pshared.
33752 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33753 Use futex wrappers with error checking.
33754 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33755 Likewise.
33756 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33757 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33758 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33759 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33760 (futex_wake): Likewise.
33761 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33762 (do_futex_wait): Use futex wrappers with error checking.
33763 (__new_sem_wait_slow): Update EINTR handling.
33764 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33765
33766 2015-07-09 Martin Sebor <msebor@redhat.com>
33767
33768 [BZ #18435]
33769 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33770 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33771 * nptl/Makefile (test-xfail-tst-once5): Define.
33772
33773 2015-07-09 Roland McGrath <roland@hack.frob.com>
33774
33775 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33776 * elf/dl-minimal.c: For readability, reorder some definitions and
33777 introduce more page breaks. Include <stdio.h>.
33778 (__libc_fatal): New function.
33779
33780 * include/unistd.h: Add rtld_hidden_proto for _exit.
33781 * posix/_exit.c: Add rtld_hidden_def.
33782 * sysdeps/mach/hurd/_exit.c: Likewise.
33783 * sysdeps/nacl/_exit.c: Likewise.
33784 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33785 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33786
33787 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
33788
33789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33790 bndmov encoding with zero displacement.
33791
33792 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
33793 H.J. Lu <hongjiu.lu@intel.com>
33794
33795 [BZ #18134]
33796 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33797 * sysdeps/i386/configure: Regenerated.
33798 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33799 (_dl_runtime_profile): Save and restore Intel MPX return bound
33800 registers when calling _dl_call_pltexit. Add
33801 PRESERVE_BND_REGS_PREFIX before return.
33802 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33803 (LRV_BND1_OFFSET): Likewise.
33804 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33805 lrv_bnd1.
33806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33807 typo in bndmov encoding.
33808 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33809 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
33810 branch instructions to preserve bounds.
33811
33812 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33813
33814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33815 [GLIBC_2.22]: Add fmemopen.
33816
33817 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
33818
33819 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33820 returns an error, also try to use host port from __mach_host_self for
33821 the __vm_wire call.
33822 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33823
33824 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
33825
33826 [BZ #18400]
33827 [BZ #18648]
33828 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33829 Fix pr_uid and pr_gid members.
33830 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33831 definition to elf_greg_t.
33832
33833 2015-07-08 Roland McGrath <roland@hack.frob.com>
33834
33835 [BZ #18383]
33836 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33837 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33838 * sysdeps/arm/configure: Regenerated.
33839 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33840 (test-xfail-tst-tlsalign-static): Variable removed.
33841
33842 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33843 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33844 rather than explicit 'ln -s'.
33845
33846 * resolv/rpc/netdb.h: New file.
33847 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33848
33849 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33850
33851 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33852 length buffers.
33853 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33854 test-skeleton.c.
33855
33856 [BZ #6544]
33857 [BZ #11216]
33858 [BZ #12836]
33859 [BZ #13151]
33860 [BZ #13152]
33861 [BZ #14292]
33862 * include/stdio.h (fmemopen): Remove hidden prototype.
33863 (__fmemopen): Add new hidden prototype.
33864 * libio/Makefile: Add oldfmemopen object.
33865 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33866 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33867 compliance.
33868 * libio/oldfmemopen.c: New file: old fmemopen implementation for
33869 symbol compatibility.
33870 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33871 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33872 fmemopen.
33873 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33874 on append and read mode.
33875 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33876 fmemopen.
33877 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33878 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33879 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33880 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33881 Likewise.
33882 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33883 [GLIBC_2.22]: Likewise.
33884 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33885 Likewise.
33886 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33887 Likewise.
33888 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33889 [GLIBC_2.22]: Likewise.
33890 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33891 [GLIBC_2.22]: Likewise.
33892 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33893 [GLIBC_2.22]: Likewise.
33894 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33895 [GLIBC_2.22]: Likewise.
33896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33897 [GLIBC_2.22]: Likewise.
33898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33899 [GLIBC_2.22]: Likewise.
33900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33901 [GLIBC_2.22]: Likewise.
33902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33903 Likewise.
33904 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33905 Likewise.
33906 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33908 [GLIBC_2.22]: Likewise.
33909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33910 [GLIBC_2.22]: Likewise.
33911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33912 [GLIBC_2.22]: Likewise.
33913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33914 [GLIBC_2.22]: Likewise.
33915 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33916 Likewise.
33917 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33918 Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33920 Likewise.
33921 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33922 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33923
33924 2015-07-08 Carlos O'Donell <carlos@redhat.com>
33925
33926 [BZ #18643]
33927 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33928 IPV6_PATHMTU, and IPV6_DONTFRAG.
33929
33930 2015-07-08 Feng Gao <gfree.wind@gmail.com>
33931
33932 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33933 and _IO_UNBUFFERED.
33934 * libio/oldfileops.c: Likewise.
33935 * libio/wfileops.c: Likewise.
33936
33937 2015-07-08 Mike Frysinger <vapier@gentoo.org>
33938
33939 * nscd/selinux.c: Delete selinux/flask.h include.
33940
33941 2015-07-08 Mike Frysinger <vapier@gentoo.org>
33942
33943 [BZ #18641]
33944 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33945 (putpwent): Likewise.
33946 (getpwnam): Likewise.
33947 (getpwent_r): Likewise.
33948 (getpwuid_r): Likewise.
33949 (getpwnam_r): Likewise.
33950 (fgetpwent_r): Likewise.
33951
33952 2015-07-08 Carlos O'Donell <carlos@redhat.com>
33953
33954 [BZ #18557]
33955 * inet/rcmd.c (__validuser2_sa): Check user first to
33956 short-circuit host check.
33957
33958 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
33959 Mikhail Ilin <m.ilin@samsung.com>
33960
33961 [BZ #17833]
33962 * elf/Makefile (tests): Add tst-nodelete.
33963 (modules-names): Add tst-nodelete-uniquemod.
33964 (tst-nodelete-uniquemod.so-no-z-defs): New.
33965 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33966 (tst-nodelete-zmod.so-no-z-defs): Likewise.
33967 ($(objpfx)tst-nodelete): Likewise.
33968 ($(objpfx)tst-nodelete.out): Likewise.
33969 (LDFLAGS-tst-nodelete): Likewise.
33970 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33971 * elf/dl-close.c (_dl_close_worker): Add a parameter to
33972 implement forced object deletion.
33973 (_dl_close): Pass false to _dl_close_worker.
33974 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33975 * elf/tst-nodelete.cc: New file.
33976 * elf/tst-nodeletelib.cc: Likewise.
33977 * elf/tst-znodeletelib.cc: Likewise.
33978 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33979
33980 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
33981
33982 [BZ #18508]
33983 * stdlib/Makefile ($(objpfx)tst-makecontext3):
33984 Depend on $(libdl).
33985 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33986 is not called infinitely times.
33987 (backtrace_helper): New function.
33988 (trace_arg): New struct.
33989 (st1): Enlarge stack size.
33990 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33991 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33992 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33993 Likewise.
33994
33995 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
33996
33997 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33998
33999 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34000
34001 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34002 Include sys/types.h instead of bits/types.h.
34003 Remove inclusion of bits/wordsize.h.
34004
34005 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34006
34007 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34008 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34009 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34010 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34011 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34012 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34013
34014 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34015
34016 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34017 link-defines.sym.
34018 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34019 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34020 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34021 and LR_SIZE.
34022 * sysdeps/i386/link-defines.sym: New file.
34023
34024 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34025
34026 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34027 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34028 ($(objpfx)tst-audit3): New rule.
34029 ($(objpfx)tst-audit3.out): Likewise.
34030 * sysdeps/i386/tst-audit3.c: New file.
34031 * sysdeps/i386/tst-audit3.h: Likewise.
34032 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34033 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34034
34035 2015-07-07 Torvald Riegel <triegel@redhat.com>
34036
34037 [BZ #18633]
34038 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34039 pointer in C code.
34040 (__strcat_c): Likewise.
34041 (__strcat_g): Likewise.
34042
34043 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34044
34045 [BZ #18592]
34046 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34047
34048 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34049
34050 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34051 New function. (__ieee754_sqrtf): New function.
34052 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34053 New function.
34054 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34055 New function.
34056
34057 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34058
34059 * sysdeps/ieee754/support.c: Remove unused file.
34060
34061 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34062
34063 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34064 registers instead of d ones so the layout is kernel abi compatible.
34065 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34066 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34067 Likewise.
34068
34069 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34070
34071 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34072
34073 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34074
34075 [BZ #18619]
34076 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34077 and return argument in case of subnormal argument.
34078
34079 2015-07-01 Martin Sebor <msebor@redhat.com>
34080
34081 [BZ #18435]
34082 * nptl/Makefile: Add tst-once5.cc.
34083 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34084 Remove macro redefinitions.
34085 * nptl/tst-once5.cc: New test.
34086
34087 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34088
34089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34090
34091 * sysdeps/arm/libm-test-ulps: Regenerated.
34092
34093 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34094 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34095
34096 2015-06-30 Torvald Riegel <triegel@redhat.com>
34097
34098 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34099 lll_lock_wait_private and lll_futex_wake probes.
34100
34101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34103 Likewise.
34104 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34105 atomic_spin_nop.
34106 * sysdeps/x86_64/bits/atomic.h: Likewise.
34107 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34108 to atomic_spin_nop and move ...
34109 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34110 ... here and ...
34111 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34112 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34113 atomic_spin_nop instead of BUSY_WAIT_NOP.
34114 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34115 Likewise.
34116 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34117 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34118 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34119 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34120 instead of atomic_delay.
34121
34122 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34123
34124 [BZ #18613]
34125 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34126 X_ADJ not X when adjusting exponent.
34127 (__ieee754_gamma_r): Do intermediate computations in
34128 round-to-nearest then adjust overflowing and underflowing results
34129 as needed.
34130 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34131 of X_ADJ not X when adjusting exponent.
34132 (__ieee754_gammaf_r): Do intermediate computations in
34133 round-to-nearest then adjust overflowing and underflowing results
34134 as needed.
34135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34136 log of X_ADJ not X when adjusting exponent.
34137 (__ieee754_gammal_r): Do intermediate computations in
34138 round-to-nearest then adjust overflowing and underflowing results
34139 as needed. Use 1.0L not 1.0f as numerator of division.
34140 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34141 log of X_ADJ not X when adjusting exponent.
34142 (__ieee754_gammal_r): Do intermediate computations in
34143 round-to-nearest then adjust overflowing and underflowing results
34144 as needed. Use 1.0L not 1.0f as numerator of division.
34145 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34146 of X_ADJ not X when adjusting exponent.
34147 (__ieee754_gammal_r): Do intermediate computations in
34148 round-to-nearest then adjust overflowing and underflowing results
34149 as needed. Use 1.0L not 1.0f as numerator of division.
34150 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34151 to auto-libm-test-in.
34152 (tgamma_test): Use ALL_RM_TEST.
34153 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34154 tests of tgamma with spurious-overflow.
34155 * math/auto-libm-test-out: Regenerated.
34156 * math/gen-libm-have-vector-test.sh: Do not check for START.
34157 * sysdeps/i386/fpu/libm-test-ulps: Update.
34158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34159
34160 [BZ #18612]
34161 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34162 arguments, just return 0.5 times the argument, with underflow
34163 forced as needed.
34164 * math/auto-libm-test-in: Add more tests of j1.
34165 * math/auto-libm-test-out: Regenerated.
34166
34167 [BZ #16559]
34168 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34169 (__ieee754_j1): Force underflow exception for small results.
34170 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34171 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34172 (__ieee754_j1f): Force underflow exception for small results.
34173 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34174 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34177 (__ieee754_j1l): Force underflow exception for small results.
34178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34179 * math/auto-libm-test-in: Add more tests of j1 and jn.
34180 * math/auto-libm-test-out: Regenerated.
34181
34182 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34184 (PF_MPLS): Likewise.
34185 (AF_IB): Likewise.
34186 (AF_MPLS): Likewise.
34187 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34188 value and macro.
34189 (MS_RMT_MASK): Include MS_LAZYTIME.
34190
34191 2015-06-26 Mel Gorman <mgorman@suse.de>
34192
34193 [BZ #18502]
34194 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34195 already minimal.
34196
34197 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34198
34199 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34200 (DT_MIPS_NUM): Update.
34201 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34202 DT_MIPS_RLD_MAP_REL.
34203
34204 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34205
34206 [BZ #16559]
34207 [BZ #18602]
34208 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34209 round-to-nearest internally then recompute results that
34210 underflowed to zero in the original rounding mode.
34211 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34212 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34215 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34216 * sysdeps/i386/fpu/libm-test-ulps: Update.
34217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34218
34219 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34220
34221 * NEWS: Fixed description of link with vector math library.
34222
34223 2015-06-25 Andreas Schwab <schwab@suse.de>
34224
34225 [BZ #18549]
34226 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34227 * libio/test-fmemopen.c (do_test): Add test for it.
34228
34229 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34230
34231 [BZ #17841]
34232 * Makeconfig (no-pie-ldflag): New.
34233 (+link): Set to $(+link-pie) if default to PIE.
34234 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34235 * config.make.in (build-pie-default): New.
34236 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34237 is default. AC_SUBST.
34238 * configure: Regenerated.
34239 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34240
34241 2015-06-24 Roland McGrath <roland@hack.frob.com>
34242
34243 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34244 to 'unsigned int'.
34245
34246 * resolv/gai_misc.h (struct waitlist): Change type of field
34247 counterp to 'volatile unsigned int *'.
34248 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34249 FUTEXADDR and OLDVAL.
34250 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34251 Give local variable TOTAL type 'volatile unsigned int'.
34252 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34253 * resolv/gai_suspend.c (gai_suspend):
34254 Give local variable CNTR type 'unsigned int'.
34255
34256 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34257 counterp to 'volatile unsigned int *'.
34258 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34259 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34260 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34261 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34262 Give local variable TOTAL type 'volatile unsigned int'.
34263 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34264
34265 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34266
34267 [BZ #18383]
34268 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34269 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34270 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34271 comment for i386/x86-64.
34272 (test-xfail-tst-tlsalign-extern-static): Removed.
34273
34274 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34275
34276 * math/test-double.h: New file.
34277 * math/test-float.h: Likewise.
34278 * math/test-ldouble.h: Likewise.
34279 * math/test-math-inline.h: Likewise.
34280 * math/test-math-no-inline.h: Likewise.
34281 * math/test-math-scalar.h: Likewise.
34282 * math/test-math-vector.h: Likewise.
34283 * math/test-vec-loop.h: Remove file. Contents moved into
34284 test-math-vector.h.
34285 * math/libm-test.inc (MATHCONST): Do not document macro.
34286 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34287 and test-math-scalar.h.
34288 (FUNC): Remove macro.
34289 (FUNC_TEST): Likewise.
34290 (FLOAT): Likewise.
34291 (MATHCONST): Likewise.
34292 (PRINTF_EXPR): Likewise.
34293 (PRINTF_XEXPR): Likewise.
34294 (PRINTF_NEXPR): Likewise.
34295 (TEST_DOUBLE): Likewise.
34296 (TEST_MATHVEC): Likewise.
34297 (__NO_MATH_INLINES): Likewise.
34298 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34299 and test-math-scalar.h.
34300 (FUNC): Remove macro.
34301 (FUNC_TEST): Likewise.
34302 (FLOAT): Likewise.
34303 (MATHCONST): Likewise.
34304 (PRINTF_EXPR): Likewise.
34305 (PRINTF_XEXPR): Likewise.
34306 (PRINTF_NEXPR): Likewise.
34307 (TEST_FLOAT): Likewise.
34308 (TEST_MATHVEC): Likewise.
34309 (__NO_MATH_INLINES): Likewise.
34310 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34311 and test-math-scalar.h.
34312 (FUNC): Remove macro.
34313 (FUNC_TEST): Likewise.
34314 (FLOAT): Likewise.
34315 (MATHCONST): Likewise.
34316 (PRINTF_EXPR): Likewise.
34317 (PRINTF_XEXPR): Likewise.
34318 (PRINTF_NEXPR): Likewise.
34319 (TEST_DOUBLE): Likewise.
34320 (TEST_MATHVEC): Likewise.
34321 (TEST_INLINE): Likewise.
34322 (__NO_MATH_INLINES): Likewise.
34323 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34324 test-math-scalar.h.
34325 (FUNC): Remove macro.
34326 (FUNC_TEST): Likewise.
34327 (FLOAT): Likewise.
34328 (MATHCONST): Likewise.
34329 (PRINTF_EXPR): Likewise.
34330 (PRINTF_XEXPR): Likewise.
34331 (PRINTF_NEXPR): Likewise.
34332 (TEST_FLOAT): Likewise.
34333 (TEST_MATHVEC): Likewise.
34334 (TEST_INLINE): Likewise.
34335 (__NO_MATH_INLINES): Likewise.
34336 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34337 and test-math-scalar.h.
34338 (FUNC): Remove macro.
34339 (FUNC_TEST): Likewise.
34340 (FLOAT): Likewise.
34341 (MATHCONST): Likewise.
34342 (PRINTF_EXPR): Likewise.
34343 (PRINTF_XEXPR): Likewise.
34344 (PRINTF_NEXPR): Likewise.
34345 (TEST_LDOUBLE): Likewise.
34346 (TEST_MATHVEC): Likewise.
34347 (TEST_INLINE): Likewise.
34348 (__NO_MATH_INLINES): Likewise.
34349 * math/test-ldouble.c: Include test-ldouble.h,
34350 test-math-no-inline.h and test-math-scalar.h.
34351 (FUNC): Remove macro.
34352 (FUNC_TEST): Likewise.
34353 (FLOAT): Likewise.
34354 (MATHCONST): Likewise.
34355 (PRINTF_EXPR): Likewise.
34356 (PRINTF_XEXPR): Likewise.
34357 (PRINTF_NEXPR): Likewise.
34358 (TEST_LDOUBLE): Likewise.
34359 (TEST_MATHVEC): Likewise.
34360 (__NO_MATH_INLINES): Likewise.
34361 * math/test-double-vlen2.h: Include test-double.h,
34362 test-math-no-inline.h and test-math-vector.h.
34363 (FLOAT): Remove macro.
34364 (FUNC): Likewise.
34365 (MATHCONST): Likewise.
34366 (PRINTF_EXPR): Likewise.
34367 (PRINTF_XEXPR): Likewise.
34368 (PRINTF_NEXPR): Likewise.
34369 (TEST_DOUBLE): Likewise.
34370 (TEST_MATHVEC): Likewise.
34371 (__NO_MATH_INLINES): Likewise.
34372 (CNCT): Likewise.
34373 (CONCAT): Likewise.
34374 (WRAPPER_NAME): Likewise.
34375 (WRAPPER_DECL): Likewise.
34376 (WRAPPER_DECL_ff): Likewise.
34377 (WRAPPER_DECL_fFF): Likewise.
34378 (VECTOR_WRAPPER): Likewise.
34379 (VECTOR_WRAPPER_ff): Likewise.
34380 (VECTOR_WRAPPER_fFF): Likewise.
34381 (VEC_LEN): New macro.
34382 * math/test-double-vlen4.h: Include test-double.h,
34383 test-math-no-inline.h and test-math-vector.h.
34384 (FLOAT): Remove macro.
34385 (FUNC): Likewise.
34386 (MATHCONST): Likewise.
34387 (PRINTF_EXPR): Likewise.
34388 (PRINTF_XEXPR): Likewise.
34389 (PRINTF_NEXPR): Likewise.
34390 (TEST_DOUBLE): Likewise.
34391 (TEST_MATHVEC): Likewise.
34392 (__NO_MATH_INLINES): Likewise.
34393 (CNCT): Likewise.
34394 (CONCAT): Likewise.
34395 (WRAPPER_NAME): Likewise.
34396 (WRAPPER_DECL): Likewise.
34397 (WRAPPER_DECL_ff): Likewise.
34398 (WRAPPER_DECL_fFF): Likewise.
34399 (VECTOR_WRAPPER): Likewise.
34400 (VECTOR_WRAPPER_ff): Likewise.
34401 (VECTOR_WRAPPER_fFF): Likewise.
34402 (VEC_LEN): New macro.
34403 * math/test-double-vlen8.h: Include test-double.h,
34404 test-math-no-inline.h and test-math-vector.h.
34405 (FLOAT): Remove macro.
34406 (FUNC): Likewise.
34407 (MATHCONST): Likewise.
34408 (PRINTF_EXPR): Likewise.
34409 (PRINTF_XEXPR): Likewise.
34410 (PRINTF_NEXPR): Likewise.
34411 (TEST_DOUBLE): Likewise.
34412 (TEST_MATHVEC): Likewise.
34413 (__NO_MATH_INLINES): Likewise.
34414 (CNCT): Likewise.
34415 (CONCAT): Likewise.
34416 (WRAPPER_NAME): Likewise.
34417 (WRAPPER_DECL): Likewise.
34418 (WRAPPER_DECL_ff): Likewise.
34419 (WRAPPER_DECL_fFF): Likewise.
34420 (VECTOR_WRAPPER): Likewise.
34421 (VECTOR_WRAPPER_ff): Likewise.
34422 (VECTOR_WRAPPER_fFF): Likewise.
34423 (VEC_LEN): New macro.
34424 * math/test-float-vlen4.h: Include test-float.h,
34425 test-math-no-inline.h and test-math-vector.h.
34426 (FLOAT): Remove macro.
34427 (FUNC): Likewise.
34428 (MATHCONST): Likewise.
34429 (PRINTF_EXPR): Likewise.
34430 (PRINTF_XEXPR): Likewise.
34431 (PRINTF_NEXPR): Likewise.
34432 (TEST_FLOAT): Likewise.
34433 (TEST_MATHVEC): Likewise.
34434 (__NO_MATH_INLINES): Likewise.
34435 (CNCT): Likewise.
34436 (CONCAT): Likewise.
34437 (WRAPPER_NAME): Likewise.
34438 (WRAPPER_DECL): Likewise.
34439 (WRAPPER_DECL_ff): Likewise.
34440 (WRAPPER_DECL_fFF): Likewise.
34441 (VECTOR_WRAPPER): Likewise.
34442 (VECTOR_WRAPPER_ff): Likewise.
34443 (VECTOR_WRAPPER_fFF): Likewise.
34444 (VEC_LEN): New macro.
34445 * math/test-float-vlen8.h: Include test-float.h,
34446 test-math-no-inline.h and test-math-vector.h.
34447 (FLOAT): Remove macro.
34448 (FUNC): Likewise.
34449 (MATHCONST): Likewise.
34450 (PRINTF_EXPR): Likewise.
34451 (PRINTF_XEXPR): Likewise.
34452 (PRINTF_NEXPR): Likewise.
34453 (TEST_FLOAT): Likewise.
34454 (TEST_MATHVEC): Likewise.
34455 (__NO_MATH_INLINES): Likewise.
34456 (CNCT): Likewise.
34457 (CONCAT): Likewise.
34458 (WRAPPER_NAME): Likewise.
34459 (WRAPPER_DECL): Likewise.
34460 (WRAPPER_DECL_ff): Likewise.
34461 (WRAPPER_DECL_fFF): Likewise.
34462 (VECTOR_WRAPPER): Likewise.
34463 (VECTOR_WRAPPER_ff): Likewise.
34464 (VECTOR_WRAPPER_fFF): Likewise.
34465 (VEC_LEN): New macro.
34466 * math/test-float-vlen16.h: Include test-float.h,
34467 test-math-no-inline.h and test-math-vector.h.
34468 (FLOAT): Remove macro.
34469 (FUNC): Likewise.
34470 (MATHCONST): Likewise.
34471 (PRINTF_EXPR): Likewise.
34472 (PRINTF_XEXPR): Likewise.
34473 (PRINTF_NEXPR): Likewise.
34474 (TEST_FLOAT): Likewise.
34475 (TEST_MATHVEC): Likewise.
34476 (__NO_MATH_INLINES): Likewise.
34477 (CNCT): Likewise.
34478 (CONCAT): Likewise.
34479 (WRAPPER_NAME): Likewise.
34480 (WRAPPER_DECL): Likewise.
34481 (WRAPPER_DECL_ff): Likewise.
34482 (WRAPPER_DECL_fFF): Likewise.
34483 (VECTOR_WRAPPER): Likewise.
34484 (VECTOR_WRAPPER_ff): Likewise.
34485 (VECTOR_WRAPPER_fFF): Likewise.
34486 (VEC_LEN): New macro.
34487 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34488 test-vec-loop.h.
34489 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34490 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34491 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34492 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34493 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34494 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34495 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34496
34497 2015-06-24 Roland McGrath <roland@hack.frob.com>
34498
34499 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34500 (__getlogin_r): ... this.
34501
34502 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34503
34504 [BZ #18594]
34505 * math/s_ccosh.c (__ccosh): Compare with least normal value
34506 instead of comparing class with FP_SUBNORMAL.
34507 * math/s_ccoshf.c (__ccoshf): Likewise.
34508 * math/s_ccoshl.c (__ccoshl): Likewise.
34509 * math/s_cexp.c (__cexp): Likewise.
34510 * math/s_cexpf.c (__cexpf): Likewise.
34511 * math/s_cexpl.c (__cexpl): Likewise.
34512 * math/s_csin.c (__csin): Likewise.
34513 * math/s_csinf.c (__csinf): Likewise.
34514 * math/s_csinh.c (__csinh): Likewise.
34515 * math/s_csinhf.c (__csinhf): Likewise.
34516 * math/s_csinhl.c (__csinhl): Likewise.
34517 * math/s_csinl.c (__csinl): Likewise.
34518 * math/s_ctan.c (__ctan): Likewise.
34519 * math/s_ctanf.c (__ctanf): Likewise.
34520 * math/s_ctanh.c (__ctanh): Likewise.
34521 * math/s_ctanhf.c (__ctanhf): Likewise.
34522 * math/s_ctanhl.c (__ctanhl): Likewise.
34523 * math/s_ctanl.c (__ctanl): Likewise.
34524 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34525 csin, csinh, ctan and ctanh.
34526 * math/auto-libm-test-out: Regenerated.
34527 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34530
34531 2015-06-24 Roland McGrath <roland@hack.frob.com>
34532
34533 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34534 return value is wrong, print the expected value too.
34535
34536 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34537
34538 [BZ #18585]
34539 * elf/readlib.c (is_gdb_python_file): New.
34540 (process_file): Don't issue errors on filenames with -gdb.py
34541 suffix.
34542
34543 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34544
34545 * math/auto-libm-test-in: Add more tests of csin and csinh.
34546 * math/auto-libm-test-out: Regenerated.
34547 * math/libm-test.inc (csin_test_data): Remove tests moved to
34548 auto-libm-test-in.
34549 (csinh_test_data): Likewise.
34550
34551 [BZ #18593]
34552 * math/s_csin.c (__csin): Negate before rather than after possibly
34553 overflowing multiplication.
34554 * math/s_csinf.c (__csinf): Likewise.
34555 * math/s_csinh.c (__csinh): Likewise.
34556 * math/s_csinhf.c (__csinhf): Likewise.
34557 * math/s_csinhl.c (__csinhl): Likewise.
34558 * math/s_csinl.c (__csinl): Likewise.
34559 * math/auto-libm-test-in: Add some tests of csin and csinh.
34560 * math/auto-libm-test-out: Regenerated.
34561 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34562 (csinh_test_data): Likewise.
34563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34564
34565 [BZ #18586]
34566 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34567 underflow exception for small results.
34568
34569 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
34570
34571 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34573 variable and included header.
34574 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34575 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34576 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34577 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34578 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34579 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34580 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34581 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34582 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34583 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34584 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34585 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34586 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34587 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34588 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34589 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34590
34591 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34592
34593 [BZ #16526]
34594 [BZ #16538]
34595 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34596 (__sin): Force underflow exception for arguments with small
34597 absolute value.
34598 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34599 (__kernel_sinf): Force underflow exception for arguments with
34600 small absolute value.
34601 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34602 (__kernel_sincosl): Force underflow exception for arguments with
34603 small absolute value.
34604 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34605 (__kernel_sinl): Force underflow exception for arguments with
34606 small absolute value.
34607 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34608 (__kernel_sincosl): Force underflow exception for arguments with
34609 small absolute value.
34610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34611 (__kernel_sinl): Force underflow exception for arguments with
34612 small absolute value.
34613 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34614 (__kernel_sinl): Force underflow exception for arguments with
34615 small absolute value.
34616 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34617 (__kernel_sinf): Force underflow exception for arguments with
34618 small absolute value.
34619 * math/auto-libm-test-in: Add more tests of sin and sincos.
34620 * math/auto-libm-test-out: Regenerated.
34621
34622 [BZ #18245]
34623 [BZ #18583]
34624 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34625 (__kernel_standard_l): Use feholdexcept and fesetenv around
34626 conversion to double instead of special-casing overflow and
34627 underflow.
34628 * math/libm-test.inc (fmod_test_data): Add more tests.
34629 (remainder_test_data): Likewise.
34630 (sqrt_test_data): Likewise.
34631
34632 2015-06-23 Torvald Riegel <triegel@redhat.com>
34633
34634 [BZ #17403]
34635 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34636 atomic_read_barrier, atomic_write_barrier): Define.
34637 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34638 atomic_read_barrier, atomic_write_barrier): Define.
34639
34640 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34641
34642 * math/Makefile [$(PERL) != no]
34643 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34644 dependency on libm-test.stmp below the inclusion of Rules.
34645
34646 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
34647
34648 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34649 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34650 and included header.
34651 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34652 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34653 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34654 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34655 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34659 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34660 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34661 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34662 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34663 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34664 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34665 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34666 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34667 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34668 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34669 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34670
34671 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34672
34673 [BZ #18371]
34674 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34675 intermediate but not final result might underflow.
34676 * math/s_csqrtf.c (__csqrtf): Likewise.
34677 * math/s_csqrtl.c (__csqrtl): Likewise.
34678 * math/auto-libm-test-in: Add more tests of csqrt.
34679 * math/auto-libm-test-out: Regenerated.
34680 * sysdeps/i386/fpu/libm-test-ulps: Update.
34681
34682 [BZ #18219]
34683 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34684 threshold on absolute value of exponent for which scaling is used.
34685 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34686 * math/auto-libm-test-in: Add more tests of exp2.
34687 * math/auto-libm-test-out: Regenerated.
34688
34689 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
34690
34691 [BZ #17977]
34692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
34693 when initializing interface list, based on the bug analysis
34694 and the patch proposed by Eric Newton.
34695 * resolv/tst-res_hconf_reorder.c: New test.
34696 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
34697 tst-res_hconf_reorder.
34698 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
34699 and $(shared-thread-library).
34700 (tst-res_hconf_reorder-ENV): New variable.
34701
34702 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34703 in comment.
34704
34705 2015-06-22 Joseph Myers <joseph@codesourcery.com>
34706
34707 [BZ #16353]
34708 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34709 (__expm1): Force underflow exception for arguments with small
34710 absolute value.
34711 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34712 (__expm1f): Force underflow exception for arguments with small
34713 absolute value.
34714 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34715 (__expm1): Force underflow exception for arguments with small
34716 absolute value.
34717 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34718 (__expm1f): Force underflow exception for arguments with small
34719 absolute value.
34720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34721 Check for small arguments before calling __expm1.
34722 * math/auto-libm-test-in: Do not mark underflow exceptions as
34723 possibly missing for bug 16353.
34724 * math/auto-libm-test-out: Regenerated.
34725
34726 2015-06-22 Andreas Schwab <schwab@suse.de>
34727
34728 [BZ #18513]
34729 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34730 PTR queries.
34731
34732 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
34733
34734 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34735
34736 * string/strcoll_l.c: Remove unused struct element idxnow.
34737
34738 2015-06-21 Joseph Myers <joseph@codesourcery.com>
34739
34740 [BZ #18569]
34741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34742 underflow and return argument in case of subnormal argument.
34743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34744 Likewise.
34745 * math/auto-libm-test-in: Add more tests of expm1.
34746 * math/auto-libm-test-out: Regenerated.
34747
34748 [BZ #16361]
34749 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34750 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34751 tiny results.
34752 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34753 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34754 tiny results.
34755 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
34756 mark underflow exceptions as possibly missing for bug 16361.
34757 * math/auto-libm-test-out: Regenerated.
34758
34759 2015-06-19 Joseph Myers <joseph@codesourcery.com>
34760
34761 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34762 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34763 Remove variable.
34764 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34765 (test-xfail-XOPEN2K8/utmpx.h/conform).
34766
34767 * conform/conformtest.pl ($xerrors): New variable.
34768 (note_error): New function.
34769 (compiletest): New argument $xfail. Use not_error.
34770 (runtest): Likewise.
34771 (top level): Handle xfail- lines. Update calls to compiletest and
34772 runtest. Handle xfail- and optional- in headers listed with
34773 allow-header.
34774 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34775 (O_EXEC): Likewise.
34776 (O_SEARCH): Likewise.
34777 * conform/data/stropts.h-data (ioctl): Likewise.
34778 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34779 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34780 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34781 (msghdr.msg_controllen): Likewise.
34782 (cmsghdr.cmsg_len): Likewise.
34783 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34784 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34785 variable.
34786 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34787 (test-xfail-XPG4/stropts.h/conform): Likewise.
34788 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34789 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34790 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34791 (test-xfail-UNIX98/stropts.h/conform): Likewise.
34792 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34793 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34794 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34795 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34796 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34797 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34798 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34799 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34800 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34801 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34802 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34803 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34804 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34805 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34806 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34807
34808 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
34809
34810 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34811 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34812 definitions for proper unfolding of __MATHDECL_VEC.
34813
34814 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34815
34816 * benchtests/bench-strcoll.c:
34817 Include string.h.
34818 (main): Remove unused variable res.
34819
34820 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34821
34822 * timezone/Makefile (%/UTC %/Universal):
34823 Generate test-result files for UTC and Universal.
34824
34825 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34826
34827 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34828
34829 2015-06-18 Joseph Myers <joseph@codesourcery.com>
34830
34831 [BZ #16350]
34832 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34833 for arguments with small absolute value.
34834 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34835 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34836 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34837 (__asinh): Force underflow exception for arguments with small
34838 absolute value.
34839 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34840 (__asinhf): Force underflow exception for arguments with small
34841 absolute value.
34842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34843 (__asinhl): Force underflow exception for arguments with small
34844 absolute value.
34845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34846 (__asinhl): Force underflow exception for arguments with small
34847 absolute value.
34848 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34849 (__asinhl): Force underflow exception for arguments with small
34850 absolute value.
34851 * math/auto-libm-test-in: Do not mark underflow exceptions as
34852 possibly missing for bug 16350.
34853 * math/auto-libm-test-out: Regenerated.
34854
34855 * include/bits/ipc.h: Remove file.
34856 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34857 variable.
34858 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34859 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34860 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34861 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34862 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34863 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34864 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34865 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34866 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34867
34868 * math/auto-libm-test-in: Remove spurious underflow allowance for
34869 tests of cexp.
34870 * math/auto-libm-test-out: Regenerated.
34871
34872 [BZ #18558]
34873 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34874 unconditional definition.
34875 (MCAST_BLOCK_SOURCE): Likewise.
34876 (MCAST_UNBLOCK_SOURCE): Likewise.
34877 (MCAST_LEAVE_GROUP): Likewise.
34878 (MCAST_JOIN_SOURCE_GROUP): Likewise.
34879 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34880 (MCAST_MSFILTER): Likewise.
34881 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34882 Remove variable.
34883 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34884 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34885 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34886 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34887 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34888
34889 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
34890
34891 * NEWS: Mention addition of x86_64 vector sincosf.
34892 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34893 * math/test-float-vlen4.h: Likewise.
34894 * math/test-float-vlen8.h: Likewise.
34895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34896 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34897 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34898 * sysdeps/x86_64/fpu/Versions: New versions added.
34899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34900 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34901 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34902 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34903 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34904 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34905 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34906 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34907 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34908 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34909 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34910 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34911 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34912 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34913 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34914 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34915 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34916 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34917 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34918 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34919 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34920 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34921 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34922 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34923
34924 * NEWS: Mention addition of x86_64 vector sincos.
34925 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34926 * math/math.h (__MATHDECL_VEC): New macro.
34927 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34928 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34929 declaration under condition.
34930 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34931 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34932 TEST_VEC_LOOP change.
34933 * math/test-double-vlen4.h: Likewise.
34934 * math/test-double-vlen8.h: Likewise.
34935 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34936 * math/test-float-vlen4.h: Likewise.
34937 * math/test-float-vlen8.h: Likewise.
34938 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34939 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34940 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34941 * sysdeps/x86_64/fpu/Versions: New versions added.
34942 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34943 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34944 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34945 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34950 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34951 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34952 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34953 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34954 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34955 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34956 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34957 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34958 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34959 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34960 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34961 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34962 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34963 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34964 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34965 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34966
34967 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34968 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34969 redirections for powf.
34970 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34971 * sysdeps/x86_64/fpu/Versions: New versions added.
34972 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34973 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34974 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34975 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34976 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34977 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34978 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34979 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34980 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34981 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34982 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34983 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34984 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34985 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34986 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34987 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34988 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34989 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34990 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34991 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34992 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34993 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34994 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34995 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34996 * math/test-float-vlen16.h: Fixed 2 argument macro.
34997 * math/test-float-vlen4.h: Likewise.
34998 * math/test-float-vlen8.h: Likewise.
34999 * NEWS: Mention addition of x86_64 vector powf.
35000
35001 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35002
35003 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35004 and redefine.
35005 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35006 and redefine.
35007 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35008 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35010
35011 [BZ #18553]
35012 * resource/getpriority.c (getpriority): Rename to __getpriority
35013 and define as weak alias of __getpriority.
35014 * resource/setpriority.c (setpriority): Rename to __setpriority
35015 and define as weak alias of __setpriority.
35016 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35017 __getpriority and define as weak alias of __getpriority.
35018 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35019 __setpriority and define as weak alias of __setpriority.
35020 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35021 strong name.
35022 (setpriority): Use __setpriority as strong name.
35023 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35024 __getpriority and define as weak alias of __getpriority.
35025 * include/sys/resource.h (__getpriority): Declare. Use
35026 libc_hidden_proto.
35027 (__setpriority): Likewise.
35028 (getpriority): Don't use libc_hidden_proto.
35029 (setpriority): Likewise.
35030 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35031 getpriority. Call __setpriority instead of setpriority.
35032 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35033 Remove variable.
35034
35035 [BZ #18547]
35036 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35037 as weak alias of __getttynam. Use prototype function definition.
35038 Call __setttyent, __getttyent and __endttyent instead of
35039 setttyent, getttyent and endttyent.
35040 (getttyent): Rename to __getttyent and define as weak alias of
35041 __getttyent. Call __setttyent instead of setttyent. Call
35042 __fgets_unlocked instead of fgets_unlocked.
35043 (setttyent): Rename to __setttyent and define as weak alias of
35044 __setttyent.
35045 (endttyent): Rename to __endttyent and define as weak alias of
35046 __endttyent.
35047 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35048 (__setttyent): Likewise.
35049 (__endttyent): Likewise.
35050 (getttyent): Don't use libc_hidden_proto.
35051 (setttyent): Likewise.
35052 (endttyent): Likewise.
35053 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35054 __endttyent instead of setttyent, getttyent and endttyent.
35055 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35056 Remove variable.
35057
35058 [BZ #18546]
35059 * socket/recv.c (__recv): Use libc_hidden_def.
35060 * socket/socket.c (__socket): Likewise.
35061 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35062 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35063 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35064 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35065 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35066 libc_hidden_def.
35067 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35068 libc_hidden_weak.
35069 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35070 Use libc_hidden_proto.
35071 (__recv): Likewise.
35072 * socket/Versions (libc): Export __recv and __socket at version
35073 GLIBC_PRIVATE.
35074 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35075 instead of recv.
35076 (init_mq_netlink): Call __socket instead of socket.
35077 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35078 Remove variable.
35079
35080 [BZ #18545]
35081 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35082 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35083 hidden_weak.
35084 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35085 define as alias of __mq_timedsend. Use hidden_weak.
35086 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35087 __mq_timedsend as strong name.
35088 (mq_timedreceive): Use __mq_timedreceive as strong name.
35089 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35090 (__mq_timedreceive): Likewise.
35091 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35092 __mq_timedreceive instead of mq_timedreceive.
35093 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35094 instead of mq_timedsend.
35095 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35096 Remove variable.
35097
35098 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35099 hidden_def and hidden_weak instead of libc_hidden_def and
35100 libc_hidden_weak.
35101 (top level): Refer to hidden_def in comment.
35102 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35103 macro. Use it instead of libc_hidden_def.
35104 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35105 specify __GI_* name explicitly.
35106 (mq_timedreceive): Likewise.
35107 (mq_setattr): Likewise.
35108
35109 [BZ #18544]
35110 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35111 __pthread_barrier_init and define as weak alias of
35112 __pthread_barrier_init.
35113 * sysdeps/sparc/nptl/pthread_barrier_init.c
35114 (pthread_barrier_init): Likewise.
35115 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35116 __pthread_barrier_wait and define as weak alias of
35117 __pthread_barrier_wait.
35118 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35119 (pthread_barrier_wait): Likewise.
35120 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35121 (pthread_barrier_wait): Likewise.
35122 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35123 (pthread_barrier_wait): Likewise.
35124 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35125 (pthread_barrier_wait): Likewise.
35126 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35127 __pthread_barrier_wait at version GLIBC_PRIVATE.
35128 * include/pthread.h (__pthread_barrier_init): Declare.
35129 (__pthread_barrier_wait): Likewise.
35130 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35131 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35132 (helper_thread): Likewise.
35133 (init_mq_netlink): Call __pthread_barrier_init instead of
35134 pthread_barrier_init.
35135
35136 [BZ #18542]
35137 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35138 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35139 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35140 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35141 vswscanf.
35142 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35143 Remove variable.
35144
35145 [BZ #18540]
35146 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35147 strong alias of _IO_fflush. Use libc_hidden_def.
35148 * libio/iofflush_u.c (fflush_unlocked): Rename to
35149 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35150 Use libc_hidden_weak.
35151 * include/stdio.h (__fflush_unlocked): Declare. Use
35152 libc_hidden_proto.
35153 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35154 fflush_unlocked.
35155 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35156 Remove variable.
35157
35158 [BZ #18539]
35159 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35160 define as weak alias of __addseverity.
35161 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35162 Remove variable.
35163 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35164 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35165 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35166
35167 [BZ #18536]
35168 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35169 (__tfind): Likewise.
35170 (__tdelete): Likewise.
35171 (__twalk): Likewise.
35172 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35173 __twalk to GLIBC_PRIVATE.
35174 * include/search.h (__tsearch): Use libc_hidden_proto.
35175 (__tfind): Likewise.
35176 (__tdelete): Likewise.
35177 (__twalk): Likewise.
35178 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35179 Call __tdelete instead of tdelete.
35180 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35181 tfind. Call __tsearch instead of tsearch.
35182 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35183 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35184 Remove variable.
35185 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35186
35187 [BZ #18534]
35188 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35189 (dprintf): Define as a weak alias of __dprintf, not a strong
35190 alias.
35191 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35192 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35193 dprintf.
35194 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35195 Remove variable.
35196 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35197 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35198
35199 [BZ #18533]
35200 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35201 not a strong alias.
35202 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35203 Remove variable.
35204
35205 [BZ #18532]
35206 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35207 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35208 (in6addr_loopback): Rename to __in6addr_loopback and define as
35209 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35210 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35211 libc_hidden_proto.
35212 (__in6addr_any): Likewise.
35213 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35214 in6addr_any.
35215 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35216 variable.
35217 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35218
35219 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35220
35221 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35222 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35223 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35224 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35225 redirections for pow.
35226 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35227 * sysdeps/x86_64/fpu/Versions: New versions added.
35228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35229 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35230 build of SSE, AVX2 and AVX512 IFUNC versions.
35231 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35232 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35233 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35234 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35236 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35238 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35239 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35240 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35241 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35242 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35243 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35244 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35245 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35246 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35247 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35248 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35249 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35250 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35251 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35252 * NEWS: Mention addition of x86_64 vector pow.
35253
35254 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35255 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35256 redirections for expf.
35257 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35258 * sysdeps/x86_64/fpu/Versions: New versions added.
35259 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35260 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35261 build of SSE, AVX2 and AVX512 IFUNC versions.
35262 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35263 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35264 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35265 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35266 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35267 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35268 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35269 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35270 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35271 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35272 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35273 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35274 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35275 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35276 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35277 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35278 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35279 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35280 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35281 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35282 * NEWS: Mention addition of x86_64 vector expf.
35283
35284 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35285 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35286 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35287 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35288 redirections for exp.
35289 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35290 * sysdeps/x86_64/fpu/Versions: New versions added.
35291 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35292 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35293 build of SSE, AVX2 and AVX512 IFUNC versions.
35294 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35295 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35296 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35297 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35298 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35299 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35300 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35301 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35302 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35303 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35304 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35305 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35306 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35307 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35308 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35309 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35310 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35311 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35312 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35313 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35314 * NEWS: Mention addition of x86_64 vector exp.
35315
35316 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35317 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35318 redirections for logf.
35319 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35320 * sysdeps/x86_64/fpu/Versions: New versions added.
35321 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35322 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35323 build of SSE, AVX2 and AVX512 IFUNC versions.
35324 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35325 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35326 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35327 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35328 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35329 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35330 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35331 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35332 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35333 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35334 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35335 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35336 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35337 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35338 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35339 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35340 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35341 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35342 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35343 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35344 * NEWS: Mention addition of x86_64 vector logf.
35345
35346 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35347 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35348 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35349 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35350 redirections for log.
35351 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35352 * sysdeps/x86_64/fpu/Versions: New versions added.
35353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35354 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35355 build of SSE, AVX2 and AVX512 IFUNC versions.
35356 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35357 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35358 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35359 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35360 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35361 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35362 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35363 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35364 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35365 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35366 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35367 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35368 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35369 test.
35370 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35371 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35372 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35373 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35374 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35375 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35376 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35377 * NEWS: Mention addition of x86_64 vector log.
35378
35379 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35380
35381 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35382 cfi_adjust_cfa_offset argument.
35383 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35384 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35385
35386 [BZ #18034]
35387 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35388 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35389 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35390 ordering using ldar.
35391 (_dl_tlsdesc_dynamic): Likewise.
35392 (_dl_tlsdesc_return_lazy): Likewise.
35393 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35394 relaxed atomics instead of volatile and synchronize with release store.
35395 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35396 volatile.
35397 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35398
35399 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35400
35401 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35402 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35403 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35404 * sysdeps/x86_64/fpu/Versions: New versions added.
35405 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35406 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35407 build of SSE, AVX2 and AVX512 IFUNC versions.
35408 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35409 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35410 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35411 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35413 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35414 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35415 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35416 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35417 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35418 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35419 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35420 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35421 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35422 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35423 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35424 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35425 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35426 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35427 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35428 * NEWS: Mention addition of x86_64 vector sinf.
35429
35430 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35431
35432 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35433 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35434 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35435 Remove variable.
35436 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35437 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35438
35439 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35440
35441 [BZ #18530]
35442 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35443 strong alias of _IO_fputs. Use libc_hidden_def.
35444 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35445 and define as weak alias of __fputs_unlocked. Use
35446 libc_hidden_weak.
35447 * include/stdio.h (__fputs_unlocked): Declare. Use
35448 libc_hidden_proto.
35449 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35450 fputs_unlocked.
35451
35452 [BZ #18529]
35453 * resolv/netdb.h [__USE_POSIX]: Change condition to
35454 [__USE_XOPEN2K].
35455 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35456 not expect.
35457 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35458 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35459 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35460 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35461 [XPG4 || UNIX98] (AI_ALL): Likewise.
35462 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35463 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35464 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35465 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35466 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35467 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35468 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35469 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35470 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35471 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35472 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35473 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35474 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35475 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35476 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35477 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35478 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35479 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35480 [XPG4 || UNIX98] (gai_strerror): Likewise.
35481 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35482 [XPG4 || UNIX98] (getnameinfo): Likewise.
35483
35484 [BZ #18528]
35485 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35486 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35487 __USE_XOPEN2K8].
35488 (getgrent): Likewise.
35489 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35490 expect.
35491 [XPG3 || POSIX2008] (endgrent): Likewise.
35492 [XPG3] (setgrent): Likewise.
35493 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35494 variable.
35495 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35496
35497 [BZ #18527]
35498 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35499 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35500 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35501 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35502 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35503 * include/unistd.h (__getlogin_r): Declare. Use
35504 libc_hidden_proto.
35505 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35506 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35507 variable.
35508 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35509 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35510 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35511
35512 2015-06-12 Martin Sebor <msebor@redhat.com>
35513
35514 [BZ #18512]
35515 * Makerules (check-install-supported): New target.
35516 (install): Add check-install-supported as a dependency.
35517 * manual/install.texi (Installing the C Library): Document
35518 that overriding prefix and exec_prefix is not supported.
35519 Mention DESTDIR.
35520 * INSTALL: Regenerate from the above.
35521
35522 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35523
35524 [BZ #18519]
35525 * posix/Versions (libc): Export __libc_pread at version
35526 GLIBC_PRIVATE.
35527 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35528 instead of pread.
35529 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35530 variable.
35531
35532 [BZ #18522]
35533 * misc/efgcvt_r.c
35534 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35535 (cvt_symbol): Use weak_alias instead of strong_alias.
35536 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35537 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35538 Remove variable.
35539 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35540 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35541
35542 [BZ #18520]
35543 * inet/herrno.c (h_errno): Rename to __h_errno.
35544 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35545 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35546 to __h_errno instead of h_errno.
35547 * nptl/herrno.c (h_errno): Rename to __h_errno.
35548 (__h_errno_location): Refer to __h_errno not h_errno.
35549 * resolv/Versions (h_errno): Rename to __h_errno.
35550 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35551 Remove variable.
35552 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35553
35554 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35555
35556 * configure.ac: More strict check for AVX512 assembler support.
35557 * configure: Regenerated.
35558
35559 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35560 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35561 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35562 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35563 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35564 * sysdeps/x86_64/fpu/Versions: New versions added.
35565 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35566 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35567 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35568 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35569 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35570 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35572 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35574 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35575 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35576 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35577 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35578 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35579 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35580 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35581 test.
35582 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35583 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35584 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35585 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35586 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35587 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35588 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35589 * NEWS: Mention addition of x86_64 vector sin.
35590
35591 2015-06-11 Florian Weimer <fweimer@redhat.com>
35592
35593 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35594 comment.
35595
35596 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
35597
35598 [BZ #18479]
35599 * nptl/pt-interp.c: New file.
35600 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35601 Add pt-interp.
35602 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35603 $(common-objpfx)runtime-linker.h.
35604
35605 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
35606
35607 * Makeconfig (+interp): Remove unused variable.
35608 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35609 only. Depend on $(common-objpfx)runtime-linker.h instead of
35610 $(elf-objpfx)runtime-linker.h.
35611 ($(elf-objpfx)runtime-linker.h): Rename to
35612 $(common-objpfx)runtime-linker.h and move ...
35613 * Makerules [$(build-shared) = yes]: ... here.
35614 * elf/interp.c: Include <runtime-linker.h> instead of
35615 <elf/runtime-linker.h>.
35616
35617 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35618
35619 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35620 (__gettimeofday_syscall): Remove vsyscall fallback.
35621 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35622 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35623 Add syscall fallback function.
35624 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35625 if vDSO is not present.
35626 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35627 fallback function.
35628 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35629 present.
35630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35631 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35632
35633 2015-06-09 Joseph Myers <joseph@codesourcery.com>
35634
35635 [BZ #18497]
35636 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35637 of wcscmp.
35638 (wcscmp): Define as weak alias of WCSCMP.
35639 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35640 wcscoll.
35641 (USE_HIDDEN_DEF): Define.
35642 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35643 __wcscoll. Don't use libc_hidden_weak.
35644 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35645 wcscmp.
35646 * sysdeps/i386/i686/multiarch/wcscmp-c.c
35647 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35648 __GI_wcscmp.
35649 (weak_alias): Undefine and redefine.
35650 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35651 __wcscmp and define as weak alias of __wcscmp.
35652 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35653 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
35654 (__wcscoll): Likewise.
35655 (wcscmp): Don't use libc_hidden_proto.
35656 (wcscoll): Likewise.
35657 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35658 wcscoll.
35659 * posix/regexec.c (check_node_accept_bytes): Likewise.
35660 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35661 variable.
35662 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35663 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35664
35665 [BZ #18507]
35666 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35667 __fstatvfs and define as weak alias of __fstatvfs. Use
35668 libc_hidden_weak.
35669 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35670 and define as weak alias of __statvfs. Use libc_hidden_weak.
35671 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35672 Define as alias of __fstatvfs, not fstatvfs.
35673 (fstatvfs64): Likewise.
35674 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35675 Define as alias of __statvfs, not statvfs.
35676 (statvfs64): Likewise.
35677 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35678 Remove variable.
35679
35680 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35681
35682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35683 (HAVE_GETCPU_VSYSCALL): Define.
35684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35685 (HAVE_GETCPU_VSYSCALL): Likewise.
35686 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35687 * sysdeps/unix/sysv/linux/sched_getcpu.c
35688 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35689 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
35690 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
35691 prototype.
35692 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35693 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
35694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
35695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
35696 Define.
35697 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
35698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35701
35702 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
35703
35704 * sysdeps/x86_64/fpu/Makefile: New file.
35705 * sysdeps/x86_64/fpu/Versions: New file.
35706 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35707 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35708 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35709 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35710 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35711 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35712 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35713 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35714 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35716 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35718 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35719 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35720 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35721 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35722 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35723 * sysdeps/x86_64/configure.ac: Options for libmvec build.
35724 * sysdeps/x86_64/configure: Regenerated.
35725 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35726 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35727 * manual/install.texi (Configuring and compiling): Document
35728 --disable-mathvec.
35729 * INSTALL: Regenerated.
35730 * NEWS: Mention addition of libmvec and x86_64 vector cos.
35731
35732 * math/Makefile: Added rules for vector tests.
35733 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35734 declaration under condition.
35735 * math/test-double-vlen2.h: New file.
35736 * math/test-double-vlen4.h: New file.
35737 * math/test-double-vlen8.h: New file.
35738 * math/test-vec-loop.h: Added initialization macro.
35739 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35741 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35742 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35743 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35744 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35745 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35746 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35747 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35748 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35749 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35750
35751 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35752 * sysdeps/x86_64/fpu/Versions: New versions added.
35753 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35754 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35755 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35756 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35757 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35758 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35759 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35760 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35761 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35762 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35763 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35764 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35765 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35766 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35767 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35768 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35769 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35770 * NEWS: Mention addition of x86_64 vector cosf.
35771
35772 * math/Makefile: Added CFLAGS for new tests.
35773 * math/test-float-vlen16.h: New file.
35774 * math/test-float-vlen4.h: New file.
35775 * math/test-float-vlen8.h: New file.
35776 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35777 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35779 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35780 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35781 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35782 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35783 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35784 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35785 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35786 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35787
35788 2015-06-09 Marko Myllynen <myllynen@redhat.com>
35789
35790 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35791 * locale/programs/ld-ctype.c: Likewise.
35792
35793 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
35794
35795 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35796 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35797 bit_ZMM16_31_state): New macro.
35798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35799 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35800
35801 2015-06-08 Joseph Myers <joseph@codesourcery.com>
35802
35803 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35804
35805 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
35806
35807 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35808
35809 2015-06-05 Joseph Myers <joseph@codesourcery.com>
35810
35811 [BZ #18498]
35812 * libio/memstream.c (open_memstream): Rename to __open_memstream
35813 and define as weak alias of __open_memstream.
35814 * include/stdio.h (__open_memstream): Declare. Use
35815 libc_hidden_proto.
35816 (open_memstream): Don't use libc_hidden_proto.
35817 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35818 open_memstream.
35819 * posix/getopt.c (_getopt_internal_r): Likewise.
35820 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35821 variable.
35822 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35823 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35824 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35825
35826 [BZ #18496]
35827 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35828 instead of wcrtomb.
35829
35830 [BZ #18483]
35831 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35832 [__USE_XOPEN2K8]. Remove redundant #endif.
35833 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35834 Remove redundant #if.
35835 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35836 Remove variable.
35837 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35838 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35839
35840 [BZ #18495]
35841 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35842 (__iswlower): Likewise.
35843 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
35844 (__iswlower): Likewise.
35845 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35846 instead of towlower.
35847 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35848 instead of iswlower. Call __towupper instead of towupper.
35849 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35850 instead of iswalnum.
35851
35852 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35853
35854 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35855 errors to stderr.
35856
35857 2015-06-05 Florian Weimer <fweimer@redhat.com>
35858
35859 [BZ #15661]
35860 [BZ #17322]
35861 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35862 Check for overflow properly. Check for O_APPEND. Ignore large
35863 file system block sizes. Add comments about problems.
35864 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35865 * manual/filesys.texi (Storage Allocation): New node.
35866
35867 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35868
35869 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35870 cancellable syscalls.
35871 (SYS_ify): Add guard to no redefine it.
35872 (INLINE_SYSCALL): Likewise.
35873 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35874 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35875 SYSCALL_CANCEL instead.
35876 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35877 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35878 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35879 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35880 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35881 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35882 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35883 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35884 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35885 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35886 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35887 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35888 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35889 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35890 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35892 Likewise.
35893 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35894 (__libc_pread64): Likewise.
35895 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35896 (__libc_preadv): Likewise.
35897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35898 (__libc_readv64): Likewise.
35899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35900 (__libc_pwrite): Likewise.
35901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35902 (__libc_pwrite64): Likewise.
35903 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35904 (__libc_pwritev): Likewise.
35905 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35906 (__libc_pwritev64): Likewise.
35907 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35908 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35909 (sync_file_range): Likewise.
35910 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35911 Likewise.
35912 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35913 Likewise.
35914 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35915 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35916 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35917 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35918 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35919 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35920 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35921 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35923 Likewise.
35924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35925 (__libc_read64): Likewise.
35926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35927 Likewise.
35928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35929 Likewise.
35930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35931 Likewise.
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35933 Likewise.
35934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35935 (__libc_pread64): Likewise.
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35937 Likewise.
35938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35939 (__libc_pwrite64): Likewise.
35940 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35941 (sync_file_range): Likewise.
35942 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35943 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35944 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35945 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35946 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35947 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35948 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35949 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35950 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35951 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35952 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35953 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35954 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35955 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35956 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35957 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35958 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35959 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35960 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35961 Likewise.
35962 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35963 Likewise.
35964 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35965 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35966 Likewise.
35967 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35968 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35969 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35970 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35971 Likewise.
35972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35974 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35975 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35976 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35977
35978 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
35979
35980 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35981 Include dl-vdso.
35982 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35983 Use VDSO routines for gettimeofday, clock_gettime if
35984 available.
35985 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35986 Declare VDSO symbols.
35987 * sysdeps/unix/sysv/linux/arm/sysdep.h:
35988 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35989 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35990 * sysdeps/unix/sysv/linux/arm/Versions: Add
35991 __vdso_clock_gettime.
35992
35993 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35994
35995 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35996 be an inline implementation regardless of library is built within.
35997 (open_not_cancel_2): Likewise.
35998 (__read_nocancel): Likewise.
35999 (__write_nocancel): Likewise.
36000 (openat_not_cancel): Likewise.
36001 (openat_not_cancel_3): Likewise.
36002 (openat64_not_cancel): Likewise.
36003 (openat64_not_cancel_3): Likewise.
36004 (__close_nocancel): Likewise.
36005 (pause_not_cancel): Likewise.
36006 (nanosleep_not_cancel): Likewise.
36007 (sigsuspend_not_cancel): Likewise.
36008
36009 2015-06-04 Torvald Riegel <triegel@redhat.com>
36010
36011 [BZ #14958]
36012 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36013 wake-up.
36014 (__pthread_rwlock_rdlock_slow): Likewise.
36015 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36016 Likewise.
36017 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36018 Likewise.
36019 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36020 * nptl/tst-rwlock16.c: New file.
36021 * nptl/Makefile (tests): Add new test.
36022
36023 2015-06-04 Torvald Riegel <triegel@redhat.com>
36024
36025 [BZ #18324]
36026 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36027 missing wake-up of readers.
36028 * nptl/tst-rwlock15.c: New file.
36029 * nptl/Makefile (tests): Add new test.
36030
36031 2015-06-03 Roland McGrath <roland@hack.frob.com>
36032
36033 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36034 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36035 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36036 and __nacl_supply_interface_rtld.
36037 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36038 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36039 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36040 Add __nacl_supply_interface_rtld.
36041 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36042
36043 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36044
36045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36046 isfinite.
36047 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36048 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36049
36050 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36051
36052 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36053 __signbit* with standard C99 macros.
36054 * math/e_exp10l.c: Likewise.
36055 * math/e_exp2l.c: Likewise.
36056 * math/e_scalb.c: Likewise.
36057 * math/e_scalbf.c: Likewise.
36058 * math/e_scalbl.c: Likewise.
36059 * math/s_ldexp.c: Likewise.
36060 * math/s_ldexpf.c: Likewise.
36061 * math/s_ldexpl.c: Likewise.
36062 * math/w_atan2.c: Likewise.
36063 * math/w_atan2f.c: Likewise.
36064 * math/w_atan2l.c: Likewise.
36065 * math/w_cosh.c: Likewise.
36066 * math/w_coshf.c: Likewise.
36067 * math/w_coshl.c: Likewise.
36068 * math/w_exp10.c: Likewise.
36069 * math/w_exp10f.c: Likewise.
36070 * math/w_exp10l.c: Likewise.
36071 * math/w_exp2.c: Likewise.
36072 * math/w_exp2f.c: Likewise.
36073 * math/w_exp2l.c: Likewise.
36074 * math/w_fmod.c: Likewise.
36075 * math/w_fmodf.c: Likewise.
36076 * math/w_fmodl.c: Likewise.
36077 * math/w_hypot.c: Likewise.
36078 * math/w_hypotf.c: Likewise.
36079 * math/w_hypotl.c: Likewise.
36080 * math/w_jnl.c: Likewise.
36081 * math/w_lgamma.c: Likewise.
36082 * math/w_lgamma_r.c: Likewise.
36083 * math/w_lgammaf.c: Likewise.
36084 * math/w_lgammaf_r.c: Likewise.
36085 * math/w_lgammal.c: Likewise.
36086 * math/w_lgammal_r.c: Likewise.
36087 * math/w_pow.c: Likewise.
36088 * math/w_powf.c: Likewise.
36089 * math/w_powl.c: Likewise.
36090 * math/w_remainder.c: Likewise.
36091 * math/w_remainderf.c: Likewise.
36092 * math/w_remainderl.c: Likewise.
36093 * math/w_scalb.c: Likewise.
36094 * math/w_scalbf.c: Likewise.
36095 * math/w_scalbl.c: Likewise.
36096 * math/w_scalbln.c: Likewise.
36097 * math/w_scalblnf.c: Likewise.
36098 * math/w_scalblnl.c: Likewise.
36099 * math/w_sinh.c: Likewise.
36100 * math/w_sinhf.c: Likewise.
36101 * math/w_sinhl.c: Likewise.
36102 * math/w_tgamma.c: Likewise.
36103 * math/w_tgammaf.c: Likewise.
36104 * math/w_tgammal.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36112 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36113 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36114 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36115 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36136 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36137 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36138 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36139 * stdio-common/printf_fp.c: Likewise.
36140 * stdio-common/printf_fphex.c: Likewise.
36141 * stdio-common/printf_size.c: Likewise.
36142
36143 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36144
36145 [BZ #18470]
36146 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36147 strnlen.
36148 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36149 Remove variable.
36150 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36151 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36152 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36153 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36154 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36155 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36156 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36157 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36158 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36159 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36160
36161 [BZ #18468]
36162 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36163 weak alias of __wmemchr. Use libc_hidden_weak.
36164 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36165 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36166 instead of wmemchr.
36167
36168 2015-06-02 Roland McGrath <roland@hack.frob.com>
36169
36170 [BZ #18383]
36171 * elf/tst-tlsalign-extern.c: New file.
36172 * elf/tst-tlsalign-extern-static.c: New file.
36173 * elf/tst-tlsalign-vars.c: New file.
36174 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36175 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36176 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36177 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36178 (test-xfail-tst-tlsalign-extern-static): New variable.
36179
36180 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36181
36182 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36183 Use variable name _sc_err instead of err.
36184 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36185 instead of ret.
36186 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36187 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36188 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36189 (INLINE_SYSCALL): Likewise.
36190
36191 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36192 * include/string.h (__strnlen): Use libc_hidden_proto.
36193 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36194 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36195 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36196 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36197 (libc_hidden_def): Undefine and redefine.
36198 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36199 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36200 __GI_strnlen.
36201 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36202 libc_hidden_def.
36203 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36204
36205 [BZ #18469]
36206 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36207 weak alias of __towlower. Use libc_hidden_weak.
36208 (towupper): Rename to __towupper and define as weak alias of
36209 __towupper. Use libc_hidden_weak.
36210 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36211 (__towupper): Likewise.
36212 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36213 __towlower instead of towlower.
36214
36215 2015-06-02 Roland McGrath <roland@hack.frob.com>
36216
36217 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36218 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36219
36220 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36221
36222 * sysdeps/aarch64/libm-test-ulps: Update.
36223
36224 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36225
36226 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36227 Define.
36228 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36230 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36231 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36232 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36233 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36234 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36235
36236 2015-06-01 Martin Sebor <msebor@redhat.com>
36237
36238 [BZ #18116]
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36240 (__setcontext): Use extended four-operand version of mtsf whenever
36241 possible.
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36243 (__novec_swapcontext): Likewise.
36244
36245 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36246
36247 * benchtests/scripts/compare_bench.py: New file.
36248 * benchtests/scripts/import_bench.py (mean): New function.
36249 (split_list): Likewise.
36250 (do_for_all_timings): Likewise.
36251 (compress_timings): Likewise.
36252
36253 * benchtests/scripts/import_bench.py: New file.
36254 * benchtests/scripts/validate_benchout.py: Import import_bench
36255 instead of jsonschema.
36256 (validate_bench): Remove function.
36257 (main): Use import_bench.
36258
36259 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36260
36261 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36262 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36263
36264 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36265
36266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36267
36268 2015-05-28 Roland McGrath <roland@hack.frob.com>
36269
36270 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36271 set THREAD_SELF->tid to a magic value and futex-wake it.
36272 Pass its address to the thread_exit system call.
36273 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36274 bit is clear.
36275 * sysdeps/nacl/lowlevellock.h: New file.
36276 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36277
36278 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36279 Add TIMEOUT to current time, don't subtract it.
36280
36281 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36282
36283 [BZ #2981]
36284 [BZ #18422]
36285 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36286 ($(objpfx)tst-audit2.out): Also depend on
36287 $(objpfx)tst-auditmod9b.so.
36288 * elf/tst-audit2.c: Include <dlfcn.h>.
36289 (calloc_called): New.
36290 (calloc): Allow to be called more than once.
36291 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36292
36293 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36294
36295 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36296 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36297
36298 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36299
36300 * stdlib/monetary.h: Fix comment.
36301
36302 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36303
36304 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36305 Avoid using variables in #defines that might cause shadowing.
36306 (INTERNAL_VSYSCALL_CALL): Likewise.
36307
36308 2015-05-26 Roland McGrath <roland@hack.frob.com>
36309
36310 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36311
36312 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36313 * nptl/lll_timedlock_wait.c: ... to this new file.
36314 * nptl/Makefile (libpthread-routines): Add it.
36315 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36316 * nptl/lll_timedwait_tid.c: ... to this new file.
36317 * nptl/Makefile (libpthread-routines): Add it.
36318 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36319 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36320 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36321 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36322 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36323 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36324 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36325 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36326 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36327 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36328
36329 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36330
36331 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36332 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36333 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36335 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36337 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36339 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36340 * sysdeps/unix/sysv/linux/tile/sysdep.h
36341 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36342 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36343 using vDSO syscall macro.
36344
36345 2015-05-26 Andriy Rysin <arysin@gmail.com>
36346
36347 [BZ #17293]
36348 * uk_UA: Fix sorting order for Ukrainian locale
36349
36350 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36351
36352 * stdlib/monetary.h: Fix comment.
36353
36354 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36355
36356 [BZ #18234]
36357 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36358 st_mtim and st_ctim members.
36359 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36360 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36361 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36362 (struct stat64): Likewise.
36363 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36364 (struct stat64): Likewise.
36365 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36366 (struct stat64): Likewise.
36367
36368 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36369
36370 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36371 Define and include sysdep-vdso.h.
36372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36373 Likewise.
36374 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36375 Likewise.
36376 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36377 Define with VDSO_SYMBOL and use PTR_MANGLE.
36378 (__vdso_clock_gettime): Likewise.
36379 (__vdso_clock_getres): Likewise.
36380 (_libc_vdso_platform_setup): Likewise.
36381 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36382 Likewise.
36383 (_libc_vdso_platform_setup): Likewise.
36384 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36385 Likewise.
36386 (__vdso_clock_gettime): Likewise.
36387 (__vdso_clock_getres): Likewise.
36388 (__vdso_get_tbfreq): Likewise.
36389 (__vdso_getcpu): Likewise.
36390 (__vdso_time): Likewise.
36391 (__vdso_sigtramp_rt64): Likewise.
36392 (__vdso_signtramp32): Likewise.
36393 (__vdso_sigtramp_rt32): Likewise.
36394 (_libc_vdso_platform_setup): Likewise.
36395 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36396 Likewise.
36397 (__vdso_clock_gettime): Likewise.
36398 (__vdso_clock_getres): Likewise.
36399 (_libc_vdso_platform_setup): Likewise.
36400 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36401 Likewise.
36402 (__vdso_clock_gettime): Likewise.
36403 (_libc_vdso_platform_setup): Likewise.
36404 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36405 Likewise.
36406 (__vdso_getcpu): Likewise.
36407 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36408 Use VDSO_SYMBOL macro to define.
36409 (__vdso_clock_gettime): Likewise.
36410 (__vdso_clock_getres): Likewise.
36411 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36412 Likewise.
36413 (__vdso_clock_gettime): Likewise.
36414 (__vdso_clock_getres): Likewise.
36415 (__vdso_get_tbfreq): Likewise.
36416 (__vdso_getcpu): Likewise.
36417 (__vdso_time): Likewise.
36418 (__vdso_sigtramp_rt64): Likewise.
36419 (__vdso_signtramp32): Likewise.
36420 (__vdso_sigtramp_rt32): Likewise.
36421 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36422 Likewise.
36423 (__vdso_clock_gettime): Likewise.
36424 (__vdso_clock_getres): Likewise.
36425 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36426 Likewise.
36427 (__vdso_clock_gettime): Likewise.
36428 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36429 Likewise.
36430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36431 macro.
36432 (INTERNAL_VSYSCALL): Likewise.
36433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36434 Remove macro.
36435 (INTERNAL_VSYSCALL): Likewise.
36436 (INTERNAL_VSYSCALL_NCS): Likewise.
36437 (INTERNAL_VSYSCALL_CALL): New macro.
36438 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36440 Likewise.
36441 (INTERNAL_VSYSCALL): Likewise.
36442 (INTERNAL_VSYSCALL_NCS): Likewise.
36443 (INTERNAL_VSYSCALL_CALL): New macro.
36444 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36446 (INLINE_VSYSCALL): Remove macro.
36447 (INTERNAL_VSYSCALL): Remove macro.
36448 (INTERNAL_VSYSCALL_NCS): Remove macro.
36449 (INTERNAL_VSYSCALL_CALL): New macro.
36450 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36451 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36452 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36453 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36454 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36456 (INLINE_VSYSCALL): Remove macro.
36457 (INTERNAL_VSYSCALL): Likewise.
36458 (INTERNAL_VSYSCALL_NCS): Likewise.
36459 (INTERNAL_VSYSCALL_CALL): New macro.
36460 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36461 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36462 PTR_DEMANGLE on vDSO pointer.
36463 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36464 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36465 macro.
36466 (INTERNAL_SYSCALL): Likewise.
36467 (INTERNAL_VSYSCALL_NCS): Remove macro.
36468 (INTERNAL_VSYSCALL_CALL): New macro.
36469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36470 Remove macro.
36471 (INTERNAL_VSYSCALL): Likewise.
36472 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36473 sysdep-vdso.h instead of libc-vdso.h.
36474 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36475 definition.
36476 (INLINE_VSYSCALL): Likewise.
36477 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36478 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36479 definition.
36480 (INLINE_VSYSCALL): Likewise.
36481 (INTERNAL_VSYSCALL): Likewise.
36482 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36483 * sysdeps/unix/sysv/linux/timespec_get.c
36484 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36485 (timespec_get): Use ANSI prototype.
36486 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36487 and definition for Linux.
36488
36489 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36490
36491 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36492 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36493
36494 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36495
36496 [BZ #2981]
36497 [BZ #18410]
36498 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36499 for missing DT_PLTRELSZ.
36500
36501 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36502
36503 Remove obsolete aliases that broke 'locale -a'
36504 [BZ #18412]
36505 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36506 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36507 breaking some applications that use 'locale -a' output.
36508 Change the encoding of this file from Latin-1 to ASCII to avoid
36509 other potential problems with people grepping this file.
36510
36511 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36512
36513 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36514 -fasynchronous-unwind-tables.
36515 (CFLAGS-sendto.c): Likewise.
36516 (CFLAGS-sendmsg.c): Likewise.
36517 (CFLAGS-connect.c): Likewise.
36518 (CFLAGS-recvmsg.c): Likewise.
36519 (CFLAGS-recvfrom.c): Likewise.
36520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36521 (SOCKETCALL): New macro: non-cancellable socketcall.
36522 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36523 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36524 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36525 * sysdeps/unix/sysv/linux/accept.c: New file.
36526 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36527 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36528 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36529 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36530 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36531 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36532 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36533 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36534 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36535 * sysdeps/unix/sysv/linux/send.c: Likewise.
36536 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36537 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36538 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36539 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36540 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36541 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36542 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36543 prototype.
36544 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36545 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36546 instead of __internal_xxx function.
36547 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36548 prototype.
36549 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36550 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36551 instead of __internal_xxx function.
36552 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36553 prototype.
36554 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36555 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36556 instead of __internal_xxx function.
36557 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36558 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36559 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36560 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36561 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36562 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36563 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36564 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36565 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36566 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36567 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36568 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36569 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36570 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36572 * sysdeps/unix/sysv/linux/listen.S: Likewise.
36573 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36574 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36575 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36576 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36579 * sysdeps/unix/sysv/linux/recv.S: Likewise.
36580 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36581 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36582 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36583 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36584 * sysdeps/unix/sysv/linux/send.S: Likewise.
36585 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36586 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36587 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36588 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36589 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36590 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36592 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36593 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36594 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36595 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36596 socketcall is implemented in GLIBC.
36597
36598 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36599
36600 * soft-fp/fmadf4.c: Include <libc-internal.h>.
36601 (__fma): Ignore uninitialized warnings around packing.
36602 * soft-fp/fmasf4.c: Include <libc-internal.h>.
36603 (__fmaf): Ignore uninitialized warnings around packing.
36604 * soft-fp/fmatf4.c: Include <libc-internal.h>.
36605 (__fmal): Ignore uninitialized warnings around packing.
36606
36607 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36608 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36609 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36610 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36611
36612 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36613 switch statement into default case.
36614 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36615
36616 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36617 a conditional in forcing "inexact".
36618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36619 Likewise.
36620
36621 2015-05-22 Roland McGrath <roland@hack.frob.com>
36622
36623 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36624 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36625 for each INTERNAL_SYSCALL use.
36626
36627 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36628
36629 [BZ #438]
36630 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36631 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36632 variable.
36633
36634 [BZ #18444]
36635 * string/basename.c (basename): Rename to __basename and define as
36636 weak alias of __basename. Use libc_hidden_weak.
36637 * include/string.h (__basename): Declare. Use libc_hidden_proto.
36638 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36639 __basename instead of basename.
36640 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36641 Remove variable.
36642 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36643
36644 2015-05-18 Florian Weimer <fweimer@redhat.com>
36645
36646 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36647 (_IO_JUMPS_FILE_plus): New.
36648 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36649 _IO_CAST_FIELD_ACCESS.
36650 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36651 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36652 * libio/freopen.c (freopen): Likewise.
36653 * libio/freopen64.c (freopen64): Likewise.
36654 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36655 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36656 * libio/iofwide.c (_IO_fwide): Likewise.
36657 * libio/memstream.c (open_memstream): Likewise.
36658 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36659 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36660 * libio/oldiopopen.c (_IO_old_popen): Likewise.
36661
36662 2015-05-21 Joseph Myers <joseph@codesourcery.com>
36663
36664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36665 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36666 NADJ.
36667 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36668 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36669 NADJ.
36670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36671 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36672 NADJ.
36673
36674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36675 (p == 4) case.
36676
36677 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36678 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36679 Remove variable.
36680 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36681 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36682 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36683
36684 2015-05-21 Florian Weimer <fweimer@redhat.com>
36685
36686 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36687 Adjust jump table label generation macros.
36688
36689 2015-05-21 Florian Weimer <fweimer@redhat.com>
36690
36691 * stdio-common/vfprintf.c (vfprintf): Move local variables
36692 args_malloced, specs, specs_malloced, and the code after
36693 do_positional to the printf_positional function.
36694 (printf_positional): New function.
36695
36696 2015-05-21 Florian Weimer <fweimer@redhat.com>
36697
36698 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
36699 function.
36700 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
36701 STEP4_TABLE, process_arg): Move macro definitions
36702 out of the vfprintf function. (Cosmetic change only.)
36703
36704 2015-05-21 Carlos O'Donell <carlos@redhat.com>
36705
36706 * benchtests/Makefile (stdio-common-bench): Define.
36707 (benchset): Add stdio-common-bench.
36708 * sprintf-inputs: New file.
36709 * sprintf-source.c: New file.
36710
36711 2015-05-21 Andreas Schwab <schwab@suse.de>
36712
36713 [BZ #13028]
36714 [BZ #17053]
36715 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36716 of struct __res_state.
36717 * resolv/res_send.c (__libc_res_nsend): Likewise.
36718 (get_nsaddr): New function.
36719 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36720 statp directly.
36721
36722 2015-05-20 Joseph Myers <joseph@codesourcery.com>
36723
36724 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36725 -D_POSIX_C_SOURCE=199506L.
36726
36727 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36728
36729 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36730 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36731 Do not mention otherwise.
36732 [POSIX] (_XOPEN_VERSION): Do not expect.
36733 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36734 [POSIX] (_POSIX2_C_BIND): Likewise.
36735 [POSIX] (_POSIX2_VERSION): Likewise.
36736 [POSIX] (_XOPEN_XPG2): Likewise.
36737 [POSIX] (_XOPEN_XPG3): Likewise.
36738 [POSIX] (_XOPEN_XPG4): Likewise.
36739 [POSIX] (_XOPEN_UNIX): Likewise.
36740 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36741 [POSIX] (_POSIX_BARRIERS): Likewise.
36742 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36743 [POSIX] (_POSIX_CPUTIME): Likewise.
36744 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36745 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36746 [POSIX] (_POSIX_SHELL): Likewise.
36747 [POSIX] (_POSIX_SPAWN): Likewise.
36748 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36749 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36750 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36751 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36752 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36753 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36754 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36755 [POSIX] (_XBS5_LP64_OFF64): Likewise.
36756 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36757 [POSIX] (_POSIX_TIMEOUTS): Likewise.
36758 [POSIX] (_POSIX2_PBS): Likewise.
36759 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36760 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36761 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36762 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36763 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36764 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36765 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36766 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36767 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36768 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36769 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36770 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36771 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36772 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36773 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36774 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36775 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36776 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36777 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36778 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36779 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36780 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36781 [POSIX] (_SC_2_C_BIND): Likewise.
36782 [POSIX] (_SC_2_C_VERSION): Likewise.
36783 [POSIX] (_SC_2_PBS): Likewise.
36784 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36785 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36786 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36787 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36788 [POSIX] (_SC_2_PBS_TRACK): Likewise.
36789 [POSIX] (_SC_ATEXIT_MAX): Likewise.
36790 [POSIX] (_SC_BARRIERS): Likewise.
36791 [POSIX] (_SC_BASE): Likewise.
36792 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36793 [POSIX] (_SC_DEVICE_IO): Likewise.
36794 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36795 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36796 [POSIX] (_SC_FD_MGMT): Likewise.
36797 [POSIX] (_SC_FIFO): Likewise.
36798 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36799 [POSIX] (_SC_FILE_LOCKING): Likewise.
36800 [POSIX] (_SC_FILE_SYSTEM): Likewise.
36801 [POSIX] (_SC_IOV_MAX): Likewise.
36802 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36803 [POSIX] (_SC_NETWORKING): Likewise.
36804 [POSIX] (_SC_PAGE_SIZE): Likewise.
36805 [POSIX] (_SC_PASS_MAX): Likewise.
36806 [POSIX] (_SC_PIPE): Likewise.
36807 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36808 [POSIX] (_SC_REGEXP): Likewise.
36809 [POSIX] (_SC_SHELL): Likewise.
36810 [POSIX] (_SC_SIGNALS): Likewise.
36811 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36812 [POSIX] (_SC_SPIN_LOCKS): Likewise.
36813 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36814 [POSIX] (_SC_USER_GROUPS): Likewise.
36815 [POSIX] (_SC_USER_GROUPS_R): Likewise.
36816 [POSIX] (_SC_STREAMS): Likewise.
36817 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36818 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36819 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36820 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36821 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36822 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36823 [POSIX] (_PC_FILESIZEBITS): Likewise.
36824 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36825 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36826 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36827 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36828 [POSIX] (uid_t): Likewise.
36829 [POSIX] (gid_t): Likewise.
36830 [POSIX] (off_t): Likewise.
36831 [POSIX] (pid_t): Likewise.
36832 [POSIX] (cuserid): Allow.
36833 (_SC_2_CHAR_TERM): Require constant.
36834 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36835 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36836 variable.
36837
36838 2015-05-20 Roland McGrath <roland@hack.frob.com>
36839
36840 * sysdeps/nacl/pthread-pids.h: New file.
36841 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36842 (create_thread): Use __nacl_get_tid to initialize PD->tid.
36843
36844 * nptl/pthread-pids.h: New file.
36845 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36846 * nptl/nptl-init.c: Include <pthread-pids.h>.
36847 (__pthread_initialize_minimal_internal):
36848 Call __pthread_initialize_pids instead of set_tid_address syscall.
36849
36850 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36851 * sysdeps/posix/usleep.c: ... here.
36852
36853 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36854
36855 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36856 call_pselect6 object.
36857 [$(subdir) = io]: Remove call_sync_file_range object.
36858 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36860 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36861 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36862
36863 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
36864
36865 * math/s_cproj.c: Add include "math_private.h".
36866 * math/s_cprojf.c: Likewise.
36867 * math/s_cprojl.c: Likewise.
36868
36869 2015-05-19 Joseph Myers <joseph@codesourcery.com>
36870
36871 [BZ #18244]
36872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36873 high mantissa bit when testing whether P is a NaN.
36874 * math/libm-test.inc (remainder_test_data): Add more tests.
36875 (remquo_test_data): Likewise.
36876
36877 [BZ #18049]
36878 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36879 below -32, return the argument, with underflow if subnormal.
36880 * math/auto-libm-test-in: Add more tests of atanh.
36881 * math/auto-libm-test-out: Regenerated.
36882
36883 2015-05-19 Roland McGrath <roland@hack.frob.com>
36884
36885 [BZ #18434]
36886 * nptl/tst-sem15.c: New file.
36887 * nptl/Makefile (tests): Add it.
36888 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36889 s/<</>>/ to fix typo in EOVERFLOW check.
36890 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36891
36892 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36893
36894 * manual/strings.texi (envz_remove): Fix typo in safety
36895 annotations.
36896
36897 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
36898 Steve Ellcey <sellcey@imgtec.com>
36899
36900 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36901 in order to avoid strict alias warnings.
36902 (iruserok_af): Ditto for ra.
36903
36904 2015-05-19 James Lemke <jwlemke@codesourcery.com>
36905
36906 [BZ #17581]
36907 * malloc/hooks.c
36908 (magicbyte): Convert to a function and avoid returning 0x01.
36909 (mem2mem_check): Avoid using a length byte equal to the magic byte.
36910 (mem2chunk_check): Fix unsigned comparisons to zero.
36911 Hoist defs of sz and magic.
36912
36913 2015-05-19 Richard Henderson <rth@redhat.com>
36914
36915 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36916
36917 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36918
36919 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36920
36921 [BZ #16159]
36922 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36923 * malloc/arena.c (arena_lock): Check if arena is corrupt.
36924 (reused_arena): Find a non-corrupt arena.
36925 (heap_trim): Pass arena to unlink.
36926 * malloc/hooks.c (malloc_check_get_size): Pass arena to
36927 malloc_printerr.
36928 (top_check): Likewise.
36929 (free_check): Likewise.
36930 (realloc_check): Likewise.
36931 * malloc/malloc.c (malloc_printerr): Add arena argument.
36932 (unlink): Likewise.
36933 (munmap_chunk): Adjust.
36934 (ARENA_CORRUPTION_BIT): New macro.
36935 (arena_is_corrupt): Likewise.
36936 (set_arena_corrupt): Likewise.
36937 (sysmalloc): Use mmap if there are no usable arenas.
36938 (_int_malloc): Likewise.
36939 (__libc_malloc): Don't fail if arena_get returns NULL.
36940 (_mid_memalign): Likewise.
36941 (__libc_calloc): Likewise.
36942 (__libc_realloc): Adjust for additional argument to
36943 malloc_printerr.
36944 (_int_free): Likewise.
36945 (malloc_consolidate): Likewise.
36946 (_int_realloc): Likewise.
36947 (_int_memalign): Don't touch corrupt arenas.
36948 * malloc/tst-malloc-backtrace.c: New test case.
36949
36950 * Makefile (summarize-tests): Fix return value on success.
36951
36952 * manual/string.texi (Envz Functions): Add envz_remove.
36953
36954 2015-05-18 Roland McGrath <roland@hack.frob.com>
36955
36956 * sysdeps/posix/opendir.c: Include <stdbool.h>.
36957 (invalid_name): New function, broken out of ...
36958 (__opendirat): ... here. Call it.
36959 (need_isdir_precheck): New function, broken out of ...
36960 (__opendirat): ... here. Call it.
36961 Use __fxstatat64, not __xstatat64.
36962 (opendir_oflags): New function, broken out of ...
36963 (__opendirat): ... here. Call it.
36964 (opendir_tail): New function, broken out of ...
36965 (__opendirat): ... here. Call it.
36966 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36967 opendir_tail, rather than punting to __opendirat.
36968 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36969
36970 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36971
36972 * .gitignore: Ignore generated *.pyc.
36973
36974 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
36975
36976 * include/stdio.h: Define __need_wint_t.
36977 * test-skeleton.c: Avoid `for' loop initial declaration.
36978 * nptl/tst-initializers1.c: Use test-skeleton.c.
36979
36980 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36981
36982 [BZ #18418]
36983 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36984
36985 2015-05-15 Joseph Myers <joseph@codesourcery.com>
36986
36987 [BZ #16352]
36988 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36989 (__ieee754_atanh): Force underflow exception for results with
36990 small absolute value.
36991 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36992 (__ieee754_atanhf): Force underflow exception for results with
36993 small absolute value.
36994 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36995 (__ieee754_atanh): Force underflow exception for results with
36996 small absolute value.
36997 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36998 (__ieee754_atanhf): Force underflow exception for results with
36999 small absolute value.
37000 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37001 (__ieee754_atanhl): Force underflow exception for results with
37002 small absolute value.
37003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37004 (__ieee754_atanhl): Force underflow exception for results with
37005 small absolute value.
37006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37007 (__ieee754_atanhl): Force underflow exception for results with
37008 small absolute value.
37009 * math/auto-libm-test-in: Do not allow missing underflow
37010 exceptions from atanh.
37011 * math/auto-libm-test-out: Regenerated.
37012
37013 [BZ #18221]
37014 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37015 2**-28 as threshold for returning x or +/- 1/x.
37016 * math/auto-libm-test-in: Add more tests of tan.
37017 * math/auto-libm-test-out: Regenerated.
37018
37019 [BZ #18220]
37020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37021 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37022 * math/auto-libm-test-in: Add another test of lgamma.
37023 * math/auto-libm-test-out: Regenerated.
37024
37025 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37026
37027 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37028 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37029 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37030 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37031 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37032 (ADD2A): Use fabs. (SUB2A): Use fabs.
37033 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37036 (log1): Use fabs. (my_log2): Use fabs.
37037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37038 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37040 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37042 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37043 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37044 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37045 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37046 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37047 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37048
37049 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37050
37051 [BZ #18217]
37052 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37053 as threshold for returning 1 - x.
37054 * math/auto-libm-test-in: Add more tests of erfc.
37055 * math/auto-libm-test-out: Regenerated.
37056
37057 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37058
37059 [BZ #18196]
37060 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37061 threshold for large arguments.
37062 * math/auto-libm-test-in: Add another test of atan.
37063 * math/auto-libm-test-out: Regenerated.
37064
37065 [BZ #16339]
37066 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37067 (__log1p): Force underflow exception for results with small
37068 absolute value.
37069 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37070 (__log1pf): Force underflow exception for results with small
37071 absolute value.
37072 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37073 (__log1p): Force underflow exception for results with small
37074 absolute value.
37075 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37076 (__log1pf): Force underflow exception for results with small
37077 absolute value.
37078 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37079 (__log1pl): Force underflow exception for results with small
37080 absolute value.
37081 * math/auto-libm-test-in: Do not allow missing underflow
37082 exceptions from log1p.
37083 * math/auto-libm-test-out: Regenerated.
37084
37085 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37086 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37087
37088 [BZ #16704]
37089 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37090
37091 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37092
37093 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37094 (libmvec): New variable.
37095 * configure.ac: Added option for mathvec build.
37096 * configure: Regenerated.
37097 * mathvec/Depend: New file.
37098 * mathvec/Makefile: New file.
37099 * shlib-versions: Added libmvec.
37100 * math/Makefile: Added rule for libm.so installation.
37101
37102 * bits/math-vector.h: New file.
37103 * bits/libm-simd-decl-stubs.h: New header.
37104 * math/Makefile (headers): Added new header
37105 libm-simd-decl-stubs.h.
37106 * math/math.h (__MATHCALL_VEC): New macro.
37107
37108 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37109 for conditions in testing functions.
37110 * math/Makefile: Added call of libm-have-vector-test.sh.
37111 * math/libm-test.inc (HAVE_VECTOR): New macros.
37112
37113 * math/libm-test.inc: START refactored.
37114 * math/test-double.c (TEST_MATHVEC): Add define.
37115 * math/test-float.c: Likewise.
37116 * math/test-idouble.c: Likewise.
37117 * math/test-ifloat.c: Likewise.
37118 * math/test-ildoubl.c: Likewise.
37119 * math/test-ldouble.c: Likewise.
37120 * sysdeps/generic/math-tests-arch.h
37121 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37122 architecture check.
37123
37124 * math/test-double.c (FUNC_TEST): New macro.
37125 * math/test-float.c: Likewise.
37126 * math/test-idouble.c: Likewise.
37127 * math/test-ifloat.c: Likewise.
37128 * math/test-ildoubl.c: Likewise.
37129 * math/test-ldouble.c: Likewise.
37130 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37131
37132 2015-05-13 Roland McGrath <roland@hack.frob.com>
37133
37134 * sysdeps/nacl/fdopendir.c: New file.
37135
37136 * dirent/scandir-tail.c: New file.
37137 * dirent/scandir64-tail.c: New file.
37138 * dirent/Makefile (routines): Add them.
37139 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37140 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37141 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37142 [!SCANDIR] (SCANDIR_TAIL): New macro.
37143 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37144 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37145 (SCANDIRAT): Macro removed.
37146 (SCANDIR_TAIL): New macro.
37147 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37148 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37149 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37150 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37151 (READDIR): Macro removed.
37152 (SCANDIR_TAIL): New macro.
37153 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37154 (SCANDIR_TAIL): New macro.
37155
37156 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37157 * dirent/scandir-cancel.c: ... to this new file.
37158 * dirent/Makefile (routines): Add it.
37159 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37160 * sysdeps/unix/sysv/linux/i386/scandir64.c
37161 (SKIP_SCANDIR_CANCEL): Macro removed.
37162 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37163
37164 * dirent/tst-scandir.c: New file.
37165 * dirent/tst-scandir64.c: New file.
37166 * dirent/Makefile (tests): Add them.
37167
37168 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37169
37170 [BZ #18409]
37171 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37172
37173 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37174
37175 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37176 list.
37177
37178 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37179
37180 * benchtests/bench-strcoll.c: New benchmark.
37181 * benchtests/Makefile: Generate locales and run benchmark.
37182 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37183 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37184 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37185 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37186 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37187 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37188 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37189 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37190 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37191 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37192 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37193 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37194 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37195 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37196 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37197 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37198 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37199 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37200 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37201 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37202 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37203 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37204 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37205 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37206
37207 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37208
37209 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37210 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37211
37212 2015-05-12 Roland McGrath <roland@hack.frob.com>
37213
37214 * posix/uname-values.h: New file.
37215 * posix/uname.c: Include that instead of <config-name.h>.
37216 * sysdeps/nacl/uname-values.h: New file.
37217 * sysdeps/arm/nacl/uname-values.h: New file.
37218
37219 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37220
37221 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37222 splitting into fields.
37223
37224 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37225
37226 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37227 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37228 * locale/localeinfo.h: Add enum collation_encoding_type.
37229 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37230 * programs/ld-collate.c (collate_output): Add encoding type info.
37231 * string/strcoll_l.c (STRDIFF): New function.
37232 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37233 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37234
37235 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37236
37237 [BZ #18397]
37238 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37239 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37240 <fpu_control.h> instead of <math/fpu_control.c>.
37241 * sysdeps/mips/mips32/fpu/Makefile: New file.
37242
37243 2015-05-11 Andreas Schwab <schwab@suse.de>
37244
37245 [BZ #18007]
37246 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37247 nss_endgrent.
37248 (_nss_compat_endgrent): Call nss_endgrent.
37249 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37250 nss_endpwent.
37251 (_nss_compat_endpwent): Call nss_endpwent.
37252 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37253 needent, call nss_setspent only if non-zero.
37254 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37255 (internal_endspent): Don't call nss_endspent.
37256 (_nss_compat_endspent): Call nss_endspent.
37257 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37258 Remove. All uses removed.
37259 (internal_setent): Remove parameter stayopen, add parameter
37260 stream. Use it instead of global variable.
37261 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37262 (internal_endent, internal_getent): Add parameter stream. Use it
37263 instead of global variable.
37264 (CONCAT(_nss_files_end,ENTNAME))
37265 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37266 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37267 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37268 uses removed.
37269 (internal_setent, internal_endent): Add parameter stream. Use it
37270 instead of global variable.
37271 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37272 stream.
37273 (get_next_alias): Add parameter stream.
37274 (_nss_files_getaliasent_r): Pass global stream.
37275 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37276 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37277 (_nss_files_gethostbyname4_r): Pass local stream to
37278 internal_setent, internal_getent and internal_endent. Remove
37279 locking.
37280
37281 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37282
37283 * tst-strfmon1.c (tests): Update expected currency symbol.
37284
37285 2015-05-08 Roland McGrath <roland@hack.frob.com>
37286
37287 * sysdeps/nacl/gethostname.c: New file.
37288
37289 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37290
37291 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37292 and sinh.
37293 * math/auto-libm-test-out: Regenerated.
37294 * sysdeps/i386/fpu/libm-test-ulps: Update.
37295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37296
37297 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37298
37299 [BZ #18125]
37300 * stdlib/tst-setcontext3.c: New file.
37301 * stdlib/tst-setcontext3.sh: New file.
37302 * stdlib/Makefile (tests): Add tst-setcontext3.
37303 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37304 to verify test program created output file.
37305 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37306 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37307 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37308 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37309
37310 2015-05-06 Roland McGrath <roland@hack.frob.com>
37311
37312 [BZ #18383]
37313 * elf/tst-tlsalign.c: New file.
37314 * elf/tst-tlsalign-static.c: New file.
37315 * elf/tst-tlsalign-lib.c: New file.
37316 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37317 (tests-static): Add tst-tlsalign-static.
37318 (modules-names): Add tst-tlsalign-lib.
37319 (test-xfail-tst-tlsalign): New variable.
37320 (test-xfail-tst-tlsalign-static): New variable.
37321
37322 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37323 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37324
37325 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37326
37327 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37328 csqrt, erfc, sin and sincos.
37329 * math/auto-libm-test-out: Regenerated.
37330 * sysdeps/i386/fpu/libm-test-ulps: Update.
37331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37332
37333 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37334
37335 * sysdeps/aarch64/libm-test-ulps: Update.
37336
37337 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37338
37339 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37340 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37341 * math/auto-libm-test-out: Regenerated.
37342 * sysdeps/i386/fpu/libm-test-ulps: Update.
37343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37344
37345 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37346
37347 [BZ #18265]
37348 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37349 (wcsncpy): Likewise.
37350
37351 2015-05-05 Florian Weimer <fweimer@redhat.com>
37352
37353 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37354 Assume __ASSUME_FALLOCATE is always true.
37355 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37356 (__posix_fallocate64_l64): Likewise.
37357 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37358 (posix_fallocate): Likewise.
37359 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37360 (__posix_fallocate64_l64): Likewise.
37361 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37362 [!__ASSUME_FALLOCATE]: Add comment.
37363
37364 2015-05-05 Florian Weimer <fweimer@redhat.com>
37365
37366 * sysdeps/unix/sysv/linux/i386/Makefile
37367 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37368 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37369 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37370 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37371 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37372 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37373 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37374
37375 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37376
37377 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37378 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37379 tgamma.
37380 * math/auto-libm-test-out: Regenerated.
37381 * sysdeps/i386/fpu/libm-test-ulps: Update.
37382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37383
37384 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37385
37386 * math/auto-libm-test-in: Add more tests of tgamma.
37387 * math/auto-libm-test-out: Regenerated.
37388 * sysdeps/i386/fpu/libm-test-ulps: Update.
37389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37390
37391 * math/auto-libm-test-in: Add more tests of tanh.
37392 * math/auto-libm-test-out: Regenerated.
37393 * sysdeps/i386/fpu/libm-test-ulps: Update.
37394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37395
37396 * math/auto-libm-test-in: Add more tests of tan.
37397 * math/auto-libm-test-out: Regenerated.
37398 * sysdeps/i386/fpu/libm-test-ulps: Update.
37399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400
37401 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37402 * math/auto-libm-test-out: Regenerated.
37403 * sysdeps/i386/fpu/libm-test-ulps: Update.
37404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37405
37406 * math/auto-libm-test-in: Add another test of pow.
37407 * math/auto-libm-test-out: Regenerated.
37408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37409
37410 * math/auto-libm-test-in: Add more tests of lgamma.
37411 * math/auto-libm-test-out: Regenerated.
37412 * sysdeps/i386/fpu/libm-test-ulps: Update.
37413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37414
37415 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37416 log1p.
37417 * math/auto-libm-test-out: Regenerated.
37418 * sysdeps/i386/fpu/libm-test-ulps: Update.
37419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37420
37421 2015-05-01 Mark Wielaard <mjw@redhat.com>
37422
37423 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37424 Elf64_Chdr structs and ELFCOMPRESS constants.
37425
37426 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37427
37428 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37429 expm1.
37430 * math/auto-libm-test-out: Regenerated.
37431 * sysdeps/i386/fpu/libm-test-ulps: Update.
37432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37433
37434 * math/auto-libm-test-in: Add more tests of erf and erfc.
37435 * math/auto-libm-test-out: Regenerated.
37436 * sysdeps/i386/fpu/libm-test-ulps: Update.
37437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37438
37439 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37440
37441 * config.h.in (HAVE_AARCH64_BE): Add.
37442
37443 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37444
37445 * math/auto-libm-test-in: Add more tests of csqrt.
37446 * math/auto-libm-test-out: Regenerated.
37447 * sysdeps/i386/fpu/libm-test-ulps: Update.
37448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37449
37450 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37451 * math/auto-libm-test-out: Regenerated.
37452 * sysdeps/i386/fpu/libm-test-ulps: Update.
37453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454
37455 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37456
37457 2015-04-29 Roland McGrath <roland@hack.frob.com>
37458
37459 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37460 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37461
37462 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37463 (euidaccess, eaccess): Define as weak aliases.
37464
37465 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37466 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37467 but __suseconds_t is often 'long int' so some sources assume that
37468 type is being used (e.g. they use %ld to print tv_usec).
37469
37470 2015-04-29 Florian Weimer <fweimer@redhat.com>
37471
37472 [BZ #18007]
37473 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37474 (CVE-2014-8121)
37475 * nss/tst-nss-getpwent.c: New file.
37476 * nss/Makefile (tests): Add new test.
37477
37478 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37479
37480 [BZ #18346]
37481 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37482 exponents less than 48 as cases where high part of mantissa needs
37483 examining to determine whether argument is integral.
37484 * math/libm-test.inc (round_test_data): Add more tests.
37485
37486 2015-04-28 Mark Wielaard <mjw@redhat.com>
37487
37488 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37489
37490 2015-04-27 David S. Miller <davem@davemloft.net>
37491
37492 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37493 __tls_get_addr.
37494 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37495
37496 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37497
37498 [BZ #18333]
37499 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37500
37501 2015-04-27 Florian Weimer <fweimer@redhat.com>
37502
37503 [BZ #18333]
37504 * time/tzset.c (parse_tzname): Return error on memory allocation
37505 failure.
37506 * test-skeleton.c (struct temp_name_list): Change type of name
37507 member to non-const.
37508 (add_temp_file): Create a copy of the file name.
37509 (delete_temp_files): Deallocate memory.
37510 (create_temp_file): Add comment.
37511
37512 2015-04-24 Florian Weimer <fweimer@redhat.com>
37513
37514 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37515 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37516
37517 2015-04-24 Roland McGrath <roland@hack.frob.com>
37518
37519 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37520 * sysdeps/arm/configure: Regenerated.
37521
37522 2015-04-24 Florian Weimer <fweimer@redhat.com>
37523
37524 [BZ #17715]
37525 * time/tzfile.c (__tzfile_read): Check for large values of
37526 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37527 * time/tzset.c (__tzstring_len): New function, based on the old
37528 __tzstring function.
37529 (__tzstring): Call __tzstring_len.
37530 (parse_tzname): New helper function extracted from
37531 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37532 the input string.
37533 (parse_offset): New helper function extracted from
37534 __tzset_parse_tz. Replace switch with fallthrough with
37535 initialization before sscanf.
37536 (parse_rule): Likewise.
37537 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37538 new-style function definition.
37539 * timezone/Makefile (tests): Add tst-tzset.
37540 (tst-tzset.out): Dependencies on time zone files.
37541 (tst-tzset-ENV): Set TZDIR.
37542 (testdata/XT%): Copy crafted time zone files.
37543 * timezone/README: Mention crafted time zone files.
37544 * timezone/testdata/XT1, timezone/testdata/XT2,
37545 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37546 files.
37547 * timezone/tst-tzset.c: New test.
37548
37549 2015-04-24 Florian Weimer <fweimer@redhat.com>
37550
37551 * Makeconfig (+gccwarn): Remove -Winline.
37552
37553 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37554
37555 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37556
37557 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37558
37559 * NEWS: Mention sysconf() cache information support for s390.
37560 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37561
37562 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
37563
37564 * math/k_casinh.c (__kernel_casinh): Use __copysign.
37565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37566 (__nearbyint): Likewise.
37567 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37568 (copysignl): Likewise.
37569
37570 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
37571
37572 [BZ #18287]
37573 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37574 based on padding. (CVE-2015-1781)
37575
37576 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37577
37578 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37579 libc-vdso.h.
37580 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37581 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37582 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37583 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37584 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37585 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37586 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37589 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37590 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37591 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37592 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37593 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37594 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37595 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37596 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37598 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37599 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37600 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37601 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37602 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37603
37604 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
37605
37606 * stdlib/setenv.c (__add_to_environ):
37607 Dump core quickly if setenv (..., NULL, ...) is called.
37608 This time, do it the right way, and pacify GCC with a pragma.
37609
37610 2015-04-17 Roland McGrath <roland@hack.frob.com>
37611
37612 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37613 IMAP->l_prev cannot be null, and #if out the code for the contrary
37614 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37615 believe that NS (&_dl_ns[NSID]) could point outside the array.
37616
37617 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37618 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37619 before using NSID as an index.
37620
37621 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
37622
37623 [BZ #17825]
37624 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37625 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37626 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37627
37628 2015-04-17 Roland McGrath <roland@hack.frob.com>
37629
37630 Add preliminary port to Google Native Client on ARM.
37631 * abi-tags (.*-.*-nacl.*): New entry.
37632 * sysdeps/arm/nacl: New directory.
37633 * sysdeps/nacl: New directory.
37634
37635 2015-04-16 David S. Miller <davem@davemloft.net>
37636
37637 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37638 lowlevellock-futex.h
37639
37640 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
37641
37642 * sysdeps/tile/configure.ac: New file.
37643 * sysdeps/tile/configure: Regenerated.
37644
37645 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37646
37647 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
37648 conditionals for weak_alias and libc_hidden_weak.
37649 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37650 libc_hidden_weak and weak_alias.
37651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37652 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37653 and weak_alias for static one.
37654
37655 2015-04-15 David S. Miller <davem@davemloft.net>
37656
37657 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37658
37659 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37660
37661 [BZ #18206]
37662 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37663 Use signed comparision instead of substraction to avoid
37664 overflow bug.
37665 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37666 Take the sign of ret.
37667 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37668 Do not expect precise return values. Only the sign matters.
37669 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37670 * wcsmbs/test-wcsncmp.c: New File.
37671 * string/test-strncmp.c: Add wcsncmp support.
37672
37673 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37674
37675 [BZ #6792]
37676 * math/w_log1p.c: New file.
37677 * math/w_log1pf.c: Likewise.
37678 * math/w_log1pl.c: Likewise.
37679 * math/Makefile (libm-calls): Add w_log1p.
37680 * math/s_log1pl.c (log1pl): Remove weak_alias.
37681 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37682 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37683 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37684 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37685 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37686 [NO_LONG_DOUBLE] (log1pl): Likewise.
37687 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37689 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
37690 (log1p): Remove long_double_symbol.
37691 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
37692 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
37693 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
37694 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37695 remove weak_alias for corresponding log1p function.
37696 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
37697 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
37698 * sysdeps/ia64/fpu/w_log1p.c: New file.
37699 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
37700 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
37701 * math/libm-test.inc (log1p_test_data): Add errno expectations.
37702
37703 2015-04-10 Joseph Myers <joseph@codesourcery.com>
37704
37705 [BZ #18247]
37706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37707 decimal exponent by 1.
37708 * stdlib/tst-strtod-round-data: Add more tests.
37709 * stdlib/tst-strtod-round.c (tests): Regenerated.
37710
37711 2015-04-09 Joseph Myers <joseph@codesourcery.com>
37712
37713 * math/auto-libm-test-in: Add more tests of clog and clog10.
37714 * math/auto-libm-test-out: Regenerated.
37715 * sysdeps/i386/fpu/libm-test-ulps: Update.
37716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37717
37718 2015-04-09 Roland McGrath <roland@hack.frob.com>
37719
37720 * Makeconfig (module-cppflags): Exclude all .v.i files.
37721 (skip-module-cppflags): Variable removed.
37722
37723 * configure.ac (libc_config_ok): Initialize before reading
37724 preconfigure scripts, not after.
37725 * configure: Regenerated.
37726
37727 * test-skeleton.c (TIMEOUT): Move #define to top level.
37728 (main): Grok environment variable TEST_DIRECT. If set, print
37729 test expectation details into that file and then behave as if
37730 given --direct.
37731
37732 2015-04-09 Florian Weimer <fweimer@redhat.com>
37733
37734 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37735 warning on 32-bit.
37736
37737 2015-04-08 David S. Miller <davem@davemloft.net>
37738
37739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37740
37741 2015-04-08 Joseph Myers <joseph@codesourcery.com>
37742
37743 * math/auto-libm-test-in: Add more tests of atanh.
37744 * math/auto-libm-test-out: Regenerated.
37745 * sysdeps/i386/fpu/libm-test-ulps: Update.
37746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37747
37748 * math/auto-libm-test-in: Add more tests of atan.
37749 * math/auto-libm-test-out: Regenerated.
37750 * sysdeps/i386/fpu/libm-test-ulps: Update.
37751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37752
37753 2015-04-08 Florian Weimer <fweimer@redhat.com>
37754
37755 * elf/pldd.c (main): Rewrite to use struct
37756 scratch_buffer instead of extend_alloca.
37757 * elf/pldd-xx.c (find_maps): Likewise.
37758 * grp/initgroups.c: Include <scratch_buffer.h> instead of
37759 <alloca.h>.
37760 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37761 scratch_buffer instead of extend_alloca.
37762 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37763 grp/compat-initgroups.c.
37764 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37765 Rewrite to use struct scratch_buffer instead of extend_alloca.
37766 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37767 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37768
37769 2015-04-08 Joseph Myers <joseph@codesourcery.com>
37770
37771 * math/auto-libm-test-in: Add more tests of cbrt.
37772 * math/auto-libm-test-out: Regenerated.
37773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37774
37775 * math/auto-libm-test-in: Add more tests of cabs.
37776 * math/auto-libm-test-out: Regenerated.
37777 * sysdeps/i386/fpu/libm-test-ulps: Update.
37778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37779
37780 [BZ #18210]
37781 [BZ #18211]
37782 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37783 (__ieee754_atan2): Set FE_TONEAREST mode for internal
37784 computations.
37785 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37786 clog10.
37787 * math/auto-libm-test-out: Regenerated.
37788 * sysdeps/i386/fpu/libm-test-ulps: Update.
37789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37790
37791 [BZ #18197]
37792 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37793 (atan): Set FE_TONEAREST mode for internal computations.
37794 * math/auto-libm-test-in: Add more tests of atan.
37795 * math/auto-libm-test-out: Regenerated.
37796
37797 2015-04-07 James Cowgill <james410@cowgill.org.uk>
37798
37799 [BZ #17930]
37800 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37801
37802 2015-04-07 Florian Weimer <fweimer@redhat.com>
37803
37804 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37805
37806 2015-04-07 Florian Weimer <fweimer@redhat.com>
37807
37808 * include/scratch_buffer.h: New file.
37809 * malloc/scratch_buffer_grow.c: Likewise.
37810 * malloc/scratch_buffer_grow_preserve.c: Likewise.
37811 * malloc/scratch_buffer_set_array_size.c: Likewise.
37812 * malloc/tst-scratch_buffer.c: Likewise.
37813 * malloc/Makefile (routines): Add scratch_buffer_grow.
37814 (tests): Add test case.
37815 * malloc/Versions (GLIBC_PRIVATE): Export
37816 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37817 __libc_scratch_buffer_set_array_size.
37818
37819 2015-04-06 Richard Henderson <rth@redhat.com>
37820
37821 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37822 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37823
37824 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37825 unsigned int before printing.
37826
37827 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37828
37829 [BZ #17596]
37830 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37831 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37832
37833 2015-04-02 Florian Weimer <fweimer@redhat.com>
37834
37835 * include/libc-internal.h (libc_max_align_t): Define.
37836
37837 2015-04-02 Andreas Schwab <schwab@suse.de>
37838
37839 [BZ #16850]
37840 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37841
37842 2015-04-02 Mel Gorman <mgorman@suse.de>
37843
37844 [BZ #17195]
37845 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37846 as well as the main arena.
37847
37848 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37849
37850 [BZ #18185]
37851 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37852 sharing L2 cache to 2 for Silvermont/Knights Landing.
37853
37854 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37855
37856 [BZ #17711]
37857 * config.make.in (have-protected-data): New.
37858 * configure.ac: Check linker support for protected data symbol.
37859 * configure: Regenerated.
37860 * elf/Makefile (modules-names): Add tst-protected1moda and
37861 tst-protected1modb if $(have-protected-data) is yes.
37862 (tests): Add tst-protected1a and tst-protected1b if
37863 $(have-protected-data) is yes.
37864 ($(objpfx)tst-protected1a): New.
37865 ($(objpfx)tst-protected1b): Likewise.
37866 (tst-protected1modb.so-no-z-defs): Likewise.
37867 * elf/tst-protected1a.c: New file.
37868 * elf/tst-protected1b.c: Likewise.
37869 * elf/tst-protected1mod.h: Likewise.
37870 * elf/tst-protected1moda.c: Likewise.
37871 * elf/tst-protected1modb.c: Likewise.
37872
37873 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37874
37875 [BZ #17711]
37876 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37877 indicates it is called from do_lookup_x on relocation against
37878 protected data, skip the data definion in the executable from
37879 copy reloc.
37880 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37881 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37882 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37883 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37884 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37885 otherwise to 0.
37886 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37887 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37888 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37889 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37890 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37891 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37892
37893 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
37894
37895 * sysdeps/nptl/pthread.h: Remove duplicate definition of
37896 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37897
37898 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
37899
37900 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37901 THREAD_SETMEM_NC.
37902 * sysdeps/x86_64/nptl/tls.h: Ditto.
37903
37904 2015-03-27 Roland McGrath <roland@hack.frob.com>
37905
37906 * dlfcn/tststatic.c (main): Converted to ...
37907 (do_test): ... this.
37908 (TEST_FUNCTION): New macro.
37909 Include test-skeleton.c.
37910
37911 2015-03-26 Alan Modra <amodra@gmail.com>
37912
37913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37914 Don't segfault if ifunc resolver returns a NULL. Do set plt to
37915 zero for undefined weak.
37916 (elf_machine_plt_conflict): Similarly.
37917
37918 2015-03-25 Joseph Myers <joseph@codesourcery.com>
37919
37920 * math/auto-libm-test-in: Add more tests of acosh, asinh and
37921 atanh.
37922 * math/auto-libm-test-out: Regenerated.
37923 * sysdeps/i386/fpu/libm-test-ulps: Update.
37924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37925
37926 * math/auto-libm-test-in: Add another test of asin.
37927 * math/auto-libm-test-out: Regenerated.
37928 * sysdeps/i386/fpu/libm-test-ulps: Update.
37929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37930
37931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37932 Remove macro.
37933 (LLL_EBX_REG): Likewise.
37934 (LLL_ENTER_KERNEL): Likewise.
37935
37936 * math/auto-libm-test-in: Add more tests of asin.
37937 * math/auto-libm-test-out: Regenerated.
37938 * sysdeps/i386/fpu/libm-test-ulps: Update.
37939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37940
37941 [BZ #18138]
37942 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37943 libc_do_syscall_args): New structure.
37944 (INTERNAL_SYSCALL_MAIN_0): New macro.
37945 (INTERNAL_SYSCALL_MAIN_1): Likewise.
37946 (INTERNAL_SYSCALL_MAIN_2): Likewise.
37947 (INTERNAL_SYSCALL_MAIN_3): Likewise.
37948 (INTERNAL_SYSCALL_MAIN_4): Likewise.
37949 (INTERNAL_SYSCALL_MAIN_5): Likewise.
37950 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
37951 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37952 Replace conditional definitions by conditional definitions of ....
37953 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
37954 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37955 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37956 (libpthread-sysdep_routines): Add libc-do-syscall.
37957 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37958 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37959 to __NR_futex not 240.
37960
37961 2015-03-25 Alan Modra <amodra@gmail.com>
37962
37963 * NEWS: Advertise TLS optimization.
37964 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37965 (DT_PPC_NUM): Increment.
37966 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37967 (CHECK_STATIC_TLS): Use here.
37968 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37969 TLS descriptors.
37970 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37971 * sysdeps/powerpc/dl-tls.c: New file.
37972 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37973 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37974 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37975 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37979
37980 2015-03-25 Alan Modra <amodra@gmail.com>
37981
37982 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37983 for overlapping .opd entries" to "support...".
37984 * sysdeps/powerpc/powerpc64/configure: Regenerate
37985
37986 2015-03-25 Joseph Myers <joseph@codesourcery.com>
37987
37988 * math/auto-libm-test-in: Add more tests of acos.
37989 * math/auto-libm-test-out: Regenerated.
37990 * sysdeps/i386/fpu/libm-test-ulps: Update.
37991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37992
37993 * math/auto-libm-test-in: Add more tests of expm1.
37994 * math/auto-libm-test-out: Regenerated.
37995 * sysdeps/i386/fpu/libm-test-ulps: Update.
37996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37997
37998 2015-03-24 Joseph Myers <joseph@codesourcery.com>
37999
38000 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38001 * math/auto-libm-test-out: Regenerated.
38002 * sysdeps/i386/fpu/libm-test-ulps: Update.
38003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38004
38005 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007
38008 * math/auto-libm-test-in: Add more tests of log2.
38009 * math/auto-libm-test-out: Regenerated.
38010 * sysdeps/i386/fpu/libm-test-ulps: Update.
38011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38012
38013 2015-03-23 Roland McGrath <roland@hack.frob.com>
38014
38015 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38016 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38017 _IO_IS_APPENDING bit in READ_WRITE instead.
38018
38019 2015-03-23 Florian Weimer <fweimer@redhat.com>
38020
38021 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38022 (__determine_cpumask_size): Replace extend_alloca with a
38023 variable-length array. Do not treat res == 0 as an error.
38024
38025 2015-03-23 Florian Weimer <fweimer@redhat.com>
38026
38027 [BZ #18100]
38028 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38029 and integer overflow.
38030 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38031 (main): Add integer overflow tests.
38032 * manual/pattern.texi (Calling Wordexp): Document additional use
38033 for WRDE_SYNTAX.
38034
38035 2015-03-23 Alan Modra <amodra@gmail.com>
38036
38037 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38038 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38039 and false branch of conditional.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38041 Likewise.
38042
38043 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38044
38045 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38046 libc-modules.h
38047 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38048 unused declaration of _hurd_intr_rpc_msg_in_trap.
38049 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38050 defined instead of whether it is non-zero.
38051 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38052 input constraint instead of both input and output constraint. Use ecx
38053 clobber instead of %ecx.
38054 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38055 mutex_unlock): Use a statement expression instead of an expression list.
38056 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38057 type to vm_size_t instead of vm_address_t.
38058 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38059 defined instead of whether it is non-zero.
38060 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38061 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38062 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38063 comparisons with mapaddr.
38064 * nscd/nscd-client.h: Include <time.h>.
38065 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38066 9th parameter to __vm_region instead of int.
38067 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38068 * scripts/check-local-headers.sh (exclude): Add device/,
38069 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38070 cthreads.h.
38071
38072 2015-03-19 Roland McGrath <roland@hack.frob.com>
38073
38074 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38075 to account for alignment padding.
38076 * sysdeps/arm/memmove.S: Likewise.
38077
38078 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38079
38080 * sysdeps/unix/sysv/linux/generic/README: New file.
38081
38082 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38083
38084 [BZ #18138]
38085 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38086 (futex_abstimed_wait)
38087 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38088 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38089 of lll_futex_timed_wait.
38090
38091 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38092
38093 [BZ #17542]
38094 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38095
38096 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38097
38098 [BZ #17090]
38099 [BZ #17620]
38100 [BZ #17621]
38101 [BZ #17628]
38102 * NEWS: Update.
38103 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38104 entries with Static TLS too. Skip entries past the end of the
38105 allocated DTV, from Alan Modra.
38106 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38107 Static TLS DTV entry set up from...
38108 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38109 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38110 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38111 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38112 for Static TLS.
38113 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38114 that the slot we find is associated with the given map before
38115 using its generation count.
38116 * nptl_db/db_info.c: Include ldsodefs.h.
38117 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38118 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38119 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38120 (link_map::l_tls_offset): New struct field.
38121 (dtv_t::counter): Likewise.
38122 (rtld_global): New struct.
38123 (_rtld_global): New rtld variable.
38124 (dl_tls_dtv_slotinfo_list): New rtld global field.
38125 (dtv_slotinfo_list): New struct.
38126 (dtv_slotinfo): Likewise.
38127 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38128 (td_lookup): Rename to...
38129 (td_mod_lookup): ... this. Use new mod parameter instead of
38130 LIBPTHREAD_SO.
38131 * nptl_db/td_thr_tlsbase.c: Include link.h.
38132 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38133 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38134 addresses even if the DTV is out of date or missing them.
38135 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38136 index zero-length arrays.
38137 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38138 (td_lookup): Make it a macro implemented in terms of...
38139 (td_mod_lookup): ... this declaration.
38140 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38141 (DB_MAIN_VARIABLE): Likewise.
38142
38143 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 [BZ #18134]
38146 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38147
38148 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38149
38150 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38151
38152 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38153
38154 [BZ #18128]
38155 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38156 (atomic_add, atomic_increment_and_test)
38157 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38158
38159 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38160
38161 * stdlib/setenv.c (__add_to_environ):
38162 Dump core quickly if setenv (..., NULL, ...) is called.
38163
38164 2015-03-13 Roland McGrath <roland@hack.frob.com>
38165
38166 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38167 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38168 all the necessary asm magic in one place.
38169 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38170 using those.
38171
38172 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38173
38174 [BZ #14906]
38175 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38176 traced file mtime. Use consistent log message.
38177 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38178 (register_traced_file): Call install_watches. Always set mtime.
38179 (invalidate_cache): Iterate over all trace files. Call install_watches.
38180 (inotify_check_files): Don't inline. Handle watching parent
38181 directories and configuration file movement in and out.
38182 (handle_inotify_events): New function.
38183 (main_loop_poll): Call handle_inotify_events.
38184 (main_loop_epoll): Likewise.
38185 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38186 (struct traced_file): Use array of inotify fds. Add parent directory,
38187 and basename.
38188 (struct database_dyn): Remove unused file_mtime.
38189 (init_traced_file): New inline function.
38190 (define_traced_file): New macro.
38191 * nss/nss_db/db-init.c: Use define_traced_file.
38192 (_nss_db_init): Use init_traced_file.
38193 * nss/nss_files/files-init.c: Use define_traced_file.
38194 (_nss_files_init): Use init_traced_file.
38195
38196 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38197
38198 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38199 [_LIBC]: Do not include <stdlib.h>.
38200 [!_LIBC] (abort): Remove declaration.
38201 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38202 _FP_STATIC_ASSERT instead of conditionally calling abort.
38203 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38204 (_FP_EXTEND_CNAN): Likewise.
38205 (FP_TRUNC): Likewise.
38206 (__FP_CLZ): Likewise.
38207 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38208
38209 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38210
38211 * manual/string.texi (XPG basename): Fix prototype.
38212
38213 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38214
38215 [BZ #18080]
38216 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38217 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38218 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38219 (__setcontext): Likewise.
38220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38221 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38222 Call rt_sigprocmask syscall one time to set new signal mask
38223 and retrieve the current signal mask instead of two calls.
38224 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38225 (__swapcontext): Likewise.
38226 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38227 * stdlib/tst-setcontext2.c: New file.
38228
38229 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38230
38231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38232
38233 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38234
38235 [BZ #18093]
38236 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38237 the wrong size.
38238
38239 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38240
38241 [BZ #18043]
38242 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38243
38244 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38245
38246 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38247 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38248 Remove define.
38249 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38250 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38251 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38252 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38253 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38254 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38255 define.
38256 * nptl_db/td_symbol_list.c (td_lookup): Remove
38257 HAVE_ASM_GLOBAL_DOT_NAME code.
38258 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38259 HAVE_ASM_GLOBAL_DOT_NAME check.
38260 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38261 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38262 (DOT_LABEL): Remove define.
38263 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38264 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38265 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38266 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38267 (__TLS_GET_ADDR): Likewise.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38269 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38270
38271 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38272
38273 [BZ #18111]
38274 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38275 (_FPU_SETCW): Initialize cw from fpsr before storing.
38276 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38277 (fesetexceptflag): Rewrite using fpu_control.h.
38278 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38279
38280 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38281
38282 [BZ #18110]
38283 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38284 asms.
38285 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38286
38287 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38288
38289 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38290 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38291 abort.
38292 (_FP_FMA): Likewise.
38293 (_FP_DIV): Likewise.
38294
38295 2015-03-10 Roland McGrath <roland@hack.frob.com>
38296
38297 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38298 with 0 in that case.
38299 * Makefile (summarize-tests): New canned sequence, factored out of
38300 commands for targets tests and xtests. Display summary lines that
38301 don't start with PASS: or XFAIL: rather than ones that do start with
38302 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38303 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38304 do start with ERROR: or FAIL:.
38305 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38306 (except for [$(build-shared) = yes]).
38307 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38308 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38309 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38310 * nptl/Makefile: Revert 2015-03-04 changes.
38311 [$(CXX) empty] (tests-unsupported): New variable.
38312 * debug/Makefile: Likewise.
38313
38314 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38315 gnulib file. Replace __attribute with __attribute__ throughout.
38316
38317 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38318
38319 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38320
38321 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38322
38323 [BZ #18104]
38324 * math/auto-libm-test-in: Add another test of pow.
38325 * math/auto-libm-test-out: Regenerated.
38326
38327 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38328
38329 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38330 $(config-cflags-nofma).
38331
38332 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38333
38334 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38335 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38336 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38337 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38338 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38339 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38340 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38341 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38342 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38343 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38344 Add comment on closing #endif.
38345
38346 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38347
38348 * posix/wordexp.c (CHAR_IN_SET): New macro.
38349 (parse_param): Use it.
38350
38351 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38352
38353 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38354
38355 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38356
38357 [BZ #18043]
38358 * posix/wordexp.c (parse_param): Fix buffer overflow.
38359 * posix/wordexp-test.c (test_case): Add test case.
38360
38361 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38362
38363 [BZ #18042]
38364 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38365 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38366
38367 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38368
38369 [BZ #18043]
38370 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38371 (do_bz18043): Delete.
38372 (at_page_end): New.
38373 (testit): Refactor to have words at the edge of unreadable page.
38374
38375 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38376
38377 [BZ #16734]
38378 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38379 Cleanup read-only streams as well.
38380 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38381
38382 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38383
38384 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38385 <bits/libc-lockP.h>
38386
38387 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38388
38389 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38390 on [__KERNEL__].
38391 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38392 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38393 * soft-fp/op-common.h (_FP_DECL): Likewise.
38394
38395 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 * elf/ifuncdep2.c (global): Replace
38398 __attribute__((visibility("protected"))) with
38399 asm (".protected global").
38400 * elf/ifuncmod1.c (global): Likewise.
38401 * elf/ifuncmod5.c (global): Likewise.
38402
38403 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38404
38405 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38406 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38407
38408 2015-03-06 Roland McGrath <roland@hack.frob.com>
38409
38410 * manual/install.texi (Configuring and compiling):
38411 Document test-wrapper-env-only.
38412 * INSTALL: Regenerated.
38413
38414 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38415
38416 [BZ #18043]
38417 * posix/wordexp.c (parse_param): Fix buffer overflow.
38418 * posix/wordexp-test.c (do_bz18043): Add test case.
38419
38420 2015-03-06 Vincent Bernat <vincent@bernat.im>
38421
38422 * time/tst-strptime2.c (do_test): Ensure failing tests are
38423 reported correctly.
38424 * time/tst-strptime3.c (do_test): Likewise.
38425
38426 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38427
38428 Fix aio_error thread-safety.
38429 * sysdeps/pthread/aio_error.c: New file
38430 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38431 synchronization.
38432
38433 2015-03-06 Florian Weimer <fweimer@redhat.com>
38434
38435 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38436 (group_number, vfprintf): Use it.
38437 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38438 (JUMP, REF): Use it.
38439 (WORK_BUFFER_SIZE): New enum constant.
38440 (process_arg, vfprintf): Use it.
38441
38442 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38443
38444 * manual/errno.texi (Error Messages): Complete example function
38445 by adding missing #define.
38446 (program_invocation_name): Add statement indicating GNU
38447 extension and reference which header file declares the variable.
38448 (program_invocation_short_name): Likewise.
38449
38450 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38451
38452 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38453 compatibility note.
38454
38455 2015-03-05 Roland McGrath <roland@hack.frob.com>
38456
38457 * Makeconfig (test-wrapper-env-only): New variable.
38458 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38459 then use that with $(test-wrapper-env-only) rather than using
38460 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38461
38462 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 [BZ #18082]
38465 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38466 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38467 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38468 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38469 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38470 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38471 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38472 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38473 Likewise.
38474 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38475 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38476 Likewise.
38477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38478 Likewise.
38479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38480 Likewise.
38481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38482 Likewise.
38483 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38485 Likewise.
38486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38487 Likewise.
38488 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38489 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38490
38491 2015-03-04 Roland McGrath <roland@hack.frob.com>
38492
38493 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38494 (ETH_ALEN): New macro.
38495 (struct ether_addr): Use it for length of ether_addr_octet.
38496
38497 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38498 (setdb): Don't call __nss_configure_lookup for "rpc".
38499 (do_test): Don't call test_rpc.
38500 (output_rpcent, test_rpc): Functions moved ...
38501 * sunrpc/test-rpcent.c: ... to this new file.
38502 * sunrpc/Makefile (tests): Add it.
38503
38504 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38505 __xpg_sigpause.
38506 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38507 * nptl/tst-signal6.c: Likewise.
38508 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38509 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38510
38511 * configure.ac (libc_cv_cxx_link_ok): New check.
38512 Reset CXX to empty if it fails to link.
38513 * configure: Regenerated.
38514 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38515 bug-atexit3-lib only if $(CXX) is nonempty.
38516 * nptl/Makefile (tests): Likewise for tst-cancel24.
38517 (tests, tests-static): Likewise for tst-cancel24-static.
38518 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38519 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38520 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38521 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38522
38523 2015-03-04 Andreas Schwab <schwab@suse.de>
38524
38525 [BZ #17631]
38526 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38527 for non-GCC compilers.
38528 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38529 Likewise.
38530
38531 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38532
38533 [BZ #17776]
38534 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38535 integer before bitwise and assembly operations.
38536 (feclearexcept): Likewise.
38537 * math/test-fenvinline.c: New file.
38538 * math/Makefile: Add test-fenvinline test.
38539
38540 2015-03-03 Alan Modra <amodra@gmail.com>
38541
38542 [BZ #16512]
38543 * scripts/localplt.awk: Strip off symbol version.
38544 * NEWS: Mention bug fix.
38545
38546 2015-03-02 Roland McGrath <roland@hack.frob.com>
38547
38548 * sysdeps/pthread/timer_routines.c
38549 (timer_free_list, thread_free_list, thread_active_list): Make static.
38550
38551 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38552
38553 [BZ #17779]
38554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38555 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38556 Undefine.
38557 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38558 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38559 Likewise.
38560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38561 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38562 Likewise.
38563
38564 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38565
38566 [BZ #18036]
38567 * posix/fnmatch_loop.c (END): Detect invalid pattern.
38568 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38569
38570 2015-03-02 Andreas Schwab <schwab@suse.de>
38571
38572 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38573 variable name.
38574
38575 2015-03-02 Florian Weimer <fweimer@redhat.com>
38576
38577 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38578 Return error status.
38579
38580 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
38581
38582 [BZ #15969]
38583 * locale/findlocale.c (_nl_find_locale): Introduce const
38584 version of loc_name and drop unsafe type casts.
38585
38586 2015-02-27 Roland McGrath <roland@hack.frob.com>
38587
38588 * dlfcn/tststatic2.c (main): Converted to ...
38589 (do_test): ... this.
38590 (TEST_FUNCTION): New macro.
38591 Include test-skeleton.c.
38592
38593 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
38594
38595 [BZ #17711]
38596 * elf/Makefile (tests): Add vismain only if PIE is enabled.
38597 (tests-pie): Add vismain.
38598 (CFLAGS-vismain.c): New.
38599 * elf/vismain.c: Add comments for PIE requirement.
38600
38601 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38602
38603 [BZ #18046]
38604 [BZ #18047]
38605 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38606 0x1p-56L as threshold for just returning the argument.
38607 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38608 0x1p-32L as threshold for just returning the argument.
38609 * math/auto-libm-test-in: Add more tests of atanh.
38610 * math/auto-libm-test-out: Regenerated.
38611 * sysdeps/i386/fpu/libm-test-ulps: Update.
38612 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38613
38614 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38615
38616 * string/bcopy.c (bcopy): Call memmove for performance.
38617
38618 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38619
38620 * string/bzero.c (__bzero): Call memset for performance.
38621
38622 2015-02-27 John David Anglin <dave.anglin@bell.net>
38623
38624 [BZ #18068]
38625 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38626 to 00100000.
38627
38628 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38629
38630 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38631
38632 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38633
38634 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38635 (__kernel_standard): Use CSTR macro when setting exc.name.
38636 * sysdeps/ieee754/Makefile [$(subdir) = math]
38637 (CFLAGS-k_standard.c): Remove variable.
38638
38639 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38640 setting p and q from "else if" to "else".
38641 (qzero): Likewise.
38642 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38643 (qone): Likewise.
38644 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38645 (qzerof): Likewise.
38646 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38647 (qonef): Likewise.
38648 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38649 (qzero): Likewise.
38650 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38651 (qone): Likewise.
38652
38653 [BZ #18038]
38654 [BZ #18039]
38655 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38656 return pi/2 for arguments below 0x1p-113L.
38657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38658 return pi/2 for arguments below 0x1p-106L.
38659 * math/auto-libm-test-in: Add more tests of acos.
38660 * math/auto-libm-test-out: Regenerated.
38661
38662 [BZ #16351]
38663 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38664 (MO): New macro.
38665 (__ieee754_asin): Force underflow exception for results with small
38666 absolute value.
38667 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38668 (MO): New macro.
38669 (__ieee754_asinf): Force underflow exception for results with
38670 small absolute value.
38671 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38672 (__ieee754_asin): Force underflow exception for results with small
38673 absolute value.
38674 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38675 (__ieee754_asinf): Force underflow exception for results with
38676 small absolute value.
38677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38678 (__ieee754_asinl): Force underflow exception for results with
38679 small absolute value.
38680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38681 (__ieee754_asinl): Force underflow exception for results with
38682 small absolute value.
38683 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38684 (__ieee754_asinl): Force underflow exception for results with
38685 small absolute value.
38686 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38687 Include <math.h>.
38688 * math/auto-libm-test-in: Do not mark underflow exceptions as
38689 possibly missing for bug 16351.
38690 * math/auto-libm-test-out: Regenerated.
38691
38692 [BZ #18030]
38693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
38694 of power of 2 down when low part has opposite sign.
38695 * math/libm-test.inc (logb_test_data): Add more tests.
38696
38697 2015-02-26 Andreas Schwab <schwab@suse.de>
38698
38699 [BZ #18032]
38700 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
38701 over collating symbol inside a bracket expression. Minor cleanup.
38702 * posix/tst-fnmatch3.c (do_test): Add test case.
38703
38704 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38705
38706 [BZ #18029]
38707 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38708 Adjust exponent of power of 2 down when low part has opposite
38709 sign.
38710 * math/libm-test.inc (ilogb_test_data): Add more tests.
38711
38712 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
38713
38714 [BZ #15969]
38715 * locale/findlocale.c (_nl_find_locale): Fix constness error in
38716 the previous change.
38717
38718 [BZ #15969]
38719 * locale/findlocale.c (_nl_find_locale): Retry archive search
38720 after alias expansion.
38721
38722 2015-02-25 Roland McGrath <roland@hack.frob.com>
38723
38724 * iconv/tst-iconv3.c (main): Converted to ...
38725 (do_test): ... this.
38726 (TEST_FUNCTION): New macro.
38727 Include test-skeleton.c.
38728
38729 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38730 (convert): Make function static.
38731 (test_unalign): Likewise. Add const to argument pointee types.
38732 (main): Replace with static function do_test.
38733 Print "Succeeded." only if RET is zero.
38734 (TEST_FUNCTION): New macro.
38735 Include test-skeleton.c.
38736
38737 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38738 returns a null pointer.
38739
38740 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38741
38742 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38743 to __memcpy_ppc only for static builds.
38744
38745 2015-02-25 Joseph Myers <joseph@codesourcery.com>
38746
38747 [BZ #18020]
38748 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38749 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38750 * math/auto-libm-test-in: Add more tests of asinh.
38751 * math/auto-libm-test-out: Regenerated.
38752 * sysdeps/i386/fpu/libm-test-ulps: Update.
38753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38754
38755 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
38756
38757 [BZ #15850]
38758 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38759 and ip6_mtuinfo definitions here.
38760 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38761 in this define too. Update comment.
38762
38763 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
38764
38765 * elf/sprof.c (load_shobj): Tweak error message to match others.
38766
38767 2015-02-24 Kevin Easton <kevin@guarana.org>
38768
38769 [BZ #16145] (partial fix)
38770 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38771 to reduce lock contention.
38772
38773 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
38774
38775 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38776 (struct timex): Update time comment.
38777 (ADJ_SETOFFSET): Define.
38778
38779 2015-02-24 Joseph Myers <joseph@codesourcery.com>
38780
38781 [BZ #18019]
38782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38783 2**56 not 2**28 as threshold for log (2x) formula.
38784 * math/auto-libm-test-in: Add more tests of acosh.
38785 * math/auto-libm-test-out: Regenerated.
38786 * sysdeps/i386/fpu/libm-test-ulps: Update.
38787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38788
38789 2015-02-24 Mike Frysinger <vapier@gentoo.org>
38790
38791 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38792 parenthesis around the buf assignment.
38793 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38794
38795 2015-02-24 Joseph Myers <joseph@codesourcery.com>
38796
38797 [BZ #16783]
38798 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38799 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38800 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38801 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38802 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38803 * math/libm-test.inc (scalb_test_data): Add more tests.
38804
38805 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
38806
38807 [BZ #17916]
38808 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38809 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38810
38811 2015-02-24 Eric Rannaud <e@nanocritical.com>
38812
38813 [BZ #17523]
38814 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38815 * io/bits/fcntl2.h (open): Use it.
38816 (openat): Likewise.
38817 * io/open.c (__libc_open): Likewise.
38818 * io/open64.c (__libc_open64): Likewise.
38819 * io/open64_2.c (__open64_2): Likewise.
38820 * io/open_2.c (__open_2): Likewise.
38821 * io/openat.c (__openat): Likewise.
38822 * io/openat64.c (__openat64): Likewise.
38823 * io/openat64_2.c (__openat64_2): Likewise.
38824 * io/openat_2.c (__openat_2): Likewise.
38825 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38826 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38827 * sysdeps/posix/open64.c (__libc_open64): Likewise.
38828 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38829 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38830 (__open_nocancel): Likewise.
38831 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38832 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38833 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38834
38835 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38836
38837 [BZ #14841]
38838 * resolv/gethnamaddr.c (getanswer): Skip logging if
38839 RES_USE_DNSSEC is set.
38840 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38841
38842 2015-02-24 Mike Frysinger <vapier@gentoo.org>
38843
38844 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38845
38846 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
38847
38848 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38849 201304L, for Unicode 7.
38850
38851 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
38852
38853 [BZ #17836]
38854 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38855 shared library. Add gmon-start.os otherwise.
38856 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38857 $(objpfx)gmon-start.os if builing shared library.
38858 ($(objpfx)g$(static-start-installed-name)): Likewise.
38859
38860 2015-02-23 Andreas Schwab <schwab@suse.de>
38861
38862 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38863
38864 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38865
38866 [BZ #17269]
38867 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38868 (enlarge_userbuf): Likewise.
38869
38870 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
38871
38872 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38873 * math/atest-exp.c (TIMEOUT): Adjust to 200.
38874 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38875 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38876
38877 2015-02-20 Joseph Myers <joseph@codesourcery.com>
38878
38879 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38880 expression inside statement expression.
38881
38882 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38883
38884 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38885 <sysdeps/nptl/lowlevellock.h> and remove macros and
38886 functions that are now defined there.
38887 (SYS_futex): Remove.
38888 (lll_compare_and_swap): Remove.
38889 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38890
38891 2015-02-19 Joseph Myers <joseph@codesourcery.com>
38892
38893 [BZ #17999]
38894 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38895 instead of scandirat.
38896 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38897 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38898 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38899 __scandirat.
38900 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38901 (__scandirat): Declare. Use libc_hidden_proto.
38902 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38903 Remove variable.
38904 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38905
38906 2015-02-18 Joseph Myers <joseph@codesourcery.com>
38907
38908 [BZ #15319]
38909 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38910 (MO): New macro.
38911 (__ieee754_atan2): For results with small absolute value, force
38912 underflow exception and remove excess range and precision from
38913 return value.
38914 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38915 (MO): New macro.
38916 (__ieee754_atan2f): For results with small absolute value, force
38917 underflow exception and remove excess range and precision from
38918 return value.
38919 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38920 (MO): New macro.
38921 (__atan): For results with small absolute value, force underflow
38922 exception and remove excess range and precision from return value.
38923 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38924 (MO): New macro.
38925 (__atanf): For results with small absolute value, force underflow
38926 exception and remove excess range and precision from return value.
38927 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38928 <math.h>.
38929 (__ieee754_atan2): Force underflow exception for results with
38930 small absolute value.
38931 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38932 <math_private.h>.
38933 (atan): Force underflow exception for results with small absolute
38934 value.
38935 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38936 (__atanf): Force underflow exception for results with small
38937 absolute value.
38938 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38939 <math.h>.
38940 (__atanl): Force underflow exception for results with small
38941 absolute value.
38942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38943 (__atanl): Force underflow exception for results with small
38944 absolute value.
38945 * sysdeps/x86/fpu/bits/mathinline.h
38946 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38947 (__ieee754_atan2): Only define inline for long double.
38948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38949 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38950 * math/auto-libm-test-in: Do not mark underflow exceptions as
38951 possibly missing for bug 15319. Add more tests of atan2.
38952 * math/auto-libm-test-out: Regenerated.
38953 * math/libm-test.inc (casin_test_data): Do not mark underflow
38954 exceptions as possibly missing for bug 15319.
38955 (casinh_test_data): Likewise.
38956 * sysdeps/i386/fpu/libm-test-ulps: Update.
38957
38958 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
38959
38960 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38961 * sysdeps/mips/bits/endian.h: Fix comments.
38962
38963 2015-02-18 Joseph Myers <joseph@codesourcery.com>
38964
38965 [BZ #17996]
38966 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38967 (hdestroy_r): Likewise.
38968 (hsearch_r): Likewise.
38969 (__hcreate_r): Declare and use libc_hidden_proto.
38970 (__hdestroy_r): Likewise.
38971 (__hsearch_r): Likewise.
38972 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38973 (hcreate): Call __hcreate_r instead of hcreate_r.
38974 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38975 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38976 as weak alias of __hcreate_r.
38977 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38978 __hdestroy_r.
38979 (hsearch_r): Rename to __hsearch_r and define as weak alias of
38980 __hsearch_r.
38981 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38982 Remove variable.
38983 (test-xfail-XPG4/search.h/linknamespace): Likewise.
38984 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38985 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38986 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38987
38988 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38989
38990 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38991 arena_lock into a single arena_get.
38992
38993 2015-02-17 Carlos O'Donell <carlos@redhat.com>
38994
38995 * dl-reloc.c: Inlucde libc-internal.h.
38996 (_dl_try_allocate_static_tls): Call ALIGN_UP.
38997 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38998 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38999 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39000 (grow_heap): Likewise.
39001 * malloc/malloc.c: Include libc-internal.h.
39002 (do_check_malloc): Call powerof2.
39003 (sysmalloc): Use pagesize. Call ALIGN_UP.
39004 (systrim): Use pagesize.
39005 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39006 (__libc_valloc): Use pagesize.
39007 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39008
39009 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39010
39011 [BZ #17991]
39012 * include/sys/resource.h (__getrlimit64): Declare. Use
39013 libc_hidden_proto.
39014 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39015 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39016 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39017 getrlimit64.
39018 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39019 __getrlimit64.
39020 [!getrlimit64] (getrlimit64): Define as weak alias of
39021 __getrlimit64. Use libc_hidden_weak.
39022 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39023 using __getrlimit64 not __new_getrlimit64.
39024 (__GI_getrlimit64): Likewise.
39025 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39026 Likewise.
39027 (__GI_getrlimit64): Likewise.
39028 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39030 (getrlimit): Add __getrlimit64 alias.
39031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39032 Likewise.
39033 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39034 Remove variable.
39035 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39036 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39037
39038 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39039
39040 * libio/fileops.c: Add missing sys/mman.h
39041 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39042
39043 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39044
39045 * manual/math.texi (Errors in Math Functions): Clarify goals
39046 regarding inexact and underflow exceptions.
39047
39048 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39049
39050 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39051 * sysdeps/mips/memset.S: Ditto.
39052
39053 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39054
39055 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39056
39057 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39058
39059 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39060 (__v1longjmp): Remove versioned symbol.
39061 (__v1siglongjmp): Remove alias and versioned symbol.
39062 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39063 (__v2siglongjmp): Likewise.
39064
39065 2015-02-16 Torvald Riegel <triegel@redhat.com>
39066
39067 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39068
39069 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39070
39071 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39072
39073 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39074
39075 [BZ #17987]
39076 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39077 zero result does not depend on the sign resulting from
39078 subtraction.
39079 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39080 Likewise.
39081 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39082 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39085 * math/libm-test.inc (remquo_test_data): Add more tests.
39086
39087 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39088
39089 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39090 Problem reported by J William Piggott.
39091
39092 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39093
39094 [BZ #17978]
39095 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39096 products 4 * y and 2 * y where those would overflow.
39097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39098 Likewise.
39099 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39100 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39101 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39102 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39103 * math/libm-test.inc (remquo_test_data): Add more tests.
39104
39105 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39106
39107 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39108 [defined _COMPILING_NEWLIB].
39109 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39110 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39111
39112 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39113 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39114
39115 2015-02-16 Torvald Riegel <triegel@redhat.com>
39116
39117 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39118 acquired.
39119
39120 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39121
39122 [BZ #17792]
39123 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39124 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39125 HOST_STACK_END_ADDR): Likewise.
39126
39127 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39128
39129 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39130 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39131 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39132
39133 2015-02-13 Roland McGrath <roland@hack.frob.com>
39134
39135 * sysdeps/generic/c++-types.data: New file.
39136 * sysdeps/generic/ld.abilist: New file.
39137 * sysdeps/generic/libBrokenLocale.abilist: New file.
39138 * sysdeps/generic/libanl.abilist: New file.
39139 * sysdeps/generic/libc.abilist: New file.
39140 * sysdeps/generic/libcrypt.abilist: New file.
39141 * sysdeps/generic/libdl.abilist: New file.
39142 * sysdeps/generic/libm.abilist: New file.
39143 * sysdeps/generic/libpthread.abilist: New file.
39144 * sysdeps/generic/libresolv.abilist: New file.
39145 * sysdeps/generic/librt.abilist: New file.
39146
39147 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39148
39149 [BZ #17569]
39150 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39151 Compute absolute value of x as modified by fmod, not original
39152 value of x.
39153 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39154 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39155 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39156 RUN_TEST_ffI_f1_mod8.
39157 (remquo_test_data): Add more tests.
39158
39159 2015-02-13 Roland McGrath <roland@hack.frob.com>
39160
39161 * sysdeps/init_array/pt-crti.S: New file.
39162
39163 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39164
39165 [BZ #17967]
39166 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39167 __builtin_fmaf instead of relying on contraction of a * b + c.
39168
39169 2015-02-12 J William Piggott <elseifthen@gmx.com>
39170
39171 [BZ #17969]
39172 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39173 node.
39174
39175 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39176
39177 [BZ #17964]
39178 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39179 __builtin_fma instead of relying on contraction of a * b + c.
39180
39181 2015-02-12 Roland McGrath <roland@hack.frob.com>
39182
39183 * Makeconfig (ASFLAGS): Add -Werror=undef.
39184 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39185 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39186 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39187
39188 * Makeconfig (after-link): New variable.
39189 (+link-pie, +link-pie-tests): Use it.
39190 (+link-static, +link-static-tests): Likewise.
39191 (+link, +link-tests): Likewise.
39192 * Makerules (build-module, build-module-asneeded): Likewise.
39193 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39194 Likewise.
39195 * elf/Makefile ($(objpfx)ld.so): Likewise.
39196
39197 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39198
39199 [BZ #17965]
39200 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39201 both struct timeval and struct timespec.
39202
39203 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39204
39205 [BZ #16560]
39206 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39207 and redefine.
39208 (__ieee754_exp2l): Do not multiply small fractional parts by
39209 M_LN2l.
39210 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39211 small argument.
39212 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39213 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39214 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39215 * math/auto-libm-test-in: Add more tests of exp2.
39216 * math/auto-libm-test-out: Regenerated.
39217
39218 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39219
39220 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39221 unaligned path.
39222
39223 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39224
39225 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39226 little endian.
39227
39228 2015-02-12 Andreas Schwab <schwab@suse.de>
39229
39230 [BZ #15790]
39231 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39232 Filter out elision flags from value returned in kind.
39233 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39234 * nptl/tst-pthread-mutexattr.c: New file.
39235
39236 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39237
39238 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39239 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39240 into gnu-gnu, and update comment to refer to abi-tags.
39241
39242 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39243
39244 [BZ #15467]
39245 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39246 (__sincos): Set errno to EDOM for infinite argument.
39247 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39248 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39249 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39250 (__sincosl): Set errno to EDOM for infinite argument.
39251 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39252 (__sincosl): Set errno to EDOM for infinite argument.
39253 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39254 (__sincosl): Set errno to EDOM for infinite argument.
39255 * math/libm-test.inc (sincos_test_data): Test errno setting.
39256
39257 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39258
39259 * string/strxfrm_l.c: Remove #define STRCMP.
39260 * string/strcoll_l.c: Remove #define STRLEN.
39261 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39262 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39263
39264 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39265
39266 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39267 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39268 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39269 * sysdeps/mips/mips64/Makefile: ... here.
39270 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39271 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39272 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39273 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39274 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39275 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39276 * sysdeps/mips/mips64/n64/Implies: Likewise.
39277
39278 2015-02-10 Roland McGrath <roland@hack.frob.com>
39279
39280 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39281 <sys/time.h>, <string.h>, and <errno.h>.
39282 (dest_offset, dest_address, value, zero): Remove unused variables.
39283 (ldouble): Remove typedef.
39284 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39285 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39286 1). Fix code style.
39287 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39288 (check): Function removed.
39289 (CHECK): New macro.
39290 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39291 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39292 Don't call set_sigaction_FP and remove_sigaction_FP here.
39293 (ldouble_test): Just use 'long double' as macro argument, no need for
39294 the 'ldouble' typedef.
39295 (do_test): Set up SIGFPE handler at start, using plain signal rather
39296 than sigaction. Fix code style.
39297
39298 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39299
39300 [BZ #17949]
39301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39302 jump label.
39303
39304 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39305
39306 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39307 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39308
39309 * sysdeps/powerpc/configure.ac: Remove file.
39310 * sysdeps/powerpc/configure: Likewise.
39311
39312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39313 [sysdep_routines]: Remove wordcopy-power6 object.
39314 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39315 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39316 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39317 (__memmove_ppc32): Likewise.
39318 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39319 file.
39320 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39322 Remove preprocessor.
39323
39324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39325 [sysdep_routines]: Remove wide chars objects.
39326 [wcsmbs]: New rule for wide char objects.
39327
39328 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39329 Remove wordcopy-power6 obejct.
39330 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39331 Use local call for wordcopy and memcpy symbols.
39332 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39333 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39334 implementation for loader.
39335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39336
39337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39338 Remove wordcopy-power7 object.
39339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39341 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39342 (_wordcopy_fwd_dest_aligned): Likewise.
39343 (_wordcopy_bwd_aligned): Likewise.
39344 (_wordcopy_bwd_dest_aligned): Likewise.
39345
39346 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39347 Rewrite to call __memmove_ppc instead of include default
39348 implementation.
39349
39350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39351 Remove wide chars objects.
39352 [wcsmbs]: New rule for wide char objects.
39353
39354 2015-02-09 Andreas Schwab <schwab@suse.de>
39355
39356 [BZ #17912]
39357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39358 in terms of __O_DIRECTORY.
39359
39360 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39361
39362 * time/getdate.c: Include <stdbool.h>.
39363 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39364 call PTR_MANGLE.
39365 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39366 PTR_DEMANGLE.
39367
39368 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39369
39370 Add ersatz _Static_assert on older C hosts
39371 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39372 pre-C11 C platform that is not known to support _Static_assert.
39373
39374 2015-02-07 Richard Braun <rbraun@sceen.net>
39375
39376 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39377 sigstate.
39378 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39379
39380 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39381
39382 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39383 priority against unexistent AIO_PRIO_DELTA_MAX.
39384 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39385 instead of int.
39386 * misc/fchflags.c (fchflags): Likewise.
39387 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39388 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39389 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39390 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39391 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39392 Declare macros.
39393 [__USE_MISC] (chflags, fchflags): Declare functions.
39394 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39395 EINVAL when nfds is greater than FD_SETSIZE.
39396 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39397 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39398 45.
39399 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39400 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39401 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39402 MACH_RCV_TIMED_OUT.
39403 * hurd/hurd/signal.h (_hurd_self_sigstate,
39404 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39405 Explicit casts from void *.
39406 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39407 * abi-tags: Rename gnu-gnu os into gnu.
39408
39409 [BZ #4719]
39410 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39411 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39412 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39413 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39414 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39415 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39416
39417 [BZ #17944]
39418 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39419 duplicates ADDR->sun_path with sockaddr LEN limitation.
39420 * sysdeps/mach/hurd/connect.c: Include <string.h>
39421 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39422 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39423 * sysdeps/mach/hurd/sendto.c: Likewise.
39424 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39425 implementing it by hand.
39426
39427 2015-02-06 Roland McGrath <roland@hack.frob.com>
39428
39429 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39430 Use sfi_breg on ldr.
39431 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39432 Likewise.
39433
39434 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39435 it's defined.
39436 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39437 Test SIGSETXID only if it's defined.
39438
39439 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39440
39441 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39442 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39443
39444 * nptl/tst-align2.c: Moved ...
39445 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39446 * nptl/Makefile (tests): Remove tst-align2.
39447 * sysdeps/unix/sysv/linux/Makefile
39448 [$(subdir) = nptl] (tests): Add tst-align-clone.
39449 * nptl/tst-getpid1.c: Moved ...
39450 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39451 * nptl/tst-getpid2.c: Moved ...
39452 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39453 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39454 * sysdeps/unix/sysv/linux/Makefile
39455 [$(subdir) = nptl] (tests): ... here.
39456 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39457 * sysdeps/unix/sysv/linux/Makefile
39458 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39459
39460 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39461 Drop trailing \n from perror argument. Use return rather than exit.
39462
39463 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39464 on [SA_SIGINFO].
39465 * nptl/tst-cancel21.c (do_test): Likewise.
39466 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39467 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39468 [!SA_SIGINFO]: Make it a stub test.
39469
39470 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39471 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39472
39473 * posix/tst-getlogin.c: Move to ...
39474 * login/tst-getlogin.c: ... here.
39475 * posix/Makefile (tests): Move tst-getlogin to ...
39476 * login/Makefile (tests): ... here.
39477
39478 * libio/tst-atime.c (do_test): Move local variables SV and E
39479 inside [ST_NOATIME] conditional.
39480
39481 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39482
39483 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39484
39485 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39486 (wait_code): New function replaces macro.
39487 Call nanosleep rather than syscall.
39488
39489 * nptl/pt-system.c: Rewritten. Put everything under
39490 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39491 Use IFUNC to redirect when possible.
39492
39493 * nptl/pt-longjmp.c: Rewritten. Put everything under
39494 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39495 Use IFUNC to redirect when possible.
39496
39497 * nptl/pt-fork.c: Rewritten. Put everything under
39498 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39499 Use IFUNC to redirect when possible.
39500 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39501
39502 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39503 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39504 unconditionally nowadays. This included the only reference to
39505 __vdso_clock_gettime that appears outside libc proper.
39506 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39507 Remove version set (containing only __vdso_clock_gettime).
39508 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39509 Add attribute_hidden.
39510 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39511 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39512 libc_hidden_data_def.
39513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39514 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39515
39516 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39517 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39518 setrpcent, and getrpcport to ...
39519 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39520 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39521 getrpcbynumber_r, and getrpcent_r to ...
39522 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39523 * inet/getrpcbyname.c: Moved ...
39524 * sunrpc/getrpcbyname.c: ... here.
39525 * inet/getrpcbyname_r.c: Moved ...
39526 * sunrpc/getrpcbyname_r.c: ... here.
39527 * inet/getrpcbynumber.c: Moved ...
39528 * sunrpc/getrpcbynumber.c: ... here.
39529 * inet/getrpcbynumber_r.c: Moved ...
39530 * sunrpc/getrpcbynumber_r.c: ... here.
39531 * inet/getrpcent.c: Moved ...
39532 * sunrpc/getrpcent.c: ... here.
39533 * inet/getrpcent_r.c: Moved ...
39534 * sunrpc/getrpcent_r.c: ... here.
39535 * inet/Makefile (routines): Move those to ...
39536 * sunrpc/Makefile (routines): ... here.
39537 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39538 the $(subdirs) list.
39539 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39540 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39541 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39542 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39543
39544 * elf/Makefile (routines): Include $(all-dl-routines), not just
39545 $(dl-routines).
39546 (rtld-routines): Likewise. Use = rather than :=.
39547 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39548 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39549 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39550 * sysdeps/arm/Makefile: Likewise.
39551 * sysdeps/i386/Makefile: Likewise.
39552 * sysdeps/x86_64/Makefile: Likewise.
39553 * sysdeps/hppa/Makefile [$(subdir) = elf]
39554 (sysdep_routines, sysdep-rtld-routines): Don't add
39555 $(sysdep-dl-routines) to these.
39556 * sysdeps/ia64/Makefile: Likewise.
39557 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39558 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39559 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39560 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39561 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39562 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39563 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39564 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39565 * sysdeps/powerpc/Makefile [$(subdir) = elf]
39566 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39567 these; sysdep-dl-routines alone is enough.
39568
39569 2015-02-06 Joseph Myers <joseph@codesourcery.com>
39570
39571 [BZ #17932]
39572 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39573 where multiplication results in zero and third argument is finite
39574 and nonzero.
39575 * math/auto-libm-test-in: Add more tests of fma.
39576 * math/auto-libm-test-out: Regenerated.
39577
39578 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39579 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39580 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39581 (_FP_CMP_EQ): Likewise.
39582 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39583
39584 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39585 extra argument CHECK_NAN. Redefine as wrapper around
39586 _FP_EXTEND_CNAN.
39587
39588 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
39589
39590 * version.h (RELEASE): Set to "stable".
39591 (VERSION): Set to "2.21"
39592 * include/features.h (__GLIBC_MINOR__): Set to 21.
39593
39594 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39595
39596 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39597 Paul Eggert <eggert@cs.ucla.edu>
39598
39599 [BZ #16618]
39600 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39602 size in bytes. Store needed elements in wpmax. Use needed size
39603 in bytes for extend_alloca.
39604
39605 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
39606
39607 * manual/install.texi: Latest tested versions are GCC 4.9.2,
39608 binutls 2.25, and texinfo 5.2.
39609 * INSTALL: Regenerate.
39610 * sysdeps/nios2/configure: Regenerate.
39611 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39612 * manual/contrib.texi: Update.
39613 * po/be.po: Update.
39614 * po/bg.po: Update.
39615 * po/ca.po: Update.
39616 * po/cs.po: Update.
39617 * po/da.po: Update.
39618 * po/de.po: Update.
39619 * po/el.po: Update.
39620 * po/eo.po: Update.
39621 * po/es.po: Update.
39622 * po/fi.po: Update.
39623 * po/fr.po: Update.
39624 * po/gl.po: Update.
39625 * po/hr.po: Update.
39626 * po/hu.po: Update.
39627 * po/ia.po: Update.
39628 * po/id.po: Update.
39629 * po/it.po: Update.
39630 * po/ja.po: Update.
39631 * po/ko.po: Update.
39632 * po/lt.po: Update.
39633 * po/nb.po: Update.
39634 * po/nl.po: Update.
39635 * po/pl.po: Update.
39636 * po/pt_BR.po: Update.
39637 * po/ru.po: Update.
39638 * po/rw.po: Update.
39639 * po/sk.po: Update.
39640 * po/sl.po: Update.
39641 * po/sv.po: Update.
39642 * po/tr.po: Update.
39643 * po/uk.po: Update.
39644 * po/vi.po: Update.
39645 * po/zh_CN.po: Update.
39646 * po/zh_TW.po: Update.
39647
39648 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39649 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39650 * sysdeps/hppa/dl-irel.h: Remove #warning.
39651 * sysdeps/hppa/entry.h: Provide prototype for
39652 __canonicalize_funcptr_for_compare and cast argument.
39653 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39654 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39655 * sysdeps/hppa/sotruss-lib.c: New file.
39656 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39657 (atomic_compare_and_exchange_val_acq): Use __typeof__.
39658 (atomic_compare_and_exchange_bool_acq): Likewise.
39659 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39660 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39661
39662 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39663 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39664 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39665
39666 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
39667
39668 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39669 called function in non-PIC case.
39670
39671 2015-01-31 David S. Miller <davem@davemloft.net>
39672
39673 * sysdeps/sparc/sparc32/bits/atomic.h
39674 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39675 unlock not after it.
39676 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39677 volatile register usage warnings from the compiler.
39678
39679 * sysdeps/sparc/nptl/sem_init.c: Delete.
39680 * sysdeps/sparc/nptl/sem_post.c: Delete.
39681 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39682 * sysdeps/sparc/nptl/sem_wait.c: Delete.
39683 * sysdeps/sparc/sparc32/sem_init.c: New file.
39684 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39685 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39686 padding explicitly initialized.
39687 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39688 padding for in-semaphore spinlock.
39689 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
39690 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
39691 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
39692 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
39693 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
39694 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
39695 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
39696 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
39697 version.
39698 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
39699 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
39700
39701 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
39702
39703 [BZ #17801]
39704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39705 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39706 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39707 New.
39708 (index_AVX_Fast_Unaligned_Load): Likewise.
39709 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39710 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39711 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39712 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39713 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39714 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39715 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39716 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39717 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39718
39719 2015-01-29 Andreas Schwab <schwab@suse.de>
39720
39721 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39722
39723 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39724
39725 [BZ #17892]
39726 * nscd/nscd_stat.c (send_stats): Initialize DATA.
39727
39728 2015-01-28 Martin Sebor <msebor@redhat.com>
39729
39730 * math/README.libm-test: Clarify. Add "How to read the test output."
39731
39732 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
39733
39734 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39735 Define to 0.
39736
39737 2015-01-28 Joseph Myers <joseph@codesourcery.com>
39738
39739 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39740 (__HAVE_64B_ATOMICS): Define to 0.
39741
39742 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39743
39744 [BZ #17885]
39745 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39746 value to set as new flag.
39747
39748 [BZ #16576]
39749 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39750 and use _ARCH_PPCSQ instead.
39751 (__ieee754_sqrt): Likewise.
39752 (__ieee754_sqrtf): Likewise.
39753 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39754 _ARCH_PPCSQ is defined.
39755 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39756 fsqrt instruction.
39757 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39758 _ARCH_PPCSQ is defined.
39759 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39760 fsqrts instruction.
39761 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39762
39763 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39764
39765 * iconv/loop.c: Suppress array out of bound warning caused by GCC
39766 bug (GCC BZ #64739).
39767
39768 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
39769
39770 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39771 Mark _retval as used.
39772 (lll_futex_wake_unlock): Likewise.
39773 (lll_futex_timed_wait_requeue_pi): Likewise.
39774
39775 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39776 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39777 register variables.
39778
39779 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39780 libm_hidden_def.
39781
39782 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39783 (__bswap_64): Mark as __always_inline.
39784
39785 2015-01-25 Bram <bug_rh@spam.wizbit.be>
39786
39787 [BZ #15378]
39788 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39789 when none of the search directories exist.
39790
39791 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39792
39793 [BZ #17869]
39794 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39795 power8 in .machine directive.
39796
39797 [BZ #17868]
39798 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39799 set dependency from opd value.
39800
39801 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
39802
39803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39804 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39805 architecture.
39806
39807 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
39808
39809 [BZ #17870]
39810 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39811 with uint64_t.
39812 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39813 (uint64_t) 1.
39814 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39815 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39816 Replace 1UL with (uint64_t) 1.
39817 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39818 int with uint64_t.
39819
39820 2015-01-23 Roland McGrath <roland@hack.frob.com>
39821
39822 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39823 (if_freenameindex): Likewise.
39824
39825 * resource/getrlimit64.c: Add missing libc_hidden_def.
39826
39827 2015-01-22 Joseph Myers <joseph@codesourcery.com>
39828
39829 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39830 __label__.
39831 (_FP_FMA): Likewise.
39832 (_FP_TO_INT_ROUND): Likewise.
39833 (_FP_FROM_INT): Likewise.
39834
39835 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39836
39837 [BZ #16418]
39838 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39839 Make code racy and cancel safe.
39840
39841 2015-01-21 Carlos O'Donell <carlos@redhat.com>
39842
39843 * sysdeps/arm/unwind-resume.h: Fix copyright year.
39844 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39845 attribution.
39846
39847 * pwd/tst-getpw.c: Rewrite.
39848
39849 [BZ #17702]
39850 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39851 (modules-names): Add moddummy1 and moddummy2.
39852 ($(objpfx)tst-rec-dlopen): Define.
39853 * dlfcn/moddummy1.c: New file.
39854 * dlfcn/moddummy2.c: New file.
39855 * dlfcn/tst-rec-dlopen.c: New file.
39856 * elf/dl-cache.c (_dl_load_cache_lookup):
39857 Return char*. Copy result with alloca/strcpy/strdup.
39858 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39859 returns char*. Free cached. If not saving realname
39860 free cached.
39861 * elf/dl-open.c (dl_open_worker): Do not assert that
39862 _r_debug->r_state is RT_CONSISTENT.
39863 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39864 returns char*.
39865
39866 2015-01-21 Torvald Riegel <triegel@redhat.com>
39867 Carlos O'Donell <carlos@redhat.com>
39868
39869 [BZ #12674]
39870 * nptl/sem_waitcommon.c: New file.
39871 * nptl/sem_wait.c: Include sem_waitcommon.c.
39872 (__sem_wait_cleanup, do_futex_wait): Remove.
39873 (__new_sem_wait): Adapt.
39874 (__new_sem_trywait): New function.
39875 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39876 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39877 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39878 (sem_timedwait): Adapt.
39879 * nptl/sem_post.c (__new_sem_post): Adapt.
39880 (futex_wake): New function.
39881 (__old_sem_post): Add release MO fence.
39882 * nptl/sem_open.c (sem_open): Adapt.
39883 * nptl/sem_init.c (__new_sem_init): Adapt.
39884 (futex_private_if_supported): New function.
39885 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39886 (__old_sem_getvalue): Add using previous code.
39887 * sysdeps/nptl/internaltypes.h: Adapt.
39888 * nptl/tst-sem13.c (do_test): Adapt.
39889 * nptl/tst-sem11.c (main): Adapt.
39890 * nptl/sem_trywait.c: Remove.
39891 * nptl/DESIGN-sem.txt: Remove.
39892 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39893 (gen-as-const-headers): Remove structsem.sym.
39894 * nptl/structsem.sym: Remove.
39895 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39896 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39897 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39898 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39899 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39900 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39901 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39902 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39903 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39904 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39905 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39906 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39907 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39908 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39909 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39910 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39911 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39912 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39913 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39914 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39915 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39916 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39917
39918 2015-01-20 Carlos O'Donell <carlos@redhat.com>
39919
39920 * INSTALL: Regenerated.
39921
39922 * po/libc.pot: Regenerated.
39923
39924 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
39925 Sandra Loosemore <sandra@codesourcery.com>
39926 Andrew Jenner <andrew@codesourcery.com>
39927 Joseph Myers <joseph@codesourcery.com>
39928 Nathan Sidwell <nathan@codesourcery.com>
39929
39930 * NEWS: Mention new Nios II port.
39931 * sysdeps/nios2/Implies: New file.
39932 * sysdeps/nios2/Makefile: New file.
39933 * sysdeps/nios2/Subdirs: New file.
39934 * sysdeps/nios2/Versions: New file.
39935 * sysdeps/nios2/__longjmp.S: New file.
39936 * sysdeps/nios2/abort-instr.h: New file.
39937 * sysdeps/nios2/backtrace.c: New file.
39938 * sysdeps/nios2/bits/endian.h: New file.
39939 * sysdeps/nios2/bits/fenv.h: New file.
39940 * sysdeps/nios2/bits/link.h: New file.
39941 * sysdeps/nios2/bits/setjmp.h: New file.
39942 * sysdeps/nios2/bsd-_setjmp.S: New file.
39943 * sysdeps/nios2/bsd-setjmp.S: New file.
39944 * sysdeps/nios2/configure: New generated file.
39945 * sysdeps/nios2/configure.ac: New file.
39946 * sysdeps/nios2/crti.S: New file.
39947 * sysdeps/nios2/crtn.S: New file.
39948 * sysdeps/nios2/dl-init.c: New file.
39949 * sysdeps/nios2/dl-machine.h: New file.
39950 * sysdeps/nios2/dl-sysdep.h: New file.
39951 * sysdeps/nios2/dl-tls.h: New file.
39952 * sysdeps/nios2/dl-trampoline.S: New file.
39953 * sysdeps/nios2/gccframe.h: New file.
39954 * sysdeps/nios2/gmp-mparam.h: New file.
39955 * sysdeps/nios2/jmpbuf-offsets.h: New file.
39956 * sysdeps/nios2/jmpbuf-unwind.h: New file.
39957 * sysdeps/nios2/ldsodefs.h: New file.
39958 * sysdeps/nios2/libc-tls.c: New file.
39959 * sysdeps/nios2/libm-test-ulps: New file.
39960 * sysdeps/nios2/machine-gmon.h: New file.
39961 * sysdeps/nios2/math-tests.h: New file.
39962 * sysdeps/nios2/math_private.h: New file.
39963 * sysdeps/nios2/memusage.h: New file.
39964 * sysdeps/nios2/nptl/Makefile: New file.
39965 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39966 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39967 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39968 * sysdeps/nios2/nptl/pthreaddef.h: New file.
39969 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39970 * sysdeps/nios2/nptl/tls.h: New file.
39971 * sysdeps/nios2/preconfigure: New file.
39972 * sysdeps/nios2/s_fma.c: New file.
39973 * sysdeps/nios2/s_fmaf.c: New file.
39974 * sysdeps/nios2/setjmp.S: New file.
39975 * sysdeps/nios2/sfp-machine.h: New file.
39976 * sysdeps/nios2/sotruss-lib.c: New file.
39977 * sysdeps/nios2/stackguard-macros.h: New file.
39978 * sysdeps/nios2/stackinfo.h: New file.
39979 * sysdeps/nios2/start.S: New file.
39980 * sysdeps/nios2/sysdep.h: New file.
39981 * sysdeps/nios2/tls-macros.h: New file.
39982 * sysdeps/nios2/tst-audit.h: New file.
39983 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39984 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39985 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39986 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39987 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39988 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39989 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39990 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39991 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39992 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39993 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39994 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39995 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39996 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39997 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39998 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39999 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40000 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40001 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40002 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40003 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40004 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40005 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40006 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40007 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40008 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40009 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40010 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40011 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40012 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40013 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40014 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40015 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40016 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40017 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40018 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40019 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40020 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40021 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40022 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40023 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40024 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40025 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40026 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40027
40028 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40029
40030 [BZ #17844]
40031 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40032 (getutent): Use weak_alias in non SHARED case
40033 and default_symbol_version in SHARED case.
40034 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40035 (getutent_r, pututline): Likewise.
40036 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40037 (getutid): Likewise.
40038 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40039 (getutid_r): Likewise.
40040 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40041 (getutline): Likewise.
40042 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40043 (getutline_r): Likewise.
40044 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40045 (updwtmp): Likewise.
40046
40047 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40048
40049 [BZ #17848]
40050 * sysdeps/s390/s390-32/memcmp.S
40051 (memcmp_g5): Rename to __memcmp_g5.
40052 * sysdeps/s390/s390-32/memcpy.S
40053 (memcpy_g5): Rename to __memcpy_g5.
40054 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40055 (memcpy_mvcle) Rename to __memcpy_mvcle.
40056 * sysdeps/s390/s390-32/memset.S
40057 (memset_g5): Rename to __memset_g5.
40058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40059 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40060 and use prefixed functions.
40061 * sysdeps/s390/s390-32/multiarch/memcmp.S
40062 (memcmp_z196): Rename to __memcmp_z196.
40063 (memcmp_z10): Rename to __memcmp_z10.
40064 (memcmp): Set alias to __memcmp_g5.
40065 (bcmp): Set alias to __memcmp_g5.
40066 * sysdeps/s390/s390-32/multiarch/memcpy.S
40067 (memcpy_z196): Rename to __memcpy_z196.
40068 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40069 (memcpy_z10): Rename to __memcpy_z10.
40070 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40071 (memcpy): Set alias to __memcpy_g5.
40072 * sysdeps/s390/s390-32/multiarch/memset.S
40073 (memset_z196): Rename to __memset_z196.
40074 Jump to __memset_mvcle instead of memset_mvcle.
40075 (memset_z10): Rename to __memset_z10.
40076 Jump to __memset_mvcle instead of memset_mvcle.
40077 (memset_mvcle) Rename to __memset_mvcle.
40078 (memset): Set alias to __memset_g5.
40079 * sysdeps/s390/s390-64/memcmp.S
40080 (memcmp_z900): Rename to __memcmp_z900.
40081 * sysdeps/s390/s390-64/memcpy.S
40082 (memcpy_z900): Rename to __memcpy_z900.
40083 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40084 (memcpy_mvcle) Rename to __memcpy_mvcle.
40085 * sysdeps/s390/s390-64/memset.S
40086 (memset_z900): Rename to __memset_z900.
40087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40088 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40089 and use prefixed functions.
40090 * sysdeps/s390/s390-64/multiarch/memcmp.S
40091 (memcmp_z196): Rename to __memcmp_z196.
40092 (memcmp_z10): Rename to __memcmp_z10.
40093 (memcmp): Set alias to __memcmp_z900.
40094 (bcmp): Set alias to __memcmp_z900.
40095 * sysdeps/s390/s390-64/multiarch/memcpy.S
40096 (memcpy_z196): Rename to __memcpy_z196.
40097 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40098 (memcpy_z10): Rename to __memcpy_z10.
40099 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40100 (memcpy): Set alias to __memcpy_z900.
40101 * sysdeps/s390/s390-64/multiarch/memset.S
40102 (memset_z196): Rename to __memset_z196.
40103 Jump to __memset_mvcle instead of memset_mvcle.
40104 (memset_z10): Rename to __memset_z10.
40105 Jump to __memset_mvcle instead of memset_mvcle.
40106 (memset_mvcle) Rename to __memset_mvcle.
40107 (memset): Set alias to __memset_z900.
40108
40109 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40110
40111 [BZ #17748]
40112 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40113 __fesetenv instead of fesetenv.
40114
40115 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40116
40117 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40118 macro.
40119
40120 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40121
40122 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40123 regression on LE.
40124
40125 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40126 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40128 strncmp-power8 object.
40129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40130 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40131 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40132 * NEWS: Update.
40133
40134 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40135 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40136
40137 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40138 trailing byte check.
40139
40140 2015-01-13 David S. Miller <davem@davemloft.net>
40141
40142 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40143
40144 2015-01-13 Roland McGrath <roland@hack.frob.com>
40145
40146 * login/logout.c (logout): Use memset rather than bzero.
40147 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40148 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40149 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40150 (_gethtbyaddr): Likewise.
40151 * locale/programs/simple-hash.c (bcopy): Macro removed.
40152
40153 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40154
40155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40156 Add strcmp-power8 object.
40157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40158 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40159 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40160 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40161 __strcmp_power8 implementation.
40162 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40163 * NEWS: Update.
40164
40165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40166 Add strncpy-power8 and stpncpy-power8 objects.
40167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40168 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40169 implementations.
40170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40171 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40172 __stpncpy_power8 implementation.
40173 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40174 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40175 __strncpy_power8 implementation.
40176 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40177 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40178 * NEWS: Update.
40179
40180 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40181 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40182 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40183
40184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40185 strncat-power8 object.
40186 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40187 __strcat_power8 implementation.
40188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40189 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40190 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40191 optimized strcat for power8.
40192
40193 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40194 strcpy-power8 and stpcpy-power8 objects.
40195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40196 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40197 implementations.
40198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40199 multiarch stpcpy implementation for POWER8.
40200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40201 multiarch strcpy implementation for POWER8.
40202 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40203 __strcpy_power8 function.
40204 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40205 stpcpy for POWER8.
40206 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40207 strcpy for POWER8.
40208 * NEWS: Update.
40209
40210 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40211
40212 [BZ #16009]
40213 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40214 weights and rules. Use do_xfrm_cached if data fits in cache,
40215 do_xfrm otherwise. Moved former main loop to...
40216 * (do_xfrm_cached): New function.
40217 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40218 find_idx, find_position and stack_push.
40219 * (find_idx): New function.
40220 * (find_position): Likewise.
40221 * localedata/sort-test.sh: Added test run for do_xfrm.
40222 * localedata/xfrm-test.c (main): Added command line option
40223 -nocache to run the test with strings that are too large for
40224 the STRXFRM cache.
40225
40226 2015-01-13 Torvald Riegel <triegel@redhat.com>
40227
40228 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40229 variable to lll_futex_wake call, not the value itself.
40230
40231 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40232
40233 [BZ #17803]
40234 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40235 twom64. Adjust value to 0x1p-64L.
40236 (__scalblnl): Only return standard underflowing result for K <=
40237 -64 not K <= -63; adjust exponent for underflowing result by 64
40238 not 63.
40239 * math/libm-test.inc (scalbn_test_data): Add more tests.
40240 (scalbln_test_data): Likewise.
40241
40242 [BZ #17834]
40243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40244 0x1p63L.
40245 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40246 not HX.
40247 * math/libm-test.inc (scalbn_test_data): Add more tests.
40248 (scalbln_test_data): Likewise.
40249
40250 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40251 Stefani Seibold <stefani@seibold.net>
40252
40253 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40254 (sysdep_routines): Add dl-vdso here, ...
40255 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40256 (sysdep_routines): ... not here.
40257 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40258 fallback when vDSO is not presented.
40259 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40260 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40261 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40262 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40263 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40265 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40267 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40269 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40270 fallback configurable symbol when vDSO is not available.
40271 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40272 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40273 be able to redefine fallback symbol when vDSO is not available.
40274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40275 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40276
40277 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40278
40279 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40280 (TLS_INIT_TP): Add tm_capable initialization.
40281 (TLS_DEFINE_INIT_TP): Likewise.
40282 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40283 TCB.
40284 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40285 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40286 calculation.
40287 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40288 transactoion is lock elision is built and TCB tm_capable is set.
40289 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40291 (INTERNAL_SYSCALL_NCS): Likewise.
40292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40293 (INTERNAL_SYSCALL_NCS): Likewise.
40294 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40295
40296 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40297 for powerpc.
40298 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40299 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40300 and remove it for 32 bits case.
40301 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40303 initialization.
40304 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40305 Disable lock elision with rdlocks if elision is not available.
40306
40307 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40308 (sysdep_routines): Add lock elision objects.
40309 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40310 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40311 [pthread_mutex_t] (__elision): Add field.
40312 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40313 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40314 elision definitions for powerpc.
40315 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40316 implementation of lock elision for powerpc.
40317 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40318 implementation of timed lock elision for powerpc.
40319 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40320 implementation of trylock with lock elision for powerpc.
40321 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40322 implementaion of unlock for lock elision for powerpc.
40323 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40324 automatic enable lock elision for mutexes.
40325 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40326 transaction execution definitions for powerpc.
40327 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40328 definitions.
40329 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40330 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40331 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40332 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40333 * NEWS: Update.
40334
40335 2015-01-09 Roland McGrath <roland@hack.frob.com>
40336
40337 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40338 for #include of <shm-directory.h>.
40339
40340 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40341
40342 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40343 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40344
40345 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40346
40347 [BZ #17791]
40348 * NEWS: Mention bug fix.
40349 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40350 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40351 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40352
40353 2015-01-09 Torvald Riegel <triegel@redhat.com>
40354
40355 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40356
40357 2015-01-09 Torvald Riegel <triegel@redhat.com>
40358
40359 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40360
40361 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40362
40363 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40364 pointer and cast to uintptr_t.
40365
40366 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40367
40368 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40369 removed.
40370 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40371
40372 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40373
40374 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40375 of 0.
40376
40377 2015-01-08 Roland McGrath <roland@hack.frob.com>
40378
40379 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40380 <nptl/pthreadP.h> instead.
40381 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40382
40383 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40384 already defined.
40385 [__SIGRTMIN] (init): Function removed.
40386 [__SIGRTMIN] (initialized): Variable removed.
40387 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40388 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40389 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40390 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40391 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40392 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40393 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40394 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40395 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40396 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40397 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40398 * sysdeps/nptl/allocrtsig.c: New file.
40399 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40400 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40401 * sysdeps/generic/testrtsig.h: File removed.
40402
40403 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40404 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40405
40406 * nptl/nptl-init.c (pthread_functions): Conditionalize
40407 .ptr__nptl_setxid initialization on [SIGSETXID].
40408
40409 * sysdeps/nptl/sys/procfs.h: New file.
40410 * nptl_db/Makefile (headers): Add it.
40411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40412
40413 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40414 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40415 * nptl/pthread_attr_setaffinity.c: Include it.
40416 * nptl/pthread_setattr_default_np.c: Likewise.
40417 * nptl/check-cpuset.h: New file.
40418
40419 2015-01-08 Richard Henderson <rth@redhat.com>
40420
40421 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40422 (CFLAGS-tst-execstack-prog.c): Likewise.
40423 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40424
40425 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40426 Sandra Loosemore <sandra@codesourcery.com>
40427 Andrew Jenner <andrew@codesourcery.com>
40428 Joseph Myers <joseph@codesourcery.com>
40429 Nathan Sidwell <nathan@codesourcery.com>
40430
40431 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40432 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40433 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40434 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40435 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40436 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40437 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40438 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40439 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40440 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40441 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40442 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40443 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40444 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40445 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40446 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40447 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40448
40449 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40450
40451 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40452 timespec struct member in syscall macro.
40453 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40454 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40455 first timeval struct member in syscall macro.
40456 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40457
40458 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40459
40460 [BZ #17748]
40461 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40462 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40463 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40464 __feupdateenv and define as weak alias of __feupdateenv. Use
40465 libm_hidden_weak.
40466 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40467 libm_hidden_def.
40468 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40469 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40470 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40471 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40472 libm_hidden_def.
40473 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40474 __feupdateenv and define as weak alias of __feupdateenv. Use
40475 libm_hidden_weak.
40476 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40477 libm_hidden_def.
40478 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40479 __feupdateenv and define as weak alias of __feupdateenv. Use
40480 libm_hidden_weak.
40481 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40482 libm_hidden_def.
40483 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40484 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40485 (__feupdateenv): Likewise.
40486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40487 __feupdateenv and define as weak alias of __feupdateenv. Use
40488 libm_hidden_weak.
40489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40490 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40491 libm_hidden_def.
40492 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40493 function.
40494 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40495 libm_hidden_def.
40496 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40497 __feupdateenv instead of feupdateenv.
40498 (default_libc_feupdateenv_test): Likewise.
40499 (libc_feresetround_ctx): Likewise.
40500
40501 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40502
40503 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40504 prototype.
40505
40506 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40507
40508 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40509 COLL_SYM in a couple of places to avoid uninitialized variable
40510 wanings on tilegx gcc 4.8.2.
40511
40512 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40513
40514 * sysdeps/aarch64/strcpy.S: New file.
40515 * sysdeps/aarch64/stpcpy.S: New file.
40516 * NEWS: Updated.
40517
40518 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40519
40520 * sysdeps/aarch64/strrchr.S: New file.
40521 * NEWS: Updated.
40522
40523 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40524
40525 [BZ #17658]
40526 * stdlib/setenv.c: Fix memory leak when setting large,
40527 duplicate string.
40528
40529 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40530
40531 [BZ #17273]
40532 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40533 and tabs from buffer before parsing fstab entry.
40534 * misc/tst-mntent.c (main): Add test for mount entry with
40535 trailing spaces and tabs.
40536
40537 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40538
40539 [BZ #17748]
40540 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40541 * math/fesetround.c (fesetround): Rename to __fesetround and
40542 define as weak alias of __fesetround. Use libm_hidden_weak.
40543 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40544 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40545 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40546 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40547 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40548 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40549 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40550 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40551 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40552 __fesetround_inline.
40553 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40554 __fesetround_inline instead of __fesetround.
40555 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40556 __fesetround and define as weak alias of __fesetround. Use
40557 libm_hidden_weak. Call __fesetround_inline instead of
40558 __fesetround.
40559 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40560 __fesetround and define as weak alias of __fesetround. Use
40561 libm_hidden_weak.
40562 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40563 Likewise.
40564 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40566 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40567 * sysdeps/tile/math_private.h (__fesetround): New inline function.
40568 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40569 __fesetround and define as weak alias of __fesetround. Use
40570 libm_hidden_weak.
40571 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40572 __fesetround instead of fesetround.
40573 (default_libc_feholdexcept_setround): Likewise.
40574 (libc_feholdsetround_ctx): Likewise.
40575 (libc_feholdsetround_noex_ctx): Likewise.
40576
40577 [BZ #17748]
40578 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40579 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40580 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40581 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40582 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40583 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40584 define as weak alias of __fesetenv. Use libm_hidden_weak.
40585 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40586 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40587 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40588 define as weak alias of __fesetenv. Use libm_hidden_weak.
40589 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40590 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40591 define as weak alias of __fesetenv. Use libm_hidden_weak.
40592 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40593 libm_hidden_def.
40594 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40595 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40596 Likewise.
40597 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40598 define as weak alias of __fesetenv. Use libm_hidden_weak.
40599 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40600 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40601 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40602 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40603 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40604 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40605 __fesetenv instead of fesetenv.
40606 (libc_feresetround_noex_ctx): Likewise.
40607 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40608 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40609 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40611 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40612 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40613 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40614 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40615 (__feupdateenv): Likewise.
40616 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40617 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40618 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40619 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40620
40621 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40622
40623 [BZ #17806]
40624 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40625 addresses have been freed.
40626
40627 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40628
40629 * resolv/res_init.c (__res_vinit): Improve comments about nserv
40630 and nservall.
40631
40632 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
40633
40634 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40635 Clean up check_pf allocation pattern. addresses
40636
40637 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40638
40639 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40640 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40641 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40642 * nptl/pthread_exit.c (__pthread_exit): Likewise.
40643 * nptl/pthread_join.c (pthread_join): Likewise.
40644 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40645 * sysdeps/posix/waitid.c (__waitid): Likewise.
40646 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40647 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40648 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40649 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40650 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40651 Likewise.
40652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40653 (__libc_pread64): Likewise.
40654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40655 (__libc_pwrite): Likewise.
40656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40657 (__libc_pwrite64): Likewsie.
40658 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40659 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40660 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40661 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40662 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40663 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40664 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40666 Likewise.
40667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40668 (__libc_pread64): Likewise.
40669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40670 Likewise.
40671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40672 (__libc_pwrite64): Likewise.
40673 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40674 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40675 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40676 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40677 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40678 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40679 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40680 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40681 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40682 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40683 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40684 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40685 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40686 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40687 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40689 Likewise.
40690
40691 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
40692
40693 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
40694 (CFLAGS-test-double.c): Likewise.
40695 (CFLAGS-test-ldouble.c): Likewise.
40696 (CPPFLAGS-test-ifloat.c): Likewise.
40697 (CPPFLAGS-test-idouble.c): Likewise.
40698 (CPPFLAGS-test-ildoubl.c): Likewise.
40699 (CFLAGS-test-test-fenv.c): Remove variable.
40700 (CFLAGS-test-misc.c): Likewise.
40701
40702 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
40703
40704 [BZ #17797]
40705 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40706 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40707 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40708 CLOCKS_PER_SEC == 1000000.
40709 * time/clocktest.c (main): Replace %ld with %jd and cast to
40710 intmax_t.
40711
40712 2015-01-05 Roland McGrath <roland@hack.frob.com>
40713
40714 * sysdeps/generic/unwind-resume.h: New file.
40715 * sysdeps/gnu/unwind-resume.c: Include it.
40716 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40717 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40718 argument list.
40719 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40720 global rather than static.
40721 (_Unwind_Resume): Update user.
40722 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40723 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
40724 rather than static. Add __attribute__ ((cold)).
40725 (_Unwind_Resume, __gcc_personality_v0): Update callers.
40726 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40727 * sysdeps/arm/arm-unwind-resume.S: New file.
40728 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40729 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40730 * sysdeps/arm/Makefile [$(subdir) = csu]
40731 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40732 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40733 Add rt-arm-unwind-resume.
40734 [$(subdir) = nptl]
40735 (libpthread-sysdep_routines, libpthread-shared-only-routines):
40736 Add pt-arm-unwind-resume.
40737 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40738 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40739
40740 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40741
40742 [BZ #17748]
40743 * include/fenv.h (__feholdexcept): Declare. Use
40744 libm_hidden_proto.
40745 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40746 define as weak alias of __feholdexcept. Use libm_hidden_weak.
40747 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40748 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40749 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40750 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40752 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40753 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40754 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40755 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40756 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40757 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40758 (feholdexcept): Likewise.
40759 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40760 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40761 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40762 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40763 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40764 __feholdexcept instead of feholdexcept.
40765 (default_libc_feholdexcept_setround): Likewise.
40766
40767 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40768
40769 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40770 to avoid using stl/str to align destination.
40771
40772 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40773
40774 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40775
40776 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40777
40778 [BZ #17796]
40779 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40780 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40781 Define as weak alias not strong alias.
40782
40783 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40784
40785 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40786 bltzal with addiupc.
40787 (RTLD_START): Ditto.
40788
40789 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
40790
40791 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40792 for __vdso_* functions in declarations.
40793 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40794 definitions.
40795 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40796 INTERNAL_VSYSCALL): Use struct return types to check for error.
40797
40798 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40799 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40800 function with cast from llround().
40801 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40802 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40803 Define.
40804
40805 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40806
40807 [BZ #17793]
40808 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40809 Define as weak alias not strong alias.
40810
40811 [BZ #17635]
40812 * ctype/ctype-c99.c: New file. isblank implementation moved from
40813 ...
40814 * ctype/ctype-extn.c: ... here.
40815 (__isblank_l): Move to ...
40816 * ctype/ctype-c99_l.c: ... here. New file.
40817 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40818 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40819 Remove variable.
40820 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40821 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40822 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40823 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40824 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40825
40826 [BZ #17777]
40827 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40828 (posix_fadvise64): Define as weak alias not strong alias.
40829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40830 (posix_fallocate64): Likewise.
40831 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40832 Remove variable.
40833 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40834 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40835 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40836 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40837 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40838
40839 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
40840
40841 [BZ #16191]
40842 * NEWS: Mention bug fix.
40843 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40844 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40845 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40846 (HOST_STACK_END_ADDR): Likewise.
40847
40848 2015-01-02 Joseph Myers <joseph@codesourcery.com>
40849
40850 [BZ #17748]
40851 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
40852 * math/fegetround.c (fegetround): Rename to __fegetround and
40853 define as weak alias of __fegetround. Use libm_hidden_weak.
40854 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40855 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40856 * sysdeps/arm/fegetround.c (fegetround): Likewise.
40857 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40858 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40859 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40860 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40861 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40862 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40863 Undefine after rather than before function definition; use
40864 parentheses around function name in definition.
40865 (__fegetround): Also undefine macro after function definition.
40866 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40867 __fegetround and define as weak alias of __fegetround. Use
40868 libm_hidden_weak. Do not undefine as macro.
40869 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40870 Likewise.
40871 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40872 __fegetround and define as weak alias of __fegetround. Use
40873 libm_hidden_weak.
40874 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40875 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40876 * sysdeps/tile/math_private.h (__fegetround): New inline function.
40877 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40878 __fegetround and define as weak alias of __fegetround. Use
40879 libm_hidden_weak.
40880 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40881 __fegetround instead of fegetround.
40882
40883 [BZ #17782]
40884 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40885 Condition macro definition on [__USE_MISC].
40886
40887 [BZ #17781]
40888 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40889 (struct sigaction): Change type of sa_flags field to int.
40890
40891 [BZ #17780]
40892 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40893 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40894 __glibc_reserved0.
40895
40896 * nptl/version.c (banner): Use single year in copyright notice.
40897
40898 * NEWS: Update copyright dates.
40899 * catgets/gencat.c (print_version): Likewise.
40900 * csu/version.c (banner): Likewise.
40901 * debug/catchsegv.sh: Likewise.
40902 * debug/pcprofiledump.c (print_version): Likewise.
40903 * debug/xtrace.sh (do_version): Likewise.
40904 * elf/ldconfig.c (print_version): Likewise.
40905 * elf/ldd.bash.in: Likewise.
40906 * elf/pldd.c (print_version): Likewise.
40907 * elf/sotruss.sh: Likewise.
40908 * elf/sprof.c (print_version): Likewise.
40909 * iconv/iconv_prog.c (print_version): Likewise.
40910 * iconv/iconvconfig.c (print_version): Likewise.
40911 * locale/programs/locale.c (print_version): Likewise.
40912 * locale/programs/localedef.c (print_version): Likewise.
40913 * login/programs/pt_chown.c (print_version): Likewise.
40914 * malloc/memusage.sh (do_version): Likewise.
40915 * malloc/memusagestat.c (print_version): Likewise.
40916 * malloc/mtrace.pl: Likewise.
40917 * manual/libc.texinfo: Likewise.
40918 * nptl/version.c (banner): Likewise.
40919 * nscd/nscd.c (print_version): Likewise.
40920 * nss/getent.c (print_version): Likewise.
40921 * nss/makedb.c (print_version): Likewise.
40922 * posix/getconf.c (main): Likewise.
40923 * scripts/test-installation.pl: Likewise.
40924 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40925
40926 2015-01-02 Will Newton <will.newton@linaro.org>
40927
40928 * sysdeps/arm/armv7/configure: Removed.
40929 * sysdeps/arm/armv7/configure.ac: Likewise.
40930
40931 2015-01-02 Joseph Myers <joseph@codesourcery.com>
40932
40933 * All files with FSF copyright notices: Update copyright dates
40934 using scripts/update-copyrights.
40935 * intl/plural.c: Regenerated.
40936 * locale/programs/charmap-kw.h: Likewise.
40937 * locale/programs/locfile-kw.h: Likewise.
40938
40939 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40940
40941 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40942
40943 2014-12-31 Joseph Myers <joseph@codesourcery.com>
40944
40945 [BZ #17748]
40946 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40947 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40948 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40949 and define as weak alias of __fegetenv. Use libm_hidden_weak.
40950 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40951 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40952 define as weak alias of __fegetenv. Use libm_hidden_weak.
40953 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40954 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40955 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40956 define as weak alias of __fegetenv. Use libm_hidden_weak.
40957 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40958 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40959 define as weak alias of __fegetenv. Use libm_hidden_weak.
40960 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40961 libm_hidden_def.
40962 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40963 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40964 Likewise.
40965 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40966 define as weak alias of __fegetenv. Use libm_hidden_weak.
40967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40968 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40969 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40970 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40971 and define as weak alias of __fegetenv. Use libm_hidden_weak.
40972 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40973 __fegetenv instead of fegetenv.
40974 (libc_feholdsetround_noex_ctx): Likewise.
40975
40976 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
40977
40978 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40979 (Elf_MIPS_ABIFlags_v0): New structure.
40980 (EF_MIPS_FP64): Define.
40981 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40982 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40983 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40984 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40985 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40986 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40987 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40988 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40989 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40990 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40991 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40992 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40993 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40994 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40995 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40996 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40997 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40998 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40999 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41000 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41001 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41002 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41003 field.
41004 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41005 EF_MIPS_FP64.
41006 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41007 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41008 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41009 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41010 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41011 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41012 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41013 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41014 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41015 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41016 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41017 record the current FP ABI extension.
41018 (mips-mode-switch): Define to show if kernel headers support mode
41019 switching.
41020 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41021 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41022 supported SYSV ABI version to 3.
41023 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41024 feature.
41025
41026 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41028
41029 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41030 path.
41031 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41032
41033 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41034
41035 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41036 __fegetround and redefine to call __fegetround. Remove condition
41037 on [!__NO_MATH_INLINES].
41038 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41039 function.
41040 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41042 Remove macro.
41043 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41044 instead of <fenv_libc.h>.
41045 (__llrintl): Call fegetround instead of __fegetround.
41046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41047 instead of <fenv_libc.h>.
41048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41049 (__lrintl): Call fegetround instead of __fegetround.
41050 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41051 instead of <fenv_libc.h>.
41052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41053 (__rintl): Call fegetround instead of __fegetround.
41054
41055 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41056
41057 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41058 arrays.
41059
41060 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41061
41062 [BZ #17775]
41063 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41064 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41065 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41066
41067 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41068
41069 * sysdeps/i386/tls-macros.h: Include <features.h>.
41070 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41071 (TLS_IE): Likewise.
41072 (TLS_LD): Likewise.
41073 (TLS_GD): Likewise.
41074 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41075 define for GCC >= 5.0.
41076
41077 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41078
41079 * math/test-fenv.c (test_single_exception, set_single_exc,
41080 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41081 feexcp_mask_test, feenable_test, fe_single_test): Add
41082 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41083 case where they are not used.
41084 * math/libm-test.inc: Likewise.
41085 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41086 unused in the absence of FP rounding/exception support.
41087 * stdio-common/tst-printf-round.c: Likewise.
41088 * stdlib/tst-strtod-round.c: Likewise.
41089 * stdlib/tst-strtod-underflow.c: Likewise.
41090
41091 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41092
41093 [BZ #17723]
41094 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41095 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41096 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41097 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41098 libm_hidden_weak.
41099 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41100 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41101 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41102 libm_hidden_def.
41103 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41104 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41105 libm_hidden_weak.
41106 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41107 Likewise.
41108 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41109 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41110 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41111 libm_hidden_weak.
41112 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41113 libm_hidden_def.
41114 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41116 (__feraiseexcept): Likewise.
41117 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41118 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41119 libm_hidden_weak.
41120 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41121 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41122 libm_hidden_def.
41123 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41124 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41125 Use libm_hidden_def.
41126 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41127 libm_hidden_def.
41128 (feraiseexcept): Define as weak not strong alias. Use
41129 libm_hidden_weak.
41130 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41131 New inline function. Factored out of ...
41132 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41133 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41134 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41135 feraiseexcept.
41136 * math/w_acos.c (__acos): Likewise.
41137 * math/w_asin.c (__asin): Likewise.
41138 * math/w_ilogb.c (__ilogb): Likewise.
41139 * math/w_j0.c (y0): Likewise.
41140 * math/w_j1.c (y1): Likewise.
41141 * math/w_jn.c (yn): Likewise.
41142 * math/w_log.c (__log): Likewise.
41143 * math/w_log10.c (__log10): Likewise.
41144 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41145 * sysdeps/aarch64/fpu/math_private.h
41146 (libc_feupdateenv_test_aarch64): Likewise.
41147 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41148 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41149 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41150 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41151 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41152 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41153 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41155 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41156 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41157
41158 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41159
41160 [BZ #17732]
41161 * io/test-utime.c (main): Replace %ld with %jd and cast to
41162 intmax_t.
41163 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41164 * nptl/tst-mutex5.c: Include <stdint.h>.
41165 (do_test): Replace %ld with %jd and cast to intmax_t.
41166 * posix/tst-regex.c (run_test): Likewise.
41167 (run_test_backwards): Likewise.
41168 * rt/tst-clock.c: Include <stdint.h>.
41169 (clock_test): Replace %ld with %jd and cast to intmax_t.
41170 * rt/tst-cpuclock1.c: Include <stdint.h>.
41171 (do_test): Replace %lu with %ju and cast to uintmax_t.
41172 * rt/tst-cpuclock2.c: Include <stdint.h>.
41173 (do_test): Replace %lu with %ju and cast to uintmax_t.
41174 * rt/tst-mqueue1.c: Include <stdint.h>.
41175 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41176 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41177 intmax_t.
41178 * rt/tst-mqueue4.c (do_test): Likewise.
41179 * rt/tst-timer4.c: Include <stdint.h>.
41180 (check_ts): Replace %ld with %jd and cast to intmax_t.
41181 (do_test): Likewise.
41182 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41183 and cast to intmax_t.
41184 * sysdeps/pthread/tst-timer.c (main): Likewise.
41185 * time/clocktest.c (main): Likewise.
41186 * time/tst-posixtz.c (do_test): Likewise.
41187 * timezone/tst-timezone.c (main): Likewise.
41188
41189 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41190 H.J. Lu <hongjiu.lu@intel.com>
41191
41192 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41193 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41194 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41195 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41196 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41197 version if bit_Fast_Unaligned_Load is set.
41198 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41199 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41200 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41201 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41202 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41203 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41205 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41206 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41207 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41208 to 4.
41209 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41210 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41211 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41212 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41213
41214 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41215
41216 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41217 instead of #if to avoid a Wundef warning.
41218 * stdlib/tst-limits.c (do_test): Likewise.
41219
41220 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41221 parallel other exception macros.
41222 (fegetenv): Convert from macro to extern inline so that it applies
41223 retroactively to inline functions already seen by the compiler.
41224 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41225
41226 * posix/Makefile (before-compile): Use $(objpfx) for
41227 posix-conf-vars-def.h.
41228
41229 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41230
41231 * posix/getconf.c (main): Use size_t for type of I.
41232 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41233 NSPEC.
41234
41235 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41236 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41237 * posix/posix-envs.def: Likewise.
41238 * sysdeps/posix/sysconf.c: Likewise.
41239 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41240 (specs): Remove array.
41241 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41242 array.
41243
41244 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41245 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41246 (__sysconf): Use CONF_IS_* macros.
41247
41248 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41249 ($(objpfx)posix-conf-vars-def.h): New target.
41250 * posix/posix-conf-vars.list: New file.
41251 * posix/posix-conf-vars.h: New file.
41252 * posix/confstr.c: Include posix-conf-vars.h.
41253 (confstr): Use CONF_IS_* macros.
41254 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41255 CONF_IS_* macros.
41256 * scripts/gen-posix-conf-vars.awk: New file.
41257
41258 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41259
41260 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41261 fegetround): Add no-op macros to avoid linknamespace issues.
41262
41263 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41264 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41265
41266 * sysdeps/unix/sysv/linux/tile/sysdep.h
41267 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41268 assembly-specific section to avoid a redefinition warning.
41269
41270 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41271 long before casting to pointer to avoid a cast warning.
41272
41273 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41274
41275 * sysdeps/tile/tilegx/Implies: New file.
41276
41277 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41278
41279 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41280
41281 2014-12-23 Florian Weimer <fweimer@redhat.com>
41282
41283 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41284
41285 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41286
41287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41288 not define.
41289 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41290 <kernel-features.h>.
41291 (__utimes) [__NR_utimes]: Make code unconditional.
41292 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41294 (__ASSUME_UTIMES): Do not undefine.
41295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41296 (__ASSUME_UTIMES): Likewise.
41297 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41298 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41299 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41300 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41301
41302 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41303
41304 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41305
41306 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41307
41308 [BZ #17747]
41309 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41310 alias to weak alias for j0l, y0l.
41311 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41312 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41313
41314 [BZ #17746]
41315 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41316 conversion.
41317
41318 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41319
41320 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41321 to zero if not already defined.
41322
41323 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41324
41325 [BZ #17724]
41326 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41327 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41328 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41329 (char *) casts added.
41330 * sysdeps/ieee754/k_standardf.c: New file.
41331 * sysdeps/ieee754/k_standardl.c: Likewise.
41332 * math/Makefile (libm-support): Remove k_standard.
41333 (libm-calls): Add k_standard.
41334
41335 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41336
41337 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41338 Optimize to avoid an unnecessary FPCR read.
41339
41340 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41341
41342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41343 Optimize to reduce FPCR/FPSR accesses.
41344
41345 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41346
41347 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41348 Call libc_fetestexcept_aarch64.
41349
41350 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41351
41352 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41353 Call libc_fesetround_aarch64.
41354
41355 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41356
41357 [BZ #17733]
41358 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41359 (__bind): Do not define as weak alias.
41360 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41361 define.
41362 (__getsockname): Do not define as weak alias.
41363
41364 2014-12-22 Will Newton <will.newton@linaro.org>
41365
41366 * manual/install.texi: Document that we require bison 2.7
41367 or above.
41368 * INSTALL: Regenerate.
41369 * configure.ac: Use AC_CHECK_PROG_VER instead of
41370 AC_PATH_PROG when checking for bison and check for
41371 version 2.7 or above.
41372 * configure: Regenerate.
41373
41374 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41375
41376 [BZ #17745]
41377 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41378 * sysdeps/tile/ffsll.c (ffsll): To here.
41379
41380 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41381
41382 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41383
41384 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41385 if not defined.
41386 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41387 definition.
41388 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41389 hidden ___tls_get_addr.
41390 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41391 hidden __tls_get_addr.
41392 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41393 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41394 Likewise.
41395
41396 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41397
41398 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41399 _dl_init call.
41400
41401 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41402
41403 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41404 from "call _dl_init@PLT".
41405 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41406
41407 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41408
41409 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41410 guarantees.
41411
41412 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41413
41414 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41415
41416 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41417
41418 [BZ #17744]
41419 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41420 strnlen.
41421
41422 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41423
41424 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41425 of multu on MIPSr6.
41426 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41427 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41428 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41429 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41430 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41431
41432 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41433
41434 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41435 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41436 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41437 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41438 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41439 mips32r6/mips64r6.
41440 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41441
41442 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41443
41444 * string/strncat.c (STRNCAT): Simplify implementation.
41445
41446 2014-12-19 David S. Miller <davem@davemloft.net>
41447
41448 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41449 access the quad as both a long double and as a series of 4 words.
41450
41451 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41452 link_map->l_info array access.
41453
41454 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41455
41456 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41457
41458 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41459 * math/atest-exp2.c (TIMEOUT): Likewise.
41460 * math/atest-sincos.c (TIMEOUT): Likewise.
41461
41462 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41463
41464 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41465 -Wno-error with -fno-builtin-lround.
41466
41467 2014-12-19 Torvald Riegel <triegel@redhat.com>
41468
41469 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41470 Contains futex constants and functions moved over from ...
41471 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41472 <lowlevellock-futex.h>.
41473 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41474 (lll_timedwait_tid): Add comments and parentheses around macro
41475 arguments.
41476
41477 2014-12-19 Torvald Riegel <triegel@redhat.com>
41478
41479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41480 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41481 (__lll_private_flag): Remove.
41482 (lll_futex_wait): Likewise.
41483 (lll_futex_timed_wait): Likewise.
41484 (lll_futex_wake): Likewise.
41485 (lll_futex_requeue): Likewise.
41486 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41487 (__lll_timedwait_tid): Spell out argument names.
41488 (lll_timedwait_tid): Add comments and parentheses around macro
41489 arguments.
41490 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41491 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41492
41493 2014-12-19 Torvald Riegel <triegel@redhat.com>
41494
41495 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41496 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41497 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41498 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41499 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41500 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41501 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41502 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41503 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41504 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41505 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41506 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41508 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41509 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41510 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41511 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41512 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41513 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41514
41515 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41516
41517 * sysdeps/x86_64/x32/Makefile: New file.
41518
41519 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41520
41521 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41522 1L with (mp_limb_t) 1.
41523
41524 2014-12-17 Roland McGrath <roland@hack.frob.com>
41525
41526 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41527 * nptl/libc_pthread_init.c: ... here.
41528 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41529 * nptl/register-atfork.c: ... here.
41530
41531 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41532 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41533 Use assert_perror to check its return value.
41534 (__gai_create_helper_thread): Likewise.
41535
41536 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41537
41538 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41539
41540 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41541
41542 [BZ #17725]
41543 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41544 __profil_counter.
41545 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41546 Likewise.
41547 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41548 Likewise.
41549 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41550 Likewise.
41551 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41552 (profil_counter): Likewise.
41553 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41554 (profil_counter): Likewise.
41555 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41556 Likewise.
41557 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41558 Likewise.
41559 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41560 (profil_counter): Likewise.
41561 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41562 Likewise.
41563 [!__profil_counter] (profil_counter): Define as weak alias of
41564 __profil_counter.
41565 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41566 (profil_counter): Rename to __profil_counter.
41567 [!__profil_counter] (profil_counter): Define as weak alias of
41568 __profil_counter.
41569 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41570 (profil_counter): Rename to __profil_counter.
41571 [!__profil_counter] (profil_counter): Define as weak alias of
41572 __profil_counter.
41573 * sysdeps/posix/profil.c: Update comment referring to
41574 profil_counter.
41575 (__profil): Use __profil_counter instead of profil_counter.
41576 * sysdeps/posix/sprofil.c (profil_counter): Rename to
41577 __profil_counter. Use __profil_counter_ushort and
41578 __profil_counter_uint in definitions.
41579 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41580 instead of profil_counter_uint and profil_counter_ushort.
41581
41582 [BZ #17722]
41583 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41584 define as weak alias of __inet_makeaddr.
41585 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41586 as weak alias of __inet_addr.
41587 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41588 as weak alias of __inet_pton. Use libc_hidden_weak.
41589 * include/arpa/inet.h (__inet_pton): Declare. Use
41590 libc_hidden_proto.
41591 (inet_makeaddr): Don't use libc_hidden_proto.
41592 (__inet_makeaddr): Declare. Use libc_hidden_proto.
41593 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41594 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
41595 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41596 Remove variable.
41597 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41598 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41599
41600 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
41601
41602 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41603
41604 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41605
41606 * stdio-common/bug-vfprintf-nargs.c (do_test):
41607 Cast value to intptr_t to avoid format warning
41608 for usage with PRIdPTR printing macro.
41609
41610 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41611
41612 * libio/tst-widetext.c (do_test):
41613 Use format type %td instead of %Zd for ptrdiff_t
41614 in order to avoid format warning.
41615
41616 2014-12-17 Andreas Schwab <schwab@suse.de>
41617
41618 * nscd/mem.c (gc): Add size_t cast to match printf format.
41619
41620 2014-12-16 Roland McGrath <roland@hack.frob.com>
41621
41622 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41623 (init): Apply PTR_MANGLE to pointers before storing them.
41624 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41625 before using them.
41626
41627 2014-12-16 Joseph Myers <joseph@codesourcery.com>
41628
41629 [BZ #17719]
41630 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41631 define as weak alias of __memrchr.
41632 (__memrchr): Do not define as strong alias of memrchr.
41633 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41634 Remove variable.
41635 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41636 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41637 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41638
41639 [BZ #17717]
41640 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41641 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
41642 (if_indextoname): Rename to __if_indextoname and define as weak
41643 alias of __if_indextoname. Use libc_hidden_weak.
41644 (if_freenameindex): Rename to __if_freenameindex and define as
41645 weak alias of __if_freenameindex.
41646 (if_nameindex): Rename to __if_nameindex and define as weak alias
41647 of __if_nameindex.
41648 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41649 __if_nametoindex and define as weak alias of __if_nametoindex.
41650 Use libc_hidden_weak.
41651 (if_freenameindex): Rename to __if_freenameindex and define as
41652 weak alias of __if_freenameindex.
41653 (if_nameindex): Rename to __if_nameindex and define as weak alias
41654 of __if_nameindex.
41655 (if_indextoname): Rename to __if_indextoname and define as weak
41656 alias of __if_indextoname. Use libc_hidden_weak.
41657 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41658 __if_nametoindex and define as weak alias of __if_nametoindex.
41659 Use libc_hidden_weak.
41660 (if_freenameindex): Rename to __if_freenameindex and define as
41661 weak alias of __if_freenameindex. Use libc_hidden_weak.
41662 (if_nameindex_netlink): Use __if_freenameindex instead of
41663 if_freenameindex.
41664 (if_nameindex): Rename to __if_nameindex and define as weak alias
41665 of __if_nameindex. Use libc_hidden_weak.
41666 (if_indextoname): Rename to __if_indextoname and define as weak
41667 alias of __if_indextoname. Use libc_hidden_weak.
41668 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41669 libc_hidden_proto.
41670 [!_ISOMAC] (__if_freenameindex): Likewise.
41671 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41672 if_nametoindex.
41673 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41674 variable.
41675 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41676 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41677 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41678 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41679 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41680 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41681 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41682
41683 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41684 Remove variable.
41685 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41686 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41687
41688 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41689
41690 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
41691 subscript above bounds'
41692
41693 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
41694 bounds.
41695
41696 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
41697
41698 * libio/tst-fopenloc.c: Use test-skeleton.c.
41699
41700 * stdlib/tst-bsearch.c: Use test-skeleton.c.
41701 (entry): Rename to ITEM.
41702 (do_test, comp): Adjust.
41703
41704 * stdio-common/tst-fseek.c: Use test-skeleton.c.
41705
41706 2014-12-16 Torvald Riegel <triegel@redhat.com>
41707
41708 * string/tester.c: Include <libc-internal.h>.
41709 (test_memset): Ignore -Wmemset-transposed-args.
41710
41711 2014-12-16 Torvald Riegel <triegel@redhat.com>
41712
41713 * misc/tst-mntent2.c (do_test): Fix warning.
41714
41715 2014-12-16 Torvald Riegel <triegel@redhat.com>
41716
41717 * elf/tst-unique4lib.cc(a): Mark as used.
41718
41719 2014-12-16 Florian Weimer <fweimer@redhat.com>
41720
41721 [BZ #17630]
41722 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41723 names.
41724
41725 2014-12-16 Allan McRae <allan@archlinux.org>
41726
41727 * stdio-common/Makefile (tests): Re-add bug26.
41728
41729 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
41730
41731 [BZ #17657]
41732 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41733 static array.
41734
41735 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
41736
41737 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41738 (__lll_lock_wait): Likewise.
41739 (__lll_timedlock_wait): Likewise.
41740 (__lll_timedwait_tid): Likewise.
41741 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41742 (__lll_robust_timedlock_wait): Likewise.
41743 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41744 (lll_cond_trylock): Likewise.
41745 (__lll_lock): Likewise.
41746 (__lll_robust_lock): Likewise.
41747 (__lll_cond_lock): Likewise.
41748 (lll_robust_cond_lock): Likewise.
41749 (__lll_timedlock): Likewise.
41750 (__lll_robust_timedlock): Likewise.
41751 (__lll_unlock): Likewise.
41752 (__lll_robust_unlock): Likewise.
41753 (lll_wait_tid): Likewise.
41754 (lll_timedwait_tid): Likewise.
41755
41756 2014-12-15 Torvald Riegel <triegel@redhat.com>
41757
41758 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41759
41760 2014-12-15 Torvald Riegel <triegel@redhat.com>
41761
41762 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41763
41764 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
41765
41766 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41767 * stdio-common/tst-sprintf.c: Likewise.
41768
41769 2014-12-15 Torvald Riegel <triegel@redhat.com>
41770
41771 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41772
41773 2014-12-15 Jeff Law <law@redhat.com>
41774
41775 [BZ #16617]
41776 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41777 on the heap. (CVE-2012-3406)
41778 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41779 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
41780 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41781
41782 2014-12-15 Will Newton <will.newton@linaro.org>
41783
41784 * manual/install.texi: Bump required version of texinfo
41785 to 4.7 from 4.5.
41786 * INSTALL: Regenerated.
41787 * configure.ac: Check for makeinfo version 4.7 and above.
41788 * configure: Regenerated.
41789
41790 2014-12-12 Roland McGrath <roland@hack.frob.com>
41791
41792 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41793 PREFIX, string constant to insert between directory and name.
41794 * sysdeps/posix/shm_open.c: Update caller.
41795 * sysdeps/posix/shm_unlink.c: Likewise.
41796 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41797 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41798 (SEM_SHM_PREFIX): New macro.
41799 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41800 [$(have-thread-library) = no].
41801 * nptl/Makefile (libpthread-routines): Add shm-directory.
41802 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41803 * sysdeps/nptl/shm-directory.h: New file.
41804 * sysdeps/posix/shm-directory.c
41805 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41806 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41807 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41808 INTERNAL_SYSCALL.
41809 (__where_is_shmfs): Function removed.
41810 (mountpoint, defaultmount, defaultdir, __namedsem_once):
41811 Variables removed.
41812 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41813 Use SHM_GET_NAME.
41814 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
41815
41816 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41817 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41818 unconditional for use inside libpthread.
41819 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41820
41821 2014-12-12 Roland McGrath <roland@hack.frob.com>
41822
41823 * nptl/pthread_getaffinity.c: New file.
41824 * nptl/pthread_setaffinity.c: New file.
41825 * nptl/pthread_getname.c: New file.
41826 * nptl/pthread_setname.c: New file.
41827
41828 * nptl/pthread_create.c (START_THREAD_DEFN)
41829 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41830
41831 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
41832 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41833
41834 * resolv/res_send.c (send_vc): Disable warning resplen may
41835 be used uninitialized.
41836
41837 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
41838
41839 * nptl/tst-mutex6.c
41840 (ATTR_NULL): New define checks ATTR against NULL.
41841 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41842 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41843
41844 2014-12-11 James Lemke <jwlemke@codesourcery.com>
41845
41846 [BZ #17581]
41847 * malloc/hooks.c
41848 (mem2mem_check): Revert my previous change.
41849 (malloc_check_get_size): Revert my previous change.
41850 (mem2chunk_check): Revert my previous change.
41851
41852 2014-12-11 Roland McGrath <roland@hack.frob.com>
41853
41854 * sysdeps/posix/shm-directory.c: New file.
41855 * sysdeps/posix/shm-directory.h: New file.
41856 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41857 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41858 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
41859 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41860 Transmute EPERM to EACCES.
41861 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41862 from ...
41863 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
41864 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41865
41866 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41867
41868 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41869 pointer and cast to uintptr_t.
41870 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41871 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41872 Add cast to avoid warning.
41873 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41874
41875 2014-12-11 Joseph Myers <joseph@codesourcery.com>
41876
41877 * nptl/semaphore.h: Move to ...
41878 * sysdeps/pthread/semaphore.h: ... here.
41879 * Makefile (installed-headers): Change nptl/semaphore.h to
41880 sysdeps/pthread/semaphore.h.
41881
41882 2014-12-11 Roland McGrath <roland@hack.frob.com>
41883
41884 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41885 generated error format strings.
41886
41887 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41888 -Wformat-extra-args warnings for scanf formats.
41889 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41890 test of zero-length format (duh).
41891 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41892 corner-case scanf format test.
41893 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41894 generated fprintf format string.
41895 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41896 corner-case sprintf format tests.
41897 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41898 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41899 -Wformat-extra-args warnings throughout.
41900 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41901 (CFLAGS-scanf4.c): Likewise.
41902 (CFLAGS-scanf7.c): Likewise.
41903 (CFLAGS-tst-sprintf.c): Likewise.
41904 (CFLAGS-tst-printf.c): Likewise.
41905 (CFLAGS-tst-printfsz.c): Likewise.
41906
41907 2014-12-11 Joseph Myers <joseph@codesourcery.com>
41908
41909 * include/cpio.h: New file.
41910 * include/fmtmsg.h: Likewise.
41911
41912 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
41913 corresponding format argument to size_t.
41914 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
41915 arguments.
41916 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
41917 corresponding format argument to size_t.
41918 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
41919 arguments.
41920 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
41921 corresponding format argument to size_t.
41922 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41923 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41924 (CFLAGS-tst-mbswcs2.c): Likewise.
41925 (CFLAGS-tst-mbswcs3.c): Likewise.
41926 (CFLAGS-tst-mbswcs4.c): Likewise.
41927 (CFLAGS-tst-mbswcs5.c): Likewise.
41928 (CFLAGS-tst-trans.c): Likewise.
41929
41930 2014-12-11 Roland McGrath <roland@hack.frob.com>
41931
41932 * posix/regexbug1.c (main): Use "%s" format with regerror results,
41933 rather than assuming they won't contain any '%'s.
41934
41935 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
41936
41937 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41938 inhibit_loop_to_libcall to avoid recursive calls.
41939 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41940 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41941
41942 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
41943
41944 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41945 prototype.
41946
41947 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
41948
41949 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41950 integer value instead of boolean.
41951
41952 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
41953
41954 * malloc/malloc.c: Fix powerof2 check.
41955
41956 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41957
41958 * locale/programs/locfile.h (maybe_swap_uint32):
41959 Remove inline and add unused attribute.
41960
41961 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41962
41963 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41964 Truncating assembler expression to a .long expression.
41965
41966 2014-12-11 Andreas Schwab <schwab@suse.de>
41967
41968 * elf/rtld.c (struct map_args): Constify str member.
41969 (do_preload): Constify fname argument.
41970
41971 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41972
41973 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41974 constants definition.
41975
41976 2014-12-11 Andreas Schwab <schwab@suse.de>
41977
41978 [BZ #16657]
41979 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41980 FORCE_ELISION instead of DO_ELISION.
41981 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41982 Remove.
41983 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41984 Likewise.
41985
41986 * iconvdata/gconv-modules: Remove duplicate entry.
41987
41988 2014-12-11 Will Newton <will.newton@linaro.org>
41989
41990 Merge gettext 0.19.3 into intl/.
41991
41992 This involves a number of cosmetic changes to comments
41993 and ANSI function definitions and prototypes throughout
41994 all the files. The gettext copyright header is used but
41995 with the date ranges taken from the glibc copy.
41996
41997 * NEWS: Add gettext merge to 2.21.
41998 * intl/bindtextdom.c: Switch to gettext copyright.
41999 Use ANSI definitions and prototypes.
42000 Use gl_* locking primitives rather than __libc_* ones.
42001 Use __builtin_expect rather than __glibc_likely/unlikely.
42002 * intl/dcgettext.c: Switch to gettext copyright.
42003 Use ANSI definitions and prototypes.
42004 * intl/dcigettext.c: Switch to gettext copyright.
42005 Use ANSI definitions and prototypes.
42006 (INTDIV0_RAISES_SIGFPE): New define.
42007 Use gl_* locking primitives rather than __libc_* ones.
42008 Include eval-plural.h instead of plural-eval.c.
42009 Use __builtin_expect rather than __glibc_likely/unlikely.
42010 * intl/dcngettext.c: Switch to gettext copyright.
42011 Use ANSI definitions and prototypes.
42012 * intl/dgettext.c: Likewise.
42013 * intl/dngettext.c: Likewise.
42014 * intl/plural-eval.c: Renamed to...
42015 * intl/eval-plural.h: ...this.
42016 * intl/explodename.c: Switch to gettext copyright.
42017 Use ANSI definitions and prototypes.
42018 (_nl_explode_name): Use strchr instead of __rawmemchr.
42019 * intl/finddomain.c: Switch to gettext copyright.
42020 Use ANSI definitions and prototypes.
42021 Use gl_* locking primitives rather than __libc_* ones.
42022 (_nl_find_domain): Use malloc rather than alloca for
42023 allocation of temporary locale name.
42024 * intl/gettext.c: Switch to gettext copyright.
42025 Use ANSI definitions and prototypes.
42026 * intl/gettextP.h: Switch to gettext copyright.
42027 Use ANSI definitions and prototypes.
42028 Use gl_* locking primitives rather than __libc_* ones.
42029 * intl/gmo.h: Switch to gettext copyright.
42030 (struct sysdep_string): Move struct segment_pair outside of
42031 struct definition.
42032 * intl/hash-string.c: Use ANSI definitions and prototypes.
42033 * intl/hash-string.h: Switch to gettext copyright.
42034 Use ANSI definitions and prototypes.
42035 * intl/l10nflist.c: Switch to gettext copyright.
42036 Use ANSI definitions and prototypes.
42037 (_nl_normalize_codeset): Avoid integer overflow.
42038 * intl/loadinfo.h: Switch to gettext copyright.
42039 Use ANSI definitions and prototypes.
42040 (LIBINTL_DLL_EXPORTED): New define.
42041 (PATH_SEPARATOR): New define.
42042 * intl/loadmsgcat.c: Switch to gettext copyright.
42043 * intl/localealias.c: Switch to gettext copyright.
42044 Use ANSI definitions and prototypes.
42045 (_nl_expand_alias): Use PATH_SEPARATOR.
42046 * intl/ngettext.c: Switch to gettext copyright.
42047 Use ANSI definitions and prototypes.
42048 * intl/plural-exp.c: Likewise.
42049 * intl/plural-exp.h: Switch to gettext copyright.
42050 Use ANSI definitions and prototypes.
42051 (struct expression): Move definition of enum operator outside
42052 of struct definition.
42053 * intl/plural.c: Regenerate.
42054 * intl/plural.y: Switch to gettext copyright.
42055 Use ANSI definitions and prototypes.
42056 Port to bison 3.0.
42057 * intl/textdomain.c: Switch to gettext copyright.
42058 Use ANSI definitions and prototypes.
42059 Use gl_* locking primitives rather than __libc_* ones.
42060
42061 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42062
42063 * debug/warning-nop.c: Add used atrribute.
42064
42065 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42066
42067 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42068
42069 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42070 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42071 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42072
42073 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42075
42076 [BZ #17634]
42077 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42078 Undefine after defining function. Define as weak alias of
42079 __wcschr. Use libc_hidden_weak.
42080 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42081 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42082 (libc_hidden_def): Also define __GI___wcschr alias.
42083 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42084 __wcschr and define as weak alias of __wcschr.
42085 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42086 __wcschr.
42087 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42088 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42089 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42090 libc_hidden_weak. Do not use libc_hidden_def.
42091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42092 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42093 __GI___wcschr alias.
42094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42095 [IS_IN (libc)] (wcschr): Define as macro expanding to
42096 __redirect_wcschr.
42097 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42098 [IS_IN (libc)] (__wcschr_power6): Likewise.
42099 [IS_IN (libc)] (__wcschr_power7): Likewise.
42100 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42101 instead of wcschr.
42102 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42103 __libc_wcschr.
42104 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42105 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42106 __wcschr and define as weak alias of __wcschr. Use
42107 libc_hidden_builtin_def.
42108 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42109 as weak alias of __wcschr. Use libc_hidden_weak.
42110 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42111 wcschr.
42112 * time/era.c (_nl_init_era_entries): Likewise.
42113 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42114 variable.
42115 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42116 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42117
42118 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42119
42120 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42121 format for long int variable.
42122
42123 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42124
42125 [BZ #10672]
42126 * manual/search.texi: (Array Sort Function): Remove claim how to make
42127 qsort stable.
42128
42129 2014-12-10 Andreas Schwab <schwab@suse.de>
42130
42131 [BZ #12847]
42132 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42133 user-controlled locks.
42134
42135 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42136
42137 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42138 register.
42139
42140 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42141
42142 * configure.ac (--disable-werror): New configure option.
42143 (enable_werror): New AC_SUBST.
42144 * configure: Regenerated.
42145 * config.make.in (enable-werror): New variable.
42146 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42147 -Wno-error=undef.
42148 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42149 * manual/install.texi (Configuring and compiling): Document
42150 --disable-werror.
42151 * INSTALL: Regenerated.
42152 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42153 (CFLAGS-tst-chk2.c): Likewise.
42154 (CFLAGS-tst-chk3.c): Likewise.
42155 (CFLAGS-tst-chk4.cc): Likewise.
42156 (CFLAGS-tst-chk5.cc): Likewise.
42157 (CFLAGS-tst-chk6.cc): Likewise.
42158 (CFLAGS-tst-lfschk1.c): Likewise.
42159 (CFLAGS-tst-lfschk2.c): Likewise.
42160 (CFLAGS-tst-lfschk3.c): Likewise.
42161 (CFLAGS-tst-lfschk4.cc): Likewise.
42162 (CFLAGS-tst-lfschk5.cc): Likewise.
42163 (CFLAGS-tst-lfschk6.cc): Likewise.
42164
42165 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42166 (main): Disable -Wdeprecated-declarations around calls to
42167 register_printf_function.
42168
42169 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42170 (do_test): Disable -Wdiv-by-zero around some calls to
42171 fwrite_unlocked and fread_unlocked.
42172
42173 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42174 (DIAG_POP_NEEDS_COMMENT): Likewise.
42175 (_DIAG_STR1): Likewise.
42176 (_DIAG_STR): Likewise.
42177 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42178 * stdio-common/bug21.c: Include <libc-internal.h>.
42179 (do_test): Disable -Wformat around call to sscanf.
42180 * stdio-common/scanf14.c: Include <libc-internal.h>.
42181 (main): Disable -Wformat around some calls to scanf functions.
42182
42183 2014-12-09 Torvald Riegel <triegel@redhat.com>
42184
42185 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42186
42187 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42188
42189 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42190 stack variable alignment.
42191
42192 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42193
42194 [BZ #17682]
42195 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42196 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42197 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42198 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42199 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42200 __getrlimit instead of getrlimit.
42201 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42202 __gettimeofday instead of gettimeofday.
42203 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42204 Likewise.
42205 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42206 Likewise.
42207 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42208 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42209 Remove variable.
42210 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42211 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42212
42213 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42214
42215 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42216 for wide-character tests.
42217
42218 2014-12-04 Roland McGrath <roland@hack.frob.com>
42219
42220 * io/openat64.c: #include <libc-internal.h>
42221 (__openat64): Prototypify. Use ignore_value on MODE.
42222 * io/openat.c: Likewise.
42223 * misc/reboot.c: #include <libc-internal.h>
42224 (reboot): Prototypify. Use ignore_value on HOWTO.
42225 * misc/ptrace.c: #include <libc-internal.h>
42226 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42227
42228 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42229
42230 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42231 XPG4, UNIX98 and XOPEN2K.
42232 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42233 Remove variable.
42234 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42235
42236 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42237
42238 * libio/fileops.c: Use ISO C style for function definitions.
42239 * libio/iofopen.c: Likewise.
42240 * libio/wfileops.c: Likewise.
42241
42242 [BZ #17653]
42243 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42244 offset on EOF.
42245 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42246 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42247 (fgets_func): Function pointer to fgets and fgetws.
42248 (do_ftell_test): Add test to verify ftell value after read
42249 EOF.
42250 (do_test): Set fgets_func.
42251
42252 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42253 O_TRUNC flag for w and w+ modes.
42254 (do_rewind_test): Likewise.
42255 (do_ftell_test): Likewise.
42256 (do_write_test): Likewise.
42257
42258 [BZ #17647]
42259 * libio/fileops.c (do_ftell): Seek only when there are
42260 unflushed writes.
42261 * libio/wfileops.c (do_ftell_wide): Likewise.
42262 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42263 test case.
42264 (do_one_test): Call it.
42265
42266 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42267
42268 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42269 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42270 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42271 Remove variable.
42272 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42273 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42274 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42275
42276 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42277
42278 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42279 Remove variable.
42280 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42281
42282 [BZ #17668]
42283 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42284 as weak alias of __getifaddrs. Use libc_hidden_weak.
42285 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42286 __freeifaddrs. Use libc_hidden_weak.
42287 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42288 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42289 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42290 __freeifaddrs. Use libc_hidden_weak.
42291 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42292 __getifaddrs and define as weak alias of __getifaddrs. Use
42293 libc_hidden_weak.
42294 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42295 __freeifaddrs. Use libc_hidden_weak.
42296 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42297 Remove variable.
42298 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42299 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42300
42301 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42302
42303 [BZ #17601]
42304 * sysdeps/mips/start.S (__start): Use indirect jump to call
42305 __libc_start_main.
42306
42307 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42308
42309 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42310
42311 * nptl/tst-mutex1.c: Include <stdbool.h>.
42312 [!ATTR] (ATTR_NULL): New macro.
42313 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42314 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42315 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42316
42317 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42318 to char *.
42319
42320 [BZ #17665]
42321 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42322 Change conditional to [__USE_MISC].
42323
42324 [BZ #17664]
42325 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42326 fgets_unlocked.
42327 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42328 __fgets_unlocked.
42329 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42330 fgets_unlocked.
42331 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42332 Remove variable.
42333 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42334 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42335 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42336 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42337 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42338 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42339 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42340 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42341 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42342
42343 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42344
42345 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42346
42347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42348 Remove strpbrk objects.
42349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42350 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42351 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42352 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42353 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42354 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42355
42356 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42357 Remove strcspn objects.
42358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42359 (__libc_ifunc_impl_list): Remove strcspn implementation.
42360 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42361 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42362 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42363 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42364
42365 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42366 Remove strspn objetcs.
42367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42368 (__libc_ifunc_impl_list): Remove strspn implementation.
42369 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42370 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42371 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42372 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42373
42374 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42375
42376 [BZ #17581]
42377 * malloc/hooks.c
42378 (mem2mem_check): Add a terminator to the chain of checking blocks.
42379 (malloc_check_get_size): Use it here.
42380 (mem2chunk_check): Ditto.
42381
42382 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42383
42384 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42385 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42386
42387 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42388
42389 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42390
42391 * nptl/nptl-init.c: Include libc-internal.h.
42392 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42393
42394 * elf/ldconfig.c (search_dir): Expand comment.
42395
42396 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42397
42398 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42399 variable.
42400 (linknamespace-symlist-stdlibs-tests): Likewise.
42401 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42402 instead of $(objpfx)symlist-stdlibs.
42403 (linknamespace-libs-isoc): New variable.
42404 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42405 (linknamespace-libs-ISO): New variable.
42406 (linknamespace-libs-ISO99): Likewise.
42407 (linknamespace-libs-ISO11): Likewise.
42408 (linknamespace-libs-XPG3): Likewise.
42409 (linknamespace-libs-XPG4): Likewise.
42410 (linknamespace-libs-POSIX): Likewise.
42411 (linknamespace-libs-UNIX98): Likewise.
42412 (linknamespace-libs-XOPEN2K): Likewise.
42413 (linknamespace-libs-POSIX2008): Likewise.
42414 (linknamespace-libs-XOPEN2K8): Likewise.
42415 ($(objpfx)symlist-stdlibs): Replace by
42416 $(linknamespace-symlist-stdlibs-tests). Use
42417 $(linknamespace-libs-$*) as set of libraries.
42418 ($(linknamespace-header-tests)): Update dependencies. Use
42419 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42420 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42421 * conform/linknamespace.pl: Remove comment about considering
42422 definitions of symbols from irrelevant libraries.
42423
42424 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42425
42426 [BZ #13862]
42427 * elf/dl-tls.c: Include <atomic.h>.
42428 (oom): Remove #ifdef SHARED/#endif.
42429 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42430 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42431 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42432 big enough.
42433 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42434 * nptl/Makefile (tests): Add tst-stack4.
42435 (modules-names): Add tst-stack4mod.
42436 ($(objpfx)tst-stack4): New.
42437 (tst-stack4mod.sos): Likewise.
42438 ($(objpfx)tst-stack4.out): Likewise.
42439 ($(tst-stack4mod.sos)): Likewise.
42440 (clean): Likewise.
42441 * nptl/tst-stack4.c: New file.
42442 * nptl/tst-stack4mod.c: Likewise.
42443
42444 2014-11-27 J. Brown <jb999@gmx.de>
42445
42446 * sysdeps/x86/bits/string.h: Add recent CPUs.
42447
42448 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42449
42450 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42451 sigblock.
42452
42453 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42454 feof.
42455
42456 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42457 variable.
42458
42459 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42460
42461 * nscd/connections.c: Include libc-internal.h because of macro
42462 usage ignore_value.
42463
42464 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42465
42466 * string/bits/string3.h (__warn_memset_zero_len): Don't
42467 declare for gcc newer than 5.0.
42468 (memset): Don't test for zero-length __LEN for gcc newer than
42469 5.0.
42470
42471 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42472
42473 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42474 size_t for %zu format.
42475
42476 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42477 difference, not %ju.
42478
42479 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42480
42481 * include/libc-internal.h (ignore_value): New macro.
42482 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42483 with ignore_value.
42484
42485 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42486 definition.
42487
42488 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42489 pthread_cleanup_push to void *.
42490
42491 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42492 Undefine.
42493
42494 [BZ #16619]
42495 [BZ #16740]
42496 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42497 instead of 1L << 52.
42498
42499 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42500 * libio/bug-rewind2.c (do_test): Likewise.
42501
42502 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42503 * debug/test-strcpy_chk-ifunc.c: Likewise.
42504 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42505 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42506 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42507 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42508 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42509 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42510 * Rules [$(multi-arch) = no] (tests): Do not filter out
42511 $(tests-ifunc).
42512 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42513 * debug/Makefile (tests-ifunc): Remove variable.
42514 (tests): Do not add $(tests-ifunc).
42515 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42516 (tests): Do not add $(tests-ifunc).
42517 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42518 [TEST_IFUNC]: Remove conditionals.
42519 * string/test-string.h (TEST_IFUNC): Remove macro.
42520 [TEST_IFUNC]: Remove conditionals.
42521
42522 * string/test-strchr.c [!WIDE] (L): New macro.
42523 [WIDE] (L): Likewise.
42524 (check1): Use CHAR instead of char. Use L on string and character
42525 constants.
42526
42527 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42528
42529 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42530 tests.
42531 * sysdeps/powerpc/bits/atomic.h
42532 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42533 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42534 (atomic_exchange_and_add_acq): Likewise.
42535 (atomic_exchange_and_add_rel): Likewise.
42536 * sysdeps/powerpc/powerpc32/bits/atomic.h
42537 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42538 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42539 * sysdeps/powerpc/powerpc64/bits/atomic.h
42540 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42541 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42542
42543 2014-11-26 Torvald Riegel <triegel@redhat.com>
42544
42545 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42546 Change synchronization of __sched_fifo_min_prio and
42547 __sched_fifo_max_prio.
42548 * nptl/pthread_mutexattr_getprioceiling.c
42549 (pthread_mutexattr_getprioceiling): Likewise.
42550 * nptl/pthread_mutexattr_setprioceiling.c
42551 (pthread_mutexattr_setprioceiling): Likewise.
42552 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42553 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42554 Likewise.
42555
42556 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42557
42558 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42559 void.
42560
42561 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42562
42563 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42564 third argument const.
42565
42566 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
42567
42568 fnmatch: work around GCC compiler warning bug with uninit var
42569 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42570 This works around a bug with x86-64 GCC 4.9.2 and earlier
42571 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42572 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42573 used uninitialized in this function [-Wmaybe-uninitialized]".
42574
42575 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42576
42577 * posix/bug-regex31.c (main): Return RES not 0.
42578
42579 2014-11-25 Anton Blanchard <anton@samba.org>
42580
42581 * sysdeps/powerpc/bits/atomic.h
42582 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42583
42584 2014-11-24 Sterling Augustine <saugustine@google.com>
42585
42586 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42587
42588 2014-11-24 Ryan Cumming <etaoins@gmail.com>
42589
42590 [BZ #17608]
42591 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42592
42593 2014-11-24 Joseph Myers <joseph@codesourcery.com>
42594
42595 [BZ #17633]
42596 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42597 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42598 variable.
42599 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42600 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42601
42602 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42603
42604 * string/strncpy.c (strncpy): Improve performance by using memset.
42605
42606 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42607
42608 * string/strcpy.c (strcpy):
42609 Improve performance by using strlen and memcpy.
42610
42611 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
42612
42613 * string/strcoll_l.c (get_next_seq): __always_inline.
42614 * string/strcoll_l.c (do_compare): __always_inline.
42615
42616 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42617
42618 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42619 defined.
42620 * include/mqueue.h: Likewise.
42621 * include/stdlib.h: Likewise.
42622
42623 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42624 (get_null_defines): Adjust.
42625 * sunrpc/Makefile: Adjust comment.
42626 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42627 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42628 (CFLAGS-interp.c): Likewise.
42629 (CFLAGS-ldconfig.c): Likewise.
42630 (CPPFLAGS-.os): Likewise.
42631 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42632 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42633 * extra-modules.mk (extra-modules.mk): Likewise.
42634 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42635 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42636 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42637 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42638 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42639 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42640 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42641 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42642 * iconvdata/Makefile (CPPFLAGS): Likewise.
42643 (cpp-srcs-left): Add libof for all iconvdata routines.
42644 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42645 * include/assert.h: Likewise.
42646 * include/ctype.h: Likewise.
42647 * include/errno.h: Likewise.
42648 * include/libc-symbols.h: Likewise.
42649 * include/math.h: Likewise.
42650 * include/netdb.h: Likewise.
42651 * include/resolv.h: Likewise.
42652 * include/stdio.h: Likewise.
42653 * include/stdlib.h: Likewise.
42654 * include/string.h: Likewise.
42655 * include/sys/stat.h: Likewise.
42656 * include/wctype.h: Likewise.
42657 * intl/l10nflist.c: Likewise.
42658 * libidn/idn-stub.c: Likewise.
42659 * libio/libioP.h: Likewise.
42660 * nptl/libc_multiple_threads.c: Likewise.
42661 * nptl/pthreadP.h: Likewise.
42662 * posix/regex_internal.h: Likewise.
42663 * resolv/res_hconf.c: Likewise.
42664 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42665 * sysdeps/arm/memmove.S: Likewise.
42666 * sysdeps/arm/sysdep.h: Likewise.
42667 * sysdeps/generic/_itoa.h: Likewise.
42668 * sysdeps/generic/symbol-hacks.h: Likewise.
42669 * sysdeps/gnu/errlist.awk: Likewise.
42670 * sysdeps/gnu/errlist.c: Likewise.
42671 * sysdeps/i386/i586/memcpy.S: Likewise.
42672 * sysdeps/i386/i586/memset.S: Likewise.
42673 * sysdeps/i386/i686/memcpy.S: Likewise.
42674 * sysdeps/i386/i686/memmove.S: Likewise.
42675 * sysdeps/i386/i686/mempcpy.S: Likewise.
42676 * sysdeps/i386/i686/memset.S: Likewise.
42677 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42679 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42680 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42683 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42685 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42693 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
42694 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
42695 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
42696 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42697 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42698 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42699 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42700 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42701 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42703 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42704 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42705 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42706 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42710 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42713 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42714 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42715 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42716 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42717 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42718 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42721 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42722 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42723 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42724 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42725 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42727 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42728 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42729 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42730 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42731 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42732 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42733 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42734 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42735 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42736 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42737 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42738 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42739 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42740 * sysdeps/nptl/bits/libc-lock.h: Likewise.
42741 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42742 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42743 * sysdeps/posix/closedir.c: Likewise.
42744 * sysdeps/posix/opendir.c: Likewise.
42745 * sysdeps/posix/readdir.c: Likewise.
42746 * sysdeps/posix/rewinddir.c: Likewise.
42747 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42748 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42749 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42750 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42751 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42754 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42757 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42758 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42760 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42761 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42762 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42763 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42764 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42766 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42769 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42770 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42775 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42782 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42783 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42785 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42786 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42787 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42789 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42791 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42792 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42793 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42794 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42795 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42796 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42797 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42798 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42799 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42800 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42801 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42804 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42805 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42806 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42807 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42808 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42809 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42810 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42811 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42812 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42813 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42814 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42815 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42816 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42818 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42819 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42820 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42821 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42823 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42824 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42825 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42826 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42827 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42828 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42829 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42830 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42831 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42832 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42833 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42834 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42835 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42836 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42837 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42838 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42839 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42843 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42845 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42846 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42848 * sysdeps/unix/alpha/sysdep.S: Likewise.
42849 * sysdeps/unix/alpha/sysdep.h: Likewise.
42850 * sysdeps/unix/make-syscalls.sh: Likewise.
42851 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42853 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42854 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42856 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42857 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42858 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42859 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42860 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42861 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42862 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42864 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42865 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42866 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42867 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42868 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42869 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42870 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42871 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42872 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42873 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42874 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42875 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42876 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42877 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42880 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42881 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42885 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42889 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42890 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42892 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42894 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42895 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42901 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42902 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42903 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42904 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42906 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42907 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42909 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42910 * sysdeps/x86_64/memcpy.S: Likewise.
42911 * sysdeps/x86_64/memmove.c: Likewise.
42912 * sysdeps/x86_64/memset.S: Likewise.
42913 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42915 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42916 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42917 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42920 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42921 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42922 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42923 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42924 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42925 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42926 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42928 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42929 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42930 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42932 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42933 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42934 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42937 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42938 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42939 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42940 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42941 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42942 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42944 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42945 * sysdeps/x86_64/strcmp.S: Likewise.
42946
42947 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42948
42949 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42950 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42951 * elf/rtld-Rules: Likewise.
42952 * elf/setup-vdso.h: Likewise.
42953 * include/assert.h: Likewise.
42954 * include/bits/stdlib-float.h: Likewise.
42955 * include/errno.h: Likewise.
42956 * include/sys/stat.h: Likewise.
42957 * include/unistd.h: Likewise.
42958 * sysdeps/aarch64/setjmp.S: Likewise.
42959 * sysdeps/alpha/setjmp.S: Likewise.
42960 * sysdeps/arm/__longjmp.S: Likewise.
42961 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42962 * sysdeps/arm/setjmp.S: Likewise.
42963 * sysdeps/arm/sysdep.h: Likewise.
42964 * sysdeps/generic/_itoa.h: Likewise.
42965 * sysdeps/generic/dl-sysdep.h: Likewise.
42966 * sysdeps/generic/ldsodefs.h: Likewise.
42967 * sysdeps/i386/dl-tls.h: Likewise.
42968 * sysdeps/i386/setjmp.S: Likewise.
42969 * sysdeps/m68k/setjmp.c: Likewise.
42970 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42971 * sysdeps/mach/hurd/opendir.c: Likewise.
42972 * sysdeps/posix/getcwd.c: Likewise.
42973 * sysdeps/posix/opendir.c: Likewise.
42974 * sysdeps/posix/profil.c: Likewise.
42975 * sysdeps/powerpc/dl-procinfo.h: Likewise.
42976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42980 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42982 * sysdeps/s390/dl-tls.h: Likewise.
42983 * sysdeps/s390/s390-32/setjmp.S: Likewise.
42984 * sysdeps/s390/s390-64/setjmp.S: Likewise.
42985 * sysdeps/sh/sh3/setjmp.S: Likewise.
42986 * sysdeps/sh/sh4/setjmp.S: Likewise.
42987 * sysdeps/unix/alpha/sysdep.h: Likewise.
42988 * sysdeps/unix/arm/sysdep.S: Likewise.
42989 * sysdeps/unix/i386/sysdep.S: Likewise.
42990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42991 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42992 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42995 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42996 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42997 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42998 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42999 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43000 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43001 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43002 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43008 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43009 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43013 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43014 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43018 * sysdeps/x86_64/setjmp.S: Likewise.
43019
43020 * include/math.h: Use IS_IN instead of IS_IN_libm.
43021 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43033 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43041 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43042 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43043 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43044 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43045 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43046 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43048 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43049 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43050 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43052 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43053 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43055 Likewise.
43056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43057 Likewise.
43058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43059 Likewise.
43060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43061 Likewise.
43062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43063 Likewise.
43064 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43066 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43067 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43068 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43075 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43076 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43077 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43078 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43080 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43081 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43082 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43083 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43084 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43085 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43086 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43088 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43090 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43091
43092 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43093 * nptl/pthreadP.h: Likewise.
43094 * nptl_db/structs.def: Likewise.
43095 * sysdeps/arm/sysdep.h: Likewise.
43096 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43097 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43098 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43099 * sysdeps/unix/alpha/sysdep.h: Likewise.
43100 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43102 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43103 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43104 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43105 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43106 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43107 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43108 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43109 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43110 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43111 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43112 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43113 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43118 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43121 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43122 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43123 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43124 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43125 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43126
43127 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43128 * nptl/pthreadP.h: Likewise.
43129 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43130 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43131 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43132 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43133 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43134 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43135 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43137 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43138 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43140 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43142 Likewise.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43144 Likewise.
43145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43150 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43151 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43152 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43153
43154 * dlfcn/dladdr.c: Use IS_IN.
43155 * dlfcn/dladdr1.c: Likewise.
43156 * dlfcn/dlclose.c: Likewise.
43157 * dlfcn/dlerror.c: Likewise.
43158 * dlfcn/dlinfo.c: Likewise.
43159 * dlfcn/dlmopen.c: Likewise.
43160 * dlfcn/dlopen.c: Likewise.
43161 * dlfcn/dlsym.c: Likewise.
43162 * dlfcn/dlvsym.c: Likewise.
43163
43164 * include/ifaddrs.h: Use IS_IN.
43165 * inet/check_pf.c: Likewise.
43166 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43167 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43168
43169 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43170 IS_IN_ldconfig.
43171 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43172 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43173
43174 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43175 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43176 IS_IN (libc).
43177
43178 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43179
43180 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43181 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43182 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43183 * include/libc-symbols.h (IS_IN_LIB): New macro.
43184 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43185 * include/netdb.h: Likewise.
43186 * include/stap-probe.h: Remove all uses of IN_LIB.
43187
43188 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43189 instead of IN_MODULE.
43190 * include/libc-symbols.h (IN_MODULE): Define using
43191 MODULE_NAME.
43192 (PASTE_NAME, PASTE_NAME1): New macros.
43193 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43194 of IN_LIB.
43195 (STAP_PROBE_ASM): Likewise.
43196
43197 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43198
43199 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43200 __mach_init in dlopened libc.
43201
43202 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43203
43204 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43205 * sysdeps/arm/preconfigure: Regenerate.
43206
43207 2014-11-21 Roland McGrath <roland@hack.frob.com>
43208
43209 * nptl/pthread_create.c (__pthread_create_2_1): Set
43210 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43211 when copying values from IATTR into PD.
43212
43213 2014-11-21 Will Newton <will.newton@linaro.org>
43214 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43215
43216 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43217 Refactor inline-asm. Also add comment.
43218
43219 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43220 ElfW macro instead of hardcoded Elf64 types.
43221 (la_aarch64_gnu_pltenter): Likewise.
43222 * sysdeps/aarch64/dl-machine.h
43223 (elf_machine_runtime_setup): Use ElfW(Addr).
43224
43225 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43226 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43227 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43228 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43229 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43230 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43231 (R_AARCH64_TLS_DTPMOD): This.
43232 (R_AARCH64_TLS_DTPREL64): Rename to ...
43233 (R_AARCH64_TLS_DTPREL): This.
43234 (R_AARCH64_TLS_TPREL64): Rename to ...
43235 (R_AARCH64_TLS_TPREL): This.
43236 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43237 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43238 R_AARCH64_TLS_TPREL64.
43239 (elf_machine_rela): Likewise.
43240
43241 2014-11-21 Torvald Riegel <triegel@redhat.com>
43242
43243 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43244 by setting it to 0. 64b atomics are not supported currently.
43245
43246 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43247
43248 [BZ #16469]
43249 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43250 search domain names.
43251
43252 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43253
43254 [BZ #16469]
43255 * NEWS: Update.
43256 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43257 trailing dot.
43258 * posix/tst-getaddrinfo5.c: New.
43259 * posix/Makefile (tests): Add it.
43260
43261 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43262
43263 [BZ #14498]
43264 * NEWS: Fixed.
43265 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43266 after parsing line but before break_if_match.
43267 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43268 if there is a protocol mismatch.
43269
43270 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43271
43272 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43273 because the potential race is on the user-supplied stream.
43274
43275 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43276
43277 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43278 string literal if not passed a buffer.
43279 * manual/job.texi (ctermid): Update reasoning, note deviation
43280 from posix, suggest mtasurace when not passed a buffer, for
43281 future non-preliminary safety notes.
43282
43283 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43284
43285 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43286 of not passing it a buffer.
43287 Reported by Peng Haitao.
43288
43289 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43290
43291 * manual/Makefile ($(objpfx)stamp-summary): Require
43292 check-safety.sh to pass.
43293 * manual/check-safety.sh: Wish for verification that every
43294 @deftypefn and @deftypefun is followed by a @safety remark.
43295
43296 2014-11-20 Roland McGrath <roland@hack.frob.com>
43297
43298 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43299
43300 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43301 PTHREAD_CANCEL_ASYNCHRONOUS.
43302 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43303 send SIGCANCEL.
43304
43305 * nptl/default-sched.h: New file.
43306 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43307 * nptl/pthread_create.c: Include it.
43308 (__pthread_create_2_1): Use collect_default_sched instead of making
43309 Linux syscalls here directly.
43310
43311 2014-11-20 Torvald Riegel <triegel@redhat.com>
43312
43313 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43314 __pthread_once): Use C11 atomics.
43315
43316 2014-11-20 Torvald Riegel <triegel@redhat.com>
43317
43318 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43319
43320 2014-11-20 Torvald Riegel <triegel@redhat.com>
43321
43322 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43323 atomic_thread_fence_acquire, atomic_thread_fence_release,
43324 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43325 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43326 atomic_compare_exchange_weak_relaxed,
43327 atomic_compare_exchange_weak_acquire,
43328 atomic_compare_exchange_weak_release,
43329 atomic_exchange_acquire, atomic_exchange_release,
43330 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43331 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43332 atomic_fetch_and_acquire,
43333 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43334
43335 2014-11-20 Torvald Riegel <triegel@redhat.com>
43336
43337 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43338 USE_ATOMIC_COMPILER_BUILTINS): Define.
43339 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43340 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43341 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43342 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43343 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43344 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43345 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43346 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43347 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43348 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43349 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43350 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43351 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43352 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43353 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43354 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43355 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43356 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43357 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43358 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43359 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43360 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43361 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43362 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43363 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43364 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43365 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43366 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43367 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43368 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43369 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43370 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43371 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43372 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43373 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43374 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43376 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43377 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43378 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43379
43380 2014-11-19 Roland McGrath <roland@hack.frob.com>
43381
43382 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43383 the sched_priority value here. It was already checked when the user
43384 called pthread_attr_setschedparam.
43385
43386 * nptl/tst-bad-schedattr.c: New file.
43387 * nptl/Makefile (tests): Add it.
43388
43389 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43390 Florian Weimer <fweimer@redhat.com>
43391 Joseph Myers <joseph@codesourcery.com>
43392 Adam Conrad <adconrad@0c3.net>
43393 Andreas Schwab <schwab@suse.de>
43394 Brooks <bmoses@google.com>
43395
43396 [BZ #17625]
43397 * wordexp-test.c (__dso_handle): Add prototype.
43398 (__register_atfork): Likewise.
43399 (__app_register_atfork): New function.
43400 (registered_forks): New global.
43401 (register_fork): New function.
43402 (test_case): Add 3 new tests for WRDE_CMDSUB.
43403 (main): Call __app_register_atfork.
43404 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43405 fork count is non-zero fail the test.
43406 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43407 is set.
43408 (parse_dollars): Remove check for WRDE_NOCMD.
43409 (parse_dquote): Likewise.
43410
43411 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43412
43413 * Makeconfig (built-modules): List non-library modules to be
43414 built.
43415 (module-cppflags): Include libc-modules.h for
43416 everything except shlib-versions.v.i.
43417 (CPPFLAGS): Use it.
43418 (before-compile): Add libc-modules.h.
43419 ($(common-objpfx)libc-modules.h,
43420 $(common-objpfx)libc-modules.stmp): New targets.
43421 (common-generated): Add libc-modules.h and libc-modules.stmp.
43422 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43423 * include/libc-symbols.h: Don't include libc-modules.h.
43424 * include/libc-modules.h: Remove file.
43425 * scripts/gen-libc-modules.awk: New script to generate
43426 libc-modules.h.
43427 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43428 Depend on libc-modules.stmp.
43429
43430 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43431
43432 * Makeconfig (in-module): Get value of libof set for the
43433 translation unit.
43434 (CPPFLAGS): Use $(in-module).
43435 * Makerules: Don't suffix routine names for nonlib.
43436 * include/libc-modules.h: New file.
43437 * include/libc-symbols.h: Include libc-modules.h
43438 (IS_IN): New macro to replace IS_IN_* macros.
43439 * elf/Makefile: Set libof-* for each routine.
43440 * elf/rtld-Rules: Likewise.
43441 * extra-modules.mk: Likewise.
43442 * iconv/Makefile: Likewise.
43443 * iconvdata/Makefile: Likewise.
43444 * locale/Makefile: Likewise.
43445 * malloc/Makefile: Likewise.
43446 * nss/Makefile: Likewise.
43447 * sysdeps/gnu/Makefile: Likewise.
43448 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43449 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43450 * sysdeps/s390/s390-64/Makefile: Likewise.
43451 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43452 CPPFLAGS for nscd instead of nonlib.
43453
43454 2014-11-18 Roland McGrath <roland@hack.frob.com>
43455
43456 * nptl/createthread.c: New file.
43457
43458 * nptl/createthread.c: Moved ...
43459 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43460
43461 * nptl/createthread.c: Add proper top-line comment.
43462 (do_clone): Folded into ...
43463 (create_thread): ... here. Take new arguments STOPPED_START and
43464 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43465 increment __nptl_threads, do event-reporting logic, do
43466 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43467 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43468 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43469 just send SIGCANCEL.
43470 * nptl/pthread_create.c: Forward-declare create_thread before
43471 including createthread.c.
43472 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43473 declaration, and new macro START_THREAD_SELF to replace argument.
43474 Remove return statement.
43475 (report_thread_creation): New function.
43476 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43477 synchronization logic, and __nptl_nthreads increment here, around
43478 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43479 PD->parent_cancelhandling here, before create_thread. When
43480 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43481 __deallocate_stack, and ENOMEM translation here.
43482
43483 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43484
43485 [BZ #17616]
43486 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43487 (mptwo): Rename to __mptwo.
43488 (__inv): Use __mptwo instead of mptwo.
43489 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43490 (mptwo): Rename to __mptwo.
43491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43492 of mpone and __mptwo instead of mptwo.
43493 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43494 instead of mpone.
43495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43496 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43497 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43498 of mpone and __mptwo instead of mptwo.
43499 (__mpranred): Use __mpone instead of mpone.
43500 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43501 variable.
43502 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43503 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43504 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43505 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43506 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43507 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43508 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43509 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43510 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43511 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43512 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43513 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43514 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43515 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43516 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43517 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43518 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43519 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43520 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43521
43522 2014-11-18 Tom de Vries <tom@codesoucery.com>
43523
43524 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43525 replace BSD Handler xref with BSD Signal Handling.
43526
43527 2014-11-17 Richard Henderson <rth@redhat.com>
43528
43529 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43530 (_FP_PACK_RAW_2): Remove.
43531 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43532 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43533 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43534 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43535 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43536 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43537 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43538 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43539 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43540 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43541 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43542 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43543 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43544 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43545 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43546 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43547
43548 2014-11-14 Roland McGrath <roland@hack.frob.com>
43549
43550 * signal/signal.h [__USE_MISC]
43551 (struct sigvec): Remove type.
43552 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43553 (sigvec): Remove declaration.
43554 * sysdeps/posix/sigvec.c: Moved ...
43555 * signal/sigvec.c: ... here, replacing old file.
43556 (struct sigvec): New type, copied from old signal.h definition.
43557 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43558 (__sigvec): Convert definition to prototype.
43559 (sigvec): Replace weak_alias with compat_symbol.
43560 * signal/Versions (libc: GLIBC_2.21): New version set.
43561 * include/signal.h: Remove __sigvec declaration.
43562 * sysdeps/unix/bsd/sigvec.c: Remove file.
43563 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43564 * manual/signal.texi (BSD Handler): Remove subsection.
43565 Move siginterrupt up to ...
43566 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
43567 (Blocking in BSD): Fold subsection into its parent.
43568 * NEWS: Mention sigvec removal.
43569
43570 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43571
43572 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43573 (DLA_FMS): Make definition conditional only on [__FMA4__].
43574 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43575 definition.
43576
43577 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43578 Make definition conditional only on [PROF].
43579 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43580 definition.
43581 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43582 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43583
43584 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43585 !__GNUC__].
43586 * include/signal.h (__sigpause): Move declaration above call to
43587 libc_hidden_proto.
43588 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43589 variable.
43590 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43591 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43592
43593 2014-11-14 David S. Miller <davem@davemloft.net>
43594
43595 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43596 Define before including <string/memcpy.c> and <string/mempcpy.c>.
43597
43598 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43599
43600 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43601 * configure: Regenerated.
43602 * manual/install.texi (Tools for Compilation): Document a
43603 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43604 compiler verified to work.
43605 * INSTALL: Regenerated.
43606
43607 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43608 redeclare with asm name.
43609 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43610 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43611 including <string.h>.
43612 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43613 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43614 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43615 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43616 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43617 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43618 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43619
43620 2014-11-13 Joseph Myers <joseph@codesourcery.com>
43621
43622 * stdlib/strtol.c (__strtol): Use prototype definition.
43623
43624 [BZ #17594]
43625 * stdlib/strtol.c (SYM__): New macro.
43626 (SYM__1): Likewise.
43627 (__strtol): Likewise.
43628 (strtol): Rename to __strtol and define as weak alias of
43629 __strtol. Use libc_hidden_weak.
43630
43631 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43632
43633 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43634 Use numbered labels in inline assembly.
43635
43636 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43637
43638 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43639 Add setjmp LIBC_PROBE.
43640 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43641 Likewise.
43642 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43643 Add longjmp, longjmp_target LIBC_PROBE.
43644 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43645 Likewise.
43646
43647 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43648
43649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43650 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43651 to get rid of unused variable warning.
43652
43653 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43654
43655 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43656 Check for unwind_backtrace == NULL only in SHARED case.
43657 (__backchain_backtrace): Compile only in SHARED case.
43658 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43659 Likewise.
43660 (__backchain_backtrace): Declare as static.
43661
43662 2014-11-12 Roland McGrath <roland@hack.frob.com>
43663
43664 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43665 (__libc_multiple_threads_ptr): Variable moved ...
43666 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43667
43668 2014-11-12 Joseph Myers <joseph@codesourcery.com>
43669
43670 * conform/GlibcConform.pm: New file.
43671 * conform/conformtest.pl: Use GlibcConform module.
43672 * conform/linknamespace.pl: New file.
43673 * conform/list-header-symbols.pl: Likewise.
43674 * conform/Makefile (linknamespace-symlists-base): New variable.
43675 (linknamespace-symlists-tests): Likewise.
43676 (linknamespace-header-base): Likewise.
43677 (linknamespace-header-tests): Likewise.
43678 (tests-special): Add new tests.
43679 ($(linknamespace-symlists-tests)): New rule.
43680 (linknamespace-libs): New variable.
43681 ($(objpfx)symlist-stdlibs): New rule.
43682 ($(linknamespace-header-tests)): Likewise.
43683 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43684 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43685 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43686 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43687 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43688 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43689 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
43690 (test-xfail-ISO/math.h/linknamespace): Likewise.
43691 (test-xfail-ISO/signal.h/linknamespace): Likewise.
43692 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
43693 (test-xfail-ISO/time.h/linknamespace): Likewise.
43694 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43695 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
43696 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43697 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43698 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43699 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43700 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43701 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43702 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43703 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43704 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43705 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43706 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43707 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43708 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43709 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43710 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43711 (test-xfail-XPG3/search.h/linknamespace): Likewise.
43712 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43713 (test-xfail-XPG3/time.h/linknamespace): Likewise.
43714 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43715 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43716 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43717 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43718 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43719 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43720 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43721 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43722 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43723 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43724 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43725 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43726 (test-xfail-XPG4/search.h/linknamespace): Likewise.
43727 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43728 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43729 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43730 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43731 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43732 (test-xfail-XPG4/time.h/linknamespace): Likewise.
43733 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43734 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43735 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43736 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43737 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43738 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43739 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43740 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43741 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43742 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43743 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43744 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43745 (test-xfail-POSIX/time.h/linknamespace): Likewise.
43746 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43747 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43748 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43749 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43750 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43751 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43752 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43753 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43754 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43755 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43756 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43757 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43758 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43759 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43760 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43761 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43762 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43763 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43764 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43765 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43766 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43767 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43768 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43769 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43770 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43771 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43772 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43773 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43774 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43775 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43776 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43777 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43778 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43779 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43780 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43781 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43782 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43783 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43784 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43785 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43786 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43787 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43788 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43789 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43790 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43791 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43792 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43793 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43794 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43795 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43796 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43797 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43798 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43799 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43800 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43801 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43802 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43803 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43804 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43805 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43806 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43807 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43808 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43809 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43810 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43811 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43812 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43813 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43814 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43815 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43816 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43817 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43818 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43819 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43820 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43821 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43822 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43823 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43824 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43825 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43826 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43827 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43828 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43829 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43830 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43831 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43832 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43833 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43834 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43835 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43836 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43837 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43838 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43839 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43840 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43841 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43842 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43843 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43844
43845 [BZ #17589]
43846 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43847 of fgets_unlocked.
43848
43849 [BZ #17585]
43850 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43851 (memmem): Rename to __memmem and define as weak alias of
43852 __memmem. Use libc_hidden_weak.
43853 (__memmem): Use libc_hidden_def.
43854 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
43855 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43856 memmem.
43857
43858 [BZ #17582]
43859 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43860 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
43861 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43862 and define as weak alias of __fgets_unlocked. Use
43863 libc_hidden_weak.
43864 (__fgets_unlocked): Use libc_hidden_def.
43865 * include/stdio.h (__fgets_unlocked): Declare. Use
43866 libc_hidden_proto.
43867 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43868 __fgets_unlocked instead of fgets_unlocked.
43869 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43870 (GET_NPROCS_CONF_PARSER): Likewise.
43871 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43872 (GET_NPROCS_CONF_PARSER): Likewise.
43873
43874 [BZ #17574]
43875 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43876 weak alias of __wmemset. Use libc_hidden_weak.
43877 (__wmemset): Use libc_hidden_def.
43878 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
43879 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43880 of wmemset.
43881
43882 [BZ #17573]
43883 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43884 with asm name __mempcpy.
43885 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43886
43887 [BZ #17572]
43888 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43889 and define as weak alias of __rawmemchr.
43890 (__rawmemchr): Do not define as strong alias of rawmemchr.
43891
43892 [BZ #17571]
43893 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43894 alias of __qsort_r.
43895 (qsort): Call __qsort_r instead of qsort_r.
43896 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43897 (__qsort_r): Declare. Call libc_hidden_proto.
43898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43899 instead of qsort_r.
43900 * nscd/gai.c (__qsort_r): Define to qsort_r.
43901 * posix/tst-rfc3484.c (__qsort_r): Likewise.
43902 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43903 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43904
43905 [BZ #17570]
43906 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43907 define as weak alias of __malloc_info.
43908
43909 [BZ #17584]
43910 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43911 as weak alias of __rewinddir. Don't use libc_hidden_def.
43912 (__rewinddir): Use libc_hidden_def.
43913 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43914 as weak alias of __rewinddir. Don't use libc_hidden_def.
43915 (__rewinddir): Use libc_hidden_def.
43916 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43917 weak alias of __rewinddir. Don't use libc_hidden_def.
43918 (__rewinddir): Use libc_hidden_def.
43919 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43920 (__rewinddir): Use libc_hidden_proto.
43921 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43922 rewinddir.
43923 (__getcwd): Use __rewinddir instead of rewinddir.
43924
43925 [BZ #17583]
43926 * libio/fileno.c (fileno): Rename to __fileno and define as weak
43927 alias of __fileno. Use libc_hidden_weak.
43928 (__fileno): Use libc_hidden_def.
43929 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43930 * libio/ftello.c (ftello): Rename to __ftello and define as weak
43931 alias of __ftello.
43932 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43933 __ftello.
43934 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43935 (__fread_unlocked): Define as strong alias of _IO_fread. Use
43936 libc_hidden_def.
43937 (fread_unlocked): Don't use libc_hidden_ver.
43938 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43939 and define as weak alias of __fread_unlocked. Don't use
43940 libc_hidden_def.
43941 (__fread_unlocked): Use libc_hidden_def.
43942 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
43943 (ftello): Don't use libc_hidden_proto.
43944 (__ftello): Declare. Use libc_hidden_proto.
43945 (fread_unlocked): Don't use libc_hidden_proto.
43946 (__fread_unlocked): Declare. Use libc_hidden_proto.
43947 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43948 and __ftello instead of fileno, fread_unlocked and ftello.
43949
43950 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43951
43952 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43953 GOT12.
43954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43955 Likewise.
43956 (_dl_start_user): Likewise.
43957 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43958
43959 2014-11-12 Carlos O'Donell <carlos@redhat.com>
43960 Siddhesh Poyarekar <siddhesh@redhat.com>
43961
43962 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43963 Move argv and envp down instead of moving argc up.
43964 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43965
43966 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
43967
43968 [BZ #17506]
43969 * test-skeleton.c (main): Return successful if one of
43970 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43971 * string/tst-strcoll-overflow.c: Define expected status.
43972
43973 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
43974
43975 [BZ #17475]
43976 * locale/iso-639.def: Define Bhili and Tulu language codes.
43977
43978 2014-11-11 Alan Hayward <alan.hayward@arm.com>
43979
43980 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43981
43982 2014-11-10 Renlin Li <Renlin.Li@arm.com>
43983
43984 [BZ #17555]
43985 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43986
43987 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
43988
43989 * configure.ac: Updated check of minimal required version to
43990 2.22.
43991 * manual/install.texi (Tools for Compilation): Updated version
43992 number.
43993 * configure: Regenerated.
43994 * INSTALL: Likewise.
43995
43996 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
43997
43998 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43999 __tls_get_addr.
44000
44001 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44002
44003 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44004 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44005 (__waitpid): Don't define as alias. Use libc_hidden_def not
44006 libc_hidden_weak.
44007 (waitpid): Define as alias of __waitpid.
44008 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44009 __waitpid.
44010 (__waitpid): Don't define as alias. Use libc_hidden_def not
44011 libc_hidden_weak.
44012 (waitpid): Define as alias of __waitpid.
44013 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44014 __libc_waitpid alias.
44015 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44016 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44017 Likewise.
44018 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44019 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44020 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44021 alias.
44022 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44023 __waitpid.
44024 (__waitpid): Don't define as alias. Use libc_hidden_def not
44025 libc_hidden_weak.
44026 (waitpid): Define as alias of __waitpid.
44027
44028 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44029
44030 * manual/llio.texi: Add comment that write safety has been
44031 fixed in Linux.
44032
44033 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44034 (localplt-build-dso): Add elf/ld.so.
44035 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44036 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44037 and free for ld.so.
44038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44039 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44041 Likewise.
44042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44043 Likewise.
44044 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44045 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44046 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44047 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44048 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44049 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44050 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44051 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44052 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44053 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44055
44056 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44057
44058 [BZ #14132]
44059 * include/libc-symbols.h (INTUSE): Remove macro.
44060 (INTDEF): Likewise.
44061 (INTVARDEF): Likewise.
44062 (_INTVARDEF): Likewise.
44063 (INTDEF2): Likewise.
44064 (INTVARDEF2): Likewise.
44065 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44066 rtld_hidden_def instead of INTVARDEF.
44067 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44068 (_dl_starting_up_internal): Remove declaration.
44069 (_dl_starting_up): Use rtld_hidden_proto.
44070 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44071 declaration.
44072 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44073 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44074 _dl_starting_up.
44075 * elf/dl-writev.h (_dl_writev): Likewise.
44076 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44077 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44078 _dl_starting_up_internal.
44079
44080 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44081
44082 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44083 test-skeleton.c.
44084
44085 2014-11-05 Will Newton <will.newton@linaro.org>
44086
44087 * benchtests/Makefile: (bench-malloc): Add malloc thread
44088 scalability benchmark.
44089 * benchtests/bench-malloc-threads.c: New file.
44090
44091 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44092
44093 * sysdeps/aarch64/strchrnul.S: New file.
44094
44095 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44096
44097 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44098 definition.
44099 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44100 Likewise.
44101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44102 Likewise.
44103 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44104 Likewise.
44105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44106 Likewise.
44107 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44108 Likewise.
44109
44110 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44111
44112 * catgets/test-gencat.c: Use test-skeleton.c.
44113 * catgets/tst-catgets.c: Likewise.
44114 * csu/tst-empty.c: Likewise.
44115 * elf/tst-audit2.c: Likewise.
44116 * elf/tst-global1.c: Likewise.
44117 * elf/tst-pathopt.c: Likewise.
44118 * elf/tst-piemod1.c: Likewise.
44119 * elf/tst-tls10.c: Likewise.
44120 * elf/tst-tls11.c: Likewise.
44121 * elf/tst-tls12.c: Likewise.
44122 * gnulib/tst-gcc.c: Likewise.
44123 * iconvdata/tst-e2big.c: Likewise.
44124 * iconvdata/tst-loading.c: Likewise.
44125 * iconv/tst-iconv1.c: Likewise.
44126 * iconv/tst-iconv2.c: Likewise.
44127 * inet/test-inet6_opt.c: Likewise.
44128 * inet/tst-gethnm.c: Likewise.
44129 * inet/tst-network.c: Likewise.
44130 * inet/tst-ntoa.c: Likewise.
44131 * intl/tst-codeset.c: Likewise.
44132 * intl/tst-gettext2.c: Likewise.
44133 * intl/tst-gettext3.c: Likewise.
44134 * intl/tst-ngettext.c: Likewise.
44135 * intl/tst-translit.c: Likewise.
44136 * io/test-stat.c: Likewise.
44137 * libio/test-fmemopen.c: Likewise.
44138 * libio/tst-freopen.c: Likewise.
44139 * libio/tst-sscanf.c: Likewise.
44140 * libio/tst-ungetwc1.c: Likewise.
44141 * libio/tst-ungetwc2.c: Likewise.
44142 * libio/tst-widetext.c: Likewise.
44143 * localedata/tst-ctype.c: Likewise.
44144 * localedata/tst-digits.c: Likewise.
44145 * localedata/tst-leaks.c: Likewise.
44146 * localedata/tst-mbswcs1.c: Likewise.
44147 * localedata/tst-mbswcs2.c: Likewise.
44148 * localedata/tst-mbswcs3.c: Likewise.
44149 * localedata/tst-mbswcs4.c: Likewise.
44150 * localedata/tst-mbswcs5.c: Likewise.
44151 * localedata/tst-setlocale.c: Likewise.
44152 * localedata/tst-trans.c: Likewise.
44153 * localedata/tst-wctype.c: Likewise.
44154 * localedata/tst-xlocale1.c: Likewise.
44155 * login/tst-grantpt.c: Likewise.
44156 * malloc/tst-calloc.c: Likewise.
44157 * malloc/tst-malloc.c: Likewise.
44158 * malloc/tst-mallocstate.c: Likewise.
44159 * malloc/tst-mcheck.c: Likewise.
44160 * malloc/tst-mtrace.c: Likewise.
44161 * malloc/tst-obstack.c: Likewise.
44162 * math/atest-exp2.c: Likewise.
44163 * math/atest-exp.c: Likewise.
44164 * math/atest-sincos.c: Likewise.
44165 * math/test-matherr.c: Likewise.
44166 * math/test-misc.c: Likewise.
44167 * math/test-powl.c: Likewise.
44168 * math/tst-definitions.c: Likewise.
44169 * misc/tst-dirname.c: Likewise.
44170 * misc/tst-efgcvt.c: Likewise.
44171 * misc/tst-fdset.c: Likewise.
44172 * misc/tst-hsearch.c: Likewise.
44173 * misc/tst-mntent2.c: Likewise.
44174 * nptl/tst-sem7.c: Likewise.
44175 * nptl/tst-sem8.c: Likewise.
44176 * nptl/tst-sem9.c: Likewise.
44177 * nss/test-netdb.c: Likewise.
44178 * posix/tst-fnmatch.c: Likewise.
44179 * posix/tst-getlogin.c: Likewise.
44180 * posix/tst-gnuglob.c: Likewise.
44181 * posix/tst-mmap.c: Likewise.
44182 * pwd/tst-getpw.c: Likewise.
44183 * resolv/tst-inet_ntop.c: Likewise.
44184 * rt/tst-timer.c: Likewise.
44185 * stdio-common/test-fseek.c: Likewise.
44186 * stdio-common/test-popen.c: Likewise.
44187 * stdio-common/test-vfprintf.c: Likewise.
44188 * stdio-common/tst-cookie.c: Likewise.
44189 * stdio-common/tst-fileno.c: Likewise.
44190 * stdio-common/tst-gets.c: Likewise.
44191 * stdio-common/tst-obprintf.c: Likewise.
44192 * stdio-common/tst-perror.c: Likewise.
44193 * stdio-common/tst-sprintf2.c: Likewise.
44194 * stdio-common/tst-sprintf3.c: Likewise.
44195 * stdio-common/tst-sprintf.c: Likewise.
44196 * stdio-common/tst-swprintf.c: Likewise.
44197 * stdio-common/tst-tmpnam.c: Likewise.
44198 * stdio-common/tst-unbputc.c: Likewise.
44199 * stdio-common/tst-wc-printf.c: Likewise.
44200 * stdlib/tst-environ.c: Likewise.
44201 * stdlib/tst-fmtmsg.c: Likewise.
44202 * stdlib/tst-limits.c: Likewise.
44203 * stdlib/tst-rand48-2.c: Likewise.
44204 * stdlib/tst-rand48.c: Likewise.
44205 * stdlib/tst-random2.c: Likewise.
44206 * stdlib/tst-random.c: Likewise.
44207 * stdlib/tst-strtol.c: Likewise.
44208 * stdlib/tst-strtoll.c: Likewise.
44209 * stdlib/tst-tls-atexit.c: Likewise.
44210 * stdlib/tst-xpg-basename.c: Likewise.
44211 * string/test-ffs.c: Likewise.
44212 * string/tst-bswap.c: Likewise.
44213 * string/tst-inlcall.c: Likewise.
44214 * string/tst-strtok.c: Likewise.
44215 * string/tst-strxfrm.c: Likewise.
44216 * sysdeps/x86_64/tst-audit10.c: Likewise.
44217 * sysdeps/x86_64/tst-audit3.c: Likewise.
44218 * sysdeps/x86_64/tst-audit4.c: Likewise.
44219 * sysdeps/x86_64/tst-audit5.c: Likewise.
44220 * time/tst-ftime_l.c: Likewise.
44221 * time/tst-getdate.c: Likewise.
44222 * time/tst-mktime3.c: Likewise.
44223 * time/tst-mktime.c: Likewise.
44224 * time/tst-posixtz.c: Likewise.
44225 * time/tst-strptime2.c: Likewise.
44226 * time/tst-strptime3.c: Likewise.
44227 * wcsmbs/tst-btowc.c: Likewise.
44228 * wcsmbs/tst-mbrtowc.c: Likewise.
44229 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44230 * wcsmbs/tst-wchar-h.c: Likewise.
44231 * wcsmbs/tst-wcpncpy.c: Likewise.
44232 * wcsmbs/tst-wcrtomb.c: Likewise.
44233 * wcsmbs/tst-wcsnlen.c: Likewise.
44234 * wcsmbs/tst-wcstof.c: Likewise.
44235
44236 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44237
44238 [BZ #14132]
44239 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44240 INTDEF.
44241 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44242 declaration.
44243 (_dl_mcount): Use rtld_hidden_proto.
44244 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44245 _dl_mcount.
44246 * elf/rtld.c (_rtld_global_ro): Likewise.
44247
44248 [BZ #14132]
44249 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44250 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44251 of _dl_init_internal.
44252 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44253 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44254 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44255 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44256 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44257 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44258 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44259 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44260 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44261 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44262 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44263 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44264 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44265 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44266 * sysdeps/tile/dl-start.S (_start): Likewise.
44267 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44268 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44269
44270 [BZ #14132]
44271 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44272 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44273 (rtld_progname): Make macro definition unconditional.
44274 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44275 INTDEF.
44276 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44277 (dl_main): Likewise.
44278 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44279 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44280 instead of _dl_argv_internal.
44281 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44282 __GI__dl_argv instead of INTUSE(_dl_argv).
44283 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44284 __GI__dl_argv instead of _dl_argv_internal.
44285
44286 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44287 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44288 macro.
44289 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44290 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44291 New macro.
44292 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44293 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44294 macro.
44295 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44296 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44297
44298 2014-11-04 Andreas Schwab <schwab@suse.de>
44299
44300 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44301
44302 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44303
44304 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44305 mtvsrd instruction in binary form.
44306
44307 2014-11-03 Andreas Schwab <schwab@suse.de>
44308
44309 [BZ #17522]
44310 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44311 for less than MB_LEN_MAX use a local buffer of that size.
44312 * libio/tst-fputws.c: New file.
44313 * libio/Makefile (tests): Add tst-fputws.
44314
44315 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44316
44317 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44318 the size of the fpu_fr.fpu_dregs[] array.
44319
44320 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44321
44322 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44323 (__nanosleep): Do not define as alias.
44324 (nanosleep): Define as alias of __nanosleep.
44325 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44326 __libc_nanosleep name.
44327
44328 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44329
44330 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44331 install.texi in comment.
44332
44333 2014-10-31 Torvald Riegel <triegel@redhat.com>
44334
44335 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44336 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44337 ... add here and use lwsync or sync ...
44338 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44339 ... and add here using lwsync.
44340
44341 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44342
44343 * elf/dl-machine-reject-phdr.h: New file.
44344 * elf/dl-load.c: #include that.
44345 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44346 if that returned true.
44347
44348 2014-10-31 Roland McGrath <roland@hack.frob.com>
44349
44350 [BZ #17496]
44351 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44352 gen-as-const-headers chunk. Add a big scare comment after the last
44353 safe place to touch before-compile.
44354
44355 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44356
44357 * manual/install.texi (Tools for Compilation): Update autoconf
44358 version requirements.
44359 * INSTALL: Regenerated.
44360
44361 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44362 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44363 (__libc_pselect): Likewise.
44364
44365 [BZ #14138]
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44370
44371 2014-10-31 Torvald Riegel <triegel@redhat.com>
44372
44373 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44374 correct barrier instruction.
44375 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44376 Likewise.
44377 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44378 Likewise.
44379
44380 2014-10-30 Roland McGrath <roland@hack.frob.com>
44381
44382 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44383 after defining inlines. Instead, just use parens to defeat macro
44384 expansion of __isctype in its declaration.
44385
44386 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44387
44388 * include/sys/uio.h (__libc_readv): Remove declaration.
44389 (__libc_writev): Likewise.
44390 * misc/readv.c (__libc_readv): Rename to __readv.
44391 (__readv): Do not define as alias.
44392 (readv): Define as alias of __readv.
44393 * misc/writev.c (__libc_writev): Rename to __writev.
44394 (__writev): Do not define as alias.
44395 (writev): Define as alias of __writev.
44396 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44397 (__readv): Do not define as alias.
44398 (readv): Define unconditionally as alias of __readv.
44399 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44400 (__writev): Do not define as alias.
44401 (writev): Define unconditionally as alias of __writev.
44402 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44403 name.
44404 (writev): Do not define __libc_writev name.
44405
44406 2014-10-30 Roland McGrath <roland@hack.frob.com>
44407
44408 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44409 (convert_charseq): New function, broken out of ...
44410 (use_from_charmap): ... here. Call it.
44411 (use_to_charmap): Use convert_charseq and free instead of duplicating
44412 its code with a variable-length stack struct.
44413
44414 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44415
44416 * include/fcntl.h (__libc_creat): Remove declaration.
44417 * io/creat.c (__libc_creat): Rename to creat.
44418 (creat): Do not define as alias.
44419 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44420 of creat instead of __libc_creat.
44421 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44422 to creat.
44423 (creat): Do not define as alias.
44424 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44425 __libc_creat.
44426 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44427 __libc_creat name.
44428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44429 Likewise.
44430
44431 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44432
44433 * manual/llio.texi: Add comments discussing why write() may be
44434 considered MT-unsafe on Linux.
44435
44436 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44437
44438 * dl-load.c (local_strdup): Remove.
44439 (expand_dynamic_string_token): Use __strdup.
44440 (decompose_rpath): Likewise.
44441 (_dl_map_object): Likewise.
44442
44443 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44444
44445 [BZ #14132]
44446 * sysdeps/generic/unwind-dw2-fde.c
44447 (__register_frame_info_bases_internal): Do not declare.
44448 (__register_frame_info_table_bases_internal): Likewise.
44449 (__deregister_frame_info_bases_internal): Likewise.
44450 (__register_frame_info_bases): Declare and use hidden_proto before
44451 definition. Use hidden_def instead of INTDEF.
44452 (__register_frame_info_table_bases): Likewise.
44453 (__deregister_frame_info_bases): Likewise.
44454 (__register_frame_info): Do not use INTUSE.
44455 (__register_frame): Likewise.
44456 (__register_frame_info_table): Likewise.
44457 (__register_frame_table): Likewise.
44458 (__deregister_frame_info): Likewise.
44459 (__deregister_frame): Likewise.
44460
44461 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44462
44463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44464 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44465 not undefine.
44466 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44467 Likewise.
44468 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44469 Likewise.
44470
44471 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44472
44473 [BZ #14138]
44474 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44475 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44476 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44477 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44478 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44479 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44480 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44481 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44482 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44483 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44484 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44485 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44486 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44487 syscall.
44488 (setfsuid): Likewise.
44489 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44490 (setfsuid): Likewise.
44491 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44492 (setfsuid): Likewise.
44493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44494 Likewise.
44495 (setfsuid): Likewise.
44496 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44497 (setfsuid): Likewise.
44498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44499 Likewise.
44500 (setfsuid): Likewise.
44501
44502 2014-10-27 Andreas Schwab <schwab@suse.de>
44503
44504 [BZ #17501]
44505 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44506 check for Slow_SSE4_2 feature bit.
44507 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44508 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44509 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44510 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44511
44512 2014-10-24 Roland McGrath <roland@hack.frob.com>
44513
44514 * configure.ac: Validate compiler version with a empirical test of
44515 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44516 $CC -v output.
44517 * configure: Regenerated.
44518
44519 * inet/htons.c (htons): Prototypify.
44520 * inet/htonl.c (htonl): Likewise.
44521
44522 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44523
44524 * string/strncat.c (strncat): Improve performance by using strlen.
44525
44526 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44527
44528 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44529
44530 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44531
44532 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44533 Call libc_fetestexcept_aarch64.
44534
44535 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44536
44537 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44538 Call libc_feholdexcept_aarch64.
44539
44540 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44541
44542 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44543 Call get_rounding_mode.
44544
44545 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44546
44547 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44548 Simplify logic.
44549
44550 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44551
44552 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44553 Simplify logic.
44554
44555 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44556
44557 [BZ #14138]
44558 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44559 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44560 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44561 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44562 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44563 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44564 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44565 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44566 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44567 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44568 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44571 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44572 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44573 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44574 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44575 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44576 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44577 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44578 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44579 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44580 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44581 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44582 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44583 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44584 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44585 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44586 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44587 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44588 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44589 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44590 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44591 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44592 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44593 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44594 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44595 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44596 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44597 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44598 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44599 syscall.
44600 (geteuid): Likewise.
44601 (getgid): Likewise.
44602 (getuid): Likewise.
44603 (getresgid): Likewise.
44604 (getresuid): Likewise.
44605 (getgroups): Likewise.
44606 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44607 (geteuid): Likewise.
44608 (getgid): Likewise.
44609 (getuid): Likewise.
44610 (getresgid): Likewise.
44611 (getresuid): Likewise.
44612 (getgroups): Likewise.
44613 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44614 (geteuid): Likewise.
44615 (getgid): Likewise.
44616 (getuid): Likewise.
44617 (getresgid): Likewise.
44618 (getresuid): Likewise.
44619 (getgroups): Likewise.
44620 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44621 Likewise.
44622 (geteuid): Likewise.
44623 (getgid): Likewise.
44624 (getuid): Likewise.
44625 (getresgid): Likewise.
44626 (getresuid): Likewise.
44627 (getgroups): Likewise.
44628 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44629 (geteuid): Likewise.
44630 (getgid): Likewise.
44631 (getuid): Likewise.
44632 (getresgid): Likewise.
44633 (getresuid): Likewise.
44634 (getgroups): Likewise.
44635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44636 Likewise.
44637 (geteuid): Likewise.
44638 (getgid): Likewise.
44639 (getuid): Likewise.
44640 (getgroups): Likewise.
44641
44642 [BZ #14138]
44643 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44644 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44645 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44646 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44647 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44648 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44649 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44650 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44651 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44652 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44653 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44654 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44655 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44656 __chown.
44657 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44658 (lchown): Likewise.
44659 (fchown): Likewise.
44660 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44661 Likewise.
44662 (lchown): Likewise.
44663 (fchown): Likewise.
44664 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44665 (lchown): Likewise.
44666 (fchown): Likewise.
44667 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44668 Likewise.
44669 (lchown): Likewise.
44670 (fchown): Likewise.
44671
44672 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44673
44674 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44675 Simplify logic.
44676
44677 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44678
44679 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44680 Cleanup logic.
44681
44682 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44683
44684 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44685 Remove unused include.
44686
44687 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44688
44689 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
44690 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
44691 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
44692 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
44693
44694 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
44695 Helge Deller <deller@gmx.de>
44696
44697 [BZ #17508]
44698 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
44699 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
44700 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44701
44702 2014-10-23 Joseph Myers <joseph@codesourcery.com>
44703
44704 [BZ #14132]
44705 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44706 Remove macro definition.
44707 (__ashrdi3_v_glibc20): Likewise.
44708 (__lshrdi3_v_glibc20): Likewise.
44709 (__cmpdi2_v_glibc20): Likewise.
44710 (__ucmpdi2_v_glibc20): Likewise.
44711 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44712 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44713 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44714 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44715 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44716 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44717
44718 2014-10-22 Roland McGrath <roland@hack.frob.com>
44719
44720 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44721 old GNU extension [0] syntax.
44722 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44723 alloca rather than an array member with variable length.
44724 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44725 * nscd/nscd.c (invalidate_db): New function, broken out of ...
44726 (parse_opt): ... here. Likewise use alloca there.
44727 Validate the -i argument before checking for rootness.
44728 (send_shutdown): New function, broken out of ...
44729 (parse_opt): ... here.
44730
44731 2014-10-22 Roland McGrath <roland@hack.frob.com>
44732
44733 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44734 macro to get at the _rt_local_ro field.
44735 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44736 ([PIC] case) or _dl_hwcap ([!PIC] case).
44737 * sysdeps/arm/setjmp.S: Likewise.
44738
44739 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44740 * sysdeps/arm/configure.ac: New check to define it.
44741 * sysdeps/arm/configure: Regenerated.
44742 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44743 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44744 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44745 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44746 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44747 Use move/movt pair instead of a load.
44748 (LDST_GLOBAL): Macro removed.
44749 (LDR_GLOBAL): New macro replaces it.
44750 (LDR_HIDDEN): New macro.
44751 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44752 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44753
44754 * setjmp/tst-setjmp-static.c: New file.
44755 * setjmp/Makefile (tests): Add it.
44756 (tests-static): New variable.
44757
44758 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
44759
44760 [BZ #17485]
44761 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44762
44763 2014-10-21 Joseph Myers <joseph@codesourcery.com>
44764
44765 [BZ #14132]
44766 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44767
44768 2014-10-21 Roland McGrath <roland@hack.frob.com>
44769
44770 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44771
44772 2014-10-20 Roland McGrath <roland@hack.frob.com>
44773
44774 * io/fts.c (dirent_not_directory): New function.
44775 (fts_build): Call it.
44776
44777 2014-10-20 Roland McGrath <roland@hack.frob.com>
44778
44779 * nptl/version.c (__nptl_main): Use normal __write rather than
44780 INTERNAL_SYSCALL.
44781 (banner): Update copyright years.
44782
44783 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44784 gettimeofday.
44785 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44786 * nptl/pthread_cond_timedwait.c: Likewise.
44787 * nptl/pthread_mutex_timedlock.c: Likewise.
44788 * nptl/sem_timedwait.c: Likewise.
44789
44790 * sysdeps/nptl/bits/libc-lock.h
44791 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44792 (__libc_lock_init_recursive): Return void, not 0.
44793 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44794 (__libc_rwlock_init): Likewise.
44795 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44796
44797 2014-10-20 Torvald Riegel <triegel@redhat.com>
44798
44799 [BZ #15215]
44800 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44801 (__pthread_once_slow): ... here.
44802 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44803 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44804
44805 2014-10-20 Torvald Riegel <triegel@redhat.com>
44806
44807 [BZ #15215]
44808 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44809 __PTHREAD_ONCE_FORK_GEN_INCR): New.
44810 * sysdeps/nptl/fork.c (__libc_fork): Use them.
44811 * nptl/pthread_once.c (__pthread_once): Likewise.
44812 Update comments.
44813
44814 2014-10-20 Joseph Myers <joseph@codesourcery.com>
44815
44816 [BZ #14138]
44817 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44818 name.
44819 (writev): Use __libc_writev as strong name.
44820 * sysdeps/unix/sysv/linux/readv.c: Remove file.
44821 * sysdeps/unix/sysv/linux/writev.c: Likewise.
44822
44823 2014-10-17 Roland McGrath <roland@hack.frob.com>
44824
44825 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44826
44827 * sysdeps/i386/nptl/tls.h
44828 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44829 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44830 New macros.
44831 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44832 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44833 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44834 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44835 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44836 Call CHECK_THREAD_SYSINFO instead of doing an assert.
44837
44838 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44839 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44840 on [__NR_futex].
44841 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44842 broken out of ...
44843 (__pthread_mutex_init): ... here. Call it.
44844 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44845 Conditionalize PI cases on [__NR_futex].
44846 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44847 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44848 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44849
44850 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44851 conditional on [SIGSETXID].
44852 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44853 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44854 is defined. Likewise for SIGSETXID.
44855 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44856 Conditionalize definitions on [SIGSETXID].
44857 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44858 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44859 unblocking on [SIGCANCEL].
44860
44861 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44862 [__NR_set_robust_list].
44863
44864 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44865
44866 * string/strcoll_l.c (get_next_seq): Fix up formatting.
44867 (do_compare): Likewise.
44868
44869 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
44870
44871 [BZ #15884]
44872 * string/strcoll_l.c: Don't include stdio.h.
44873 (coll_seq): Remove members idxarr and rulearr.
44874 (get_next_seq_cached): Remove function.
44875 (get_next_seq): Likewise.
44876 (get_next_seq_nocache): Rename to get_next_seq.
44877 (do_compare): Remove function.
44878 (do_compare_nocache): Rename to do_compare.
44879 (STRCOLL): Remove weight and rules cache.
44880
44881 2014-10-16 Roland McGrath <roland@hack.frob.com>
44882
44883 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44884 * sysdeps/arm/sfp-machine.h: ... to here.
44885 * sysdeps/arm/Implies: Remove arm/soft-fp.
44886
44887 2014-10-14 Joseph Myers <joseph@codesourcery.com>
44888
44889 * conform/data/sys/utsname.h-data (*_t): Allow.
44890 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44891 [POSIX] (WEXITED): Do not expect constant.
44892 [POSIX] (WSTOPPED): Likewise.
44893 [POSIX] (WNOHANG): Likewise.
44894 [POSIX] (WNOWAIT): Likewise.
44895 [POSIX] (siginfo_t): Do not expect type or elements.
44896 [POSIX] (pid_t): Do not expect type.
44897 [POSIX] (signal.h): Do not allow header.
44898 [POSIX] (sys/resource.h): Likewise.
44899 [POSIX] (si_*): Do not allow pattern.
44900 [POSIX] (W*): Likewise.
44901 [POSIX] (P_*): Likewise.
44902 [POSIX] (BUS_*): Likewise.
44903 [POSIX] (CLD_*): Likewise.
44904 [POSIX] (FPE_*): Likewise.
44905 [POSIX] (ILL_*): Likewise.
44906 [POSIX] (POLL_*): Likewise.
44907 [POSIX] (SEGV_*): Likewise.
44908 [POSIX] (SI_*): Likewise.
44909 [POSIX] (TRAP_*): Likewise.
44910 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44911 variable.
44912
44913 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
44914
44915 [BZ #12926]
44916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44917 infinite loop when __recvmsg returns 0.
44918
44919 2014-10-10 Joseph Myers <joseph@codesourcery.com>
44920
44921 * CANCEL-FCT-WAIVE: Remove file.
44922 * CANCEL-FILE-WAIVE: Likewise.
44923
44924 [BZ #14132]
44925 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44926 instead of INTVARDEF.
44927 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44928 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44929 rtld_hidden_data_def instead of INTVARDEF.
44930 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44931 * elf/dl-deps.c (expand_dst): Likewise.
44932 * elf/dl-load.c (_dl_dst_count): Likewise.
44933 (_dl_dst_substitute): Likewise.
44934 (decompose_rpath): Likewise.
44935 (_dl_init_paths): Likewise.
44936 (open_path): Likewise.
44937 (_dl_map_object): Likewise.
44938 * elf/rtld.c (dl_main): Likewise.
44939 (process_dl_audit): Likewise.
44940 (process_envvars): Likewise.
44941 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44942 Remove declaration.
44943 (__libc_enable_secure): Use rtld_hidden_proto.
44944
44945 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44946
44947 * elf/dl-load.c
44948 (add_path): New function broken out of _dl_rtld_di_serinfo.
44949 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
44950
44951 2014-10-09 Joseph Myers <joseph@codesourcery.com>
44952
44953 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44954 parentheses around macro arguments.
44955 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44956 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44957 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44959 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44960 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44961 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44963 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44964 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44966 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44967 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44968 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44969 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44970 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44971 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44972 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44973 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44974 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44975 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44977 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44984 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44985 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44986 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44987 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44988 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44989 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44990 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44991 Likewise.
44992 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44994 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44996 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44997 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44998 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44999 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45000 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45001 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45002 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45003 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45004 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45005 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45006 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45007 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45009 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45010 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45011 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45012 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45013 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45014 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45015 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45016 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45017 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45018 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45019 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45020 (_FP_FRAC_SRS_1): Likewise.
45021 (_FP_FRAC_CLZ_1): Likewise.
45022 (_FP_MUL_MEAT_1_imm): Likewise.
45023 (_FP_MUL_MEAT_1_wide): Likewise.
45024 (_FP_MUL_MEAT_1_hard): Likewise.
45025 (_FP_SQRT_MEAT_1): Likewise.
45026 (_FP_FRAC_ASSEMBLE_1): Likewise.
45027 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45028 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45029 (__FP_CLZ_2): Likewise.
45030 (_FP_MUL_MEAT_2_wide): Likewise.
45031 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45032 (_FP_MUL_MEAT_2_gmp): Likewise.
45033 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45034 (_FP_SQRT_MEAT_2): Likewise.
45035 (_FP_FRAC_ASSEMBLE_2): Likewise.
45036 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45037 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45038 (_FP_FRAC_CLZ_4): Likewise.
45039 (_FP_MUL_MEAT_4_wide): Likewise.
45040 (_FP_MUL_MEAT_4_gmp): Likewise.
45041 (_FP_SQRT_MEAT_4): Likewise.
45042 (_FP_FRAC_ASSEMBLE_4): Likewise.
45043 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45044 * soft-fp/op-common.h (_FP_CMP): Likewise.
45045 (_FP_CMP_EQ): Likewise.
45046 (_FP_CMP_UNORD): Likewise.
45047 (_FP_TO_INT): Likewise.
45048 (_FP_FROM_INT): Likewise.
45049 [!__FP_CLZ] (__FP_CLZ): Likewise.
45050 (_FP_DIV_HELP_imm): Likewise.
45051 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45052 Likewise.
45053 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45054 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45055 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45056 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45057 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45058 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45059 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45060 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45061 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45062 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45063 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45064 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45065 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45066 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45067 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45068 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45069 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45070 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45071 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45072 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45073 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45074 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45075 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45076 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45077 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45078 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45079 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45080 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45081 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45082 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45083 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45084 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45085 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45086 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45087 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45088 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45089 (FP_UNPACK_RAW_SP): Likewise.
45090 (FP_PACK_RAW_S): Likewise.
45091 (FP_PACK_RAW_SP): Likewise.
45092 (FP_UNPACK_S): Likewise.
45093 (FP_UNPACK_SP): Likewise.
45094 (FP_UNPACK_SEMIRAW_S): Likewise.
45095 (FP_UNPACK_SEMIRAW_SP): Likewise.
45096 (FP_PACK_S): Likewise.
45097 (FP_PACK_SP): Likewise.
45098 (FP_PACK_SEMIRAW_S): Likewise.
45099 (FP_PACK_SEMIRAW_SP): Likewise.
45100 (_FP_SQRT_MEAT_S): Likewise.
45101 (FP_CMP_S): Likewise.
45102 (FP_CMP_EQ_S): Likewise.
45103 (FP_CMP_UNORD_S): Likewise.
45104 (FP_TO_INT_S): Likewise.
45105 (FP_FROM_INT_S): Likewise.
45106
45107 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45108
45109 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45110 (FP_EX_INVALID_IMZ): Likewise.
45111 (FP_EX_INVALID_IMZ_FMA): Likewise.
45112 (FP_EX_INVALID_ISI): Likewise.
45113 (FP_EX_INVALID_ZDZ): Likewise.
45114 (FP_EX_INVALID_IDI): Likewise.
45115 (FP_EX_INVALID_SQRT): Likewise.
45116 (FP_EX_INVALID_CVI): Likewise.
45117 (FP_EX_INVALID_VC): Likewise.
45118 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45119 "invalid" exceptions.
45120 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45121 (_FP_ADD_INTERNAL): Likewise.
45122 (_FP_MUL): Likewise.
45123 (_FP_FMA): Likewise.
45124 (_FP_DIV): Likewise.
45125 (_FP_CMP_CHECK_NAN): Likewise.
45126 (_FP_SQRT): Likewise.
45127 (_FP_TO_INT): Likewise.
45128 (FP_EXTEND): Likewise.
45129
45130 2014-10-09 Allan McRae <allan@archlinux.org>
45131
45132 * po/fr.po: Update French translation from translation project.
45133
45134 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45135
45136 [BZ #14132]
45137 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45138 of INTDEF.
45139 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45140 (__cxa_atexit): Use libc_hidden_proto.
45141 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45142
45143 [BZ #14132]
45144 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45145 declaration.
45146 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45147 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45148 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45149 [!_ISOMAC] (__iswctype_internal): Likewise.
45150 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45151 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45152 alias.
45153 (fcntl): Remove __fcntl_internal alias.
45154 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45155 __connect_internal alias.
45156 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45157 Likewise.
45158
45159 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45160 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45161 FP_DENORM_ZERO.
45162 (_FP_CHECK_FLUSH_ZERO): New macro.
45163 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45164 (_FP_CMP): Likewise.
45165 (_FP_CMP_EQ): Likewise.
45166 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45167 FP_DENORM_ZERO.
45168 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45169 (FP_TRUNC): Likewise.
45170
45171 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45172 treated as invalid conversion, not as normal exponent.
45173
45174 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45175 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45176 (_FP_CMP_EQ): Likewise.
45177 (_FP_CMP_UNORD): Likewise.
45178 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45179 (FP_CMP_EQ_D): Likewise.
45180 (FP_CMP_UNORD_D): Likewise.
45181 * soft-fp/extended.h (FP_CMP_E): Likewise.
45182 (FP_CMP_EQ_E): Likewise.
45183 (FP_CMP_UNORD_E): Likewise.
45184 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45185 (FP_CMP_EQ_Q): Likewise.
45186 (FP_CMP_UNORD_Q): Likewise.
45187 * soft-fp/single.h (FP_CMP_S): Likewise.
45188 (FP_CMP_EQ_S): Likewise.
45189 (FP_CMP_UNORD_S): Likewise.
45190 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45191 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45192 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45193 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45194 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45195 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45196 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45197 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45198 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45199 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45200 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45201 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45202 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45203 to FP_CMP_Q.
45204 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45205 FP_CMP_Q.
45206 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45207 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45208 FP_CMP_EQ_Q.
45209 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45210 FP_CMP_Q.
45211 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45212 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45213 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45214 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45215 FP_CMP_EQ_Q.
45216 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45217 FP_CMP_Q.
45218 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45219 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45220 FP_CMP_EQ_Q.
45221 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45222 FP_CMP_Q.
45223 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45224 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45225 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45226 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45227 FP_CMP_EQ_Q.
45228
45229 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45230 a subnormal result, set the underflow exception if trapping on
45231 underflow is enabled.
45232 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45233 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45234 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45235 redefine to 0.
45236 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45237 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45238 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45239 * soft-fp/extendxftf2.c (__extendxftf2): Use
45240 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45241
45242 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45243 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45244 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45245 FP_HANDLE_EXCEPTIONS.
45246 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45247 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45248 FP_HANDLE_EXCEPTIONS.
45249 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45250 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45251 FP_HANDLE_EXCEPTIONS.
45252 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45253 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45254 FP_HANDLE_EXCEPTIONS.
45255
45256 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45257
45258 [BZ #14132]
45259 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45260 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45261 use INTUSE.
45262 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45263 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45264 Remove alias.
45265 (__adjtimex): Define using libc_hidden_ver.
45266 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45267 Remove declaration.
45268 (ntp_gettime): Call __adjtimex directly.
45269 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45270 Remove declaration.
45271 (ntp_gettimex): Call __adjtimex directly.
45272 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45273 __adjtimex_internal alias.
45274
45275 2014-10-08 Roland McGrath <roland@hack.frob.com>
45276
45277 [BZ #17460]
45278 * nscd/nscd.c (more_help): Rewrite list of tables collection
45279 using xstrdup and asprintf.
45280
45281 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45282
45283 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45284 Roland McGrath <roland@hack.frob.com>
45285
45286 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45287 (do_lookup_unique): ... local function 'enter' here; update callers.
45288
45289 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45290
45291 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45292 compat_symbol calls on [SHARED].
45293 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45294 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45295 Remove.
45296 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45297 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45298 (oldsetrlimit): Remove.
45299 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45301 (lchown): New syscall entry.
45302 (oldsetrlimit): Remove.
45303 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45304 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45305 (oldsetrlimit): Remove.
45306 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45307
45308 [BZ #14138]
45309 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45310 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45311 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45312 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45313 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45314 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45315 (fchown): Likewise.
45316 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45317 (fchown): Likewise.
45318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45319 Likewise.
45320
45321 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45322
45323 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45324 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45325 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45326 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45327 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45328 Likewise.
45329 (__old_sem_post): Likewise.
45330
45331 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45332
45333 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45334 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45335 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45336 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45337 Use INLINE_VSYSCALL macro.
45338 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45339 __vdso_clock_gettime.
45340 * sysdeps/unix/sysv/linux/tile/init-first.c
45341 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45342 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45343 __vdso_clock_gettime.
45344
45345 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45346 to set up frame more cleanly.
45347
45348 * sysdeps/tile/memcmp.c: New file.
45349
45350 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45351
45352 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45353 * sysdeps/tile/tilegx/strcasestr.c: New file.
45354 * sysdeps/tile/tilegx/strnlen.c: New file.
45355 * sysdeps/tile/tilegx/strstr.c: New file.
45356
45357 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45358
45359 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45360
45361 * nptl/tst-setuid3.c: Write errors to stdout.
45362
45363 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45364
45365 * elf/dl-deps.c
45366 (preload): New functions broken out of _dl_map_object_deps.
45367 (_dl_map_object_deps): Remove a nested function. Update call sites.
45368
45369 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45370
45371 [BZ #14138]
45372 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45373 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45374
45375 2014-10-01 Steve Ellcey <sellcey@mips.com>
45376
45377 * sysdeps/mips/strcmp.S: New.
45378
45379 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45380
45381 [BZ #14138]
45382 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45383 (linkat): Likewise.
45384 (mkdirat): Likewise.
45385 (readlinkat): Likewise.
45386 (renameat): Likewise.
45387 (symlinkat): Likewise.
45388 (unlinkat): Likewise.
45389 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45390 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45391 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45392 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45393 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45394 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45395 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45396
45397 2014-09-30 Will Newton <will.newton@linaro.org>
45398
45399 * math/math.h: Define long double math functions if
45400 _LIBC_TEST is defined.
45401 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45402
45403 * localedata/Makefile: Move assignment to tests-special
45404 into an ifdef testing run-built-tests.
45405 * timezone/Makefile: Likewise.
45406
45407 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45408
45409 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45410 with $(BASH) not $(SHELL).
45411
45412 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45413 Matthew LeGendre <legendre1@llnl.gov>
45414
45415 [BZ #17411]
45416 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45417 l_reloc_result.
45418
45419 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45420
45421 * stdio-common/printf_fp.c
45422 (hack_digit): New function, broken out of ...
45423 (__printf_fp): ... local function here. Update call sites.
45424 hack_digit now takes an additional parameter that is a pointer
45425 to a struct of the referenced locals. Those locals moved inside
45426 the struct and references updated.
45427
45428 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45429
45430 * aclocal.m4: Require autoconf 2.69.
45431 * configure: Regenerated.
45432 * sysdeps/aarch64/configure: Likewise.
45433 * sysdeps/alpha/configure: Likewise.
45434 * sysdeps/arm/armv7/configure: Likewise.
45435 * sysdeps/arm/configure: Likewise.
45436 * sysdeps/ia64/configure: Likewise.
45437 * sysdeps/mach/configure: Likewise.
45438 * sysdeps/mips/configure: Likewise.
45439 * sysdeps/s390/configure: Likewise.
45440 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45442
45443 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45444 file.
45445 * sysdeps/ia64/configure.ac: Likewise.
45446
45447 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45448
45449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45450 specify symbol version for ld.so. Do not include entry for
45451 libpthread.
45452 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45453 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45454 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45455
45456 [BZ #14171]
45457 * Makeconfig [$(build-shared) = yes]
45458 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45459 makefiles.
45460 [$(build-shared) = yes && $(soversions.mk-done) = t]
45461 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45462 [$(build-shared) = yes && $(soversions.mk-done) = t]
45463 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45464 to Makerules.
45465 [$(build-shared) = yes && $(soversions.mk-done) = t]
45466 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45467 here.
45468 [$(build-shared) = yes && $(soversions.mk-done) = t]
45469 (common-generated): Don't append gnu/lib-names.h and
45470 gnu/lib-names.stmp here.
45471 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45472 (lib-names-h-abi): New variable.
45473 [$(build-shared) = yes && $(soversions.mk-done) = t]
45474 (lib-names-stmp-abi): Likewise.
45475 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45476 abi-variants] (before-compile): Append
45477 $(common-objpfx)$(lib-names-h-abi).
45478 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45479 abi-variants] (common-generated): Append gnu/lib-names.h.
45480 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45481 abi-variants] (install-others-nosubdir): Depend on
45482 $(inst_includedir)/$(lib-names-h-abi).
45483 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45484 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45485 [$(build-shared) = yes && $(soversions.mk-done) = t]
45486 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45487 [$(build-shared) = yes && $(soversions.mk-done) = t]
45488 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45489 [$(build-shared) = yes && $(soversions.mk-done) = t]
45490 (common-generated): Append $(lib-names-h-abi) and
45491 $(lib-names-stmp-abi).
45492 * scripts/lib-names.awk: Do not handle multi being set.
45493 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45494 Remove variable.
45495 (abi-lp64_be-ld-soname): Likewise.
45496 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45497 Likewise.
45498 (abi-hard-ld-soname): Likewise.
45499 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45500 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45501 Remove variable.
45502 (abi-o32_hard-ld-soname): Likewise.
45503 (abi-o32_soft_2008-ld-soname): Likewise.
45504 (abi-o32_hard_2008-ld-soname): Likewise.
45505 (abi-n32_soft-ld-soname): Likewise.
45506 (abi-n32_hard-ld-soname): Likewise.
45507 (abi-n32_soft_2008-ld-soname): Likewise.
45508 (abi-n32_hard_2008-ld-soname): Likewise.
45509 (abi-n64_soft-ld-soname): Likewise.
45510 (abi-n64_hard-ld-soname): Likewise.
45511 (abi-n64_soft_2008-ld-soname): Likewise.
45512 (abi-n64_hard_2008-ld-soname): Likewise.
45513 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45514 Likewise.
45515 (abi-64-v2-ld-soname): Likewise.
45516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45517 ld.so entries.
45518 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45519 variable.
45520 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45521 entry.
45522 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45523 variable.
45524 (abi-64-ld-soname): Likewise.
45525 (abi-x32-ld-soname): Likewise.
45526 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45527 entry.
45528 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45529
45530 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45531
45532 [BZ #14138]
45533 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45534 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45535 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45536 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45537 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45538 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45539 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45540 syscall entry for GLIBC_2.2 symbol version.
45541 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45542 Likewise.
45543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45544 (setrlimit): Likewise.
45545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45546 Likewise.
45547
45548 2014-09-23 Will Newton <will.newton@linaro.org>
45549
45550 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45551 _LINUX_ARM_SYSDEP_H include guard too.
45552 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45553 define.
45554
45555 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45556
45557 * sysdeps/unix/sysv/linux/eventfd.c:
45558 Make first argument unsigned.
45559 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45560 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45561
45562 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
45563
45564 [BZ #16852]
45565 * socket/recvmmsg.c (recvmmsg): Drop const argument.
45566 * socket/sys/socket.h: Likewise.
45567 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45568
45569 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45570
45571 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45572
45573 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
45574
45575 * time/tst-ftime.c: New test.
45576 * time/Makefile (tests): Add tst-ftime.
45577
45578 2014-09-17 Joseph Myers <joseph@codesourcery.com>
45579
45580 * soft-fp/extended.h: Fix comment formatting.
45581 * soft-fp/op-1.h: Likewise.
45582 * soft-fp/op-2.h: Likewise.
45583 * soft-fp/op-4.h: Likewise.
45584 * soft-fp/op-8.h: Likewise.
45585 * soft-fp/op-common.h: Likewise.
45586 * soft-fp/soft-fp.h: Likewise.
45587
45588 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45589
45590 2014-09-16 Joseph Myers <joseph@codesourcery.com>
45591
45592 [BZ #6652]
45593 * Makeconfig (soversions-default-setname): Remove variable.
45594 ($(common-objpfx)soversions.i): Don't pass default_setname to
45595 soversions.awk.
45596 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45597 oldest_abi to abi-versions.awk.
45598 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45599 * config.make.in (oldest-abi): Remove variable.
45600 * configure.ac (--enable-oldest-abi): Remove configure option.
45601 * configure: Regenerated.
45602 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45603 text.
45604 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45605 * scripts/soversions.awk: Do not handle default_setname variable.
45606 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45607 variable.
45608 * sysdeps/mach/hurd/configure: Regenerated.
45609 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45610 variable.
45611 * sysdeps/unix/sysv/linux/configure: Regenerated.
45612
45613 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45614
45615 * elf/Makefile (CFLAGS-interp.c): Remove.
45616 ($(elf-objpfx)runtime-linker.h): Generate header with linker
45617 path string.
45618 * elf/interp.c: Include generated runtime-linker.h
45619
45620 * Makerules (lib%.so): Don't include $(+interp) in
45621 prerequisites.
45622 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45623 * dlfcn/eval.c: Remove file.
45624
45625 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45626 macros.
45627
45628 [BZ #17266]
45629 * misc/sys/cdefs.h: Define __extern_always_inline for clang
45630 4.2 and newer.
45631
45632 [BZ #17370]
45633 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45634
45635 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45636 Jakub Jelinek <jakub@redhat.com>
45637
45638 [BZ #17266]
45639 * libio/stdio.h: Check definition of __fortify_function
45640 instead of __extern_always_inline to include bits/stdio2.h.
45641 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45642 check if __extern_always_inline is defined.
45643 [__USE_MISC || __USE_XOPEN]: Likewise.
45644 [__USE_ISOC99] Likewise.
45645 * misc/sys/cdefs.h (__fortify_function): Define only if
45646 __extern_always_inline is defined.
45647 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45648 __extern_always_inline and __extern_inline only for g++-4.3
45649 and newer or a compatible gcc.
45650
45651 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
45652
45653 [BZ #17371]
45654 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45655 last change to handle zero prefix length.
45656
45657 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45658
45659 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45660 _SC_REGEX_VERSION.
45661
45662 * posix/getconf.c (vars): Add _POSIX_IPV6 and
45663 _POSIX_RAW_SOCKETS.
45664
45665 2014-09-13 Allan McRae <allan@archlinux.org>
45666
45667 * po/ru.po: Update Russian translation from translation project.
45668
45669 2014-09-12 Roland McGrath <roland@hack.frob.com>
45670
45671 * locale/programs/locale.c (show_locale_vars): Inline local function
45672 into its sole call site. Clean up some style nits.
45673 (print_item): New function, broken out of ...
45674 (show_info): ... local function here. Clean up style nits.
45675
45676 * locale/programs/ld-ctype.c (set_one_default): New function, broken
45677 out of ...
45678 (set_class_defaults): ... local function set_default here.
45679 Define set_default as a macro locally to pass constant parameters.
45680 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45681 rather than a shared local.
45682
45683 * stdlib/rpmatch.c (try): New function, broken out of ...
45684 (rpmatch): ... local function here. Also, prototypify definition.
45685
45686 2014-09-12 Joseph Myers <joseph@codesourcery.com>
45687
45688 * scripts/soversions.awk: Do not handle configuration names.
45689 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
45690 vendor and os variables to soversions.awk.
45691 * configure.ac: Do not modify gnu-* host_os.
45692 * configure: Regenerated
45693 * shlib-versions: Remove first column with configuration names.
45694 * nptl/shlib-versions: Likewise.
45695 * nptl_db/shlib-versions: Likewise.
45696 * sysdeps/hppa/shlib-versions: Likewise.
45697 * sysdeps/m68k/shlib-versions: Likewise.
45698 * sysdeps/mach/hurd/shlib-versions: Likewise.
45699 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
45700 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45701 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45702 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45703 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45704 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45705 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45706 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45708 Likewise.
45709 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45710 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45711 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45712 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45713 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45714 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45715 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45716 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45717
45718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45719 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45721 Regenerated.
45722 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45724 Condition symbol version definitions on [HAVE_ELFV2_ABI].
45725
45726 * shlib-versions: Remove OS-specific entries. Moved to files in
45727 sysdeps.
45728 * sysdeps/mach/hurd/shlib-versions: New file.
45729 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45730
45731 * nptl/shlib-versions: Remove architecture-specific entries.
45732 Moved to files in sysdeps.
45733 * shlib-versions: Likewise.
45734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45735 file.
45736 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45737 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45738 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45739 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45740
45741 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45742 (UDP_NO_CHECK6_RX): Likewise.
45743
45744 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45745
45746 * sysdeps/posix/sysconf.c (__sysconf): Spell
45747 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45748
45749 2014-08-12 Florian Weimer <fweimer@redhat.com>
45750
45751 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45752 loading.
45753 * iconv/Versions (__gconv_transliterate): Export for use from
45754 gconv modules.
45755 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45756 (struct __gconv_trans_data, __gconv_trans_fct,
45757 __gconv_trans_context_fct, __gconv_trans_query_fct,
45758 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45759 definitions.
45760 (struct __gconv_step_data): Remove __trans member.
45761 (__gconv_transliterate): Declaration moved from gconv_int.h. No
45762 longer hidden. Remove unused trans_data argument.
45763 * iconv/gconv_int.h (struct trans_struct): Remove definition.
45764 (__gconv_translit_find): Remove declaration.
45765 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
45766 prototype.
45767 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45768 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45769 trans_data argument. Add hidden definition.
45770 (__gconv_translit_find): Remove.
45771 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45772 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45773 * iconv/skeleton.c: Remove transliteration initialization.
45774 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45775 __gconv_step_data initialization.
45776 * libio/iofwide.c (__libio_translit_): Remove.
45777 (_IO_fwide): Adjust struct __gconv_step_data initialization.
45778 * wcsmbs/btowc.c (__btowc): Likewise.
45779 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45780 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45781 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45782 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45783 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45784 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45785 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45786 * wcsmbs/wctob.c (wctob): Likewise.
45787
45788 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45789
45790 [BZ #16194]
45791 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45792 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
45793 register usage.
45794 * sysdeps/x86/Makefile: Adjust.
45795
45796 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45797 Roland McGrath <roland@hack.frob.com>
45798
45799 * locale/weight.h: Add include guard.
45800 (findidx): Make static rather than auto; take new parameters
45801 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45802 * locale/weightwc.h: Likewise.
45803 * posix/fnmatch_loop.c
45804 (FCT): Change type of EXTRA from int32_t to wint_t.
45805 Don't include either header inside the function.
45806 Call FINDIDX rather than findidx, and pass new arguments.
45807 #undef FINDIDX at the end of the file.
45808 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45809 FINDIDX before including fnmatch_loop.c for the non-wide version.
45810 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45811 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45812 for the wide version.
45813 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45814 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45815 Pass new arguments to findidx.
45816 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45817 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45818 Don't #include it inside the function. Pass new arguments to findidx.
45819 * posix/regex_internal.h
45820 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45821 (re_string_elem_size_at): Don't #include it inside the function.
45822 Pass new arguments to findidx.
45823 * string/strcoll_l.c: #include WEIGHT_H at top level.
45824 (get_next_seq): Don't #include it inside the function.
45825 Pass new arguments to findidx.
45826 (get_next_seq_nocache): Likewise.
45827 * string/strxfrm_l.c: #include WEIGHT_H at top level.
45828 (STRXFRM): Don't #include it inside the function.
45829 Pass new arguments to findidx.
45830
45831 2014-09-11 Florian Weimer <fweimer@redhat.com>
45832
45833 [BZ #17344]
45834 * malloc/malloc.c (unlink): Turn asserts into a call to
45835 malloc_printerr.
45836
45837 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
45838
45839 [BZ #17370]
45840 * libio/wfileops (do_ftell_wide): Free OUT.
45841
45842 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
45843
45844 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45845
45846 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45847
45848 [BZ #17363]
45849 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45850 group if the current group is empty.
45851
45852 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45853
45854 * benchtests/bench-memset.c (test_main): Add more test from size
45855 from 32 to 512 bytes.
45856 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45857 Add POWER8 memset object.
45858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45859 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45860 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45861 implementation.
45862 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45863 Likewise.
45864 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45865 multiarch POWER8 memset optimization.
45866 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45867 POWER8 memset optimization.
45868
45869 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45870 Remove bzero multiarch objects.
45871 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45874 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45875 Remove define.
45876 [__bzero]: Redefine to specific name.
45877 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45878 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45879 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45880 define.
45881 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45882 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45883
45884 2014-09-10 Florian Weimer <fweimer@redhat.com>
45885
45886 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45887 warnings into errors.
45888
45889 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45890 __cxa_thread_atexit_impl prototype.
45891
45892 2014-09-09 Steve Ellcey <sellcey@mips.com>
45893
45894 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45895 Fix capitalization of error message.
45896
45897 2014-09-09 Steve Ellcey <sellcey@mips.com>
45898
45899 * sysdeps/mips/preconfigure: Modify ABI tests.
45900
45901 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
45902
45903 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45904
45905 2014-09-07 Roland McGrath <roland@hack.frob.com>
45906 Carlos O'Donell <carlos@systemhalted.org>
45907
45908 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45909 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45910 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45911 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45912 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45913 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45914 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45915 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45916 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45917 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45918 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45919 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45920 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45921 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45922 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45923 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45924 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45925 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45926 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45927 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45928 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45929 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45930 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45931 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45932 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45933 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45934 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45935 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45936 Deconditionalize the code that was previously under [RESET_PID].
45937 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45938 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45939 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45940 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45941 include sysdep.h.
45942
45943 2014-09-08 Allan McRae <allan@archlinux.org>
45944
45945 * version.h (RELEASE): Set to "development".
45946 (VERSION): Set to "2.20.90"
45947
45948 2014-09-07 Allan McRae <allan@archlinux.org
45949
45950 * version.h (RELEASE): Set to "stable".
45951 (VERSION): Set to "2.20"
45952 * include/features.h (__GLIBC_MINOR__): Set to 20.
45953
45954 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45955 Liebler.
45956
45957 * po/ko.po: Update Korean translation from translation project.
45958
45959 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
45960
45961 [BZ #17354]
45962 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45963 macro for handling signed relocations.
45964
45965 2014-09-03 Florian Weimer <fweimer@redhat.com>
45966
45967 [BZ #17325]
45968 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45969 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45970 assert.
45971 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45972 * iconvdata/ibm935.c (BODY): Likewise.
45973 * iconvdata/ibm937.c (BODY): Likewise.
45974 * iconvdata/ibm939.c (BODY): Likewise.
45975 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45976 assert.
45977 * iconvdata/Makefile (iconv-test.out): Pass module list to test
45978 script.
45979 * iconvdata/run-iconv-test.sh: New test loop for checking for
45980 decoder crashers.
45981
45982 2014-09-02 Khem Raj <raj.khem@gmail.com>
45983
45984 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45985 libm_hidden_ver.
45986
45987 2014-09-01 Allan McRae <allan@archlinux.org>
45988
45989 * po/eo.po: Update Esperanto translation from translation project.
45990
45991 * po/ca.po: Update Catalan translation from translation project.
45992
45993 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
45994
45995 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45996 __proc_dostop call.
45997
45998 2014-08-27 Mark Wielaard <mjw@redhat.com>
45999
46000 [BZ #17319]
46001 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46002 to call set_thread_area instead of hand written asm.
46003 (__NR_set_thread_area): Removed define.
46004 (TLS_FLAG_WRITABLE): Likewise.
46005 (__ASSUME_SET_THREAD_AREA): Remove check.
46006 (TLS_EBX_ARG): Remove define.
46007 (TLS_LOAD_EBX): Likewise.
46008
46009 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46010
46011 Simplify atomicity of socket creation in bind.
46012
46013 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46014 looking up the name after linking the file.
46015
46016 2014-08-27 Allan McRae <allan@archlinux.org>
46017
46018 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46019
46020 2014-08-26 Florian Weimer <fweimer@redhat.com>
46021
46022 [BZ #17187]
46023 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46024 trans_compare, open_translit, __gconv_translit_find):
46025 Remove module loading code.
46026
46027 2014-08-26 Allan McRae <allan@archlinux.org>
46028
46029 * po/vi.po: Update Vietnamese translation from translation project.
46030
46031 * po/uk.po: Update Ukrainian translation from translation project.
46032
46033 * po/fr.po: Update French translation from translation project.
46034
46035 * po/ru.po: Update Russian translation from translation project.
46036
46037 * po/pl.po: Update Polish translation from translation project.
46038
46039 * po/cs.po: Update Czech translation from translation project.
46040
46041 * po/de.po: Update German translation from translation project.
46042
46043 * po/bg.po: Update Bulgarian translation from translation project.
46044
46045 * po/sv.po: Update Sweedish translation from translation project.
46046
46047 * po/nl.po: Update Dutch translation from translation project.
46048
46049 * po/es.po: Update Spanish translation from translation project.
46050
46051 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46052
46053 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46054
46055 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46056 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46057 (CPPFLAGS-iconvconfig): Likewise.
46058 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46059
46060 * include/libc-symbols.h: Remove unnecessary check for
46061 NOT_IN_libc.
46062 * nptl/pthreadP.h: Likewise.
46063 * sysdeps/aarch64/setjmp.S: Likewise.
46064 * sysdeps/alpha/setjmp.S: Likewise.
46065 * sysdeps/arm/sysdep.h: Likewise.
46066 * sysdeps/i386/setjmp.S: Likewise.
46067 * sysdeps/m68k/setjmp.c: Likewise.
46068 * sysdeps/posix/getcwd.c: Likewise.
46069 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46071 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46072 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46073 * sysdeps/sh/sh3/setjmp.S: Likewise.
46074 * sysdeps/sh/sh4/setjmp.S: Likewise.
46075 * sysdeps/unix/alpha/sysdep.h: Likewise.
46076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46078 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46079 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46084 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46087 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46089 * sysdeps/x86_64/setjmp.S: Likewise.
46090
46091 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46092
46093 [BZ #17263]
46094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46095 <stdint.h>.
46096 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46097 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46098
46099 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46100
46101 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46102
46103 [BZ #17262]
46104 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46105 and __x86_64__ when disabling x87 inline functions.
46106
46107 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46108
46109 [BZ #17259]
46110 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46111 asm statement with __cpuid_count.
46112
46113 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46114
46115 * configure.ac: Change __ehdr_start code to dereference the struct.
46116 Run readelf on the output to look for relocations.
46117 * configure: Regenerated.
46118
46119 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46120
46121 [BZ #17261]
46122 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46123 value to 0.
46124 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46125
46126 2014-08-12 Roland McGrath <roland@hack.frob.com>
46127
46128 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46129
46130 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46131
46132 [BZ #16892]
46133 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46134 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46135
46136 2014-08-12 Sean Anderson <seanga2@gmail.com>
46137
46138 * malloc/malloc.c: Fix typo in comment.
46139
46140 2014-08-09 Allan McRae <allan@archlinux.org>
46141
46142 * Regenerate libc.po.
46143
46144 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46145
46146 * intl/tst-gettext2.sh: Check every lang file for creation.
46147
46148 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46149
46150 * sysdeps/aarch64/fpu/math_private.h
46151 (libc_feholdsetround_noex_aarch64_ctx): New function.
46152
46153 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46154
46155 * sysdeps/arm/armv6/strcpy.S (strcpy):
46156 Fix performance issue in misaligned cases.
46157
46158 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46159
46160 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46161 Move definition from termios.h.
46162 (struct termio): Likewise.
46163 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46164 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46165 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46166 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46167 Likewise.
46168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46169 Move definition to ioctl-types.h
46170 (struct termio): Likewise.
46171 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46172 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46173 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46174 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46175 Likewise.
46176
46177 2014-08-05 Richard Henderson <rth@redhat.com>
46178
46179 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46180 exceptions.
46181 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46182 Add fraiseexcpt.
46183 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46184 Use __feraiseexcept.
46185 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46186 Protect libm symbols with IS_IN_libm.
46187
46188 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46189
46190 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46191
46192 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46193
46194 2014-08-04 Will Newton <will.newton@linaro.org>
46195
46196 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46197 file.
46198
46199 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46200
46201 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46202 variants for each function.
46203
46204 2014-08-04 Roland McGrath <roland@hack.frob.com>
46205
46206 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46207 appended ...
46208 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46209 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46210 appended ...
46211 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46212 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46213 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46214 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46215 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46216 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46217 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46218 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46219 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46220 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46221 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46222 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46223 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46224 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46225 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46226 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46227 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46228 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46229 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46230 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46231 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46232 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46233 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46234 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46235 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46236 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46237 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46238 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46239 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46240 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46241 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46242 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46243 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46244 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46245 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46246 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46247 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46248 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46249 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46250 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46251 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46252 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46253 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46254 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46255 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46256 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46257 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46258 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46259 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46260 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46261 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46262 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46263 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46264 Update #include.
46265 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46266 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46267
46268 2014-08-04 Roland McGrath <roland@hack.frob.com>
46269
46270 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46271 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46272 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46273 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46274 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46275 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46276
46277 2014-08-04 Roland McGrath <roland@hack.frob.com>
46278
46279 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46280 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46281 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46282 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46283
46284 2014-08-04 Roland McGrath <roland@hack.frob.com>
46285
46286 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46287 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46288 (__libc_vfork): Define function under this name.
46289 (__vfork): Define as an alias.
46290 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46291 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46292
46293 2014-08-04 Roland McGrath <roland@hack.frob.com>
46294
46295 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46296 that was previously under [RESET_PID].
46297 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46298
46299 2014-08-04 Andreas Schwab <schwab@suse.de>
46300
46301 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46302
46303 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46304
46305 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46306 (main): Likewise.
46307
46308 2014-08-01 Roland McGrath <roland@hack.frob.com>
46309
46310 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46311
46312 2014-08-01 Richard Henderon <rth@redhat.com>
46313
46314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46315 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46316 typo in exact zero test.
46317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46320
46321 2014-08-01 Roland McGrath <roland@hack.frob.com>
46322
46323 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46324 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46325 * sysdeps/arm/sysdep.h: ... here.
46326 [!__ASSEMBLER__]: Include <stdint.h>.
46327
46328 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46329
46330 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46331 (HAVE_WCTYPE_H): Likewise.
46332 (HAVE_ISWCTYPE): Likewise.
46333 (ENABLE_NLS): Likewise.
46334 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46335 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46336
46337 * posix/regex_internal.c: Check if DEBUG is defined and is
46338 set.
46339
46340 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46341 (HAVE_MBSRTOWCS): Likewise.
46342 * posix/fnmatch.c: Include string.h unconditionally.
46343
46344 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46345
46346 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46347 reversal.
46348
46349 2014-07-31 Roland McGrath <roland@hack.frob.com>
46350
46351 * sysdeps/generic/safe-fatal.h: New file.
46352 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46353 * nptl/forward.c: Include it.
46354 (__pthread_unwind): Use __safe_fatal as default action, rather
46355 than a bogus use of INTERNAL_SYSCALL that could never work.
46356
46357 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46358 * configure.ac (libc_cv_builtin_trap): New test.
46359 * configure: Regenerated.
46360 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46361 (ABORT_INSTRUCTION): Define using __builtin_trap.
46362
46363 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46364 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46365 * sysdeps/nptl/nptl-signals.h: New file.
46366 * nptl/pthreadP.h: Include <nptl-signals.h>.
46367
46368 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46369
46370 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46371 (ONE_DIRECTION): Define.
46372 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46373 (ONE_DIRECTION): Define.
46374 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46375 (ONE_DIRECTION): Define.
46376
46377 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46378
46379 * sysdeps/s390/Makefile: Delete file.
46380 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46381 * sysdeps/s390/__longjmp.c: Delete file.
46382 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46383 Remove fields __flags and __reserved.
46384 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46385 and add versioning.
46386 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46387 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46388 * sysdeps/s390/rtld-setjmp.S: Likewise.
46389 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46390 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46391 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46392 * sysdeps/s390/s390-32/setjmp.S: ... here.
46393 Add versioning.
46394 (__sigsetjmp): Remove setting __flags field.
46395 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46396 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46397 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46398 * sysdeps/s390/s390-64/setjmp.S: ... here.
46399 Add versioning.
46400 (__sigsetjmp): Remove setting __flags field.
46401 * sysdeps/s390/setjmp.S: Delete file.
46402 * sysdeps/s390/sigjmp.c: Likewise.
46403 * sysdeps/s390/v1-longjmp.c: Likewise.
46404 * sysdeps/s390/v1-setjmp.h: Likewise.
46405 * sysdeps/s390/v1-sigjmp.c: Likewise.
46406 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46407 Remove v1-longjmp_chk.
46408 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46409 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46410 Include debug/longjmp_chk.c and add versioning.
46411 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46412 Include nptl/pt-longjmp.c and add versioning.
46413 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46414 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46415 Include __longjmp.c.
46416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46417 Move to ...
46418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46419 (__getcontext): Remove setting __flags field.
46420 Add versioning.
46421 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46422 Don't restore upper high grps.
46423 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46424 Likewise.
46425 (__swapcontext): Remove setting uc_flags field.
46426 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46427 Delete file.
46428 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46429 Include __longjmp.c.
46430 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46431 Move to ...
46432 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46433 (__getcontext): Remove setting __flags field.
46434 Add versioning.
46435 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46436 (__swapcontext): Remove setting uc_flags field.
46437 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46439 Remove fields uc_high_gprs and __reserved.
46440 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46441 New file with reverted content.
46442 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46443 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46444 Regenerated.
46445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46446 Regenerated.
46447
46448 2014-07-31 Andreas Schwab <schwab@suse.de>
46449
46450 * config.h.in (HAVE_IFUNC): Define to 0.
46451 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46452 definedness.
46453
46454 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46455
46456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46457 memmove-avx-unaligned, memcpy-avx-unaligned and
46458 mempcpy-avx-unaligned.
46459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46460 Add tests for AVX memcpy functions.
46461 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46462 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46463 memcpy_chk.
46464 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46465 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46466 memmove_chk.
46467 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46468 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46469 mempcpy_chk.
46470 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46471 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46472 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46473
46474 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46475
46476 [BZ #17213]
46477 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46478 powerpc64le.
46479
46480 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46481
46482 [BZ #16839]
46483 * manual/llio.texi: Add section about open file description locks.
46484 * manual/examples/ofdlocks.c: Example of open file description
46485 lock usage.
46486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46487 F_OFD_SETLK, and F_OFD_SETLKW.
46488
46489 2014-07-23 Allan McRae <allan@archlinux.org>
46490
46491 * po/es.po: Update Spanish translation from translation project.
46492
46493 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46494
46495 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46496
46497 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46498
46499 [BZ #17078]
46500 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46501 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46502 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46503
46504 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46505
46506 [BZ #17088]
46507 * math/fesetenv.c (__fesetenv)
46508 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46509 * math/feupdateenv.c (__feupdateenv)
46510 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46511
46512 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46513 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46514 (__ASSUME_SOCKETCALL): Do not define.
46515
46516 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46517 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46518 (__ASSUME_SOCKETCALL): Do not define.
46519 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46520 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46521 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46522 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46524 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46526 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46527
46528 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46529 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46530 (__ASSUME_SOCKETCALL): Do not define.
46531 (__ASSUME_IPC64): Define unconditionally.
46532 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46533 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46534 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46535 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46536 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46537 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46538 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46539 Likewise.
46540
46541 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46542 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46543 (__ASSUME_SOCKETCALL): Do not define.
46544 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46545 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46546 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46547 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46548 (__ASSUME_REQUEUE_PI): Define unconditionally.
46549 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46550 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46551 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46552 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46553 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46554 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46555
46556 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46557 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46558 (__ASSUME_SOCKETCALL): Do not define.
46559 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46560 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46561 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46562 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46563 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46564 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46565
46566 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46567 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46568 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46569 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46570 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46571 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46572 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46573 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46574 (__ASSUME_GETCPU_SYSCALL): Likewise.
46575
46576 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46577 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
46578 cases for individual architectures.
46579 * sysdeps/gnu/configure: Regenerated.
46580 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46581 LIBC_SLIBDIR_RTLDDIR.
46582 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46583 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46584 LIBC_SLIBDIR_RTLDDIR.
46585 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46587 LIBC_SLIBDIR_RTLDDIR.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46589 Regenerated.
46590 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46591 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46592 file.
46593 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46594 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46595 file.
46596 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46597 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46598 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46599 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46600
46601 * sysdeps/aarch64/shlib-versions: Move to ...
46602 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46603 * sysdeps/alpha/shlib-versions: Move to ...
46604 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46605 * sysdeps/arm/shlib-versions: Move to ...
46606 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46607 * sysdeps/hppa/shlib-versions: Move all contents except for
46608 libgcc_s entry to ...
46609 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
46610 entry from ...
46611 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
46612 * sysdeps/ia64/shlib-versions: Move to ...
46613 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
46614 entry from ...
46615 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
46616 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46617 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46618 * sysdeps/microblaze/shlib-versions: Move to ...
46619 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46620 * sysdeps/mips/shlib-versions: Move to ...
46621 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
46622 entry from ...
46623 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
46624 * sysdeps/tile/shlib-versions: Move to ...
46625 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46626 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46627 from ...
46628 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
46629 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46630 entry from ...
46631 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
46632
46633 2014-07-17 Will Newton <will.newton@linaro.org>
46634
46635 * sysdeps/arm/bits/atomic.h
46636 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46637 (__arch_compare_and_exchange_bool_16_int): Likewise.
46638 (__arch_compare_and_exchange_bool_64_int): Likewise.
46639
46640 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46641 into an #else block.
46642
46643 2014-07-16 Roland McGrath <roland@hack.frob.com>
46644
46645 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46646 just Linux configurations. Test empirically that the compiler sets
46647 __ARM_EABI__, rather than using the tuple to decide.
46648 * sysdeps/arm/preconfigure: Regenerated.
46649 * sysdeps/unix/sysv/linux/arm/configure: File removed.
46650 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46651 contents appended ...
46652 * sysdeps/arm/configure.ac: ... here.
46653 * sysdeps/arm/configure: Regenerated.
46654
46655 2014-07-15 Roland McGrath <roland@hack.frob.com>
46656
46657 * nptl/pthread_kill.c: New file.
46658 * nptl/pthread_sigmask.c: New file.
46659 * nptl/pthread_sigqueue.c: New file.
46660
46661 * sysdeps/nptl/lowlevellock.h: New file.
46662 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46663 * sysdeps/nptl/lowlevellock-futex.h: New file.
46664
46665 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46666 Remove dead declarations.
46667
46668 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
46669
46670 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46671 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46672 config-cflags-avx2.
46673 * sysdeps/x86_64/configure.ac: Likewise.
46674 * sysdeps/i386/configure: Regenerated.
46675 * sysdeps/x86_64/configure: Likewise.
46676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46677 memset-avx2 only if config-cflags-avx2 is yes.
46678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46679 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46680 defined.
46681 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46682 only if HAVE_AVX2_SUPPORT is defined.
46683 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46684
46685 2014-07-14 Alan Modra <amodra@gmail.com>
46686
46687 [BZ #17153]
46688 * elf/elf.h (DT_PPC64_NUM): Correct value.
46689 * NEWS: Add to fixed bug list.
46690
46691 2014-07-13 Jim Meyering <meyering@fb.com>
46692
46693 [BZ 17150]
46694 regex: don't deref NULL upon heap allocation failure
46695 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
46696 failure in one more place.
46697 To trigger the segfault, configure grep -with-included-regex,
46698 build it, and run these commands:
46699 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
46700
46701 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
46702
46703 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46704
46705 2014-07-11 Richard Henderson <rth@redhat.com>
46706
46707 * sysdeps/aarch64/libm-test-ulps: Update.
46708
46709 2014-07-10 Florian Weimer <fweimer@redhat.com>
46710
46711 [BZ #17135]
46712 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46713 * nptl/allocatestack.c (__nptl_setxid_error): New function.
46714 (__nptl_setxid): Initialize error member. Call
46715 __nptl_setxid_error.
46716 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46717 * nptl/descr.h (struct xid_command): Add error member.
46718 * nptl/tst-setuid3.c: New file.
46719 * nptl/Makefile (tests): Add it.
46720
46721 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46722
46723 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46724 New define.
46725 (__lll_trylock): Use __lll_base_trylock.
46726 (__lll_cond_trylock): Likewise.
46727
46728 2014-07-10 Roland McGrath <roland@hack.frob.com>
46729
46730 * nptl/pthread_create.c (start_thread): Use atomic_or and
46731 lll_futex_wake directly rather than lll_robust_dead.
46732 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46733 (lll_robust_dead): Macro removed.
46734 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46735 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46736 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46737 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46738 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46739 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46740 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46741 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46742 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46743 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46744 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46746 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46747 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46749
46750 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46751 Use atomic_compare_and_exchange_val_acq directly rather than
46752 lll_robust_trylock.
46753 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46754 (__lll_robust_trylock, lll_robust_trylock): Removed.
46755 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46756 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46757 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46759 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46760 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46761 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46762 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46763 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46764 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46765 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46766 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46767 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46768 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46769
46770 2014-07-02 Florian Weimer <fweimer@redhat.com>
46771
46772 * manual/locale.texi (Locale Names): New section documenting
46773 locale name syntax. Adjust menu and node chaining accordingly.
46774 (Choosing Locale): Reference Locale Names, Locale Categories.
46775 Mention setting LC_ALL=C. Reflect that name syntax is now
46776 documented.
46777 (Locale Categories): New section title. Reference Locale Names.
46778 LC_ALL is an environment variable, but not a category.
46779 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46780 description, now in Locale Name. Reference that section. Locale
46781 name syntax is now documented.
46782
46783 2014-07-02 Florian Weimer <fweimer@redhat.com>
46784
46785 [BZ #17137]
46786 * locale/findlocale.c (name_present, valid_locale_name): New
46787 functions.
46788 (_nl_find_locale): Use the loc_name variable to store name
46789 candidates. Call name_present and valid_locale_name to check and
46790 validate locale names. Return an error if the locale is invalid.
46791
46792 2014-07-02 Florian Weimer <fweimer@redhat.com>
46793
46794 * locale/setlocale.c (setlocale): Use strdup for allocating
46795 composite name copy.
46796
46797 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46798
46799 Sync up with gnulib.
46800 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46801 [!_LIBC && ENABLE_NLS]: Include gettext.h.
46802 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46803 and _GL_ARG_NONNULL.
46804 [USE_UNLOCKED_IO]: Include unlocked-io.h.
46805 [!_LIBC]: Include code for Windows and Cygwin.
46806 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46807 Include prototype for int strerror_r.
46808 [!_LIBC] (is_open): New function.
46809 (flush_stdout): New function.
46810 (print_errno_message): Use it.
46811 (error): Likewise.
46812 (error_at_line): Likewise.
46813 (error_tail) Add function attribute macros. Use
46814 __builtin_expect.
46815
46816 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46817
46818 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46819
46820 * io/ftw.c: Include sys/param.h unconditionally.
46821
46822 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46823
46824 [BZ #17125]
46825 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46826 libc_freeres_ptr.
46827 (freecache): New function to free CACHE on exit.
46828
46829 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46830 initialization.
46831
46832 2014-07-09 David S. Miller <davem@davemloft.net>
46833
46834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46835
46836 * sysdeps/sparc/nptl/internaltypes.h: Delete.
46837 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46838 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46839 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46840 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46841 * sysdeps/sparc/nptl/sem_init.c: Likewise.
46842 * sysdeps/sparc/nptl/sem_post.c: Likewise.
46843 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46844 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46845 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46846 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46847 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46848 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46849
46850 2014-07-09 Andreas Schwab <schwab@suse.de>
46851
46852 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46853 output.
46854 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46855 (do_test): Likewise.
46856
46857 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46858
46859 2014-07-09 Will Newton <will.newton@linaro.org>
46860
46861 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46862 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46863 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46864 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46865 * sysdeps/hppa/start.S (_start): Likewise.
46866
46867 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
46868
46869 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46870
46871 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46872 defined.
46873
46874 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46875
46876 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46877 after checking that it is non-NULL.
46878
46879 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46880
46881 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46882
46883 * sysdeps/powerpc/memmove.c: Remove file.
46884 * sysdeps/powerpc/powerpc32/power4/memcopy.h
46885 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46886 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46887 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46888 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46889 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46890 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46891 string memmove instead of removed powerpc one.
46892
46893 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46894 [weak_alias]: Fix compiler warning due trailing data.
46895 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46896 [weak_alias]: Likewise.
46897 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46898 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46899
46900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46901 (__libc_ifunc_impl_list): Add memmove functions.
46902
46903 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46904
46905 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46906 Remove code.
46907 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46908 Likewise.
46909 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46910 Likewise.
46911 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46912 Likewise.
46913 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46914 Likewise.
46915 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46916 Likewise.
46917 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46918 Likewise.
46919 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46920 Likewise.
46921 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46922 Likewise.
46923 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46924 Likewise.
46925 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46926 Likewise.
46927 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46928 Likewise.
46929 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46930 Likewise.
46931 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46932 Likewise.
46933 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46934 Likewise.
46935 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46936 Likewise.
46937 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46938 Likewise.
46939
46940 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46941
46942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46943 to avoid alignment traps in non-cacheable memory.
46944 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46945
46946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46947 multiarch objects.
46948 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46949 file: multiarch power7 memmove.
46950 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46951 multiarch default memmove.
46952 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46953 multiarch memove for powerpc32/power4.
46954
46955 * string/bcopy.c: Use full path to include memmove.c.
46956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46957 multiarch objects.
46958 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46959 bcopy for powerpc64.
46960 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46961 bcopy for powerpc64.
46962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46963 and memmove implementations.
46964 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46965 optimized multiarch memmove for POWER7/powerpc64.
46966 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46967 default multiarch memmove for powerpc64.
46968 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46969 multiarch for powerpc64.
46970 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46971 for POWER7/powerpc64.
46972 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46973 memmove for POWER7/powerpc64.
46974
46975 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46976 glibc default one.
46977
46978 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46979 __ELF_NATIVE_CLASS equal to 64.
46980
46981 2014-07-07 Roland McGrath <roland@hack.frob.com>
46982
46983 * sysdeps/nptl/lowlevellock.h: File removed.
46984
46985 * NEWS: NPTL is no longer an add-on!
46986 * nptl/internaltypes.h: Moved ...
46987 * sysdeps/nptl/internaltypes.h: ... here.
46988 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46989 * sysdeps/nptl/fork.c: Likewise.
46990 * sysdeps/nptl/gai_misc.h: Likewise.
46991 * sysdeps/nptl/librt-cancellation.c: Likewise.
46992 * sysdeps/nptl/jmp-unwind.c: Likewise.
46993 * sysdeps/nptl/setxid.h: Likewise.
46994 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46995 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46996 * sysdeps/unix/sysv/linux/arm/Implies: New file.
46997 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46998 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46999 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47000 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47001 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47002 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47003 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47004 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47005 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47006 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47007 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47008 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47009 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47010 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47011 * nptl/Makeconfig: Moved ...
47012 * sysdeps/nptl/Makeconfig: ... here.
47013 * nptl/configure: File removed.
47014 * nptl/ANNOUNCE: File removed.
47015 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47016 * sysdeps/unix/sysv/linux/configure: Regenerated.
47017
47018 * nptl/Makefile (routines): Add libc_pthread_init,
47019 libc_multiple_threads, register-atfork and unregister-atfork.
47020 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47021 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47022 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47023 pthread-pi-defines.sym, structsem.sym.
47024 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47025 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47026 [$(subdir) = nptl] (tests): Add tst-setgetname.
47027 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47028 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47029 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47030 [!LIBC_SIGACTION]: Remove aliases.
47031 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47032 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47033 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47034 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47035 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47036 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47038 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47040 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47041 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47042 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47043 __libc_allocate_rtsig_private.
47044 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47045 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47046 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47047 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47048 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47049 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47050 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47051 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47052 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47053 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47054 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47055 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47056 * nptl/internaltypes.h: ... here.
47057 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47058 * sysdeps/nptl/jmp-unwind.c: ... here.
47059 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47060 * nptl/libc-lowlevellock.c: ... here.
47061 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47062 * nptl/libc_multiple_threads.c: ... here.
47063 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47064 * nptl/libc_pthread_init.c: ... here.
47065 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47066 * nptl/lowlevelbarrier.sym: ... here.
47067 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47068 * nptl/lowlevelcond.sym: ... here.
47069 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47070 * nptl/lowlevellock.c: ... here.
47071 * nptl/lowlevellock.h: Moved ...
47072 * sysdeps/nptl/lowlevellock.h: ... here.
47073 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47074 * nptl/lowlevelrobustlock.c: ... here.
47075 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47076 * nptl/lowlevelrobustlock.sym: ... here.
47077 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47078 * nptl/lowlevelrwlock.sym: ... here.
47079 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47080 * nptl/pt-fork.c: ... here.
47081 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47082 * nptl/pthread-pi-defines.sym: ... here.
47083 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47084 * nptl/pthread_attr_getaffinity.c: ... here.
47085 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47086 * nptl/pthread_attr_setaffinity.c: ... here.
47087 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47088 * nptl/pthread_mutex_cond_lock.c: ... here.
47089 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47090 Update #include.
47091 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47092 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47093 * nptl/pthread_once.c: ... here, replacing old file.
47094 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47095 * nptl/pthread_yield.c: ... here.
47096 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47097 * nptl/register-atfork.c: ... here.
47098 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47099 * nptl/sem_post.c: ... here.
47100 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47101 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47102 * nptl/sem_timedwait.c: ... here.
47103 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47104 * nptl/sem_trywait.c: ... here.
47105 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47106 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47107 * nptl/sem_wait.c: ... here.
47108 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47109 * nptl/structsem.sym: ... here.
47110 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47111 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47112 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47113 * nptl/unregister-atfork.c: ... here.
47114 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47115 * nptl/unwindbuf.sym: ... here.
47116 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47117 * sysdeps/nptl/fork.c: ... here.
47118 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47119 * sysdeps/nptl/fork.h: ... here.
47120 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47121 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47122 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47123 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47124 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47125 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47126 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47127 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47128 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47129 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47130 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47131 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47132 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47133 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47134 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47135 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47136 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47137 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47138 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47139 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47140 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47141 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47142 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47143 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47144 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47145 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47146 * sysdeps/unix/sysv/linux/raise.c: ... here.
47147 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47148 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47149 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47150 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47151 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47152 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47153 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47154 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47155 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47156 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47157 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47158 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47159 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47160 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47161 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47162
47163 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47164
47165 * sysdeps/generic/memcopy.h: Add comment for
47166 MEMCPY_OK_FOR_FWD_MEMMOVE.
47167
47168 2014-07-04 Will Newton <will.newton@linaro.org>
47169
47170 * string/memchr.c: Merge from gnulib.
47171 [_LIBC]: Remove conditionals.
47172 (__ptr_t): Remove define.
47173 (LONG_MAX_32_BITS): Likewise.
47174 (LONG_MAX): Likewise.
47175 (MEMCHR): Use ANSI prototype and optimize algorithm.
47176
47177 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47178
47179 2014-07-03 Roland McGrath <roland@hack.frob.com>
47180
47181 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47182 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47183
47184 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47185 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47186 in a bare environment with no <stdlib.h> installed.
47187 * sysdeps/nptl/configure: Regenerated.
47188
47189 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47190
47191 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47192 AC_EGREP_CPP for kernel header checks, so they only succeed if
47193 including <linux/version.h> actually works right.
47194 * sysdeps/unix/sysv/linux/configure: Regenerated.
47195
47196 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47197 value so it's not diagnosed as unused.
47198
47199 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47200 thing) with "ifeq ($(subdir),rt)".
47201
47202 2014-07-03 Richard Henderson <rth@redhat.com>
47203
47204 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47205 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47206 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47207
47208 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47209 (math_force_eval): New.
47210
47211 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47212 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47213
47214 * sysdeps/alpha/fpu/s_round.c: Remove file.
47215 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47216
47217 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47218 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47219 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47220 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47221 (_dl_start, print_statistics): Likewise.
47222 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47223 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47224
47225 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47226 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47227 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47228 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47230 (HP_SMALL_TIMING_AVAIL): Define.
47231 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47232 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47233 (HP_SMALL_TIMING_AVAIL): Define.
47234 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47235 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47236
47237 * sysdeps/aarch64/hp-timing.h: New file.
47238
47239 * sysdeps/generic/hp-timing.h: Remove dead comment.
47240 * sysdeps/generic/hp-timing-common.h: New file.
47241 * sysdeps/alpha/hp-timing.h: Include it.
47242 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47243 * sysdeps/i386/i686/hp-timing.h: Likewise.
47244 * sysdeps/ia64/hp-timing.h: Likewise.
47245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47246 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47247 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47248 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47249 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47250 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47251 (hp_timing_t): New.
47252
47253 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47254 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47255 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47256 * elf/rtld.c (_dl_start_final): Likewise.
47257 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47258 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47259 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47260 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47261 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47263 (HP_TIMING_DIFF_INIT): Remove.
47264 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47266 (HP_TIMING_DIFF_INIT): Remove.
47267 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47268 * sysdeps/i386/i686/hp-timing.c: Remove file.
47269 * sysdeps/x86_64/hp-timing.c: Remove file.
47270 * sysdeps/ia64/hp-timing.c: Remove file.
47271 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47272 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47274 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47275
47276 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47277 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47278 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47279 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47281 (HP_TIMING_ACCUM): Remove.
47282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47284 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47285
47286 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47287 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47288 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47289 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47290 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47291 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47292 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47293 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47294
47295 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47296
47297 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47298
47299 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47300
47301 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47302
47303 Sync up with gettext.
47304 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47305 [_MSC_VER]: Include malloc.h
47306 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47307 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47308 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47309 TEMP_FAILURE_RETRY. Cast return of alloca.
47310 [!_LIBC] Call gl_rwlock_init.
47311 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47312
47313 2014-07-02 Roland McGrath <roland@hack.frob.com>
47314
47315 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47316 before checking its value.
47317
47318 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47319
47320 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47321
47322 * debug/memcpy_chk.c: Don't include pagecopy.h.
47323 * debug/mempcpy_chk.c: Likewise.
47324 * string/memcpy.c: Likewise.
47325 * string/memmove.c: Likewise.
47326 * sysdeps/powerpc/memmove.c: Likewise.
47327 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47328 definition of PAGE_COPY_FWD_MAYBE here...
47329 * sysdeps/generic/pagecopy.h: ... from here.
47330 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47331
47332 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47333 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47334
47335 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47337 optimizations.
47338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47339 (__libc_ifunc_impl_list): Likewise.
47340 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47341 multiarch strcat for PPC64.
47342 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47343 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47344
47345 2014-07-02 Roland McGrath <roland@hack.frob.com>
47346
47347 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47348
47349 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47350
47351 * intl/loadmsgcat.c: Remove declaration of
47352 get_sysdep_segment_value.
47353 (get_sysdep_segment_value): Use ISO C style.
47354 (_nl_load_domain): Use ISO C style. Get rid of redundant
47355 semicolon. Fix typo and formatting in comment.
47356 (_nl_unload_domain): Use ISO C style.
47357
47358 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47359
47360 2014-07-02 Will Newton <will.newton@linaro.org>
47361
47362 * malloc/obstack.c: Merge from gnulib master.
47363 [HAVE_CONFIG_H]: Remove conditional code.
47364 [!_LIBC]: Include config.h.
47365 [!ELIDE_CODE]: Don't include inttypes.h, include
47366 stdint.h unconditionally.
47367 (print_and_abort): Mark as _Noreturn.
47368 (_obstack_allocated_p): Mark as __attribute_pure__.
47369 (obstack_free): Rename to __obstack_free.
47370 [!__attribute__]: Remove conditional code.
47371 * malloc/obstack.h: Merge from gnulib master.
47372 [__cplusplus]: Move conditional down.
47373 [!__attribute_pure__]: Define __attribute_pure__ here
47374 if it is not already defined.
47375 (_obstack_memory_used): Mark as __attribute_pure__.
47376 [!__obstack_free]: Define as obstack_free.
47377 [__GNUC__]: Remove check for ancient NeXT gcc.
47378
47379 2014-07-02 Will Newton <will.newton@linaro.org>
47380 Paul Eggert <eggert@cs.ucla.edu>
47381
47382 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47383
47384 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47385
47386 * resolv/gethnamaddr.c: Add comment warning that the file is
47387 not maintained.
47388
47389 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47390
47391 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47392 entries.
47393
47394 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47395 entry for aio_cancel and aio_cancel64.
47396 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47397 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47398 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47399 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47400 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47401 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47403 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47404 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47405 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47406 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47407 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47408 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47409
47410 2014-07-01 Roland McGrath <roland@hack.frob.com>
47411
47412 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47413 * nptl/pthread_mutex_lock.c: Likewise.
47414 * nptl/pthread_mutex_timedlock.c: Likewise.
47415 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47416
47417 2014-07-01 Richard henderson <rth@redhat.com>
47418
47419 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47420 (__isnan, __isnanl): Remove.
47421 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47422
47423 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47424
47425 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47426
47427 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47428
47429 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47430
47431 * resolv/nss_dns/dns-host.c (getanswer_r)
47432 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47433
47434 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47435
47436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47437 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47438 undefine.
47439 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47440 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47441
47442 2014-07-01 Roland McGrath <roland@hack.frob.com>
47443
47444 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47445 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47446
47447 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47448 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47449
47450 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47451 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47452 ... here.
47453 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47454 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47455
47456 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47457 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47458 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47459 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47460
47461 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47462 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47463 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47464 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47465 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47466 Moved ...
47467 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47468 ... here.
47469 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47470 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47471 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47472 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47473 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47474 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47475 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47476 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47477 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47478 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47479 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47480 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47481 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47482 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47483 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47484 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47485 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47486 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47487 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47488 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47489 ... here.
47490 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47491 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47492 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47493 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47494 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47495 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47496 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47497 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47498
47499 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47500
47501 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47502 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47503 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47504 Add sysdep.
47505
47506 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47507
47508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47509
47510 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47511
47512 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47513 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47514
47515 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47516
47517 * sysdeps/arm/libm-test-ulps: Regenerated.
47518
47519 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47520 Roland McGrath <roland@hack.frob.com>
47521
47522 * test-skeleton.c (signal_handler): Kill the whole process group
47523 before killing the child individually.
47524 (main): Report any failure on `setpgid'.
47525
47526 2014-06-30 Roland McGrath <roland@hack.frob.com>
47527
47528 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47529 from _TLS_H to _ARM_NPTL_TLS_H.
47530 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47531 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47532
47533 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47534
47535 [BZ #16539]
47536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47537 (__expm1l): Return argument unchanged when small but not
47538 subnormal.
47539
47540 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47541 include macro name.
47542 (_FP_UNPACK_RAW_1_P): Likewise.
47543 (_FP_PACK_RAW_1): Likewise.
47544 (_FP_PACK_RAW_1_P): Likewise.
47545 (_FP_MUL_MEAT_1_wide): Likewise.
47546 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47547 (_FP_MUL_MEAT_1_hard): Likewise.
47548 (_FP_DIV_MEAT_1_imm): Likewise.
47549 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47550 (_FP_DIV_MEAT_1_udiv): Likewise.
47551 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47552 (_FP_UNPACK_RAW_2): Likewise.
47553 (_FP_UNPACK_RAW_2_P): Likewise.
47554 (_FP_PACK_RAW_2): Likewise.
47555 (_FP_PACK_RAW_2_P): Likewise.
47556 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47557 (_FP_MUL_MEAT_2_wide): Likewise.
47558 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47559 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47560 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47561 (_FP_MUL_MEAT_2_gmp): Likewise.
47562 (_FP_DIV_MEAT_2_udiv): Likewise.
47563 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47564 (_FP_FRAC_SRL_4): Likewise.
47565 (_FP_FRAC_SRST_4): Likewise.
47566 (_FP_FRAC_SRS_4): Likewise.
47567 (_FP_UNPACK_RAW_4): Likewise.
47568 (_FP_UNPACK_RAW_4_P): Likewise.
47569 (_FP_PACK_RAW_4): Likewise.
47570 (_FP_PACK_RAW_4_P): Likewise.
47571 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47572 (_FP_MUL_MEAT_4_wide): Likewise.
47573 (_FP_MUL_MEAT_4_gmp): Likewise.
47574 (umul_ppppmnnn): Likewise.
47575 (_FP_DIV_MEAT_4_udiv): Likewise.
47576 (__FP_FRAC_ADD_4): Likewise.
47577 (__FP_FRAC_SUB_3): Likewise.
47578 (__FP_FRAC_SUB_4): Likewise.
47579 (__FP_FRAC_DEC_3): Likewise.
47580 (__FP_FRAC_DEC_4): Likewise.
47581 (__FP_FRAC_ADDI_4): Likewise.
47582 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47583 (_FP_FRAC_SRL_8): Likewise.
47584 (_FP_FRAC_SRS_8): Likewise.
47585
47586 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47587 include macro name.
47588 (FP_UNPACK_RAW_EP): Likewise.
47589 (FP_PACK_RAW_E): Likewise.
47590 (FP_PACK_RAW_EP): Likewise.
47591 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47592 (_FP_ISSIGNAN): Likewise.
47593 (_FP_ADD_INTERNAL): Likewise.
47594 (_FP_FMA): Likewise.
47595 (_FP_CMP): Likewise.
47596 (_FP_SQRT): Likewise.
47597 (_FP_TO_INT): Likewise.
47598 (_FP_FROM_INT): Likewise.
47599 (FP_EXTEND): Likewise.
47600 (_FP_DIV_MEAT_N_loop): Likewise.
47601
47602 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47603
47604 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47605 throughout.
47606
47607 2014-06-29 Joseph Myers <joseph@codesourcery.com>
47608
47609 [BZ #17097]
47610 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47611 result with correct sign in case of exponents that produce
47612 overflow except for X very close to 1.
47613
47614 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
47615
47616 mktime: merge #if/#ifdef usage from glibc
47617 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47618 as that works with both Glibc's and Gnulib's style.
47619 See thread starting at Siddhesh Poyarekar's bug report at:
47620 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47621
47622 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47623
47624 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47625 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47626 * sysdeps/tile/tilegx/memmove.c: Remove file.
47627
47628 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47629
47630 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47631 abi-name definition.
47632 * scripts/soversions.awk: Do not handle or generate ABI lines.
47633 * shlib-versions: Remove ABI entries.
47634 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47635 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47636
47637 2014-06-27 Roland McGrath <roland@hack.frob.com>
47638
47639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47640 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47641 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47642 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47644 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47646 Moved ...
47647 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47648 ... here.
47649 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47650 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47652 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47654 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47656 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47658 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47659 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47660 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47662 Moved ...
47663 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47664 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47665 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47666 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47667 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47668 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47669 Moved ...
47670 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47672 Moved ...
47673 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47674 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47675 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47676 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47677 Moved ...
47678 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47680 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47682 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47683 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47684 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47685 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47686 Moved ...
47687 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47689 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
47690 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
47691 Moved ...
47692 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
47693 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
47694 Moved ...
47695 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
47696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
47697 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
47698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
47699 Moved ...
47700 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
47701 ... here.
47702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47703 Identical file removed.
47704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47705 Moved ...
47706 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47708 Identical file removed.
47709 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47710 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47711 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47712 Moved ...
47713 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47715 Identical file removed.
47716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47717 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47718 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47719 Identical file removed.
47720 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47721 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47722 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47723 Identical file removed.
47724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47725 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47726 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47727 Identical file removed.
47728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47729 Moved ...
47730 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47731 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47732 Identical file removed.
47733 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47734 Moved ...
47735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47736 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47737 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47739 Identical file removed.
47740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47741 Moved ...
47742 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47743 ... here.
47744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47745 Identical file removed.
47746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47747 Moved ...
47748 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47750 Identical file removed.
47751 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47752 Moved ...
47753 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47755 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47756 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47757 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47759 Moved ...
47760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47761 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47762 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47763
47764 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47765 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47766 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47767 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47768 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47769
47770 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
47771
47772 [BZ #17092]
47773 * nscd/nscd.c (monitor_child): Return exit status of child
47774 instead of return value from wait syscall.
47775
47776 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47777
47778 * configure.ac (libc_commonpagesize): Remove variable.
47779 (libc_relro_required): Likewise.
47780 (libc_cv_z_relro): Remove configure test.
47781 * configure: Regenerated.
47782 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47783 variable.
47784 (libc_relro_required): Likewise.
47785 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47786 (libc_relro_required): Likewise.
47787 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47788 (libc_relro_required): Likewise.
47789 * sysdeps/arm/preconfigure: Regenerated.
47790 * sysdeps/ia64/preconfigure: Remove file.
47791 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47792 variable.
47793 (libc_relro_required): Likewise.
47794
47795 [BZ #16561]
47796 [BZ #16562]
47797 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47798 (__ieee754_yn): Set FE_TONEAREST mode internally and then
47799 recompute overflowing results in original rounding mode.
47800 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47801 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47802 recompute overflowing results in original rounding mode.
47803 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47804 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47805 recompute overflowing results in original rounding mode.
47806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47807 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47808 recompute overflowing results in original rounding mode.
47809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47810 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47811 recompute overflowing results in original rounding mode.
47812 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47813 (libc_feholdsetround_ctx): New macro.
47814 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47815 * sysdeps/i386/fpu/libm-test-ulps: Update.
47816 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47817
47818 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47819
47820 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47821 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47822 corresponding .cpsetup call.
47823
47824 2014-06-26 Roland McGrath <roland@hack.frob.com>
47825
47826 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47827 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47828 * sysdeps/arm/Makefile [$(subdir) = csu]
47829 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47830 (static-only-routines): Add aeabi_read_tp here.
47831 (shared-only-routines): Add libc-aeabi_read_tp here.
47832 (CFLAGS-libc-start.c): Add -fexceptions here.
47833 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47834 (sysdep_routines, static-only-routines, shared-only-routines):
47835 Don't add to these here.
47836 (CFLAGS-libc-start.c): Likewise.
47837
47838 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47839 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47840 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47841 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47842 * sysdeps/arm/Makefile [$(subdir) = rt]
47843 (librt-sysdep_routines, librt-shared-only-routines):
47844 Append rt-aeabi_unwind_cpp_pr1 here.
47845 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47846 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47847 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47848 (libpthread-sysdep_routines, libpthread-shared-only-routines):
47849 Append nptl-aeabi_unwind_cpp_pr1 here.
47850 (tests): Filter out tst-cleanupx4 here.
47851 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47852 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47853 Don't do those here.
47854
47855 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47856
47857 * scripts/list-sources.sh: Do not handle ports specially.
47858
47859 2014-06-26 Roland McGrath <roland@hack.frob.com>
47860
47861 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47862 * sysdeps/arm/feupdateenv.c: Likewise.
47863
47864 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47865
47866 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47867
47868 * manual/texinfo.tex: Update to version 2014-05-05.10 with
47869 trailing whitespace removed.
47870 * scripts/config.guess: Update to version 2014-03-23.
47871 * scripts/config.sub: Update to version 2014-05-01
47872 * scripts/install-sh: Update to version 2013-12-25.23.
47873 * scripts/move-if-change: Update from gnulib.
47874
47875 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47876
47877 * debug/memmove_chk.c: Remove pagecopy.h include.
47878
47879 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
47880
47881 * time/mktime.c (leapyear): Remove inline keyword. The code is now
47882 identical to gnulib mktime.
47883
47884 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47885
47886 * configure.ac: Do not test for machine being rs6000. Do not test
47887 for powerpc*-*soft.
47888 * configure: Regenerated.
47889
47890 [BZ #11505]
47891 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47892 test.
47893 * configure: Regenerated.
47894 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47895 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47896 Remove configure test.
47897 * sysdeps/arm/configure: Regenerated.
47898 * sysdeps/nptl/configure.ac: Do not check
47899 libc_cv_asm_cfi_directives.
47900 * sysdeps/nptl/configure: Regenerated.
47901 * sysdeps/x86_64/nptl/configure.ac: Remove file.
47902 * sysdeps/x86_64/nptl/configure: Remove generated file.
47903 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47904 unconditional.
47905 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47906
47907 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47908
47909 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47910 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47911 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47912 it is defined.
47913
47914 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47915 instead of whether it is defined.
47916 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47917 * sysdeps/hppa/dl-machine.h: Likewise.
47918 * sysdeps/ia64/dl-machine.h: Likewise.
47919 * sysdeps/m68k/dl-machine.h: Likewise.
47920 * sysdeps/microblaze/dl-machine.h: Likewise.
47921 * sysdeps/mips/dl-machine.: Likewise.
47922 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47923 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47924 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47925 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47926 * sysdeps/sh/dl-machine.h: Likewise.
47927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47929 * sysdeps/tile/dl-machine.h: Likewise.
47930 * sysdeps/x86_64/dl-machine.h: Likewise.
47931
47932 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47933 code.
47934 (verify_persistent_db): Likewise.
47935
47936 2014-06-26 Roland McGrath <roland@hack.frob.com>
47937
47938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47939 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47941 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47943 Moved ...
47944 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47945 ... here.
47946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47947 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47949 Identical file removed.
47950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47951 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47953 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47955 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47957 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47959 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47961 Moved ...
47962 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47964 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47966 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47968 Moved ...
47969 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47971 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47973 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47975 Identical file removed.
47976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47977 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47979 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47981 Moved ...
47982 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47983 ... here.
47984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47985 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47987 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47989 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47991 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47993 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47995 Moved ...
47996 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47998 Moved ...
47999 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48001 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48003 Moved ...
48004 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48006 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48007
48008 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48009 folded into ...
48010 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48011 * sysdeps/unix/sysv/linux/s390/Versions
48012 (libpthread: GLIBC_2.19): New version set.
48013 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48014 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48015 (librt: GLIBC_2.3.3): New version set.
48016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48017 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48018 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48019 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48020 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48021 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48022 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48023 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48024 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48025 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48026 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48027 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48028 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48029 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48030 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48031 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48032 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48033 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48034 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48035 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48036 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48037 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48038 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48039 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48040 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48041 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48042 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48043 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48044 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48045 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48046 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48047 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48052 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48054 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48056 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48058 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48060 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48061
48062 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48063 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48064 (__libc_vfork): Define the function under this name.
48065 [!NOT_IN_libc] (__vfork): Make this an alias.
48066 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48067 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48068 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48069 (__libc_vfork): Define the function under this name.
48070 [!NOT_IN_libc] (__vfork): Make this an alias.
48071 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48072 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48073 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48076 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48077
48078 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48079 code that was previously under [RESET_PID].
48080 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48081 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48082 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48083
48084 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48085 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48086 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48087 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48088 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48089 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48090 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48091 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48092 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48093 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48094 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48095 Moved ...
48096 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48097 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48098 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48099 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48100 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48101 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48102 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48103 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48104 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48105 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48107 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48108 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48109 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48110 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48111 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48112 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48113 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48114 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48115 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48116 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48117 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48118 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48119 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48120 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48121 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48122 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48124 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48125
48126 2014-06-25 Roland McGrath <roland@hack.frob.com>
48127
48128 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48129 that was previously under [RESET_PID].
48130 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48131
48132 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48133
48134 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48135 not undefine and redefine.
48136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48137 [O_CLOEXEC]: Make code unconditional.
48138 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48139 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48140 <kernel-features.h>.
48141 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48142 conditional variable definition.
48143 (shm_open) [O_CLOEXEC]: Make code unconditional.
48144 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48145 code.
48146
48147 * configure.ac (USE_REGPARMS): Don't define here.
48148 * configure: Regenerated.
48149 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48150 * sysdeps/i386/configure: Regenerated.
48151
48152 * nptl/createthread.c: Don't include kernel-features.h.
48153 * nptl/pthread_cancel.c: Likewise.
48154 * nptl/pthread_condattr_setclock.c: Likewise.
48155 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48156 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48157 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48158 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48159 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48160 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48161 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48164 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48165 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48166 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48167 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48168 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48169 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48170 * nscd/gai.c: Likewise.
48171 * nss/nss_db/db-open.c: Likewise.
48172 * sysdeps/generic/ldsodefs.h: Likewise.
48173 * sysdeps/sh/nptl/tls.h: Likewise.
48174 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48175 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48176 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48177 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48178 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48179 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48180 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48181 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48183 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48184 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48185 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48186 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48187 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48188 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48189 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48190 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48191 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48192 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48193 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48194 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48195 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48196 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48197 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48198 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48200 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48201 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48202 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48203 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48204 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48205 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48206 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48207 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48208 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48209 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48210 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48211 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48212 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48213 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48214 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48215 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48216 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48218 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48219 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48220 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48221 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48222 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48223 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48224 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48225 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48226 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48227 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48228 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48229 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48230 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48231 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48254 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48255 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48256 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48257 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48258 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48260 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48261 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48262 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48263 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48264 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48265 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48266 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48267 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48268 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48269 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48270 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48271 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48272 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48273 * sysdeps/unix/sysv/linux/system.c: Likewise.
48274 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48275 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48276 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48277 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48278 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48279 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48280 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48281
48282 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48283 * configure: Regenerated.
48284 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48285
48286 * configure.ac (base_machine): Do not set specially for particular
48287 machines here.
48288 * configure: Regenerated.
48289 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48290 settings from configure.ac.
48291 * sysdeps/i386/preconfigure: New file.
48292 * sysdeps/s390/preconfigure: Likewise.
48293 * sysdeps/sh/preconfigure: Likewise.
48294 * sysdeps/sparc/preconfigure: Likewise.
48295
48296 2014-06-25 Roland McGrath <roland@hack.frob.com>
48297
48298 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48299 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48300 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48301 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48302 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48303 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48304 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48305 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48306 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48307 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48308 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48309 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48310 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48311 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48313 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48314 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48315 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48316 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48317
48318 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48319 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48320 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48321 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48322 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48323 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48324 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48325 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48326 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48327 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48328 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48329 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48330 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48331 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48332 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48333 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48334 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48335 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48336 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48337 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48338 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48339 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48340 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48341 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48343 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48344 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48345 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48346 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48347 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48348 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48349 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48350 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48351 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48352 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48353 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48355 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48356
48357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48358 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48360 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48362 Moved ...
48363 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48364 ... here.
48365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48366 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48370 Moved ...
48371 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48373 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48375 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48377 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48379 Moved ...
48380 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48382 Moved ...
48383 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48385 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48387 Moved ...
48388 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48390 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48392 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48394 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48396 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48398 Moved ...
48399 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48400 ... here.
48401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48402 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48404 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48406 Moved ...
48407 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48409 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48411 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48413 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48415 Moved ...
48416 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48418 Moved ...
48419 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48421 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48423 Moved ...
48424 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48426 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48428 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48429
48430 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48431
48432 * timezone/checktab.awk: Update from tzcode 2014e.
48433 * timezone/private.h: Likewise.
48434 * timezone/tzfile.h: Likewise.
48435 * timezone/zdump.c: Likewise.
48436 * timezone/zic.c: Likewise.
48437
48438 * sysdeps/unix/sysv/linux/kernel-features.h
48439 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48441 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48442 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48443 Remove conditional code.
48444
48445 2014-06-25 Will Newton <will.newton@linaro.org>
48446
48447 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48448 (_dl_arm_cap_flags): Add HWCAP2 values.
48449 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48450 (_DL_HWCAP_COUNT): Increase to 37.
48451 (_DL_HWCAP_LAST): New define.
48452 (_DL_HWCAP2_LAST): New define.
48453 (_dl_procinfo): Add support for printing
48454 AT_HWCAP2 entries.
48455 (_dl_string_hwcap): Use _dl_hwcap_string.
48456
48457 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48458
48459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48460
48461 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48462
48463 * README: Do not mention ports directory.
48464
48465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48466 Remove macro.
48467 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48468 <kernel-features.h>.
48469 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48470 conditional variable definition.
48471 (__futimes): Update comment.
48472 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48473 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48474
48475 [BZ #16560]
48476 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48477 arguments close to 0.
48478 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48479 Likewise.
48480 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48481 Likewise.
48482 * math/auto-libm-test-in: Add more tests of exp10.
48483 * math/auto-libm-test-out: Regenerated.
48484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48485
48486 * sysdeps/unix/sysv/linux/kernel-features.h
48487 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48488 * sysdeps/unix/sysv/linux/readv.c: Do not include
48489 <kernel-features.h>.
48490 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48491 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48492 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48493 unconditional.
48494 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48495 conditional code.
48496 * sysdeps/unix/sysv/linux/writev.c: Do not include
48497 <kernel-features.h>.
48498 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48499 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48500 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48501 unconditional.
48502 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48503 conditional code.
48504
48505 2014-06-25 Will Newton <will.newton@linaro.org>
48506
48507 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48508 comment changes throughout the file. Remove checks
48509 for HAVE_*_H definitions that are not required.
48510 (__gen_tempname): Call abort if an unknown kind value is
48511 passed.
48512
48513 2014-06-25 Andreas Schwab <schwab@suse.de>
48514
48515 [BZ #17086]
48516 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48517 scalbln, scalblnf, scalblnl in libc.
48518
48519 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48520
48521 [BZ #17086]
48522 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48523 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48524 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48525
48526 2014-06-24 Roland McGrath <roland@hack.frob.com>
48527
48528 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48529 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48530 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48531 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48532 Update #include.
48533 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48534 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48535 Update #include.
48536 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48537 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48538 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48539 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48540 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48541 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48542 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48543 * sysdeps/x86/bits/semaphore.h: ... here.
48544 * sysdeps/x86/nptl/elide.h: Moved ...
48545 * sysdeps/x86/elide.h: ... here.
48546 * sysdeps/x86_64/nptl/Implies: File removed.
48547 * sysdeps/i386/nptl/Implies: File removed.
48548
48549 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48550
48551 [BZ #16539]
48552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48553 return the argument for normal arguments with exponent below -64.
48554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48555 Likewise.
48556 * math/auto-libm-test-in: Add another test of expm1.
48557 * math/auto-libm-test-out: Regenerated.
48558
48559 [BZ #16287]
48560 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48561 calling __erfcl for arguments at least 16.
48562 * math/auto-libm-test-in: Add more tests of erf.
48563 * math/auto-libm-test-out: Regenerated.
48564
48565 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48566 individual architectures.
48567 * sysdeps/unix/sysv/linux/configure: Regenerated.
48568 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48569 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48570 * sysdeps/unix/sysv/linux/powerpc/configure.ac
48571 (ldd_rewrite_script): Define variable.
48572 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48574 file.
48575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48576 generated file.
48577 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48578 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48579 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48580 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48581 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48582 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48583 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48584 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48585
48586 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48587
48588 [BZ #17084]
48589 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48590 Rename member __data.d to __data.__elision_data.
48591
48592 2014-06-24 Wilco <wdijkstr@arm.com>
48593
48594 * NEWS: Add 16918 to fixed bug list.
48595
48596 2014-06-24 Wilco <wdijkstr@arm.com>
48597
48598 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48599
48600 2014-06-24 Wilco <wdijkstr@arm.com>
48601
48602 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48603 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48604 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48605 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48606 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48607 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48608 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48609 Use _FPU_MASK_RM.
48610
48611 2014-06-24 Wilco <wdijkstr@arm.com>
48612
48613 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48614
48615 2014-06-24 Wilco <wdijkstr@arm.com>
48616
48617 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48618 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48619 * sysdeps/arm/fesetround.c (fesetround): Remove space.
48620 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48621
48622 2014-06-24 Wilco <wdijkstr@arm.com>
48623
48624 [BZ #16918]
48625 * sysdeps/arm/feupdateenv.c (feupdateenv):
48626 Rewrite to reduce FPSCR accesses and fix return value.
48627
48628 2014-06-24 Wilco <wdijkstr@arm.com>
48629
48630 * sysdeps/arm/fclrexcpt.c (feclearexcept):
48631 Optimize to avoid unnecessary FPSCR writes.
48632 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48633 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48634 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48635 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48636
48637 2014-06-24 Wilco <wdijkstr@arm.com>
48638
48639 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48640 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48641 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48642 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48643 Call libc_fetestexcept_vfp.
48644 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48645 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48646 __SOFTFP__ ifdef so that they can be built for softfp.
48647
48648 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48649
48650 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48651 argument type signed char.
48652
48653 * Makerules (check-abi): Dump diff of symlist if the test
48654 fails.
48655
48656 2014-06-23 Roland McGrath <roland@hack.frob.com>
48657
48658 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48659 using abort.
48660
48661 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48662 Remove unused variable ST.
48663
48664 2014-06-23 Joseph Myers <joseph@codesourcery.com>
48665
48666 [BZ #16354]
48667 [BZ #17061]
48668 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48669 small arguments before calling __expm1.
48670 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48671 small arguments before calling __expm1f.
48672 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48673 small arguments before calling __expm1l.
48674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48675 Likewise.
48676 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48677 * math/auto-libm-test-in: Add more cosh tests. Do not allow
48678 spurious underflow for some cosh tests.
48679 * math/auto-libm-test-out: Regenerated.
48680 * sysdeps/i386/fpu/libm-test-ulps: Update.
48681
48682 [BZ #17050]
48683 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48684 (__ieee754_y1): Set errno if return value overflows.
48685 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48686 (__ieee754_y1f): Set errno if return value overflows.
48687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48688 (__ieee754_y1l): Set errno if return value overflows.
48689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
48690 (__ieee754_y1l): Set errno if return value overflows.
48691 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
48692 * math/auto-libm-test-out: Regenerated.
48693
48694 * math/gen-auto-libm-tests.c: Document use of
48695 ignore-zero-inf-sign.
48696 (input_flag_type): Add value flag_ignore_zero_inf_sign.
48697 (input_flags): Add ignore-zero-inf-sign.
48698 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
48699 * math/gen-libm-test.pl (generate_testfile): Handle
48700 ignore-zero-inf-sign.
48701 * math/auto-libm-test-in: Mark some cpow tests with
48702 ignore-zero-inf-sign and some with xfail-rounding.
48703 * math/auto-libm-test-out: Regenerated.
48704 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48705 * sysdeps/i386/fpu/libm-test-ulps: Update.
48706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48707
48708 [BZ #16315]
48709 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48710 overflowing or underflowing operations take place with sign of
48711 result.
48712 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48713 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48714 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48715 (__ieee754_pow): Recompute overflowing and underflowing results in
48716 original rounding mode.
48717 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48718 (__powl_helper): Allow negative argument X and scale negated value
48719 as needed. Avoid passing value outside [-1, 1] to f2xm1.
48720 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48721 overflowing or underflowing operations take place with sign of
48722 result.
48723 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48724 Include <math.h>.
48725 * math/auto-libm-test-in: Add more tests of pow.
48726 * math/auto-libm-test-out: Regenerated.
48727 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48728 (pow_tonearest_test_data): Remove.
48729 (pow_test_tonearest): Likewise.
48730 (pow_towardzero_test_data): Likewise.
48731 (pow_test_towardzero): Likewise.
48732 (pow_downward_test_data): Likewise.
48733 (pow_test_downward): Likewise.
48734 (pow_upward_test_data): Likewise.
48735 (pow_test_upward): Likewise.
48736 (main): Don't call removed functions.
48737 * sysdeps/i386/fpu/libm-test-ulps: Update.
48738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48739
48740 2014-06-23 Roland McGrath <roland@hack.frob.com>
48741
48742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48743 Moved ...
48744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48746 Moved ...
48747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48749 Moved ...
48750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48752 Moved ...
48753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48755 File removed.
48756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48757 File removed.
48758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48759 File removed.
48760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48761 File removed.
48762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48763 File removed.
48764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48765 File removed.
48766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48767 File removed.
48768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48769 File removed.
48770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48771 File removed.
48772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48773 File removed.
48774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48775 File removed.
48776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48777 File removed.
48778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48779 Moved ...
48780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48782 Moved ...
48783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48784 ... here.
48785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48786 Moved ...
48787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48789 Moved ...
48790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48792 Moved ...
48793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48795 Moved ...
48796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48798 Moved ...
48799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48801 Moved ...
48802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48804 Moved ...
48805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48808 ... here.
48809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48810 Moved ...
48811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48813 Moved ...
48814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48815 ... here.
48816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48817 Moved ...
48818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48819 ... here.
48820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48821 Moved ...
48822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48823 ... here.
48824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48825 Moved ...
48826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48828 Moved ...
48829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48833 Moved ...
48834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48835 ... here.
48836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48837 Moved ...
48838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48839 ... here.
48840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48841 Moved ...
48842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48844 Moved ...
48845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48847 Moved ...
48848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48850 Moved ...
48851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48853 Moved ...
48854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48855 ... here.
48856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48857 Moved ...
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48860 Moved ...
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48863 Moved ...
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48866 Moved ...
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48871 Moved ...
48872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48874 Moved ...
48875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48877 Moved ...
48878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48879 ... here.
48880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48881 Moved ...
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48883 ... here.
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48885 Moved ...
48886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48887 ... here.
48888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48889 Moved ...
48890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48892 Moved ...
48893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48895 Moved ...
48896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48898 Moved ...
48899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48900 ... here.
48901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48902 Moved ...
48903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48904 ... here.
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48906 Moved ...
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48908 ... here.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48910 Moved ...
48911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48913 Moved ...
48914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48915
48916 2014-06-23 Will Newton <will.newton@linaro.org>
48917 Wilco <wdijkstr@arm.com>
48918
48919 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48920 implementation. Include get-rounding-mode.h.
48921 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48922 [!libc_feholdsetround_noex_ctx]: Define
48923 libc_feholdsetround_noex_ctx.
48924 [!libc_feholdsetround_noexf_ctx]: Define
48925 libc_feholdsetround_noexf_ctx.
48926 [!libc_feholdsetround_noexl_ctx]: Define
48927 libc_feholdsetround_noexl_ctx.
48928 (libc_feholdsetround_ctx): New function.
48929 (libc_feresetround_ctx): New function.
48930 (libc_feholdsetround_noex_ctx): New function.
48931 (libc_feresetround_noex_ctx): New function.
48932
48933 2014-06-23 Roland McGrath <roland@hack.frob.com>
48934
48935 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48936 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48937 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48938 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48939 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48940 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48941
48942 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48943 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48944 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48945 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48946 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48947 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48949 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48950 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48951 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48952 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48953 Moved ...
48954 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48955 ... here.
48956 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48957 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48958 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48959 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48960 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48961 Moved ...
48962 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48963 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48964 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48968 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48970 Moved ...
48971 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48972 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48973 Moved ...
48974 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48975 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48976 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48978 Moved ...
48979 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48981 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48982 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48983 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48984 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48985 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48986 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48987 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48988 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48989 Moved ...
48990 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48991 ... here.
48992 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48993 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48994 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48995 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48996 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48997 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48998 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48999 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49000 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49001 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49002 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49003 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49004 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49005 Moved ...
49006 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49007 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49008 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49010 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49012 Moved ...
49013 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49014 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49015 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49016 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49017 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49018
49019 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49020 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49021 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49022 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49023 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49024 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49025 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49026 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49028 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49029 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49030 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49031 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49032 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49033 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49034 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49035 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49036 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49037 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49038 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49039 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49040 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49042 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49043 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49044 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49045 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49046 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49047
49048 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49049
49050 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49051 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49052 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49053 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49054 (IPV6_PMTUDISC_INTERFACE): Likewise.
49055 (IPV6_PMTUDISC_OMIT): Likewise.
49056
49057 2014-06-23 Andreas Schwab <schwab@suse.de>
49058
49059 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49060 Remove unused errout label.
49061
49062 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49063
49064 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49065 macro: hardware supports Vector Crypto instructions.
49066
49067 2014-06-23 Will Newton <will.newton@linaro.org>
49068
49069 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49070 rather than __builtin_expect.
49071
49072 * elf/dl-lookup.c (undefined_msg): Remove variable.
49073 (_dl_lookup_symbol_x): Replace undefined_msg with string
49074 literal.
49075
49076 * elf/dl-lookup.c (do_lookup_unique): New function.
49077 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49078 to a separate function.
49079
49080 2014-06-23 Andreas Schwab <schwab@suse.de>
49081
49082 [BZ #17079]
49083 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49084 before reading the next line.
49085
49086 2014-06-23 Will Newton <will.newton@linaro.org>
49087
49088 * test-skeleton.c (signal_handler): Use printf and %m
49089 rather than perror. Use printf rather than fprintf to
49090 stderr. Use puts rather than fputs to stderr.
49091 (main): Likewise.
49092
49093 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49094
49095 * nscd/nscd.c (thread_info_t): Remove typedef.
49096 (thread_info): Remove variable.
49097
49098 2014-06-21 Allan McRae <allan@archlinux.org>
49099
49100 * NEWS: Mention CVE-2014-4043.
49101
49102 2014-06-20 Roland McGrath <roland@hack.frob.com>
49103
49104 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49105 * nptl/smp.h: ... here.
49106
49107 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49108
49109 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49110 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49111 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49112 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49113
49114 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49115 * nptl/stack-aliasing.h: New file.
49116 * sysdeps/i386/i686/stack-aliasing.h: New file.
49117 * sysdeps/i386/i686/nptl/Makefile: File removed.
49118 * sysdeps/x86_64/stack-aliasing.h: New file.
49119 * sysdeps/x86_64/nptl/Makefile
49120 (CFLAGS-pthread_create.c): Variable removed.
49121
49122 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49123 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49124 old file.
49125 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49126 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49127 old file.
49128
49129 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49130
49131 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49132 (__ASSUME_SIGFRAME_V2): Remove macro.
49133 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49134 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49135 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49136 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49137 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49138 Declare as function. Remove conditional macro definitions.
49139 (__default_rt_sa_restorer): Likewise.
49140 (__default_sa_restorer_v1): Remove declaration.
49141 (__default_sa_restorer_v2): Likewise.
49142 (__default_rt_sa_restorer_v1): Likewise.
49143 (__default_rt_sa_restorer_v2): Likewise.
49144 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49145 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49146 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49147
49148 2014-06-20 Roland McGrath <roland@hack.frob.com>
49149
49150 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49151 (libpthread-routines): Add sysdep.
49152 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49153 * sysdeps/unix/sysv/linux/sparc/Versions
49154 (libpthread: GLIBC_2.3.3): New version set.
49155 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49156 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49157 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49158 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49159 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49160 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49161 Moved ...
49162 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49163 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49164 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49165 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49166 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49167 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49168 * sysdeps/sparc/nptl/sem_init.c: ... here.
49169 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49170 * sysdeps/sparc/nptl/sem_post.c: ... here.
49171 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49172 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49173 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49174 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49175 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49176 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49177 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49178 (libpthread-routines): Add cpu_relax.
49179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49180 File removed.
49181 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49182 (librt: GLIBC_2.3.3): New version set.
49183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49184 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49186 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49189 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49191 Moved ...
49192 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49194 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49196 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49198 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49200 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49202 Moved ...
49203 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49204 Update #include.
49205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49206 Moved ...
49207 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49208 Update #include.
49209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49210 Moved ...
49211 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49212 Update #include.
49213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49214 Moved ...
49215 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49216 Update #include.
49217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49218 Moved ...
49219 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49220 Update #include.
49221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49222 Moved ...
49223 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49224 Update #include.
49225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49226 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49232 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49234 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49236 Moved ...
49237 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49239 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49241 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49242
49243 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49244
49245 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49246 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49247 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49248 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49249 * nscd/nscd.c: Likewise.
49250 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49251 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49252 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49253 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49254
49255 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49256 <kernel-features.h>.
49257 (init_mq_netlink): Remove conditional have_sock_cloexec
49258 definitions. Remove code conditional on have_sock_cloexec < 0.
49259 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49260 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49261 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49262 <kernel-features.h>.
49263 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49264 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49265
49266 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49267
49268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49269 Add tests for memset_chk and memset.
49270
49271 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49272 with AVX2_Usable.
49273
49274 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49275
49276 [BZ #16046]
49277 * elf/tst-dl-iter-static.c: New file.
49278 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49279
49280 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49281 error.
49282
49283 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49284
49285 * sysdeps/unix/sysv/linux/kernel-features.h
49286 (__ASSUME_F_GETOWN_EX): Remove macro.
49287 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49288 <kernel-features.h>.
49289 (miss_F_GETOWN_EX): Remove variable or macro.
49290 (do_fcntl): Do not check miss_F_GETOWN_EX.
49291 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49292
49293 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49294 Remove macro.
49295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49296 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49297 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49298
49299 * sysdeps/unix/sysv/linux/kernel-features.h
49300 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49301 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49302 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49303 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49304
49305 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49306
49307 [BZ #17075]
49308 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49309 Fix calculation of the symbol's value.
49310 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49311 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49312 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49313 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49314 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49315 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49316 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49317 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49318 (modules-names): Add `tst-armtlsdescmod',
49319 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49320 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49321 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49322 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49323 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49324 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49325 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49326 ($(objpfx)tst-armtlsdescloc): New dependency.
49327 ($(objpfx)tst-armtlsdescextnow): Likewise.
49328 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49329 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49330 TLS scheme support.
49331 * sysdeps/arm/configure: Regenerate.
49332
49333 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49334
49335 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49336 (__atfct_seterrno_2): Likewise.
49337 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49338 <kernel-features.h>.
49339 (__ASSUME_ATFCTS): Do not undefine and redefine.
49340 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49341 (__have_atfcts): Remove conditional definition.
49342 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49343 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49344 unreachable if [__ASSUME_ATFCTS].
49345 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49346 not undefine and redefine.
49347 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49348 <kernel-features.h>.
49349 (faccessat) [__NR_faccessat]: Make code unconditional.
49350 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49351 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49352 <kernel-features.h>.
49353 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49354 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49355 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49356 <kernel-features.h>.
49357 (fchownat) [__NR_fchownat]: Make code unconditional.
49358 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49359 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49360 <kernel-features.h>.
49361 (futimesat) [__NR_futimesat]: Make code unconditional.
49362 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49363 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49364 <kernel-features.h>.
49365 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49366 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49367 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49368 <kernel-features.h>.
49369 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49370 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49371 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49372 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49373 <kernel-features.h>.
49374 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49375 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49376 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49377 <kernel-features.h>.
49378 (linkat) [__NR_linkat]: Make code unconditional.
49379 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49380 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49381 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49382 <kernel-features.h>.
49383 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49384 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49385 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49386 <kernel-features.h>.
49387 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49388 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49389 * sysdeps/unix/sysv/linux/openat.c: Do not include
49390 <kernel-features.h>.
49391 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49392 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49393 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49394 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49395 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49396 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49397 <kernel-features.h>.
49398 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49399 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49400 result of INLINE_SYSCALL directly, not via int variable.
49401 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49402 <kernel-features.h>.
49403 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49404 (renameat) [__NR_renameat]: Make code unconditional.
49405 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49406 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49407 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49408 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49409 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49410 (__ASSUME_ATFCTS): Do not undefine and redefine.
49411 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49412 <kernel-features.h>.
49413 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49414 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49415 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49416 <kernel-features.h>.
49417 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49418 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49419 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49420 (__ASSUME_ATFCTS): Do not undefine and redefine.
49421 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49422 <kernel-features.h>.
49423 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49424 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49425 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49426 <kernel-features.h>.
49427 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49428 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49429
49430 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49431
49432 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49433
49434 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49435
49436 [BZ #17069]
49437 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49438 constructed tree before returning error.
49439 * posix/bug-regexp36.c: Expand test case.
49440
49441 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49442
49443 [BZ #6803]
49444 * math/libm-test.inc (scalbln_test_date):
49445 Add errno expectations.
49446 * math/w_scalblnf.c: New File.
49447 Add wrapper which checks for setting errno to ERANGE.
49448 Add weak_alias for corresponding scalbln function.
49449 * math/w_scalbln.c: Likewise.
49450 * math/w_scalblnl.c: Likewise.
49451 * math/Makefile (libm-calls): Add w_scalbln.
49452 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49453 Remove weak_alias for corresponding scalbln function.
49454 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49457 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49458 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49459 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49460 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49461 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49462 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49463 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49464 Remove long_double_symbol for scalblnl function in libm, libc.
49465 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49466 Add wrapper which checks for setting errno to ERANGE.
49467 Add long_double_symbol for scalblnl function in libm, libc.
49468 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49469 Remove long_double_symbol for scalblnl in libm.
49470 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49471 Add wrapper which checks for setting errno to ERANGE.
49472 Add long_double_symbol for scalblnl function in libm.
49473 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49474 Do not use wrapper because of own implementation.
49475
49476 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49477
49478 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49479 3 bytes for __pad1 for x32.
49480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49481
49482 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49483 H.J. Lu <hongjiu.lu@intel.com>
49484
49485 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49486 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49487 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49488 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49489 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49490
49491 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49492
49493 [BZ #17069]
49494 * posix/regcomp.c (parse_expression): Deallocate partially
49495 constructed tree before returning error.
49496 * posix/Makefile.c (tests): Add bug-regex36.
49497 (generated): Add bug-regex36.mtrace.
49498 (tests-special): Add $(objpfx)bug-regex36-mem.out
49499 (bug-regex36-ENV): New variable.
49500 ($(objpfx)bug-regex36-mem.out): New rule.
49501 * posix/bug-regex36.c: New file.
49502
49503 2014-06-19 Will Newton <will.newton@linaro.org>
49504
49505 * malloc/malloc.c (systrim): If extra is zero then return
49506 early.
49507
49508 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49509
49510 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49511
49512 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49513
49514 * sysdeps/aarch64/strchr.S: New file.
49515
49516 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49517
49518 [BZ #17022]
49519 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49520 from arguments -2 or below.
49521 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49522 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49523
49524 2014-06-18 Andreas Schwab <schwab@suse.de>
49525
49526 [BZ #17062]
49527 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49528 of a bracket expr not to run off the end of the string.
49529 * posix/Makefile (tests): Add tst-fnmatch3.
49530 * posix/tst-fnmatch3.c: New file.
49531
49532 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49533
49534 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49535 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49536 [$(cross-compiling) = no]: Likewise.
49537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49538 [$(cross-compiling) = no]: Likewise.
49539
49540 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49541
49542 [BZ #17031]
49543 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49544 double, adjusted for any remainder from the high double.
49545 * math/libm-test.inc (nearbyint): Add tests.
49546 (rint): Likewise.
49547
49548 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49549
49550 * nptl/sysdeps/powerpc/Makefile: Moved ...
49551 * sysdeps/powerpc/nptl/Makefile: ... here.
49552 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49553 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49554 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49555 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49556 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49557 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49558 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49559 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49560 * nptl/sysdeps/powerpc/tls.h: Moved ...
49561 * sysdeps/powerpc/nptl/tls.h: ... here.
49562
49563 2014-06-16 Joseph Myers <joseph@codesourcery.com>
49564
49565 [BZ #16681]
49566 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49567 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49568 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49569 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49570 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49571 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49572 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49573 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49574 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49575
49576 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
49577
49578 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49579
49580 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
49581
49582 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49583 defined operator.
49584
49585 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49586 $TIMEOUTFACTOR.
49587
49588 2014-06-16 Florian Weimer <fweimer@redhat.com>
49589
49590 [BZ #17058]
49591 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49592 non-executed part of the test.
49593
49594 2014-06-16 Andreas Schwab <schwab@suse.de>
49595
49596 * string/bits/string2.h (strdup, strndup): Update feature guard.
49597
49598 2014-06-14 David S. Miller <davem@davemloft.net>
49599
49600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49601
49602 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
49603
49604 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49605 that was previously under [RESET_PID].
49606 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49607
49608 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49609 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49610 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49611 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49612 (__libc_vfork): New strong alias.
49613 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49614
49615 2014-06-14 Andi Kleen <ak@linux.intel.com>
49616
49617 * sysdeps/generic/elide.h: New file.
49618
49619 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49620
49621 * Makefile (installed-headers): Adjust path of pthread.h header.
49622
49623 2014-06-13 Roland McGrath <roland@hack.frob.com>
49624
49625 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49626 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49627 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49628 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49629
49630 * nptl/sysdeps/s390/Makefile: Moved ...
49631 * sysdeps/s390/nptl/Makefile: ... here.
49632 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49633 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49634 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49635 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49636 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49637 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49638 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49639 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49640 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49641 * sysdeps/s390/nptl/pthreaddef.h: ... here.
49642 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49643 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49644 * nptl/sysdeps/s390/tls.h: Moved ...
49645 * sysdeps/s390/nptl/tls.h: ... here.
49646
49647 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49648 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49649
49650 2014-06-13 David S. Miller <davem@davemloft.net>
49651
49652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49655 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49659 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49660 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49661 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49662 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49663 Remove RESET_PID cpp guards.
49664 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49665 Remove RESET_PID cpp guards.
49666 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49667
49668 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
49669
49670 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49671 __sp to uintptr_t.
49672
49673 2014-06-13 Andi Kleen <ak@linux.intel.com>
49674
49675 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49676 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49677 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49678 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49679 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49681 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49682 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49687 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49688 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49689 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
49690 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
49691 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
49692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49693 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
49694 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
49695
49696 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
49697 (pthread_rwlock_rdlock): Add elision.
49698 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
49699 (pthread_rwlock_wrlock): Add elision.
49700 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
49701 (pthread_rwlock_trywrlock): Add elision.
49702 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49703 (pthread_rwlock_tryrdlock): Add elision.
49704 * nptl/pthread_rwlock_unlock.c: Include elide.h.
49705 (pthread_rwlock_tryrdlock): Add elision unlock.
49706 * nptl/sysdeps/pthread/pthread.h:
49707 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49708 (PTHREAD_RWLOCK_INITIALIZER,
49709 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49710 Handle new elision field.
49711 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49712 * sysdeps/arm/nptl/bits/pthreadtypes.h
49713 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49714 * sysdeps/sh/nptl/bits/pthreadtypes.h
49715 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49716 * sysdeps/tile/nptl/bits/pthreadtypes.h
49717 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49718 * sysdeps/a/nptl/bits/pthreadtypes.h
49719 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49720 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49721 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49722 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49723 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49724 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49725 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49726 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49727 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49728 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49729 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49730 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49731 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49732 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49733 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49734 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49735 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49736 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49737 (elision_init): Set try_xbegin to zero when no RTM.
49738 * sysdeps/x86/nptl/bits/pthreadtypes.h
49739 (pthread_rwlock_t): Change __pad1 to __rwelision.
49740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49741
49742 2014-06-13 Andi Kleen <ak@linux.intel.com>
49743
49744 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49745 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49746 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49747 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49748
49749 2014-06-13 Meador Inge <meadori@codesourcery.com>
49750
49751 [BZ #16996]
49752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49753 that the cached result has been set before returning it.
49754
49755 2014-06-12 Roland McGrath <roland@hack.frob.com>
49756
49757 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49758 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49759 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49760 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49761 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49762 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49763
49764 * nptl/sysdeps/sparc/Makefile: Moved ...
49765 * sysdeps/sparc/nptl/Makefile: ... here.
49766 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49767 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49768 * nptl/sysdeps/sparc/tls.h: Moved ...
49769 * sysdeps/sparc/nptl/tls.h: ... here.
49770 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49771 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49772 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49773 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49774 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49775 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49776 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49777 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49778 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49779 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49780 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49781 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49782 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49783 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49784 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49785 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49786 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49787 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49788 Update #include.
49789 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49790 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49791 Update #include.
49792 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49793 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49794 Update #include.
49795 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49796 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49797 Update #include.
49798
49799 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49800
49801 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49802 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49803
49804 * sysdeps/pthread/posix-timer.h: Include <list.h>.
49805 (struct list_links): Type removed.
49806 (struct thread_node, struct timer_node): Replace struct list_links
49807 with struct list_head.
49808 (list_unlink_ip): Likewise.
49809 * sysdeps/pthread/timer_routines.c
49810 (timer_free_list, thread_free_list, thread_active_list): Likewise.
49811 (list_append, list_insbefore): Likewise.
49812 (list_init): Function removed.
49813 (thread_init, init_module): Use INIT_LIST_HEAD instead.
49814 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49815 * sysdeps/pthread/Makefile: ... here, new file.
49816
49817 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49818 * sysdeps/nptl/Implies: ... here.
49819 * sysdeps/unix/sysv/linux/Implies: Add nptl.
49820 * nptl/sysdeps/pthread/list.h: Moved ...
49821 * include/list.h: ... here.
49822 * nptl/sysdeps/pthread/createthread.c: Moved ...
49823 * nptl/createthread.c: ... here.
49824 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49825 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49826 * nptl/pt-longjmp.c: ... here.
49827 * nptl/sysdeps/pthread/Makefile: Moved ...
49828 * sysdeps/nptl/Makefile: ... here.
49829 * nptl/sysdeps/pthread/Subdirs: Moved ...
49830 * sysdeps/nptl/Subdirs: ... here.
49831 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49832 * sysdeps/nptl/aio_misc.h: ... here.
49833 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49834 * sysdeps/nptl/bits/libc-lock.h: ... here.
49835 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49836 * sysdeps/nptl/bits/libc-lockP.h: ... here.
49837 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49838 * sysdeps/nptl/bits/stdio-lock.h: ... here.
49839 * nptl/sysdeps/pthread/configure: Moved ...
49840 * sysdeps/nptl/configure: ... here.
49841 * nptl/sysdeps/pthread/configure.ac: Moved ...
49842 * sysdeps/nptl/configure.ac: ... here.
49843 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49844 * sysdeps/nptl/gai_misc.h: ... here.
49845 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49846 * sysdeps/nptl/librt-cancellation.c: ... here.
49847 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49848 * sysdeps/nptl/malloc-machine.h: ... here.
49849 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49850 * sysdeps/nptl/pthread-functions.h: ... here.
49851 * nptl/sysdeps/pthread/pthread.h: Moved ...
49852 * sysdeps/nptl/pthread.h: ... here.
49853 * nptl/sysdeps/pthread/setxid.h: Moved ...
49854 * sysdeps/nptl/setxid.h: ... here.
49855 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49856 * sysdeps/nptl/sigfillset.c: ... here.
49857 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49858 * sysdeps/nptl/tcb-offsets.h: ... here.
49859 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49860 * sysdeps/nptl/tst-mqueue8x.c: ... here.
49861 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49862 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49863 * nptl/sysdeps/pthread/allocalim.h: Moved ...
49864 * sysdeps/pthread/allocalim.h: ... here.
49865 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49866 * sysdeps/pthread/bits/sigthread.h: ... here.
49867 * nptl/sysdeps/pthread/flockfile.c: Moved ...
49868 * sysdeps/pthread/flockfile.c: ... here.
49869 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49870 * sysdeps/pthread/ftrylockfile.c: ... here.
49871 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49872 * sysdeps/pthread/funlockfile.c: ... here.
49873 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49874 * sysdeps/pthread/posix-timer.h: ... here.
49875 * nptl/sysdeps/pthread/timer_create.c: Moved ...
49876 * sysdeps/pthread/timer_create.c: ... here.
49877 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49878 * sysdeps/pthread/timer_delete.c: ... here.
49879 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49880 * sysdeps/pthread/timer_getoverr.c: ... here.
49881 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49882 * sysdeps/pthread/timer_gettime.c: ... here.
49883 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49884 * sysdeps/pthread/timer_routines.c: ... here.
49885 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49886 * sysdeps/pthread/timer_settime.c: ... here.
49887 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49888 * sysdeps/pthread/tst-timer.c: ... here.
49889 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49890 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49891
49892 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49893 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49894
49895 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49896 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49897 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49898 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49899 Update #include target.
49900 * nptl/sysdeps/i386/i686/Makefile: Moved ...
49901 * sysdeps/i386/i686/nptl/Makefile: ... here.
49902 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49903 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49904 Update #include target.
49905 * nptl/sysdeps/i386/i686/tls.h: Moved ...
49906 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
49907 * nptl/sysdeps/i386/Makefile: Moved ...
49908 * sysdeps/i386/nptl/Makefile: ... here.
49909 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49910 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49911 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49912 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49913 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49914 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49915 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49916 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49917 * sysdeps/i386/nptl/pthreaddef.h: ... here.
49918 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49919 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49920 * nptl/sysdeps/i386/tls.h: Moved ...
49921 * sysdeps/i386/nptl/tls.h: ... here.
49922
49923 * sysdeps/sh/Makefile [$(subdir) = csu]
49924 (gen-as-const-headers): Add tcb-offsets.sym.
49925 * nptl/sysdeps/sh/Makefile: File removed.
49926 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49927 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49928 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49929 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49930 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49931 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49932 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49933 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49934 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49935 * sysdeps/sh/nptl/pthreaddef.h: ... here.
49936 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49937 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49938 * nptl/sysdeps/sh/tls.h: Moved ...
49939 * sysdeps/sh/nptl/tls.h: ... here.
49940 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49941 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49942 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49943 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49944 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49945 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49946 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49947 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49948 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49949 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49950 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49951 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49952 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49953 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49954 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49955 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49956 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49957 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49958 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49959 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49960 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49961 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49962 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49963 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49964 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49965 Moved ...
49966 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49968 Moved ...
49969 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49970 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49971 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49972 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49973 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49974 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49975 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49976 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49977 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49978 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49979 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49980 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49981 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49982 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49983 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49984 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49985 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49986 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49987 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49988
49989 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
49990
49991 * posix/spawn_faction_addopen.c: Include string.h.
49992
49993 2014-06-11 Roland McGrath <roland@hack.frob.com>
49994
49995 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49996 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49997 * nptl/sysdeps/x86_64/Makefile: Moved ...
49998 * sysdeps/x86_64/nptl/Makefile: ... here.
49999 * nptl/sysdeps/x86_64/configure: Moved ...
50000 * sysdeps/x86_64/nptl/configure: ... here.
50001 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50002 * sysdeps/x86_64/nptl/configure.ac: ... here.
50003 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50004 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50005 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50006 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50007 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50008 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50009 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50010 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50011 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50012 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50013 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50014 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50015 * nptl/sysdeps/x86_64/tls.h: Moved ...
50016 * sysdeps/x86_64/nptl/tls.h: ... here.
50017 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50018 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50019 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50020 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50021
50022 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50023
50024 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50025
50026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50027
50028 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50029
50030 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50031 type.
50032 [POSIX] (off_t): Likewise.
50033 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50034 [POSIX] (S_ISBLK): Require macro.
50035 [POSIX] (S_ISCHR): Likewise.
50036 [POSIX] (S_ISDIR): Likewise.
50037 [POSIX] (S_ISFIFO): Likewise.
50038 [POSIX] (S_ISREG): Likewise.
50039 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50040 optional-macro.
50041 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50042 type.
50043 [POSIX] (time_t): Likewise.
50044 [POSIX] (timer_t): Likewise.
50045
50046 2014-06-11 Florian Weimer <fweimer@redhat.com>
50047
50048 [BZ #17048]
50049 * posix/spawn_int.h (struct __spawn_action): Make the path string
50050 non-const to support deallocation.
50051 * posix/spawn_faction_addopen.c
50052 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50053 * posix/spawn_faction_destroy.c
50054 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50055 path in all spawn_do_open actions.
50056 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50057 posix_spawn_file_actions_addopen.
50058
50059 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50060
50061 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50062 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50063 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50064 conditional code always true.
50065 (__libc_vfork): New alias.
50066
50067 2014-06-11 Roland McGrath <roland@hack.frob.com>
50068
50069 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50070 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50071
50072 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50073
50074 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50075 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50076
50077 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50078 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50079
50080 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50081 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50082
50083 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50084
50085 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50086 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50087 multiarch strcmp for PPC64.
50088 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50089 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50091 multiarch optimizations.
50092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50093 (__libc_ifunc_impl_list): Likewise.
50094
50095 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50096
50097 * benchtests/scripts/validate_benchout.py: New script.
50098 * benchtests/Makefile (bench-func): Call it.
50099 * benchtests/scripts/benchout.schema.json: New file.
50100
50101 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50102
50103 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50104 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50105 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50106 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50107 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50108 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50109 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50110 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50111 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50112 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50113 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50114 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50115 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50116 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50117 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50118 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50120 Moved ...
50121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50122 ... here.
50123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50124 Moved ...
50125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50127 Moved ...
50128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50129 ... here.
50130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50131 Moved ...
50132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50133 ... here.
50134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50135 Moved ...
50136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50138 Moved ...
50139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50140 ... here.
50141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50142 Moved ...
50143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50144 ... here.
50145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50146 Moved ...
50147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50149 Moved ...
50150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50151 ... here.
50152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50153 Moved ...
50154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50155 ... here.
50156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50157 Moved ...
50158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50159 ... here.
50160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50161 Moved ...
50162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50164 Moved ...
50165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50166 ... here.
50167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50168 Moved ...
50169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50170 ... here.
50171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50172 Moved ...
50173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50174 ... here.
50175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50176 Moved ...
50177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50179 Moved ...
50180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50181 ... here.
50182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50183 Moved ...
50184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50185 ... here.
50186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50187 Moved ...
50188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50190 Moved ...
50191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50192 ... here.
50193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50194 Moved ...
50195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50197 Moved ...
50198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50200 Moved ...
50201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50202 ... here.
50203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50204 Moved ...
50205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50206 ... here.
50207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50208 Moved ...
50209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50210 ... here.
50211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50212 Moved ...
50213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50215 Moved ...
50216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50217 ... here.
50218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50219 Moved ...
50220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50221 ... here.
50222 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50223 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50225 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50227 Moved ...
50228 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50229 ... here.
50230 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50231 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50232 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50233 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50234 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50235 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50236 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50237 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50238 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50239 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50240 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50241 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50242 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50243 Moved ...
50244 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50245 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50246 Moved ...
50247 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50248 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50249 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50250 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50251 Moved ...
50252 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50254 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50255 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50256 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50257 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50258 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50259
50260 2014-06-10 Wilco <wdijkstr@arm.com>
50261
50262 * math/test-fenv-return.c: New file.
50263 * math/Makefile: Add new test test-fenv-return.
50264
50265 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50266
50267 [BZ #17042]
50268 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50269 when x - 1 is zero.
50270 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50271 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50272 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50273 0.0L for an argument of 1.0L.
50274 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50275 Likewise.
50276 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50277 value when x - 1 is zero.
50278 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50279 * sysdeps/i386/fpu/libm-test-ulps: Update.
50280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50281
50282 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50283
50284 [BZ #15119]
50285 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50286
50287 2014-06-09 Roland McGrath <roland@hack.frob.com>
50288
50289 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50290 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50291
50292 2014-06-09 Roland McGrath <roland@hack.frob.com>
50293
50294 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50295 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50296
50297 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50298 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50299
50300 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50301 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50302
50303 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50304 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50305
50306 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50307 if not already defined.
50308 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50309 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50310 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50311 (TLS_INIT_TP): Use it.
50312 (TLS_DEFINE_INIT_TP): New macro.
50313 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50314
50315 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50316
50317 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50318 constant.
50319 [POSIX] (IXANY): Likewise.
50320 [POSIX] (OLCUC): Likewise.
50321 [POSIX || POSIX2008] (CBAUD): Do not allow.
50322 [POSIX || POSIX2008] (DEFECHO): Likewise.
50323 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50324 [POSIX || POSIX2008] (ECHOKE): Likewise.
50325 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50326 [POSIX || POSIX2008] (EXTA): Likewise.
50327 [POSIX || POSIX2008] (EXTB): Likewise.
50328 [POSIX || POSIX2008] (FLUSHO): Likewise.
50329 [POSIX || POSIX2008] (LOBLK): Likewise.
50330 [POSIX || POSIX2008] (PENDIN): Likewise.
50331 [POSIX || POSIX2008] (SWTCH): Likewise.
50332 [POSIX || POSIX2008] (VDISCARD): Likewise.
50333 [POSIX || POSIX2008] (VDSUSP): Likewise.
50334 [POSIX || POSIX2008] (VLNEXT): Likewise.
50335 [POSIX || POSIX2008] (VREPRINT): Likewise.
50336 [POSIX || POSIX2008] (VSTATUS): Likewise.
50337 [POSIX || POSIX2008] (VWERASE): Likewise.
50338 (B*): Change to B[0123456789]*.
50339 * conform/data/time.h-data [POSIX || UNIX98]
50340 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50341 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50342 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50343 [POSIX] (tm_*): Do not allow.
50344
50345 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50346
50347 * Makefile (install): Don't set LANGUAGE.
50348 * Makefile.in (install): Likewise.
50349 * assert/Makefile (test-assert-ENV): Remove variable.
50350 (test-assert-perr-ENV): Likewise.
50351 * elf/Makefile (neededtest4-ENV): Likewise.
50352 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50353 [$(cross-compiling) = no]: Don't set LANGUAGE.
50354 * io/ftwtest-sh (LANG): Remove variable.
50355 * libio/Makefile (tst-widetext-ENV): Likewise.
50356 * manual/install.texi (Running make install): Don't refer to
50357 environment settings for make install.
50358 * INSTALL: Regenerated.
50359 * nptl/tst-tls6.sh: Don't set LANG.
50360 * posix/globtest.sh (LANG): Remove variable.
50361 * string/Makefile (tester-ENV): Likewise.
50362 (inl-tester-ENV): Likewise.
50363 (noinl-tester-ENV): Likewise.
50364 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50365 [$(cross-compiling) = no]: Don't set LANGUAGE.
50366 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50367 without explicit environment settings.
50368
50369 2014-06-06 Roland McGrath <roland@hack.frob.com>
50370
50371 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50372 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50373 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50374 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50375
50376 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50377
50378 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50379 other files in the crypt directory.
50380 * crypt/crypt.c: Remove duplicate includes.
50381 * crypt/crypt-entry.c: Likewise.
50382 * crypt/crypt_util.c: Likewise.
50383
50384 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50385
50386 * Makeconfig (run-program-env): New variable.
50387 (run-program-prefix-before-env): Likewise.
50388 (run-program-prefix-after-env): Likewise.
50389 (run-program-prefix): Define in terms of new variables.
50390 (built-program-cmd-before-env): New variable.
50391 (built-program-cmd-after-env): Likewise.
50392 (built-program-cmd): Define in terms of new variables.
50393 (test-program-prefix-before-env): New variable.
50394 (test-program-prefix-after-env): Likewise.
50395 (test-program-prefix): Define in terms of new variables.
50396 (test-program-cmd-before-env): New variable.
50397 (test-program-cmd-after-env): Likewise.
50398 (test-program-cmd): Define in terms of new variables.
50399 * Rules (make-test-out): Use $(run-program-env).
50400 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50401 (help): Do not mention environment variables. Mention
50402 --timeoutfactor option.
50403 (timeoutfactor): New variable.
50404 (blacklist_exports): Remove function.
50405 (exports): Remove variable.
50406 (command): Do not include ${exports}.
50407 * manual/install.texi (Configuring and compiling): Do not mention
50408 test wrappers preserving environment variables. Mention that last
50409 assignment to a variable must take precedence.
50410 * INSTALL: Regenerated.
50411 * benchtests/Makefile (run-bench): Use $(run-program-env).
50412 * catgets/Makefile ($(objpfx)test1.cat): Use
50413 $(built-program-cmd-before-env), $(run-program-env) and
50414 $(built-program-cmd-after-env).
50415 ($(objpfx)test2.cat): Do not specify environment variables
50416 explicitly.
50417 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50418 $(run-program-env) and $(built-program-cmd-after-env).
50419 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50420 $(run-program-env) and $(test-program-cmd-after-env).
50421 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50422 explicitly.
50423 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50424 run_program_env and test_program_cmd_after_env arguments.
50425 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50426 * elf/tst-pathopt.sh: Use run_program_env argument.
50427 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50428 $(test-wrapper-env) and $(run-program-env).
50429 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50430 run_program_env arguments.
50431 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50432 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50433 $(test-program-prefix-before-env), $(run-program-env) and
50434 $(test-program-prefix-after-env).
50435 ($(objpfx)tst-gettext2.out): Likewise.
50436 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50437 run_program_env and test_program_prefix_after_env arguments.
50438 * intl/tst-gettext2.sh: Likewise.
50439 * intl/tst-gettext4.sh: Do not set environment variables
50440 explicitly.
50441 * intl/tst-gettext6.sh: Likewise.
50442 * intl/tst-translit.sh: Likewise.
50443 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50444 $(test-program-prefix-before-env), $(run-program-env) and
50445 $(test-program-prefix-after-env).
50446 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50447 run_program_env and test_program_prefix_after_env arguments.
50448 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50449 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50450 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50451 explicitly with each use of ${test_wrapper_env}.
50452 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50453 $(test-program-prefix-before-env), $(run-program-env) and
50454 $(test-program-prefix-after-env).
50455 * posix/tst-getconf.sh: Do not set environment variables
50456 explicitly.
50457 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50458 run_program_env and test_program_prefix_after_env arguments.
50459 * stdio-common/tst-printf.sh: Do not set environment variables
50460 explicitly.
50461 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50462 $(test-program-prefix-before-env), $(run-program-env) and
50463 $(test-program-prefix-after-env).
50464 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50465 run_program_env and test_program_prefix_after_env arguments.
50466 Split $test calls into $test_pre and $test.
50467 * timezone/Makefile (build-testdata): Use
50468 $(built-program-cmd-before-env), $(run-program-env) and
50469 $(built-program-cmd-after-env).
50470
50471 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50472
50473 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50474 strlen for non SHARED builds.
50475
50476 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50477
50478 * nptl/allocatestack.c (check_list): Inlined function...
50479 (__reclaim_stacks): ... here.
50480
50481 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50482
50483 [BZ #15698]
50484 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50485 memory overrun.
50486
50487 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50488
50489 * Rules (make-test-out): Include
50490 LOCPATH=$(common-objpfx)localedata in default environment.
50491 * debug/Makefile (tst-chk1-ENV): Remove variable.
50492 (tst-chk2-ENV): Likewise.
50493 (tst-chk3-ENV): Likewise.
50494 (tst-chk4-ENV): Likewise.
50495 (tst-chk5-ENV): Likewise.
50496 (tst-chk6-ENV): Likewise.
50497 (tst-lfschk1-ENV): Likewise.
50498 (tst-lfschk2-ENV): Likewise.
50499 (tst-lfschk3-ENV): Likewise.
50500 (tst-lfschk4-ENV): Likewise.
50501 (tst-lfschk5-ENV): Likewise.
50502 (tst-lfschk6-ENV): Likewise.
50503 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50504 (tst-iconv7-ENV): Likewise.
50505 * intl/Makefile (LOCPATH-ENV): Likewise.
50506 (tst-codeset-ENV): Likewise.
50507 (tst-gettext3-ENV): Likewise.
50508 (tst-gettext5-ENV): Likewise.
50509 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50510 (tst-fopenloc-ENV): Likewise.
50511 (tst-fgetws-ENV): Remove variable.
50512 (tst-ungetwc1-ENV): Likewise.
50513 (tst-ungetwc2-ENV): Likewise.
50514 (bug-ungetwc2-ENV): Likewise.
50515 (tst-swscanf-ENV): Likewise.
50516 (bug-ftell-ENV): Likewise.
50517 (tst-fgetwc-ENV): Likewise.
50518 (tst-fseek-ENV): Likewise.
50519 (tst-ftell-partial-wide-ENV): Likewise.
50520 (tst-ftell-active-handler-ENV): Likewise.
50521 (tst-ftell-append-ENV): Likewise.
50522 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50523 (tst-regexloc-ENV): Likewise.
50524 (bug-regex1-ENV): Likewise.
50525 (tst-regex-ENV): Likewise.
50526 (tst-regex2-ENV): Likewise.
50527 (bug-regex5-ENV): Likewise.
50528 (bug-regex6-ENV): Likewise.
50529 (bug-regex17-ENV): Likewise.
50530 (bug-regex18-ENV): Likewise.
50531 (bug-regex19-ENV): Likewise.
50532 (bug-regex20-ENV): Likewise.
50533 (bug-regex22-ENV): Likewise.
50534 (bug-regex23-ENV): Likewise.
50535 (bug-regex25-ENV): Likewise.
50536 (bug-regex26-ENV): Likewise.
50537 (bug-regex30-ENV): Likewise.
50538 (bug-regex32-ENV): Likewise.
50539 (bug-regex33-ENV): Likewise.
50540 (bug-regex34-ENV): Likewise.
50541 (bug-regex35-ENV): Likewise.
50542 (tst-rxspencer-ENV): Likewise.
50543 (tst-rxspencer-no-utf8-ENV): Likewise.
50544 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50545 (tst-sscanf-ENV): Likewise.
50546 (tst-swprintf-ENV): Likewise.
50547 (tst-swscanf-ENV): Likewise.
50548 (test-vfprintf-ENV): Likewise.
50549 (scanf13-ENV): Likewise.
50550 (bug14-ENV): Likewise.
50551 (tst-grouping-ENV): Likewise.
50552 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50553 (tst-strtod3-ENV): Likewise.
50554 (tst-strtod4-ENV): Likewise.
50555 (tst-strtod5-ENV): Likewise.
50556 (testmb2-ENV): Likewise./
50557 * string/Makefile (tst-strxfrm-ENV): Likewise.
50558 (tst-strxfrm2-ENV): Likewise.
50559 (bug-strcoll1-ENV): Likewise.
50560 (test-strcasecmp-ENV): Likewise.
50561 (test-strncasecmp-ENV): Likewise.
50562 * time/Makefile (tst-strptime-ENV): Likewise.
50563 (tst-ftime_l-ENV): Likewise.
50564 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50565 (tst-mbrtowc-ENV): Likewise.
50566 (tst-wcrtomb-ENV): Likewise.
50567 (tst-mbrtowc2-ENV): Likewise.
50568 (tst-c16c32-1-ENV): Likewise.
50569 (tst-mbsnrtowcs-ENV): Likewise.
50570
50571 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50572
50573 * manual/resource.texi (How to get information about the memory
50574 subsystem?): Fix typo.
50575 Reported by Peon de la Parra Ivan <peon@keba.com>
50576
50577 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
50578
50579 [BZ #16882]
50580 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50581 (pthread_spin_lock): Branch out of spin loop to proper location.
50582 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50583 (pthread_spin_lock): Likewise.
50584
50585 * nptl/tst-spin4.c: New test.
50586 * nptl/Makefile (tests): Add tst-spin4.
50587
50588 2014-06-03 Andreas Schwab <schwab@suse.de>
50589
50590 [BZ #15946]
50591 * resolv/res_send.c (send_dg): Reload file descriptor after
50592 calling reopen.
50593
50594 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
50595
50596 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50597
50598 2014-06-03 Richard Henderson <rth@redhat.com>
50599
50600 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50601 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50602 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50603 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
50604 in the SAVE_PID block.
50605 (__libc_vfork): New alias.
50606 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50607
50608 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50609 child in registers, not on the stack. Remove RESET_PID conditionals.
50610 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50611
50612 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
50613
50614 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50615
50616 2014-06-03 Wilco <wdijkstr@arm.com>
50617
50618 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50619 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50620 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50621 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50622 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50623 Likewise.
50624
50625 2014-06-03 Wilco <wdijkstr@arm.com>
50626
50627 * sysdeps/aarch64/fpu/math_private.h
50628 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50629 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50630 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50631 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50632 Fix declarations.
50633
50634 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
50635
50636 * crypt/crypt-private.h: Include ufc-crypt.h.
50637 (__b64_from_24bit): Declare extern.
50638 * crypt/crypt_util.c(__b64_from_24bit): New function.
50639 (b64t): New static const variable.
50640 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50641 (b64t): Remove variable.
50642 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50643 * crypt/sha256-crypt.c: Include crypt-private.h.
50644 (b64t): Remove variable.
50645 (__sha256_crypt_r): Remove b64_from_24bit and replace
50646 with __b64_from_24bit.
50647 * crypt/sha512-crypt.c: Likewise.
50648
50649 2014-06-02 Roland McGrath <roland@hack.frob.com>
50650
50651 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50652 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50653 Label the code __libc_vfork rather than __vfork.
50654 [!NOT_IN_libc] (vfork): Define as weak alias.
50655 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50656 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50657 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50658
50659 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50660
50661 * malloc/malloc.c (malloc_info): Fix format specifier for
50662 n_mmaps.
50663
50664 2014-06-02 Wilco <wdijkstr@arm.com>
50665
50666 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50667 FPCR write.
50668
50669 2014-06-02 Wilco <wdijkstr@arm.com>
50670
50671 [BZ #17009]
50672 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50673 Rewrite to reduce FPCR/FPSR accesses.
50674
50675 2014-06-01 David S. Miller <davem@davemloft.net>
50676
50677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50678
50679 2014-05-31 David S. Miller <davem@davemloft.net>
50680
50681 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50682 to occur in round to nearest mode when |x| >= 2.0
50683
50684 2014-05-30 Richard Henderson <rth@twiddle.net>
50685
50686 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50687 (PSEUDO_RET_NOERRNO): Remove.
50688 (ret): Don't redefine.
50689 (ret_NOERRNO): Define in terms of ret.
50690 (ret_ERRVAL): Likewise.
50691
50692 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
50693 use of PSEUDO_RET; perform the error check directly.
50694
50695 2014-05-30 Marko Myllynen <myllynen@redhat.com>
50696
50697 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50698 with __int128_t.
50699
50700 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50701
50702 * malloc/malloc (malloc_info): Fix formatting.
50703
50704 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50705 Roland McGrath <roland@hack.frob.com>
50706
50707 * malloc/malloc (malloc_info): Also print mmapped statistics.
50708
50709 2014-05-30 Roland McGrath <roland@hack.frob.com>
50710
50711 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50712 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50713
50714 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
50715
50716 * malloc/malloc.c (malloc_info): Inline mi_arena.
50717
50718 2014-05-29 Richard Henderson <rth@twiddle.net>
50719
50720 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50721 Remove comma before expanding ASM_ARGS_##nr.
50722 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50723 Make _x0 a strict output; make _x8 a strict input; adjust expansion
50724 of ASM_ARGS_##nr.
50725 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50726 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50727 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50728 (ASM_ARGS_1): Add leading comma.
50729
50730 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50731 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50732 to __errno_location.
50733 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50734 Remove the expected plt for __errno_location.
50735
50736 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50737 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50738 call to __read_tp.
50739
50740 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50741 Always allocate 64 bytes of stack frame. Use ldp/stp to create
50742 it and break it down.
50743 (DOCARGS_0, DOCARGS_1): Do nothing.
50744 (DOCARGS_2): Update to store into the new stack frame.
50745 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50746 (UNDOCARGS_1): Update to restore from the new stack frame.
50747 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50748 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50749
50750 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50751 (SINGLE_THREAD_P): New parameter for result regno.
50752 (PSEUDO): Update to match; use cbz instead of beq.
50753
50754 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50755 Use ENTRY to define the _nocancel entry point. Share the syscall
50756 and syscall error check paths with the cancel path.
50757 (PSEUDO_END): New.
50758
50759 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50760 whitespace; tabs before and after asm mnemonics.
50761
50762 2014-05-29 Eric Wong <normalperson@yhbt.net>
50763
50764 [BZ #15132]
50765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50766 Call fstat64 or stat64 internally, depending on arguments passed.
50767 Replace stat buffer argument with file descriptor argument.
50768 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50769 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50770 Pass fd to __internal_statvfs instead of calling fstat64.
50771 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50772 Pass fd to __internal_statvfs64 instead of calling fstat64.
50773 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50774 Pass -1 to __internal_statvfs instead of calling stat64.
50775 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50776 Pass -1 to __internal_statvfs64 instead of calling stat64.
50777
50778 2014-05-28 Roland McGrath <roland@hack.frob.com>
50779
50780 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50781 that was previously under [RESET_PID].
50782 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50783
50784 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50785 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50786
50787 2014-05-27 Roland McGrath <roland@hack.frob.com>
50788
50789 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50790
50791 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50792 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50793
50794 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
50795
50796 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50797
50798 2014-05-27 Andreas Schwab <schwab@suse.de>
50799
50800 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50801 TLS_INIT_TP macro.
50802 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50803 * elf/rtld.c (init_tls, dl_main): Likewise.
50804 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50805 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50806 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50807 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50808 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50809 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50810 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50811 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50812 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50813 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50814 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50815 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50816 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50817 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50818 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50819 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50820 * sysdeps/generic/tls.h: Update description.
50821
50822 2014-05-27 Will Newton <will.newton@linaro.org>
50823
50824 [BZ #16990]
50825 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50826 and restore r2 rather than just restoring.
50827
50828 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50829
50830 [BZ #16724]
50831 * libio/tst-ftell-append.c: New test case.
50832 * libio/Makefile (tests): Add test case.
50833 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50834 append mode.
50835 * libio/wfileops.c (do_ftell_wide): Likewise.
50836
50837 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50838
50839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50840
50841 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50842 ...
50843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50845 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50846 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50848 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50849 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50850 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50852 Moved ...
50853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50855 Moved ...
50856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50857 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50858 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50859 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50860 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50861 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50862 ...
50863 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50864 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50865 Moved ...
50866 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50867 here.
50868 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50869 ...
50870 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50871 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50872 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50873
50874 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50875 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50876 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50877 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50878
50879 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50880 merge into ...
50881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50883 ...
50884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50885 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50886 ...
50887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50889 Moved ...
50890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50891 here.
50892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50893 Moved ...
50894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50896 Moved ...
50897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50898
50899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50900 conditional [RESET_PID].
50901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50903 removed.
50904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50905 removed.
50906
50907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50908 <tcb-offsets.h>.
50909 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50910 (__libc_vfork): New strong alias.
50911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50912 removed.
50913 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50914 Removed.
50915
50916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50917 <tcb-offsets.h>.
50918 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50919 (__libc_vfork): New strong alias.
50920 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50921 removed.
50922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50923 removed.
50924
50925 2014-05-26 Carlos O'Donell <carlos@redhat.com>
50926
50927 * malloc/malloc.c (mi_arena): New function.
50928 (malloc_info): Remove nested function mi_arena. Call non-nosted
50929 function mi_arena.
50930
50931 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50932
50933 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50934 by insrwi.
50935 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50936 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50937 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50938 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50939 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50940 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50941 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50942
50943 2014-05-26 Andreas Schwab <schwab@suse.de>
50944
50945 [BZ #16984]
50946 * locale/programs/repertoire.c (repertoire_read): Add slash
50947 between I18NPATH element and file name.
50948 * locale/programs/locfile.c (locfile_read): Likewise.
50949
50950 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
50951
50952 * nptl/pthread_mutexattr_settype.c
50953 (__pthread_mutexattr_settype):
50954 Disable lock elision for PTHREAD_MUTEX_NORMAL.
50955
50956 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
50957
50958 * nptl/tst-mutex5 (do_test):
50959 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50960
50961 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50962
50963 * benchtests/README: Document 'init' directive.
50964 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50965 BENCH_INIT.
50966 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50967 (parse_file): Recognize 'init' directive.
50968
50969 2014-05-26 Kyle McMartin <kyle@redhat.com>
50970
50971 [BZ #16796]
50972 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50973 alignment of struct pthread.
50974
50975 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50976
50977 [BZ #16878]
50978 * nscd/netgroupcache.c (addgetnetgrentX): Look for
50979 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50980 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50981 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50982
50983 2014-05-25 Richard Henderson <rth@twiddle.net>
50984
50985 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50986 (SINGLE_THREAD_P_PIC): Remove.
50987 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50988 (SINGLE_THREAD_P_PIC): Remove.
50989
50990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50991 branch to syscall error ...
50992 (PSEUDO): ... here.
50993 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50994 from __local_syscall_error to .Lsyscall_error.
50995 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50996 (SYSCALL_ERROR): Update label name.
50997
50998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50999 Do not use DOARGS/UNDOARGS.
51000 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51001 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51002 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51003 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51004 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51005
51006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51007 block comment.
51008
51009 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51010 define if !NOT_IN_libc.
51011 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51012 define with non-default symbol versions.
51013
51014 2014-05-23 Richard Henderson <rth@twiddle.net>
51015
51016 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51017 (vfork, __vfork): Define via compat_symbol.
51018
51019 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51020 [!HAVE_IFUNC] (vfork_compat): Remove.
51021 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51022
51023 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51024
51025 [BZ #16978]
51026 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51027 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51028 variable.
51029
51030 2014-05-23 Richard Henderson <rth@twiddle.net>
51031
51032 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51033 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51034 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51035 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51036
51037 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51038 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51039 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51040 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51041 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51042 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51043 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51044 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51045 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51046 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51047 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51048 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51049 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51050 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51051 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51052 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51053 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51054 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51055 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51056 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51057 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51058 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51059 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51060 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51061 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51063 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51064 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51065 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51066 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51067 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51068 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51069 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51070 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51071 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51072 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51073 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51074 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51075 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51076 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51077 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51078 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51079 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51080 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51081 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51082 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51083 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51084 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51085 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51086 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51087 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51088 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51089 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51090 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51091 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51092 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51093
51094 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51095 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51096 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51097 before exiting on error.
51098 (__libc_vfork): New strong alias.
51099 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51100 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51101
51102 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51103 that was previously under [RESET_PID].
51104 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51105
51106 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51107
51108 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51109
51110 [BZ #16977]
51111 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51112 value when x - 1 is zero.
51113 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51114 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51115 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51116 0.0L for an argument of 1.0L.
51117 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51118 Likewise.
51119 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51120 value when x - 1 is zero.
51121 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51122 * sysdeps/i386/fpu/libm-test-ulps: Update.
51123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51124
51125 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51126
51127 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51128 alphasort and versionsort.
51129
51130 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51131
51132 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51133 macro.
51134 [copysignf]: Likewise.
51135
51136 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51137
51138 * crypt/md5-crypt.c: Fix formatting.
51139
51140 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51141
51142 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51143 (b64_from_24bit): New function.
51144
51145 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51146
51147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51148 libc_hidden_builtin_def to ifunc.
51149 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51150 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51151
51152 2014-05-21 Roland McGrath <roland@hack.frob.com>
51153
51154 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51155 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51156
51157 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51158
51159 * nscd/Depend (linuxthreads): Remove.
51160 (nptl): Add.
51161 * resolv/Depend (linuxthreads): Remove.
51162 * rt/Depend (linuxthreads): Remove.
51163
51164 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51165 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51166 $(common-objpfx)elf/.
51167 (link-libc-before-gnulib): Likewise.
51168 (elfobjdir): Remove variable.
51169 * Makefile (install): Use $(elf-objpfx) instead of
51170 $(common-objpfx)elf/.
51171 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51172 $(elfobjdir)/.
51173 (link-libc-deps): Likewise.
51174 ($(common-objpfx)libc.so): Likewise.
51175 ($(common-objpfx)linkobj/libc.so): Likewise.
51176 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51177 instead of $(common-objpfx)elf/.
51178 (symbolic-link-list): Likewise.
51179 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51180 [$(cross-compiling) = no]: Likewise.
51181 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51182 $(elfobjdir)/.
51183 (static-gnulib-arch): Likewise.
51184 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51185 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51186 $(common-objpfx)elf/.
51187
51188 2014-05-21 Richard Henderson <rth@redhat.com>
51189
51190 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51191 (SINGLE_THREAD_P): Use the correct width load. Fold
51192 into the ldr offset.
51193
51194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51195 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51196
51197 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51198
51199 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51200 (libgcc_s_resume): Use __attribute_used__.
51201 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51202 Likewise.
51203
51204 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51205
51206 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51207 optimization when used with float constants.
51208
51209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51210
51211 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51212
51213 [BZ #16915]
51214 * locale/nl_langinfo_l.c: Make direct reference to every
51215 _nl_current_CATEGORY symbol.
51216 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51217 (tests-static): Add tst-langinfo-static.
51218 (tests-special): Add tst-langinfo-static.out.
51219 ($(objpfx)tst-langinfo.out): Redirect output.
51220 ($(objpfx)tst-langinfo-static.out): New.
51221 * localedata/tst-langinfo.sh: Send output to stdout.
51222 * localedata/tst-langinfo-static.c: New file.
51223
51224 [BZ #16965]
51225 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51226 when the shift amount is modulo the limb size.
51227
51228 2014-05-20 Richard Henderson <rth@redhat.com>
51229
51230 [BZ #16967]
51231 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51232 Change type of sa_flags from unsigned int to int.
51233
51234 [BZ #16966]
51235 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51236
51237 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51238
51239 2014-05-20 Will Newton <will.newton@linaro.org>
51240
51241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51242 Test the return value of the system call in the nocancel case.
51243
51244 2014-05-20 Will Newton <will.newton@linaro.org>
51245 Yvan Roux <yvan.roux@linaro.org>
51246
51247 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51248 #include of asm/ptrace.h.
51249 (PTRACE_GET_THREAD_AREA): Remove #undef.
51250 (PTRACE_GETHBPREGS): Likewise.
51251 (PTRACE_SETHBPREGS): Likewise.
51252 (struct user_regs_struct): New structure.
51253 (struct user_fpsimd_struct): New structure.
51254 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51255 #include of asm/ptrace.h and second #include of sys/user.h.
51256 (PTRACE_GET_THREAD_AREA): Remove #undef.
51257 (PTRACE_GETHBPREGS): Likewise.
51258 (PTRACE_SETHBPREGS): Likewise.
51259 (ELF_NGREG): Use new struct user_regs_struct.
51260 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51261
51262 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51263
51264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51265 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51266
51267 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51268
51269 [BZ #16958]
51270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51271 membar to avoid block loads/stores to overlap previous stores.
51272
51273 2014-05-17 Richard Henderson <rth@redhat.com>
51274
51275 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51276 Create the __##syscall_name##_nocancel entry point.
51277 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51278 Remove; let the sysdep-cancel.h code create it.
51279
51280 2014-05-17 David S. Miller <davem@davemloft.net>
51281
51282 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51283 Protect with __USE_GNU.
51284 (TIOCSET_TEMPT): Likewise.
51285 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51286 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51287 these are already provided in bits/ioctl-types.h
51288
51289 2014-05-16 Roland McGrath <roland@hack.frob.com>
51290
51291 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51292 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51293
51294 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51295 Use wait4 regardless of [__NR_waitpid].
51296
51297 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51298
51299 PR libgcc/60166
51300 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51301 (_FP_NANSIGN_Q): Set the quiet bit.
51302
51303 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51304
51305 * benchtests/Makefile
51306 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51307 not $(common-objpfx)math/libm.so.
51308 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51309 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51310 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51311 $(common-objpfx)dlfcn/libdl.so.
51312 ($(objpfx)tst-audit8): Depend on $(libm), not
51313 $(common-objpfx)math/libm.so.
51314 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51315 not $(common-objpfx)dlfcn/libdl.so.
51316 * math/Makefile
51317 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51318 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51319 [$(build-shared) = yes].
51320 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51321 $(common-objpfx)nptl/libpthread.so.
51322 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51323 $(common-objpfx)math/libm.so$(libm.so-version) or
51324 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51325 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51326 $(common-objpfx)dlfcn/libdl.so.
51327 * setjmp/Makefile (link-libm): Remove variable.
51328 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51329 * stdio-common/Makefile (link-libm): Remove variable.
51330 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51331 * stdlib/Makefile (link-libm): Remove variable.
51332 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51333 ($(objpfx)tst-strtod-round): Likewise.
51334 ($(objpfx)tst-tininess): Likewise.
51335 ($(objpfx)tst-strtod-underflow): Likewise.
51336 ($(objpfx)tst-strtod6): Likewise.
51337 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51338 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51339 $(common-objpfx)dlfcn/libdl.so.
51340
51341 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51342
51343 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51344 BSD terminal modes definitions.
51345
51346 2014-05-16 Roland McGrath <roland@hack.frob.com>
51347
51348 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51349 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51350
51351 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51352 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51353 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51354 Don't do #include_next.
51355 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51356 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51357 Don't do #include_next.
51358 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51359 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51360 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51361 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51362
51363 2014-05-16 Allan McRae <allan@archlinux.org>
51364
51365 * po/sv.po: Update Swedish translation from translation project.
51366
51367 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51368 in sed expression.
51369
51370 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51371
51372 [BZ #16917]
51373 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51374 errno if the TIOCGPTN ioctl fails with an error different than
51375 EINVAL.
51376 * login/tst-ptsname.c: New file.
51377 * login/Makefile (tests): Add tst-ptsname.
51378
51379 [BZ #16943]
51380 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51381 and prlimit64.
51382
51383 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51384
51385 [BZ #16849]
51386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51387 herrno to return EAI_AGAIN.
51388
51389 2014-05-14 Roland McGrath <roland@hack.frob.com>
51390
51391 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51392 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51393 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51394 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51395 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51396 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51397 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51398 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51400 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51401 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51402 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51403 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51404 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51405 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51406 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51407 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51408 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51409 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51410 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51412 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51413 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51414 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51415 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51416 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51417 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51418 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51419 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51420 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51422 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51424 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51426 Moved ...
51427 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51429 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51431 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51433 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51435 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51437 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51439 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51441 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51443 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51445 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51447 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51449 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51451 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51453 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51455 Moved ...
51456 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51458 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51460 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51462 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51464 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51466 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51468 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51470 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51472 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51474 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51476 Moved ...
51477 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51479 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51480
51481 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51482 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51483 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51484 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51485 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51486 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51487 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51488 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51489 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51490 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51491 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51492 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51493 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51494 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51495 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51496 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51497 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51498 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51499 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51500 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51501 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51502 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51503 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51504 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51505 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51506 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51507 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51508 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51509 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51510 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51511 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51512
51513 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51514 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51515
51516 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51517 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51518 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51519 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51520 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51521 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51522 Moved ...
51523 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51525 Moved ...
51526 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51527 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51528 Moved ...
51529 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51530 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51531 Moved ...
51532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51533 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51534 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51535 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51536 Moved ...
51537 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51538 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51539 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51541 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51542 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51543 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51544 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51545 Moved ...
51546 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51547 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51548 Moved ...
51549 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51550 ... here.
51551 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51552 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51553 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51554 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51555 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51556 Moved ...
51557 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51558 ... here.
51559 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51560 Moved ...
51561 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51562 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51563 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51564 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51565 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51566 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51567 Moved ...
51568 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51570 Moved ...
51571 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51572 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51573 Moved ...
51574 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51575 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51576 Moved ...
51577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51578 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51579 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51580 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51581 Moved ...
51582 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51583 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51584 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51586 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51587 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51588 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51589 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51590 Moved ...
51591 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51592 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51593 Moved ...
51594 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51595 ... here.
51596 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51597 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51598 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51599 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51600 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51601 Moved ...
51602 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51603 ... here.
51604 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51605 Moved ...
51606 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51607 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51608 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51609 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51610 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51611 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51612 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51613 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51614 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51615 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51616 Moved ...
51617 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51618 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51619 Moved ...
51620 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51621 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51622 Moved ...
51623 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51625 Moved ...
51626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51627 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51628 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51629 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51630 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51631 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51632 Moved ...
51633 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51634 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51635 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51636 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51637 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51638 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51639 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51640 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51641 Moved ...
51642 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51643 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51644 Moved ...
51645 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51646 ... here.
51647 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51648 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51649 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51650 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51651 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51652 Moved ...
51653 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51654 ... here.
51655 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51656 Moved ...
51657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51658 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51659 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51660 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51661 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51662 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51663 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51664 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51665 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51666 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51667 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51668
51669 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51670 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51671
51672 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51673 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51674
51675 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51676 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51677 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51678 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51679 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51680 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51681 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51682 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51683 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51684 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51685 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51686 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51688 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51689 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
51690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
51691 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
51692 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
51693 Moved ...
51694 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
51695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
51696 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
51697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
51698 Moved ...
51699 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
51700 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
51701 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51702 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51703 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51704 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51705 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51706 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51707 Moved ...
51708 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51710 Moved ...
51711 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51712 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51713 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51715 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51716 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51717 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51718 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51719 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51720 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51721 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51722 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51723 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51724 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51725 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51726 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51727 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51728
51729 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51730 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51731 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51732 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51733 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51734
51735 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51736 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51737 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51738 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51739 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51740 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51741 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51742 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51743 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51744 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51745
51746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51748
51749 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51750 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51751 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51752 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51753 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51754 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51755 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51756 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51757 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51758 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51759 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51760 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51761 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51762 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51764 Update #include.
51765 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51766 Likewise.
51767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51768 Likewise.
51769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51770 Likewise.
51771 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51772 Likewise.
51773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51774 Likewise.
51775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51776 Likewise.
51777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51778 Likewise.
51779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51780 Likewise.
51781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51782 Likewise.
51783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51789 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51791 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51793 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51794 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51795 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
51797 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
51798
51799 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51800 that was previously under [RESET_PID].
51801 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51802 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51803 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51804
51805 * sysdeps/i386/nptl/Implies: New file.
51806 * sysdeps/x86_64/nptl/Implies: New file.
51807 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51808 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51809 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51810 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51811
51812 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51813 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51814 (__libc_vfork): New strong alias.
51815 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51816 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51817
51818 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51819 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51820 (__libc_vfork): New strong alias.
51821 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51822 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51823
51824 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51825 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51826 (__libc_vfork): New strong alias.
51827 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51828 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51829 * nptl/pt-vfork.c: New file.
51830 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51831 (libpthread: GLIBC_2.20): New version set (empty).
51832
51833 2014-05-14 Will Newton <will.newton@linaro.org>
51834
51835 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51836 rather than #if.
51837
51838 2014-05-14 Joseph Myers <joseph@codesourcery.com>
51839
51840 [BZ #16564]
51841 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51842 arguments with exponent 65 or above.
51843 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51844 arguments 0x1p113L or above.
51845 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51846 to arguments 0x1p107L or above.
51847 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51848 positive arguments with exponent 65 or above.
51849 * math/auto-libm-test-in: Add more tests of log1p.
51850 * math/auto-libm-test-out: Regenerated.
51851
51852 [BZ #16928]
51853 * math/s_cacos.c (__cacos): Ensure zero real part of result from
51854 non-finite arguments is +0.
51855 * math/s_cacosf.c (__cacosf): Likewise.
51856 * math/s_cacosl.c (__cacosl): Likewise.
51857 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51858 * sysdeps/i386/fpu/libm-test-ulps: Update.
51859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51860
51861 [BZ #16927]
51862 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51863 value.
51864 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51865 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51866 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51867 for explicit high bit of mantissa when testing for argument equal
51868 to 1.
51869 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51870 * sysdeps/i386/fpu/libm-test-ulps: Update.
51871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51872
51873 [BZ #16516]
51874 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51875 (__erf): Scale by 16 instead of 8 in potentially underflowing
51876 case. Ensure exception if result actually underflows.
51877 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51878 (__erff): Scale by 16 instead of 8 in potentially underflowing
51879 case. Ensure exception if result actually underflows.
51880 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51881 (efx8): Remove variable.
51882 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51883 case. Ensure exception if result actually underflows.
51884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51885 (efx8): Remove variable.
51886 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51887 case. Ensure exception if result actually underflows.
51888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51889 (efx8): Remove variable.
51890 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51891 case. Ensure exception if result actually underflows.
51892 * math/auto-libm-test-in: Add more tests of erf.
51893 * math/auto-libm-test-out: Regenerated.
51894
51895 2014-05-14 Andreas Schwab <schwab@suse.de>
51896
51897 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51898 Remove code conditionalized on USE___THREAD.
51899
51900 * config.h.in (HAVE_PT_CHOWN): Define as 0.
51901 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51902 not definedness.
51903
51904 2014-05-14 Joseph Myers <joseph@codesourcery.com>
51905
51906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51907 Define unconditionally.
51908 (__ASSUME_O_CLOEXEC): Likewise.
51909 (__ASSUME_SOCK_CLOEXEC): Likewise.
51910 (__ASSUME_IN_NONBLOCK): Likewise.
51911 (__ASSUME_PIPE2): Likewise.
51912 (__ASSUME_EVENTFD2): Likewise.
51913 (__ASSUME_SIGNALFD4): Likewise.
51914 (__ASSUME_DUP3): Likewise.
51915 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51916 (__ASSUME_DUP3): Do not define.
51917 (__ASSUME_EVENTFD2): Likewise.
51918 (__ASSUME_IN_NONBLOCK): Likewise.
51919 (__ASSUME_O_CLOEXEC): Likewise.
51920 (__ASSUME_PIPE2): Likewise.
51921 (__ASSUME_SIGNALFD4): Likewise.
51922 (__ASSUME_SOCK_CLOEXEC): Likewise.
51923 (__ASSUME_UTIMES): Undefine.
51924 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51925 (__ASSUME_UTIMES): Do not define.
51926 (__ASSUME_O_CLOEXEC): Likewise.
51927 (__ASSUME_SOCK_CLOEXEC): Likewise.
51928 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51929 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51930 0x020621].
51931 (__ASSUME_PIPE2): Likewise.
51932 (__ASSUME_EVENTFD2): Likewise.
51933 (__ASSUME_SIGNALFD4): Likewise.
51934 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51935 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51936 Do not define.
51937 (__ASSUME_EVENTFD2): Likewise.
51938 (__ASSUME_SIGNALFD4): Likewise.
51939 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51940 (__ASSUME_32BITUIDS): Likewise.
51941 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51942 (__ASSUME_IPC64): Likewise.
51943 (__ASSUME_ST_INO_64_BIT): Likewise.
51944 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51945 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51947 (__ASSUME_UTIMES): Do not define.
51948 (__ASSUME_PSELECT): Likewise.
51949 (__ASSUME_PPOLL): Likewise.
51950 (__ASSUME_O_CLOEXEC): Likewise.
51951 (__ASSUME_SOCK_CLOEXEC): Likewise.
51952 (__ASSUME_IN_NONBLOCK): Likewise.
51953 (__ASSUME_PIPE2): Likewise.
51954 (__ASSUME_EVENTFD2): Likewise.
51955 (__ASSUME_SIGNALFD4): Likewise.
51956 (__ASSUME_DUP3): Likewise.
51957 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51958 (__ASSUME_UTIMES): Likewise.
51959 (__ASSUME_O_CLOEXEC): Likewise.
51960 (__ASSUME_SOCK_CLOEXEC): Likewise.
51961 (__ASSUME_IN_NONBLOCK): Likewise.
51962 (__ASSUME_PIPE2): Likewise.
51963 (__ASSUME_EVENTFD2): Likewise.
51964 (__ASSUME_SIGNALFD4): Likewise.
51965 (__ASSUME_DUP3): Likewise.
51966 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51967 (__ASSUME_UTIMES): Likewise.
51968 (__ASSUME_O_CLOEXEC): Likewise.
51969 (__ASSUME_SOCK_CLOEXEC): Likewise.
51970 (__ASSUME_IN_NONBLOCK): Likewise.
51971 (__ASSUME_PIPE2): Likewise.
51972 (__ASSUME_EVENTFD2): Likewise.
51973 (__ASSUME_SIGNALFD4): Likewise.
51974 (__ASSUME_DUP3): Likewise.
51975 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51976 Likewise.
51977 (__ASSUME_UTIMES): Likewise.
51978 (__ASSUME_EVENTFD2): Likewise.
51979 (__ASSUME_SIGNALFD4): Likewise.
51980 * sysdeps/unix/sysv/linux/tile/kernel-features.h
51981 (__ASSUME_O_CLOEXEC): Likewise.
51982 (__ASSUME_SOCK_CLOEXEC): Likewise.
51983 (__ASSUME_IN_NONBLOCK): Likewise.
51984 (__ASSUME_PIPE2): Likewise.
51985 (__ASSUME_EVENTFD2): Likewise.
51986 (__ASSUME_SIGNALFD4): Likewise.
51987 (__ASSUME_DUP3): Likewise.
51988 (__ASSUME_UTIMES): Undefine.
51989
51990 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51991 feclearexcept. Remove symbol versioning code.
51992 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
51993 symbol versioning code.
51994 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
51995 symbol versioning code.
51996 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51997 feupdateenv. Remove symbol versioning code.
51998 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51999 fegetexceptflag. Remove symbol versioning code.
52000 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52001 fesetexceptflag. Remove symbol versioning code.
52002 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52003 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52004 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52005 (__posix_fadvise64_l32): Remove prototype.
52006 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52007 code.
52008
52009 2014-05-13 Roland McGrath <roland@hack.frob.com>
52010
52011 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52012 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52013 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52014 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52015
52016 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52017
52018 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52019 current working directory
52020
52021 2014-05-13 Roland McGrath <roland@hack.frob.com>
52022
52023 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52024 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52025 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52026 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52027 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52028 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52029 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52030 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52031 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52032 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52033 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52034 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52035 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52036 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52037 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52038 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52039 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52040 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52041 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52042 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52043 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52044 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52045 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52046 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52047 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52048 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52049 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52050 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52051 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52052 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52053 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52054 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52055 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52056 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52057 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52058 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52059 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52060 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52061 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52062 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52063 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52064 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52065
52066 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52067 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52068
52069 * sysdeps/unix/sysv/linux/arm/Makefile
52070 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52071 Add rt-aeabi_unwind_cpp_pr1.
52072 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52073 Add nptl-aeabi_unwind_cpp_pr1.
52074 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52075 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52076 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52077 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52078 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52079 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52080
52081 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52082 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52083 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52084 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52085
52086 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52087 Deconditionalize the code that was previously under [RESET_PID].
52088 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52089
52090 * sysdeps/generic/exit-thread.h: New file.
52091 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52092 * include/unistd.h (__exit_thread): Remove declaration.
52093 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52094 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52095 * csu/libc-start.c: Include <exit-thread.h>.
52096 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52097 * nptl/pthread_create.c: Include <exit-thread.h>.
52098 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52099 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52100 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52101 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52102 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52103 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52104 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52105 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52106 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52107 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52108 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52109 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52110 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52111 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52112 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52113 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52114 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52115
52116 2014-05-13 Andreas Schwab <schwab@suse.de>
52117
52118 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52119
52120 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52121
52122 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52123 (__ASSUME_UTIMES): Do not condition on kernel version.
52124 (__ASSUME_PSELECT): Define unconditionally.
52125 (__ASSUME_PPOLL): Likewise.
52126 (__ASSUME_ATFCTS): Likewise.
52127 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52128 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52129 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52130 (__ASSUME_UTIMENSAT): Define unconditionally.
52131 (__ASSUME_PRIVATE_FUTEX): Likewise.
52132 (__ASSUME_FALLOCATE): Likewise.
52133 (__ASSUME_O_CLOEXEC): Likewise.
52134 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52135 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52136 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52137 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52138 (__ASSUME_IN_NONBLOCK): Likewise.
52139 (__ASSUME_PIPE2): Likewise.
52140 (__ASSUME_EVENTFD2): Likewise.
52141 (__ASSUME_SIGNALFD4): Likewise.
52142 (__ASSUME_DUP3): Likewise.
52143 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52144 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52145 (__ASSUME_AT_RANDOM): Likewise.
52146 (__ASSUME_PREADV): Likewise.
52147 (__ASSUME_PWRITEV): Likewise.
52148 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52149 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52150 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52151 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52152 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52154 (__ASSUME_O_CLOEXEC): Define unconditionally.
52155 (__ASSUME_PSELECT): Do not undefine conditionally.
52156 (__ASSUME_PPOLL): Likewise.
52157 (__ASSUME_ATFCTS): Likewise.
52158 (__ASSUME_SET_ROBUST_LIST): Likewise.
52159 (__ASSUME_UTIMENSAT): Likewise.
52160 (__ASSUME_FDATASYNC): Define unconditionally.
52161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52162 (__ASSUME_SIGFRAME_V2): Likewise.
52163 )__ASSUME_EVENTFD2): Likewise.
52164 (__ASSUME_SIGNALFD4): Likewise.
52165 (__ASSUME_PSELECT): Do not undefine conditionally.
52166 (__ASSUME_PPOLL): Likewise.
52167 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52168 (__ASSUME_PSELECT): Define unconditionally.
52169 (__ASSUME_PPOLL): Likewise.
52170 (__ASSUME_O_CLOEXEC): Likewise.
52171 (__ASSUME_SOCK_CLOEXEC): Likewise.
52172 (__ASSUME_IN_NONBLOCK): Likewise.
52173 (__ASSUME_PIPE2): Likewise.
52174 (__ASSUME_EVENTFD2): Likewise.
52175 (__ASSUME_SIGNALFD4): Likewise.
52176 (__ASSUME_DUP3): Likewise.
52177 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52178 (__ASSUME_O_CLOEXEC): Likewise.
52179 (__ASSUME_SOCK_CLOEXEC): Likewise.
52180 (__ASSUME_IN_NONBLOCK): Likewise.
52181 (__ASSUME_PIPE2): Likewise.
52182 (__ASSUME_EVENTFD2): Likewise.
52183 (__ASSUME_SIGNALFD4): Likewise.
52184 (__ASSUME_DUP3): Likewise.
52185 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52186 (__ASSUME_EVENTFD2): Likewise.
52187 (__ASSUME_SIGNALFD4): Likewise.
52188 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52189
52190 2014-05-12 Andreas Schwab <schwab@suse.de>
52191
52192 [BZ #16932]
52193 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52194 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52195 than maximum RPC packet size.
52196 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52197 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52198 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52199 (_nss_nis_getservbyport_r): Likewise.
52200
52201 2014-05-12 Will Newton <will.newton@linaro.org>
52202
52203 * malloc/Makefile (tests): Add tst-mallopt.
52204 * malloc/tst-mallopt.c: New file.
52205
52206 2014-05-09 Roland McGrath <roland@hack.frob.com>
52207
52208 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52209 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52210
52211 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52212
52213 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52214 (tst-tlsmod6.so): Likewise.
52215
52216 2014-05-09 Roland McGrath <roland@hack.frob.com>
52217
52218 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52219
52220 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52221
52222 [BZ #16064]
52223 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52224 and <dl-procinfo.h>.
52225 (__fegetenv): Save SSE state in envp->__eip if supported.
52226 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52227 envp->__eip if supported.
52228 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52229 and <dl-procinfo.h>.
52230 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52231 __data_offset and __data_selector in environment to 0. Set SSE
52232 state if supported.
52233 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52234 test-fenv-sse.
52235 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52236 -mfpmath=sse.
52237 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52238
52239 2014-05-09 Will Newton <will.newton@linaro.org>
52240
52241 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52242 and libc_relro_required for ARM.
52243 * sysdeps/arm/preconfigure: Regenerate.
52244
52245 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52246 Stefan Liebler <stli@linux.vnet.ibm.com>
52247
52248 * config.make.in (enable-lock-elision): New Makefile variable.
52249 * configure.ac: Likewise.
52250 * configure: Regenerate.
52251 * sysdeps/s390/configure.ac:
52252 Add check for gcc transactions support.
52253 * sysdeps/s390/configure: Regenerate.
52254 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52255 Build elision files if enabled.
52256 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52257 Add lock elision support for s390.
52258 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52259 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52260 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52261 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52262 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52263 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52264 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52265 Likewise.
52266 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52267 Likewise.
52268 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52269 Likewise.
52270 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52271 Likewise.
52272 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52273 (__lll_timedlock_elision, __lll_lock_elision)
52274 (__lll_unlock_elision, __lll_trylock_elision)
52275 (lll_timedlock_elision, lll_lock_elision)
52276 (lll_unlock_elision, lll_trylock_elision): Add.
52277 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52278 (pthread_mutex_t): Add lock elision support for s390.
52279
52280 2014-05-14 Wilco <wdijkstr@arm.com>
52281
52282 * sysdeps/arm/fclrexcpt.c: Cleanup.
52283 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52284 * sysdeps/arm/feenablxcpt.c: Cleanup.
52285 * sysdeps/arm/fegetenv.c: Cleanup.
52286 * sysdeps/arm/fegetexcept.c: Cleanup.
52287 * sysdeps/arm/fegetround.c: Cleanup.
52288 * sysdeps/arm/feholdexcpt.c: Cleanup.
52289 * sysdeps/arm/fesetenv.c: Cleanup.
52290 * sysdeps/arm/fesetround.c: Cleanup.
52291 * sysdeps/arm/feupdateenv.c: Cleanup.
52292 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52293 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52294 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52295 * sysdeps/arm/ftestexcept.c: Cleanup.
52296 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52297 * sysdeps/arm/setfpucw.c: Cleanup.
52298
52299 2014-05-09 Will Newton <will.newton@linaro.org>
52300
52301 * sysdeps/arm/armv7/strcmp.S: New file.
52302 * NEWS: Mention addition of ARMv7 optimized strcmp.
52303
52304 2014-05-08 Roland McGrath <roland@hack.frob.com>
52305
52306 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52307 look for %.ac rather than %.in.
52308
52309 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52310 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52311 * sysdeps/mach/hurd/configure: Regenerated.
52312 * sysdeps/unix/sysv/linux/configure: Regenerated.
52313
52314 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52315
52316 2014-05-07 Steve Ellcey <sellcey@mips.com>
52317
52318 [BZ #16922]
52319 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52320 (LONG_SUB): Ditto.
52321 (PTR_SUB): Ditto.
52322
52323 2014-05-07 Andreas Schwab <schwab@suse.de>
52324
52325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52326 when skipping over non-matching result from nscd.
52327
52328 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52329
52330 [BZ #16876]
52331 * nptl/sockperf.c (client): Check socket return value.
52332
52333 [BZ #16877]
52334 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52335 nscd security class.
52336
52337 2014-05-06 Roland McGrath <roland@hack.frob.com>
52338
52339 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52340 * sysdeps/arm/unwind.h: ... here.
52341
52342 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52343
52344 [BZ #16916]
52345 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52346 Define.
52347
52348 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52349
52350 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52351 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52352 multiarch strncpy for PPC64.
52353 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52354 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52356 multiarch optimizations.
52357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52358 (__libc_ifunc_impl_list): Likewise.
52359 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52360 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52361 multiarch stpncpy for PPC64.
52362 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52363 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52364
52365 2014-05-06 Andreas Schwab <schwab@suse.de>
52366
52367 [BZ #16912]
52368 * gmon/mcount.c (_MCOUNT_DECL): Use
52369 atomic_compare_and_exchange_bool_acq instead of
52370 catomic_compare_and_exchange_bool_acq.
52371
52372 2014-05-05 Roland McGrath <roland@hack.frob.com>
52373
52374 * elf/Makefile (others, install-bin): Remove pldd.
52375 (pldd-modules): Variable removed.
52376 ($(objpfx)pldd): Target removed.
52377 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52378 (others, install-bin): Append pldd here.
52379 ($(objpfx)pldd): New target.
52380
52381 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52382 to 0, so the first #if test emitted later doesn't see it undefined.
52383 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52384 * sysdeps/gnu/errlist.c: Regenerated.
52385
52386 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52387
52388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52389 [libc_hidden_builtin_def]: Define to empty value.
52390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52391 [libc_hidden_builtin_def]: Likewise.
52392 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52393 [libc_hidden_builtin_def]: Likewise.
52394 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52395 [libc_hidden_builtin_def]: Likewise.
52396 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52397 __redirect_memcpy and define ifunc as default hidden symbol.
52398 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52399 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52400
52401 2014-05-04 Adam Conrad <adconrad@0c3.net>
52402
52403 * locale/iso-4217.def: Reintroduce XDR currency.
52404
52405 2014-05-04 Allan McRae <allan@archlinux.org>
52406
52407 * po/eo.po: Update Esperanto translation from translation project.
52408
52409 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52410
52411 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52412 and FEATURE_INDEX_MAX to 1.
52413 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52414
52415 2014-05-01 Steve Ellcey <sellcey@mips.com>
52416
52417 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52418 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52419 * iconvdata/big5.c (ONE_DIRECTION): Define.
52420 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52421 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52422 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52423 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52424 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52425 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52426 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52427 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52428 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52429 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52430 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52431 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52432 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52433 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52434 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52435 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52436 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52437 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52438 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52439 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52440 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52441 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52442 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52443 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52444 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52445 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52446 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52447 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52448 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52449 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52450 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52451 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52452 * iconvdata/johab.c (ONE_DIRECTION): Define.
52453 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52454 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52455 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52456 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52457 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52458 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52459 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52460 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52461 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52462 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52463
52464 2014-05-01 Roland McGrath <roland@hack.frob.com>
52465
52466 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52467 (_IO_JUMPS_OFFSET): Define to 0.
52468
52469 * nptl/sysdeps/pthread/bits/libc-lock.h
52470 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52471 (__libc_lock_define_initialized_recursive): Always define using
52472 initializer. Modern compilers treat uninitialized (implicit zero) and
52473 explicit zero initializers the same (i.e. put the datum in bss).
52474
52475 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52476
52477 * nscd/nscd-client.h: Include <string.h>.
52478
52479 2014-05-01 David S. Miller <davem@davemloft.net>
52480
52481 [BZ #16885]
52482 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52483 multiple zero bytes exist at the end of a string.
52484 Reported by Aurelien Jarno <aurelien@aurel32.net>
52485
52486 * string/test-strcmp.c (check): Add explicit test for situations where
52487 there are multiple zero bytes after the first.
52488
52489 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52490
52491 [BZ #16890]
52492 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52493 when compiling wprintf.
52494 * stdio-common/tstdiomisc.c (t3): New function.
52495 (main): Call it.
52496
52497 2014-05-01 Steve Ellcey <sellcey@mips.com>
52498
52499 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52500 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52501 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52502 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52503
52504 2014-05-01 Steve Ellcey <sellcey@mips.com>
52505
52506 * stdlib/longlong.h: Updated from GCC.
52507
52508 2014-05-01 Will Newton <will.newton@linaro.org>
52509 Bernard Ogden <bernie.ogden@linaro.org>
52510
52511 * NEWS: Update fixed bug list.
52512
52513 [BZ #15119]
52514 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52515
52516 2014-04-30 David S. Miller <davem@davemloft.net>
52517
52518 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52519 (libc_feholdexcept_setround_sparc_ctx): New function.
52520 (libc_fesetenv_sparc_ctx): Likewise.
52521 (libc_feupdateenv_sparc_ctx): Likewise.
52522 (libc_feholdsetround_sparc_ctx): Likewise.
52523 (libc_feholdexcept_setround_ctx): Define.
52524 (libc_feholdexcept_setroundf_ctx): Likewise.
52525 (libc_feholdexcept_setroundl_ctx): Likewise.
52526 (libc_fesetenv_ctx): Likewise.
52527 (libc_fesetenvf_ctx): Likewise.
52528 (libc_fesetenvl_ctx): Likewise.
52529 (libc_feupdateenv_ctx): Likewise.
52530 (libc_feupdateenvf_ctx): Likewise.
52531 (libc_feupdateenvl_ctx): Likewise.
52532 (libc_feresetround_ctx): Likewise.
52533 (libc_feresetroundf_ctx): Likewise.
52534 (libc_feresetroundl_ctx): Likewise.
52535 (libc_feholdsetround_ctx): Likewise.
52536 (libc_feholdsetroundf_ctx): Likewise.
52537 (libc_feholdsetroundl_ctx): Likewise.
52538
52539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52540 with __USE_GNU instead of XOPEN cpp guards.
52541
52542 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52543 0.
52544
52545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52546 with XOPEN cpp guards.
52547
52548 2014-04-30 Julian Brown <julian@codesourcery.com>
52549
52550 [BZ #16888]
52551 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52552 handling.
52553
52554 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52555
52556 [BZ #9894]
52557 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52558 Change to 2.6.32.
52559 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52560 * sysdeps/unix/sysv/linux/configure: Regenerated.
52561 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52562 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52563 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52564 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52565 * README: Update reference to required Linux kernel version.
52566 * manual/install.texi (Linux): Update reference to required Linux
52567 kernel headers version.
52568 * INSTALL: Regenerated.
52569
52570 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52571 header inclusion.
52572 [POSIX] (limits.h): Likewise.
52573 [POSIX] (math.h): Likewise.
52574 [POSIX] (sys/wait.h): Likewise.
52575 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52576 function.
52577 [POSIX] (stddef.h): Do not allow header inclusion.
52578
52579 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52580
52581 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52582
52583 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
52584
52585 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52586 Return immediately after lll_futex_wake.
52587
52588 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52589
52590 [BZ #16791]
52591 * nscd/nscd-client.h (datahead_init_common): Initialize entire
52592 structure.
52593 (datahead_init_pos): Call datahead_init_common early.
52594 (datahead_init_neg): Likewise.
52595
52596 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52597 datahead_init_neg): New functions.
52598 * nscd/aicache.c (addhstaiX): Use them.
52599 * nscd/grpcache.c (cache_addgr): Likewise.
52600 * nscd/hstcache.c (cache_addhst): Likewise.
52601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52602 * nscd/netgroupcache.c (do_notfound): Likewise.
52603 (addgetnetgrentX): Likewise.
52604 (addinnetgrX): Likewise.
52605 * nscd/pwdcache.c (cache_addpw): Likewise.
52606 * nscd/servicescache.c (cache_addserv): Likewise.
52607
52608 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52609 Atsushi Onoe <atsushi@onoe.org>
52610
52611 [BZ #14308]
52612 [BZ #12994]
52613 [BZ #13651]
52614 * resolv/res_query.c (__libc_res_nsearch): Return if at least
52615 one response is valid.
52616 * resolv/res_send.c (send_dg): Check for validity of other
52617 response if the current response is a referral.
52618
52619 2014-04-29 Steve Ellcey <sellcey@mips.com>
52620
52621 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52622
52623 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
52624
52625 [BZ #16823]
52626 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52627 Always divide by positive zero when computing -Inf result.
52628 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52629 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52630
52631 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52632
52633 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52634 FPSCR if value do not change.
52635 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52636 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52637 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52638 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52639 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52640 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52641 function.
52642
52643 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
52644
52645 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52646 * sysdeps/unix/sysv/linux/hppa: Move directory from
52647 ports/systeps/unix/sysv/linux/hppa.
52648 * README: Update listing for hppa-*-linux-gnu.
52649
52650 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
52651
52652 [BZ #16754]
52653 * manual/stdio.texi (Hook functions): Fix types of stream hook
52654 functions.
52655 [BZ #16854]
52656 * socket/sys/socket.h: Fix typo in comment.
52657
52658 2014-04-28 Wilco <wdijkstr@arm.com>
52659
52660 * sysdeps/arm/fenv_private.h: New file.
52661 * sysdeps/arm/math_private.h: New file.
52662 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52663
52664 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
52665
52666 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52667 with __int128_t.
52668 (La_x86_64_retval): Likewise.
52669
52670 2014-04-24 Ian Bolton <ian.bolton@arm.com>
52671
52672 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52673 fpsr if value didn't change.
52674 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52675 to fpcr if value didn't change.
52676 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52677 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52678 fpsr or fpcr if value didn't change.
52679 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52680 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52681 fpcr if value didn't change.
52682 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52683 to fpsr if value didn't change.
52684
52685 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52686
52687 * nptl/tst-sem3.c: Use test-skeleton.c
52688 (main): Rename to do_test. Use return instead of
52689 exit.
52690 * nptl/tst-sem4.c: Use test-skeleton.c
52691 (main): Rename to do_test.
52692
52693 2014-04-22 David S. Miller <davem@davemloft.net>
52694
52695 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
52696 (struct sigaction): New struct member __glibc_reserved0, change
52697 type of sa_flags to int.
52698
52699 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
52700
52701 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52702 (COUNT_LEADING_ZEROS_0): Define for AArch64.
52703
52704 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52705
52706 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52707 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52708
52709 2014-04-22 Will Newton <will.newton@linaro.org>
52710 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
52711
52712 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52713 (__longjmp): Add longjmp and longjmp_target SystemTap
52714 probes.
52715 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52716 (__sigsetjmp): Add setjmp SystemTap probe.
52717
52718 2014-04-17 Carlos O'Donell <carlos@redhat.com>
52719
52720 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52721 match manual order.
52722
52723 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52724
52725 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52726
52727 * sysdeps/powerpc/fpu/fenv_private.h
52728 (libc_feholdexcept_setroundl_ctx): Define to
52729 libc_feholdexcept_setround_ppc_ctx.
52730 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52731 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52732 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52733 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52734
52735 2014-04-17 Ian Bolton <ian.bolton@arm.com>
52736
52737 * sysdeps/aarch64/math-tests.h: New file.
52738
52739 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
52740
52741 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52742 New.
52743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52744 Check and set bit_AVX2_Usable.
52745 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52746 macro.
52747 (bit_AVX2): Likewise.
52748 (index_AVX2_Usable): Likewise.
52749 (CPUID_AVX2): Likewise.
52750 (HAS_AVX2): Likewise.
52751
52752 2014-04-17 Will Newton <will.newton@linaro.org>
52753
52754 * manual/setjmp.texi (System V contexts): Add note that
52755 calling setcontext on a context created by a call to a
52756 signal handler is undefined. Update text to note that
52757 setcontext from a signal handler is possible but not
52758 recommended.
52759
52760 [BZ #16629]
52761 * stdlib/tst-setcontext.c: Include signal.h.
52762 (main): Check that the signal stack before and
52763 after swapcontext is the same.
52764
52765 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52766 Re-implement to restore registers in user code and avoid
52767 rt_sigreturn system call.
52768
52769 2014-04-17 Wilco <wdijkstr@arm.com>
52770
52771 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52772 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52773 * math/test-fenv.c: Skip exception trap tests on targets which only
52774 support non-stop mode.
52775
52776 2014-04-17 Ian Bolton <ian.bolton@arm.com>
52777 Wilco Dijkstra <wilco.dijkstra@arm.com>
52778
52779 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52780 (libc_feholdsetround_aarch64_ctx)
52781 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52782 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52783 (libc_feresetround_ctx, libc_feresetroundf_ctx)
52784 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52785 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52786 (libc_feresetround_noexl_ctx): Define.
52787
52788 2014-04-16 Richard Henderson <rth@redhat.com>
52789
52790 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52791
52792 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52793 unwind tables.
52794
52795 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52796 const from the non-libc, non-ldso copy.
52797
52798 * sysdeps/alpha/libm-test-ulps: Regenerate.
52799
52800 2014-04-16 Ian Bolton <ian.bolton@arm.com>
52801 Wilco Dijkstra <wilco.dijkstra@arm.com>
52802
52803 * sysdeps/aarch64/fpu/math_private.h: New file.
52804
52805 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
52806
52807 * sysdeps/aarch64/libm-test-ulps: Regenerate.
52808
52809 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
52810
52811 [BZ #16275]
52812 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52813 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52815 Intel MPX bound registers before _dl_profile_fixup.
52816 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52817 registers after _dl_profile_fixup. Save and restore bound
52818 registers bnd0/bnd1 when calling _dl_call_pltexit.
52819 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52820 (LR_BND_OFFSET): Likewise.
52821 (LRV_BND0_OFFSET): Likewise.
52822 (LRV_BND1_OFFSET): Likewise.
52823
52824 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52825
52826 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52827 to...
52828 * sysdeps/mach/hurd/i386/tls.h: ... here.
52829 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52830 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52831 fields.
52832
52833 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52834
52835 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52836
52837 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
52838
52839 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52840
52841 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
52842
52843 [BZ #14770]
52844 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52845 * sysdeps/s390/configure: Regenerate.
52846
52847 [BZ #16824]
52848 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52849 Set round-to-nearest internally to reduce error accumulation.
52850
52851 2014-04-16 Alan Modra <amodra@gmail.com>
52852
52853 [BZ #16740]
52854 [BZ #16619]
52855 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52856 * math/libm-test.inc (frexp_test_data): Add tests.
52857 * NEWS: Update fixed bug list.
52858
52859 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52860
52861 * benchtests/Makefile: Depend on libraries in build directory.
52862 (bench-math): Separate out math tests.
52863 (bench-pthread): Separate out pthread tests.
52864 (bench): Include math and pthread tests.
52865
52866 2014-04-14 Carlos O'Donell <carlos@redhat.com>
52867
52868 [BZ #16831]
52869 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52870 _dl_debug_initialize.
52871
52872 * configure.ac: Remove SELinux header check.
52873 * configure: Regenerate.
52874 * nscd/selinux.c (perms): Array of const char* to permission names.
52875 (nscd_request_avc_has_perm): Call security_deny_unknown to find
52876 default policy. Call string_to_security_class and string_to_av_perm to
52877 translate strings. Enforce default policy and call avs_has_perm with
52878 results of translated strings.
52879
52880 2014-04-13 David S. Miller <davem@davemloft.net>
52881
52882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52883
52884 2014-04-12 Allan McRae <allan@archlinux.org>
52885
52886 [BZ #16838]
52887 * manual/string.texi (Collation Functions): Fix qsort argument
52888 order in example.
52889 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52890
52891 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
52892
52893 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52894 Make the test a no-op if there are no exceptions defined.
52895
52896 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
52897
52898 * elf/Makefile (tests): make tst-dlopen-aout conditional on
52899 enable-hardcoded-path-in-tests
52900
52901 2014-04-11 Will Newton <will.newton@linaro.org>
52902
52903 * benchtests/Makefile (extra-objs): Add json-lib.o.
52904 (bench-func): Tidy up JSON output.
52905 * benchtests/bench-skeleton.c: Include json-lib.h.
52906 (main): Use JSON library functions to do output of
52907 benchmark results.
52908 * benchtests/bench-timing-type.c (main): Output the
52909 timing type simply, leaving formatting to the user.
52910 * benchtests/json-lib.c: New file.
52911 * benchtests/json-lib.h: Likewise.
52912
52913 2014-04-11 Torvald Riegel <triegel@redhat.com>
52914
52915 [BZ #15215]
52916 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52917 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
52918 memory barriers. Add comments.
52919 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52920 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52921 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52922 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52923 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52924 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52925
52926 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
52927
52928 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52929 * sysdeps/s390/s390-64/configure.ac: ... this ...
52930 * sysdeps/s390/configure.ac: ... to here.
52931 * sysdeps/s390/s390-32/configure: Delete file.
52932 * sysdeps/s390/s390-64/configure: Delete file.
52933 * sysdeps/s390/configure: Regenerate.
52934
52935 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
52936
52937 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52938
52939 2014-04-11 Will Newton <will.newton@linaro.org>
52940
52941 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52942 to zero if it is not defined elsewhere. (mtrim): Test
52943 the value of MALLOC_DEBUG with #if rather than #ifdef.
52944
52945 2014-04-10 Torvald Riegel <triegel@redhat.com>
52946
52947 * benchtests/pthread_once-inputs: New file.
52948 * benchtests/pthread_once-source.c: New file.
52949 * benchtests/README: Update documentation.
52950
52951 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
52952 H.J. Lu <hongjiu.lu@intel.com>
52953
52954 [BZ #16275]
52955 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52956 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52957 * sysdeps/x86_64/configure: Regenerated.
52958 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52959 macro.
52960 (REGISTER_SAVE_RAX): Likewise.
52961 (REGISTER_SAVE_RCX): Likewise.
52962 (REGISTER_SAVE_RDX): Likewise.
52963 (REGISTER_SAVE_RSI): Likewise.
52964 (REGISTER_SAVE_RDI): Likewise.
52965 (REGISTER_SAVE_R8): Likewise.
52966 (REGISTER_SAVE_R9): Likewise.
52967 (REGISTER_SAVE_BND0): Likewise.
52968 (REGISTER_SAVE_BND1): Likewise.
52969 (REGISTER_SAVE_BND2): Likewise.
52970 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
52971 bound registers when calling _dl_fixup.
52972
52973 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52974
52975 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52976 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52977 of its definition.
52978 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52979 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52980 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52981 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52982 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52983 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52984 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52985
52986 2014-04-09 Peter Brett <peter@peter-b.co.uk>
52987
52988 [BZ #15514]
52989 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52990 pathconf(_PC_NAME_MAX).
52991
52992 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52993
52994 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52995 Remove macro usage.
52996 (__PTHREAD_SPINS): Move definition to ...
52997 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52998 (__PTHREAD_SPINS): ... here.
52999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53000 (__PTHREAD_SPIN): Likewise.
53001 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53002 (__PTHREAD_SPIN): Likewise.
53003 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53004 (__PTHREAD_SPIN): Likewise.
53005 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53006 (__PTHREAD_SPIN): Likewise.
53007 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53008 (__PTHREAD_SPIN): Likewise.
53009 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53010 (__PTHREAD_SPIN): Likewise.
53011 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53012 (__PTHREAD_SPIN): Likewise.
53013 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53014 (__PTHREAD_SPIN): Likewise.
53015 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53016 (__PTHREAD_SPIN): Likewise.
53017 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53018 (__PTHREAD_SPIN): Likewise.
53019 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53020 (__PTHREAD_SPIN): Likewise.
53021 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53022 (__PTHREAD_SPIN): Likewise.
53023
53024 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53025 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53026 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53027 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53028 imply folder.
53029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53030 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53031 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53032 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53033 correct imply path.
53034 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53035 strlen symbol for non multi-arch builds.
53036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53037 missing hidden_def and weak_alias.
53038
53039 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53040
53041 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53042
53043 2014-04-07 Will Newton <will.newton@linaro.org>
53044
53045 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53046 and contents. [!_LIBC] Remove #ifndef and contents.
53047 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53048 * string/memccpy.c (__memccpy): Use ANSI prototype.
53049 * string/memfrob.c (memfrob): Likewise.
53050 * string/strcoll.c (STRCOLL): Likewise.
53051 * string/strlen.c (strlen): Likewise.
53052 * string/strtok.c (STRTOK): Likewise.
53053 * string/strcat.c: Remove unused #include of memcopy.h.
53054 (strcat): Use ANSI prototype.
53055 * string/strchr.c: Remove unused #include of memcopy.h.
53056 (strchr): Use ANSI prototype.
53057 * string/strcmp.c: Remove unused #include of memcopy.h.
53058 (strcmp): Use ANSI prototype.
53059 * string/strcpy.c: Remove unused #include of memcopy.h.
53060 (strcpy): Use ANSI prototype.
53061
53062 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53063
53064 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53065 * config.make.in (config-extra-cppflags): Set it from
53066 libc_extra_cppflags.
53067 * configure.ac (libc_extra_cflags): Make it accumulate over
53068 configure fragments.
53069 (libc_extra_cppflags): New flag.
53070 * configure. Regenerate.
53071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53072 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53073 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53075
53076 [BZ #16815]
53077 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53078 result for FE_DOWNWARD rounding mode.
53079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53080 Likewise.
53081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53082
53083 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53084
53085 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53086 in function argument name.
53087
53088 2014-04-03 David Svoboda <svoboda@cert.org>
53089
53090 [BZ #5666]
53091 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53092 explicitly.
53093
53094 2014-04-03 Roland McGrath <roland@hack.frob.com>
53095
53096 * elf/dl-unmap-segments.h: New file.
53097 * sysdeps/generic/ldsodefs.h
53098 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53099 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53100 * elf/dl-fptr.c: Likewise.
53101 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53102 * sysdeps/aarch64/tlsdesc.c: Likewise.
53103 * sysdeps/arm/tlsdesc.c: Likewise.
53104 * sysdeps/i386/tlsdesc.c: Likewise.
53105 * sysdeps/tile/dl-runtime.c: Likewise.
53106 * sysdeps/x86_64/tlsdesc.c: Likewise.
53107 * elf/dl-load.h: New file.
53108 * elf/dl-load.c: Include it.
53109 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53110 Macros moved to dl-load.h.
53111 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53112 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53113 Use _dl_unmap_segments in place of __munmap.
53114 Break out segment-mapping loop into ...
53115 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53116
53117 2014-04-03 Will Newton <will.newton@linaro.org>
53118
53119 * elf/dl-lookup.c (do_lookup_x): Remove comment
53120 referring to nested function and move variable
53121 declarations down to before first use.
53122
53123 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53124
53125 [BZ #16799]
53126 [BZ #16800]
53127 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53128 with 0 numerator.
53129 * math/s_catanf.c (__catanf): Likewise.
53130 * math/s_catanh.c (__catanh): Likewise.
53131 * math/s_catanhf.c (__catanhf): Likewise.
53132 * math/s_catanhl.c (__catanhl): Likewise.
53133 * math/s_catanl.c (__catanl): Likewise.
53134 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53135 by positive zero when computing -Inf result.
53136 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53137 (catanh_test): Likewise.
53138 * sysdeps/i386/fpu/libm-test-ulps: Update.
53139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53140
53141 [BZ #16789]
53142 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53143 instead of using underflowing value in computing result.
53144 * math/s_clog10.c (__clog10): Likewise.
53145 * math/s_clog10f.c (__clog10f): Likewise.
53146 * math/s_clog10l.c (__clog10l): Likewise.
53147 * math/s_clogf.c (__clogf): Likewise.
53148 * math/s_clogl.c (__clogl): Likewise.
53149 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53150 (clog10_test): Likewise.
53151 * sysdeps/i386/fpu/libm-test-ulps: Update.
53152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53153
53154 2014-04-02 Alan Modra <amodra@gmail.com>
53155
53156 [BZ #16739]
53157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53158 output when value is near a power of two. Use int64_t for lx and
53159 remove casts. Use decimal rather than hex exponent constants.
53160 Don't use long double multiplication when double will suffice.
53161 * math/libm-test.inc (nextafter_test_data): Add tests.
53162 * NEWS: Add 16739 and 16786 to bug list.
53163
53164 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53165
53166 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53167
53168 2014-04-01 Will Newton <will.newton@linaro.org>
53169
53170 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53171 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53172
53173 2014-04-01 Florian Weimer <fweimer@redhat.com>
53174
53175 [BZ #13347]
53176 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53177 * nptl/tst-setuid2.c: New file.
53178 * nptl/Makefile (xtests): Add tst-setuid2.
53179
53180 2014-04-01 Alan Modra <amodra@gmail.com>
53181
53182 [BZ #16786]
53183 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53184
53185 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53186
53187 [BZ #6803]
53188 [BZ #6804]
53189 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53190 set errno as appropriate.
53191 * math/w_scalbf.c (__scalbf): Likewise.
53192 * math/w_scalbl.c (__scalbl): Likewise.
53193 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53194 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53195 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53196 Add more NaN tests.
53197
53198 [BZ #16349]
53199 * math/w_atan2.c: Include <errno.h>.
53200 (__atan2): Set errno for result underflowing to zero.
53201 * math/w_atan2f.c: Include <errno.h>.
53202 (__atan2f): Set errno for result underflowing to zero.
53203 * math/w_atan2l.c: Include <errno.h>.
53204 (__atan2l): Set errno for result underflowing to zero.
53205 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53206 tests.
53207 * math/auto-libm-test-out: Regenerated.
53208
53209 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53210
53211 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53212 Encode instruction correctly in little endian.
53213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53214 Likewise.
53215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53216 Likewise.
53217 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53218 Likewise.
53219 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53220 Likewise.
53221
53222 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53223
53224 [BZ #9894]
53225 * sysdeps/unix/sysv/linux/kernel-features.h
53226 [__sparc__ && !__arch64__ && !__sparc_v9__]
53227 (__ASSUME_SET_ROBUST_LIST): Do not define.
53228 [__sparc__ && !__arch64__ && !__sparc_v9__]
53229 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53230 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53231 Likewise.
53232 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53233 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53234 (__ASSUME_REQUEUE_PI): Likewise.
53235 (__ASSUME_SET_ROBUST_LIST): Likewise.
53236 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53237 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53238 Undefine.
53239 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53240 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53241 Likewise.
53242 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53243 Likewise.
53244 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53245 Likewise.
53246 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53247 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53248 Undefine.
53249 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53250 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53251 Likewise.
53252
53253 [BZ #16648]
53254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53256 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53257
53258 2014-03-31 Will Newton <will.newton@linaro.org>
53259
53260 * benchtests/Makefile (bench): Add ffs and ffsll to list
53261 of tests.
53262 * benchtests/ffs-inputs: New file.
53263 * benchtests/ffsll-inputs: Likewise.
53264
53265 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53266
53267 [BZ #16770]
53268 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53269 too large before casting to int.
53270 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53271 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53272 * math/libm-test.inc (scalb_test_data): Add more tests.
53273
53274 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53275
53276 * benchtests/Makefile (DETAILED_OPT): New make option.
53277 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53278 set.
53279 * benchtests/bench-skeleton.c: Include stdbool.h.
53280 (main): Store and print timings per input.
53281 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53282 member to each argument value.
53283 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53284 (_print_arg_data): Initialize per-input timing to 0.
53285
53286 * benchtests/Makefile (timing-type): New binary.
53287 (bench-clean): Also remove bench-timing-type.
53288 (bench): New target for timing-type.
53289 (bench-func): Print output in JSON format.
53290 * benchtests/bench-skeleton.c (main): Print output in JSON
53291 format.
53292 * benchtests/bench-timing-type.c: New file.
53293 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53294 (TIMING_PRINT_STATS): Remove.
53295 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53296 name separately.
53297
53298 * benchtests/bench-modf.c: Remove.
53299 * benchtests/modf-inputs: New inputs file.
53300
53301 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53302
53303 [BZ #16362]
53304 * math/s_clog10.c (M_PI_LOG10E): New macro.
53305 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53306 imaginary parts are 0.
53307 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53308 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53309 imaginary parts are 0.
53310 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53311 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53312 imaginary parts are 0.
53313 * math/libm-test.inc (clog10_test_data): Update expected results
53314 for when real and imaginary parts are 0.
53315
53316 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53317
53318 * elf/dl-load.c: Finish conversion of __builtin_expect into
53319 __glibc_{un}likely.
53320
53321 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53322
53323 [BZ #16348]
53324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53325 1+x for argument with exponent below -67.
53326 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53327 Likewise.
53328 * math/auto-libm-test-in: Add more tests of exp.
53329 * math/auto-libm-test-out: Regenerated.
53330
53331 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53332
53333 [BZ #16759]
53334 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53335 (nscd_getnetgrent): Use it.
53336
53337 [BZ #16760]
53338 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53339 of stpcpy.
53340
53341 2014-03-27 Andi Kleen <ak@linux.intel.com>
53342
53343 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53344 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53345 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53346 (lll_robust_unlock): Remove out of line section. Use cfi
53347 intrinsics.
53348 (LLL_STUB_UNWIND_INFO*): Remove.
53349 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53350 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53351 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53352 (lll_robust_unlock): Remove out of line section. Use cfi
53353 intrinsics.
53354 (LLL_STUB_UNWIND_INFO*): Remove.
53355
53356 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53357
53358 [BZ #16758]
53359 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53360 blank values.
53361
53362 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53363
53364 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53365
53366 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53367
53368 [BZ #16198]
53369 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53370 fnstenv.
53371 * math/test-fenv-preserve.c: New file.
53372 * math/Makefile (tests): Add test-fenv-preserve.
53373
53374 2014-03-26 Will Newton <will.newton@linaro.org>
53375
53376 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53377
53378 2014-03-25 Roland McGrath <roland@hack.frob.com>
53379
53380 * scripts/versionlist.awk: Partition the version sets and emit all
53381 GLIBC_* (sorted) before all others (sorted).
53382
53383 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53384
53385 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53386 GLIBC_2.2.5 version.
53387
53388 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53389
53390 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53391 calls.
53392
53393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53394 previous change.
53395
53396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53397
53398 2014-03-25 Andreas Schwab <schwab@suse.de>
53399
53400 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53401 label to be used after in6ailist is initialized.
53402
53403 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53404
53405 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53406 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53407
53408 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53409
53410 [BZ #16357]
53411 [BZ #16599]
53412 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53413 min_plus_half.
53414 (fp_formats): Update initializers.
53415 (init_fp_formats): Initialize new field.
53416 (output_for_one_input_case): Allow underflow for results up to
53417 min_plus_half.
53418 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53419 * math/auto-libm-test-in: Don't mark some underflows from asin and
53420 atanh as spurious.
53421 * math/auto-libm-test-out: Regenerated.
53422 * sysdeps/i386/fpu/libm-test-ulps: Update.
53423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53424
53425 2014-03-25 Andreas Schwab <schwab@suse.de>
53426
53427 * libio/Makefile (tst-ftell-partial-wide-ENV)
53428 (tst-ftell-active-handler-ENV): Define.
53429
53430 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53431
53432 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53433
53434 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53435
53436 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53437
53438 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53439
53440 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53441 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53442 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53443
53444 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53445
53446 [BZ #16634]
53447 * elf/dl-load.c (open_verify): Add mode parameter.
53448 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53449 (open_path): Change from boolean 'secure' to complete flag 'mode'
53450 (_dl_map_object): Adjust.
53451 * elf/Makefile (tests): Add tst-dlopen-aout.
53452 * elf/tst-dlopen-aout.c: New test.
53453
53454 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53455
53456 [BZ #16714]
53457 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53458 (struct stat): Rename member pad0 to __glibc_reserved0.
53459
53460 [BZ #16712]
53461 * sysdeps/s390/s390-32/bits/wordsize.h
53462 (__WORDSIZE32_SIZE_ULONG): New define.
53463 * sysdeps/s390/s390-64/bits/wordsize.h
53464 (__WORDSIZE32_SIZE_ULONG): Likewise.
53465 * sysdeps/generic/stdint.h (SIZE_MAX):
53466 Define as UL if __WORDSIZE32_SIZE_ULONG.
53467
53468 [BZ #16713]
53469 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53470 (__glibc_reserved0): New variable.
53471 (sa_flags): Change type to int.
53472
53473 * posix/Makefile (before-compile): Use += before-compile instead
53474 of a :=.
53475
53476 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53477 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53478
53479 2014-03-20 Andreas Schwab <schwab@suse.de>
53480
53481 [BZ #16743]
53482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53483 non-matching result from nscd.
53484
53485 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53486
53487 * scripts/bench.py: Moved to ...
53488 * benchtests/scripts/bench.py: ... here.
53489 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53490
53491 2014-03-24 Andreas Schwab <schwab@suse.de>
53492
53493 [BZ #16002]
53494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53495 alloca_account and account alloca use for struct in6ailist.
53496
53497 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53498
53499 [BZ #16284]
53500 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53501 rounding mode to recompute results that overflow to infinity or
53502 underflow to zero.
53503 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53504 bug 16284.
53505 * math/auto-libm-test-out: Regenerated.
53506 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53507 (ccosh_test): Likewise.
53508 (csin_test_data): Use plus_oflow.
53509 (csin_test): Use ALL_RM_TEST.
53510 (csinh_test_data): Use plus_oflow.
53511 (csinh_test): Use ALL_RM_TEST.
53512 * sysdeps/i386/fpu/libm-test-ulps: Update.
53513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53514
53515 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53516
53517 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53518 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53519 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53520
53521 [BZ #16731]
53522 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53523 when x - 1 is zero.
53524 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53525 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53526 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53528 argument is 1.
53529 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53530 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53531 zero.
53532 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53533 * sysdeps/i386/fpu/libm-test-ulps: Update.
53534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53535
53536 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53537
53538 * scripts/bench.pl: Remove file.
53539 * scripts/bench.py: New benchmark script.
53540 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53541 * benchtests/README: Mention python dependency.
53542 * scripts/pylintrc: New file.
53543 * scripts/pylint: New file.
53544
53545 * bits/mathdef.h: Use #ifdef instead of #if.
53546 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53547 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53548 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53549 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53550 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53551 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53552
53553 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53554 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53555
53556 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53558 and strpbrk-ppc64 objects.
53559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53560 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53561 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53562 multiarch strpbrk for POWER7.
53563 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53564 multiarch strpbrk for PPC64.
53565 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53566 ifunc selector.
53567 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53568 strpbrk for POWER7.
53569
53570 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53571
53572 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53573 (atan_test): Likewise.
53574 (atanh_test_data): Use NO_TEST_INLINE for two tests.
53575 (atanh_test): Use ALL_RM_TEST.
53576 (atan2_test_data): Likewise.
53577 (cabs_test): Likewise.
53578 (cacosh_test): Likewise.
53579 (carg_test): Likewise.
53580 (casin_test): Likewise.
53581 (casinh_test): Likewise.
53582 (cbrt_test): Likewise.
53583 (csqrt_test): Likewise.
53584 (erf_test): Likewise.
53585 (erfc_test): Likewise.
53586 (pow10_test): Likewise.
53587 (exp2_test): Likewise.
53588 (hypot_test): Likewise.
53589 (j0_test): Likewise.
53590 (j1_test): Likewise.
53591 (lgamma_test): Likewise.
53592 (gamma_test): Likewise.
53593 (sincos_test): Likewise.
53594 (tanh_test): Likewise.
53595 (y0_test): Likewise.
53596 (y1_test): Likewise.
53597 * sysdeps/i386/fpu/libm-test-ulps: Update.
53598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53599
53600 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53601
53602 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53604 and strcspn-ppc64 objects.
53605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53606 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53607 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53608 multiarch strcspn for POWER7.
53609 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53610 multiarch strcspn for PPC64.
53611 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53612 ifunc selector.
53613 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53614 strcspn for POWER7.
53615
53616 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53617
53618 * math/gen-libm-test.pl (generate_testfile): Expect only function
53619 name as argument to AUTO_TESTS_* and pass results for all rounding
53620 modes to parse_args.
53621 (parse_auto_input): Separate inputs of automatic tests from
53622 outputs before storing in %auto_tests.
53623 * math/libm-test.inc (acos_test_data): Update call to
53624 AUTO_TESTS_f_f.
53625 (acos_test): Use ALL_RM_TEST.
53626 (acos_tonearest_test_data): Remove.
53627 (acos_test_tonearest): Likewise.
53628 (acos_towardzero_test_data): Likewise.
53629 (acos_test_towardzero): Likewise.
53630 (acos_downward_test_data): Likewise.
53631 (acos_test_downward): Likewise.
53632 (acos_upward_test_data): Likewise.
53633 (acos_test_upward): Likewise.
53634 (acosh_test_data): Update call to AUTO_TESTS_f_f.
53635 (asin_test_data): Likewise.
53636 (asin_test): Use ALL_RM_TEST.
53637 (asin_tonearest_test_data): Remove.
53638 (asin_test_tonearest): Likewise.
53639 (asin_towardzero_test_data): Likewise.
53640 (asin_test_towardzero): Likewise.
53641 (asin_downward_test_data): Likewise.
53642 (asin_test_downward): Likewise.
53643 (asin_upward_test_data): Likewise.
53644 (asin_test_upward): Likewise.
53645 (asinh_test_data): Update call to AUTO_TESTS_f_f.
53646 (atan_test_data): Likewise.
53647 (atanh_test_data): Likewise.
53648 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53649 (cabs_test_data): Update call to AUTO_TESTS_c_f.
53650 (carg_test_data): Likewise.
53651 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53652 (ccos_test_data): Update call to AUTO_TESTS_c_c.
53653 (ccosh_test_data): Likewise.
53654 (cexp_test_data): Likewise.
53655 (clog_test_data): Likewise.
53656 (clog10_test_data): Likewise.
53657 (cos_test_data): Update call to AUTO_TESTS_f_f.
53658 (cos_test): Use ALL_RM_TEST.
53659 (cos_tonearest_test_data): Remove.
53660 (cos_test_tonearest): Likewise.
53661 (cos_towardzero_test_data): Likewise.
53662 (cos_test_towardzero): Likewise.
53663 (cos_downward_test_data): Likewise.
53664 (cos_test_downward): Likewise.
53665 (cos_upward_test_data): Likewise.
53666 (cos_test_upward): Likewise.
53667 (cosh_test_data): Update call to AUTO_TESTS_f_f.
53668 (cosh_test): Use ALL_RM_TEST.
53669 (cosh_tonearest_test_data): Remove.
53670 (cosh_test_tonearest): Likewise.
53671 (cosh_towardzero_test_data): Likewise.
53672 (cosh_test_towardzero): Likewise.
53673 (cosh_downward_test_data): Likewise.
53674 (cosh_test_downward): Likewise.
53675 (cosh_upward_test_data): Likewise.
53676 (cosh_test_upward): Likewise.
53677 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53678 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53679 (ctan_test_data): Likewise.
53680 (ctan_test): Use ALL_RM_TEST.
53681 (ctan_tonearest_test_data): Remove.
53682 (ctan_test_tonearest): Likewise.
53683 (ctan_towardzero_test_data): Likewise.
53684 (ctan_test_towardzero): Likewise.
53685 (ctan_downward_test_data): Likewise.
53686 (ctan_test_downward): Likewise.
53687 (ctan_upward_test_data): Likewise.
53688 (ctan_test_upward): Likewise.
53689 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
53690 (ctanh_test): Use ALL_RM_TEST.
53691 (ctanh_tonearest_test_data): Remove.
53692 (ctanh_test_tonearest): Likewise.
53693 (ctanh_towardzero_test_data): Likewise.
53694 (ctanh_test_towardzero): Likewise.
53695 (ctanh_downward_test_data): Likewise.
53696 (ctanh_test_downward): Likewise.
53697 (ctanh_upward_test_data): Likewise.
53698 (ctanh_test_upward): Likewise.
53699 (erf_test_data): Update call to AUTO_TESTS_f_f.
53700 (erfc_test_data): Likewise.
53701 (exp_test_data): Likewise.
53702 (exp_test): Use ALL_RM_TEST.
53703 (exp_tonearest_test_data): Remove.
53704 (exp_test_tonearest): Likewise.
53705 (exp_towardzero_test_data): Likewise.
53706 (exp_test_towardzero): Likewise.
53707 (exp_downward_test_data): Likewise.
53708 (exp_test_downward): Likewise.
53709 (exp_upward_test_data): Likewise.
53710 (exp_test_upward): Likewise.
53711 (exp10_test_data): Update call to AUTO_TESTS_f_f.
53712 (exp10_test): Use ALL_RM_TEST.
53713 (exp10_tonearest_test_data): Remove.
53714 (exp10_test_tonearest): Likewise.
53715 (exp10_towardzero_test_data): Likewise.
53716 (exp10_test_towardzero): Likewise.
53717 (exp10_downward_test_data): Likewise.
53718 (exp10_test_downward): Likewise.
53719 (exp10_upward_test_data): Likewise.
53720 (exp10_test_upward): Likewise.
53721 (exp2_test_data): Update call to AUTO_TESTS_f_f.
53722 (expm1_test_data): Likewise.
53723 (expm1_test): Use ALL_RM_TEST.
53724 (expm1_tonearest_test_data): Remove.
53725 (expm1_test_tonearest): Likewise.
53726 (expm1_towardzero_test_data): Likewise.
53727 (expm1_test_towardzero): Likewise.
53728 (expm1_downward_test_data): Likewise.
53729 (expm1_test_downward): Likewise.
53730 (expm1_upward_test_data): Likewise.
53731 (expm1_test_upward): Likewise.
53732 (fma_test_data): Update call to AUTO_TESTS_fff_f.
53733 (fma_test): Use ALL_RM_TEST.
53734 (fma_towardzero_test_data): Remove.
53735 (fma_test_towardzero): Likewise.
53736 (fma_downward_test_data): Likewise.
53737 (fma_test_downward): Likewise.
53738 (fma_upward_test_data): Likewise.
53739 (fma_test_upward): Likewise.
53740 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53741 (j0_test_data): Update call to AUTO_TESTS_f_f.
53742 (j1_test_data): Likewise.
53743 (jn_test_data): Update call to AUTO_TESTS_if_f.
53744 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53745 (log_test_data): Update call to AUTO_TESTS_f_f.
53746 (log10_test_data): Likewise.
53747 (log1p_test_data): Likewise.
53748 (log2_test_data): Likewise.
53749 (pow_test_data): Update call to AUTO_TESTS_ff_f.
53750 (pow_tonearest_test_data): Likewise.
53751 (sin_test_data): Update call to AUTO_TESTS_f_f.
53752 (sin_test): Use ALL_RM_TEST.
53753 (sin_tonearest_test_data): Remove.
53754 (sin_test_tonearest): Likewise.
53755 (sin_towardzero_test_data): Likewise.
53756 (sin_test_towardzero): Likewise.
53757 (sin_downward_test_data): Likewise.
53758 (sin_test_downward): Likewise.
53759 (sin_upward_test_data): Likewise.
53760 (sin_test_upward): Likewise.
53761 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53762 (sinh_test_data): Update call to AUTO_TESTS_f_f.
53763 (sinh_test): Use ALL_RM_TEST.
53764 (sinh_tonearest_test_data): Remove.
53765 (sinh_test_tonearest): Likewise.
53766 (sinh_towardzero_test_data): Likewise.
53767 (sinh_test_towardzero): Likewise.
53768 (sinh_downward_test_data): Likewise.
53769 (sinh_test_downward): Likewise.
53770 (sinh_upward_test_data): Likewise.
53771 (sinh_test_upward): Likewise.
53772 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53773 (sqrt_test): Use ALL_RM_TEST.
53774 (sqrt_tonearest_test_data): Remove.
53775 (sqrt_test_tonearest): Likewise.
53776 (sqrt_towardzero_test_data): Likewise.
53777 (sqrt_test_towardzero): Likewise.
53778 (sqrt_downward_test_data): Likewise.
53779 (sqrt_test_downward): Likewise.
53780 (sqrt_upward_test_data): Likewise.
53781 (sqrt_test_upward): Likewise.
53782 (tan_test_data): Update call to AUTO_TESTS_f_f.
53783 (tan_test): Use ALL_RM_TEST.
53784 (tan_tonearest_test_data): Remove.
53785 (tan_test_tonearest): Likewise.
53786 (tan_towardzero_test_data): Likewise.
53787 (tan_test_towardzero): Likewise.
53788 (tan_downward_test_data): Likewise.
53789 (tan_test_downward): Likewise.
53790 (tan_upward_test_data): Likewise.
53791 (tan_test_upward): Likewise.
53792 (tanh_test_data): Update call to AUTO_TESTS_f_f.
53793 (tgamma_test_data): Likewise.
53794 (y0_test_data): Likewise.
53795 (y1_test_data): Likewise.
53796 (yn_test_data): Update call to AUTO_TESTS_if_f.
53797 (main): Do not call removed functions.
53798
53799 2014-03-19 Joseph Myers <joseph@codesourcery.com>
53800
53801 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53802 (ldexp_test_data): Remove.
53803 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
53804 scalbn_test_data.
53805 (scalb_test): Use ALL_RM_TEST.
53806
53807 2014-03-19 Andreas Schwab <schwab@suse.de>
53808
53809 * nscd/nscd.service: Also invalidate netgroup cache on reload.
53810
53811 2014-03-19 Joseph Myers <joseph@codesourcery.com>
53812
53813 [BZ #16649]
53814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53815 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53816 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53818 (__ASSUME_PREADV): Undefine.
53819 (__ASSUME_PWRITEV): Likewise.
53820
53821 2014-03-18 Roland McGrath <roland@hack.frob.com>
53822
53823 * bits/mman-linux.h: Add comment about non-Linux use.
53824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53825 bits/mman-linux.h resting place.
53826
53827 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53828 * bits/mman-linux.h: ... here.
53829
53830 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53831
53832 * conform/conformtest.pl: Add standard definition when calling C
53833 preprocessor on data files.
53834 (checknamespace): Remove unused variable.
53835
53836 2014-03-18 Joseph Myers <joseph@codesourcery.com>
53837
53838 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53839 minus_oflow, plus_uflow and minus_uflow in expected results.
53840 * math/libm-test.inc (scalbn_test_data): Add more tests of
53841 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
53842 minus_uflow.
53843 (scalbn_test): Use ALL_RM_TEST.
53844 (scalbln_test_data): Add more tests of negative arguments. Use
53845 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53846 (scalbln_test): Use ALL_RM_TEST.
53847
53848 2014-03-18 Roland McGrath <roland@hack.frob.com>
53849
53850 * scripts/abilist.awk: Ignore symbols marked with .hidden.
53851
53852 2014-03-18 Will Newton <will.newton@linaro.org>
53853
53854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53855 inaccurate comment.
53856
53857 2014-03-18 Joseph Myers <joseph@codesourcery.com>
53858
53859 * Makerules [!subdir] (check-abi): Exit with error status if a
53860 test failed.
53861
53862 2014-03-17 Joseph Myers <joseph@codesourcery.com>
53863
53864 * math/libm-test.inc (nearbyint_test_data): Include all tests used
53865 for rint. Include results for all rounding modes.
53866 (nearbyint_test): Use ALL_RM_TEST.
53867 (rint_test_data): Include all tests used for nearbyint.
53868
53869 2014-03-17 Will Newton <will.newton@linaro.org>
53870
53871 * nptl/sysdeps/pthread/pthread.h: Revert previous
53872 change.
53873
53874 * sysdeps/generic/ldsodefs.h: Revert previous
53875 change.
53876
53877 * libio/genops.c: Revert previous change.
53878 * libio/libioP.h: Likewise.
53879 * stdio-common/vfprintf.c: Likewise.
53880
53881 * sysdeps/generic/math_private.h: Revert previous
53882 change.
53883
53884 * sysdeps/generic/math_private.h: Check whether
53885 HAVE_RM_CTX is defined with #ifdef rather
53886 than #if.
53887
53888 * argp/argp-fmtstream.h: Check whether
53889 __STRICT_ANSI__ is defined with #ifdef rather
53890 than #if.
53891 * argp/argp.h: Likewise.
53892
53893 * libio/genops.c: Check whether
53894 _IO_JUMPS_OFFSET is defined with #ifdef rather
53895 than #if.
53896 * libio/libioP.h: Likewise.
53897 * stdio-common/vfprintf.c: Likewise.
53898
53899 * sysdeps/generic/ldsodefs.h: Check whether
53900 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53901 than #if.
53902
53903 * nptl/sysdeps/pthread/pthread.h: Check
53904 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53905 its value.
53906
53907 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53908
53909 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53910 setting O_APPEND.
53911 * libio/tst-ftell-active-handler.c (do_append_test): Add a
53912 test case.
53913
53914 [BZ #16680]
53915 * libio/fileops.c (_IO_file_open): Seek to end of file but
53916 don't cache the offset.
53917 (get_file_offset): Remove function.
53918 (do_ftell): Use cached offset when available.
53919 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53920 don't cache the offset.
53921 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53922 case.
53923 (do_one_test): Call it.
53924 (do_ftell_test): Fix up expected old offset for a+ mode.
53925 * libio/wfileops.c (do_ftell_wide): Used cached offset when
53926 available.
53927
53928 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53929 up test status with function return status.
53930 (do_write_test): Likewise.
53931 (do_append_test): Likewise.
53932
53933 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53934 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53935 Remove.
53936
53937 2014-03-17 Joseph Myers <joseph@codesourcery.com>
53938
53939 * math/gen-libm-test.pl (parse_args): Handle results specified for
53940 each rounding mode separately.
53941 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53942 tests and results from lrint_tonearest_test_data,
53943 lrint_towardzero_test_data, lrint_downward_test_data and
53944 lrint_upward_test_data.
53945 (lrint_test): Use ALL_RM_TEST.
53946 (lrint_tonearest_test_data): Remove.
53947 (lrint_test_tonearest): Likewise.
53948 (lrint_towardzero_test_data): Likewise.
53949 (lrint_test_towardzero): Likewise.
53950 (lrint_downward_test_data): Likewise.
53951 (lrint_test_downward): Likewise.
53952 (lrint_upward_test_data): Likewise.
53953 (lrint_test_upward): Likewise.
53954 (llrint_test_data): Merge in per-rounding-mode tests and results
53955 from llrint_tonearest_test_data, llrint_towardzero_test_data,
53956 llrint_downward_test_data and llrint_upward_test_data.
53957 (llrint_test): Use ALL_RM_TEST.
53958 (llrint_tonearest_test_data): Remove.
53959 (llrint_test_tonearest): Likewise.
53960 (llrint_towardzero_test_data): Likewise.
53961 (llrint_test_towardzero): Likewise.
53962 (llrint_downward_test_data): Likewise.
53963 (llrint_test_downward): Likewise.
53964 (llrint_upward_test_data): Likewise.
53965 (llrint_test_upward): Likewise.
53966 (rint_test_data): Merge in per-rounding-mode tests and results
53967 from rint_tonearest_test_data, rint_towardzero_test_data,
53968 rint_downward_test_data and rint_upward_test_data. Add
53969 per-rounding-mode results for tests not in those arrays.
53970 (rint_test): Use ALL_RM_TEST.
53971 (rint_tonearest_test_data): Remove.
53972 (rint_test_tonearest): Likewise.
53973 (rint_towardzero_test_data): Likewise.
53974 (rint_test_towardzero): Likewise.
53975 (rint_downward_test_data): Likewise.
53976 (rint_test_downward): Likewise.
53977 (rint_upward_test_data): Likewise.
53978 (rint_test_upward): Likewise.
53979 (main): Don't call removed functions.
53980
53981 2014-03-14 Roland McGrath <roland@hack.frob.com>
53982
53983 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53984 "Compiled on ..." crapola. It is anti-useful.
53985
53986 2014-03-14 Joseph Myers <joseph@codesourcery.com>
53987
53988 * scripts/evaluate-test.sh: Handle fourth argument to determine
53989 whether test run should stop on failure.
53990 * Makeconfig (stop-on-test-failure): New variable.
53991 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53992 $(stop-on-test-failure).
53993 * Makefile (tests): Give a summary of results from testing and
53994 exit with failure status if they include an ERROR or FAIL.
53995 (xtests): Likewise.
53996 * manual/install.texi (Configuring and compiling): Mention
53997 stop-on-test-failure=y.
53998 * INSTALL: Regenerated.
53999
54000 2014-03-14 Roland McGrath <roland@hack.frob.com>
54001
54002 * scripts/versionlist.awk: New file.
54003 * Makerules [$(build-shared) = yes]
54004 (postclean-generated): Add Versions.def, not Versions.def.v and
54005 Versions.def.v.i.
54006 ($(common-objpfx)Versions.def.v.i): Target removed.
54007 ($(common-objpfx)Versions.def): New target.
54008 ($(common-objpfx)Versions.all): Depend on that rather that
54009 $(common-objpfx)Versions.def.v.
54010 * Versions.def: File removed.
54011
54012 * Makeconfig (+gccwarn): Add -Wundef.
54013 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54014 a dl-sysdep.h breaking its contract.
54015 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54016 * include/stackinfo.h: New file.
54017 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54018 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54019 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54020 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54021 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54022 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54023 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54024 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54025 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54026 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54027 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54028 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54029 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54030 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54031 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54032
54033 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54034
54035 [BZ #16707]
54036 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54037 implementation.
54038 * math/libm-test.inc (round_test_data): Add more tests.
54039
54040 [BZ #16706]
54041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54042 implementation.
54043 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54044
54045 [BZ #16701]
54046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54047 implementation.
54048 * math/libm-test.inc (ceil_test_data): Add more tests.
54049
54050 * math/libm-test.inc (trunc_test_data): Add more tests related to
54051 BZ#16414.
54052
54053 2014-03-14 Roland McGrath <roland@hack.frob.com>
54054
54055 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54056 with #if rather than #ifdef.
54057 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54058
54059 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54060
54061 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54062 first. Disable AVX-512 GCC support if assembler doesn't support
54063 it.
54064 * sysdeps/x86_64/configure: Regenerated.
54065
54066 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54067
54068 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54069 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54070 (__old_pthread_attr_setstack): Likewise.
54071 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54072 [!_STACK_GROWS_DOWN]: Likewise.
54073
54074 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54075
54076 * config.make.in (have-bash2): Delete.
54077 * configure.ac (libc_cv_have_bash2): Delete.
54078 * configure: Regenerate.
54079 * elf/Makefile (common-ldd-rewrite): Rename to ...
54080 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54081 (sh-ldd-rewrite): Delete.
54082 (bash-ldd-rewrite): Delete.
54083 (have-bash2): Delete checks.
54084 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54085 ldd-rewrite.
54086
54087 * config.make.in (have-ksh): Delete.
54088 (KSH): Delete.
54089 * configure.ac (libc_cv_have_ksh): Delete.
54090 * configure: Regenerate.
54091
54092 * elf/Makefile: Delete $(have-ksh) check.
54093 ($(objpfx)sotruss): Change KSH to BASH.
54094 * elf/sotruss.ksh: Rename to ...
54095 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54096 function style to match POSIX. Drop ksh vim mode setting.
54097
54098 * manual/time.texi (Specifying the Time Zone with TZ): Change
54099 Tuesday to Thursday.
54100
54101 * debug/tst-longjmp_chk2.c: Update header comment.
54102 (stackoverflow_handler): Add comment. Call assert on pass value.
54103
54104 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54105
54106 [BZ #16194]
54107 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54108 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54109 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54110 (La_x86_64_vector): Add zmm.
54111 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54112 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54113 ($(objpfx)tst-audit10): New target.
54114 ($(objpfx)tst-audit10.out): Likewise.
54115 (tst-audit10-ENV): New.
54116 (AVX512-CFLAGS): Likewise.
54117 (CFLAGS-tst-audit10.c): Likewise.
54118 (CFLAGS-tst-auditmod10a.c): Likewise.
54119 (CFLAGS-tst-auditmod10b.c): Likewise.
54120 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54121 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54122 * sysdeps/x86_64/configure: Regenerated.
54123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54124 AVX-512 zmm register support.
54125 (_dl_x86_64_save_sse): Likewise.
54126 (_dl_x86_64_restore_sse): Likewise.
54127 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54128 size vector registers.
54129 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54130 (ZMM_SIZE): Likewise.
54131 * sysdeps/x86_64/tst-audit10.c: New file.
54132 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54133 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54134
54135 2014-03-13 Roland McGrath <roland@hack.frob.com>
54136
54137 * configure.ac (HAVE_EHDR_START): New check.
54138 * configure: Regenerated.
54139 * config.h.in (HAVE_EHDR_START): New #undef.
54140 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54141 assuming the lowest-addressed segment maps the start of the file.
54142
54143 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54144
54145 * INSTALL: Regenerated.
54146
54147 2014-03-13 Will Newton <will.newton@linaro.org>
54148
54149 * manual/setjmp.texi (System V contexts): Improve
54150 clarity and grammar of documentation.
54151
54152 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54153
54154 [BZ #16381]
54155 * elf/Makefile (tests): Add tst-pie2.
54156 (tests-pie): Add tst-pie2.
54157 * elf/tst-pie2.c: New file.
54158 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54159 for ET_EXEC.
54160 * elf/rtld.c (map_doit): Load executable as lt_executable.
54161 (dl_main): Likewise.
54162
54163 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54164
54165 [BZ #16642]
54166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54167 (__ASSUME_PSELECT): Undefine.
54168
54169 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54170
54171 [BZ #16689]
54172 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54173 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54174 static build.
54175 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54176 selector for static builds.
54177
54178 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54179
54180 [BZ #16695]
54181 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54182 key in the buffer.
54183
54184 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54185
54186 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54187 IFUNC selector for static builds.
54188
54189 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54190
54191 * sysdeps/mips/math_private.h [__mips_hard_float]
54192 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54193 libc_feresetround_mips_ctx.
54194 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54195 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54196 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54197
54198 [BZ #16677]
54199 * math/s_nextafter.c (__nextafter): Do not return value from
54200 overflowing computation.
54201 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54202 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54203 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54204 Likewise.
54205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54206 Likewise.
54207 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54208 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54209
54210 2014-03-11 Roland McGrath <roland@hack.frob.com>
54211
54212 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54213 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54214 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54215 the new mov targetting sp.
54216
54217 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54218
54219 [BZ #16683]
54220 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54221 Define it for static builds as well.
54222 (NO_BZERO_IMPL): Likewise.
54223
54224 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54225
54226 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54227 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54228 multiarch strspn for PPC64.
54229 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54230 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54232 (__libc_ifunc_impl_list): Likewise.
54233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54234 multiarch optimizations
54235 * string/strspn.c (strspn): Using macro to redefine symbol name.
54236
54237 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54238 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54239
54240 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54241 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54242 multiarch strncat for PPC64.
54243 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54244 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54246 (__libc_ifunc_impl_list): Likewise.
54247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54248 multiarch optimizations
54249
54250 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54251
54252 [BZ #16639]
54253 * nscd/nscd.service: Make service type forking.
54254
54255 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54256
54257 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54258 sign in non default rounding modes.
54259 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54260
54261 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54262
54263 * math/libm-test.inc (ALL_RM_TEST): New macro.
54264 (ceil_test): Use ALL_RM_TEST.
54265 (cimag_test): Likewise.
54266 (conj_test): Likewise.
54267 (copysign_test): Likewise.
54268 (cproj_test): Likewise.
54269 (creal_test): Likewise.
54270 (fabs_test): Likewise.
54271 (floor_test): Likewise.
54272 (fmax_test): Likewise.
54273 (fmin_test): Likewise.
54274 (fmod_test): Likewise.
54275 (fpclassify_test): Likewise.
54276 (frexp_test): Likewise.
54277 (ilogb_test): Likewise.
54278 (isfinite_test): Likewise.
54279 (finite_test): Likewise.
54280 (isgreater_test): Likewise.
54281 (isgreaterequal_test): Likewise.
54282 (isinf_test): Likewise.
54283 (isless_test): Likewise.
54284 (islessequal_test): Likewise.
54285 (islessgreater_test): Likewise.
54286 (isnan_test): Likewise.
54287 (isnormal_test): Likewise.
54288 (issignaling_test): Likewise.
54289 (isunordered_test): Likewise.
54290 (logb_test): Likewise.
54291 (logb_downward_test_data): Remove.
54292 (logb_test_downward): Likewise.
54293 (lround_test): Use ALL_RM_TEST.
54294 (llround_test): Likewise.
54295 (modf_test): Likewise.
54296 (nexttoward_test): Likewise.
54297 (remainder_test): Likewise.
54298 (drem_test): Likewise.
54299 (remainder_tonearest_test_data): Likewise.
54300 (remainder_test_tonearest): Likewise.
54301 (drem_test_tonearest): Likewise.
54302 (remainder_towardzero_test_data): Likewise.
54303 (remainder_test_towardzero): Likewise.
54304 (drem_test_towardzero): Likewise.
54305 (remainder_downward_test_data): Likewise.
54306 (remainder_test_downward): Likewise.
54307 (drem_test_downward): Likewise.
54308 (remainder_upward_test_data): Likewise.
54309 (remainder_test_upward): Likewise.
54310 (drem_test_upward): Likewise.
54311 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54312 (round_test): Use ALL_RM_TEST.
54313 (signbit_test): Likewise.
54314 (trunc_test): Likewise.
54315 (significand_test): Likewise.
54316 (main): Don't call removed functions.
54317
54318 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54319
54320 [BZ #16674]
54321 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54322 || __USE_XOPEN2K8].
54323 (ILL_ILLOPN): Likewise.
54324 (ILL_ILLADR): Likewise.
54325 (ILL_ILLTRP): Likewise.
54326 (ILL_PRVOPC): Likewise.
54327 (ILL_PRVREG): Likewise.
54328 (ILL_COPROC): Likewise.
54329 (ILL_BADSTK): Likewise.
54330 (FPE_INTDIV): Likewise.
54331 (FPE_INTOVF): Likewise.
54332 (FPE_FLTDIV): Likewise.
54333 (FPE_FLTOVF): Likewise.
54334 (FPE_FLTUND): Likewise.
54335 (FPE_FLTRES): Likewise.
54336 (FPE_FLTINV): Likewise.
54337 (FPE_FLTSUB): Likewise.
54338 (SEGV_MAPERR): Likewise.
54339 (SEGV_ACCERR): Likewise.
54340 (BUS_ADRALN): Likewise.
54341 (BUS_ADRERR): Likewise.
54342 (BUS_OBJERR): Likewise.
54343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54344 (TRAP_TRACE): Likewise.
54345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54346 __USE_XOPEN2K8].
54347 (CLD_KILLED): Likewise.
54348 (CLD_DUMPED): Likewise.
54349 (CLD_TRAPPED): Likewise.
54350 (CLD_STOPPED): Likewise.
54351 (CLD_CONTINUED): Likewise.
54352 (POLL_IN): Likewise.
54353 (POLL_OUT): Likewise.
54354 (POLL_MSG): Likewise.
54355 (POLL_ERR): Likewise.
54356 (POLL_PRI): Likewise.
54357 (POLL_HUP): Likewise.
54358 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54359 Likewise.
54360 (ILL_ILLOPN): Likewise.
54361 (ILL_ILLADR): Likewise.
54362 (ILL_ILLTRP): Likewise.
54363 (ILL_PRVOPC): Likewise.
54364 (ILL_PRVREG): Likewise.
54365 (ILL_COPROC): Likewise.
54366 (ILL_BADSTK): Likewise.
54367 (FPE_INTDIV): Likewise.
54368 (FPE_INTOVF): Likewise.
54369 (FPE_FLTDIV): Likewise.
54370 (FPE_FLTOVF): Likewise.
54371 (FPE_FLTUND): Likewise.
54372 (FPE_FLTRES): Likewise.
54373 (FPE_FLTINV): Likewise.
54374 (FPE_FLTSUB): Likewise.
54375 (SEGV_MAPERR): Likewise.
54376 (SEGV_ACCERR): Likewise.
54377 (BUS_ADRALN): Likewise.
54378 (BUS_ADRERR): Likewise.
54379 (BUS_OBJERR): Likewise.
54380 (BUS_MCEERR_AR): Likewise.
54381 (BUS_MCEERR_AO): Likewise.
54382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54383 (TRAP_TRACE): Likewise.
54384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54385 __USE_XOPEN2K8].
54386 (CLD_KILLED): Likewise.
54387 (CLD_DUMPED): Likewise.
54388 (CLD_TRAPPED): Likewise.
54389 (CLD_STOPPED): Likewise.
54390 (CLD_CONTINUED): Likewise.
54391 (POLL_IN): Likewise.
54392 (POLL_OUT): Likewise.
54393 (POLL_MSG): Likewise.
54394 (POLL_ERR): Likewise.
54395 (POLL_PRI): Likewise.
54396 (POLL_HUP): Likewise.
54397 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54398 (ILL_ILLOPN): Likewise.
54399 (ILL_ILLADR): Likewise.
54400 (ILL_ILLTRP): Likewise.
54401 (ILL_PRVOPC): Likewise.
54402 (ILL_PRVREG): Likewise.
54403 (ILL_COPROC): Likewise.
54404 (ILL_BADSTK): Likewise.
54405 (FPE_INTDIV): Likewise.
54406 (FPE_INTOVF): Likewise.
54407 (FPE_FLTDIV): Likewise.
54408 (FPE_FLTOVF): Likewise.
54409 (FPE_FLTUND): Likewise.
54410 (FPE_FLTRES): Likewise.
54411 (FPE_FLTINV): Likewise.
54412 (FPE_FLTSUB): Likewise.
54413 (SEGV_MAPERR): Likewise.
54414 (SEGV_ACCERR): Likewise.
54415 (BUS_ADRALN): Likewise.
54416 (BUS_ADRERR): Likewise.
54417 (BUS_OBJERR): Likewise.
54418 (BUS_MCEERR_AR): Likewise.
54419 (BUS_MCEERR_AO): Likewise.
54420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54421 (TRAP_TRACE): Likewise.
54422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54423 __USE_XOPEN2K8].
54424 (CLD_KILLED): Likewise.
54425 (CLD_DUMPED): Likewise.
54426 (CLD_TRAPPED): Likewise.
54427 (CLD_STOPPED): Likewise.
54428 (CLD_CONTINUED): Likewise.
54429 (POLL_IN): Likewise.
54430 (POLL_OUT): Likewise.
54431 (POLL_MSG): Likewise.
54432 (POLL_ERR): Likewise.
54433 (POLL_PRI): Likewise.
54434 (POLL_HUP): Likewise.
54435 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54436 Likewise.
54437 (ILL_ILLOPN): Likewise.
54438 (ILL_ILLADR): Likewise.
54439 (ILL_ILLTRP): Likewise.
54440 (ILL_PRVOPC): Likewise.
54441 (ILL_PRVREG): Likewise.
54442 (ILL_COPROC): Likewise.
54443 (ILL_BADSTK): Likewise.
54444 (ILL_BADIADDR): Likewise.
54445 (ILL_BREAK): Likewise.
54446 (FPE_INTDIV): Likewise.
54447 (FPE_INTOVF): Likewise.
54448 (FPE_FLTDIV): Likewise.
54449 (FPE_FLTOVF): Likewise.
54450 (FPE_FLTUND): Likewise.
54451 (FPE_FLTRES): Likewise.
54452 (FPE_FLTINV): Likewise.
54453 (FPE_FLTSUB): Likewise.
54454 (FPE_DECOVF): Likewise.
54455 (FPE_DECDIV): Likewise.
54456 (FPE_DECERR): Likewise.
54457 (FPE_INVASC): Likewise.
54458 (FPE_INVDEC): Likewise.
54459 (SEGV_MAPERR): Likewise.
54460 (SEGV_ACCERR): Likewise.
54461 (SEGV_PSTKOVF): Likewise.
54462 (BUS_ADRALN): Likewise.
54463 (BUS_ADRERR): Likewise.
54464 (BUS_OBJERR): Likewise.
54465 (BUS_MCEERR_AR): Likewise.
54466 (BUS_MCEERR_AO): Likewise.
54467 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54468 (TRAP_TRACE): Likewise.
54469 (TRAP_BRANCH): Likewise.
54470 (TRAP_HWBKPT): Likewise.
54471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54472 __USE_XOPEN2K8].
54473 (CLD_KILLED): Likewise.
54474 (CLD_DUMPED): Likewise.
54475 (CLD_TRAPPED): Likewise.
54476 (CLD_STOPPED): Likewise.
54477 (CLD_CONTINUED): Likewise.
54478 (POLL_IN): Likewise.
54479 (POLL_OUT): Likewise.
54480 (POLL_MSG): Likewise.
54481 (POLL_ERR): Likewise.
54482 (POLL_PRI): Likewise.
54483 (POLL_HUP): Likewise.
54484 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54485 (ILL_ILLOPN): Likewise.
54486 (ILL_ILLADR): Likewise.
54487 (ILL_ILLTRP): Likewise.
54488 (ILL_PRVOPC): Likewise.
54489 (ILL_PRVREG): Likewise.
54490 (ILL_COPROC): Likewise.
54491 (ILL_BADSTK): Likewise.
54492 (FPE_INTDIV): Likewise.
54493 (FPE_INTOVF): Likewise.
54494 (FPE_FLTDIV): Likewise.
54495 (FPE_FLTOVF): Likewise.
54496 (FPE_FLTUND): Likewise.
54497 (FPE_FLTRES): Likewise.
54498 (FPE_FLTINV): Likewise.
54499 (FPE_FLTSUB): Likewise.
54500 (SEGV_MAPERR): Likewise.
54501 (SEGV_ACCERR): Likewise.
54502 (BUS_ADRALN): Likewise.
54503 (BUS_ADRERR): Likewise.
54504 (BUS_OBJERR): Likewise.
54505 (BUS_MCEERR_AR): Likewise.
54506 (BUS_MCEERR_AO): Likewise.
54507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54508 (TRAP_TRACE): Likewise.
54509 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54510 __USE_XOPEN2K8].
54511 (CLD_KILLED): Likewise.
54512 (CLD_DUMPED): Likewise.
54513 (CLD_TRAPPED): Likewise.
54514 (CLD_STOPPED): Likewise.
54515 (CLD_CONTINUED): Likewise.
54516 (POLL_IN): Likewise.
54517 (POLL_OUT): Likewise.
54518 (POLL_MSG): Likewise.
54519 (POLL_ERR): Likewise.
54520 (POLL_PRI): Likewise.
54521 (POLL_HUP): Likewise.
54522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54523 (ILL_ILLOPN): Likewise.
54524 (ILL_ILLADR): Likewise.
54525 (ILL_ILLTRP): Likewise.
54526 (ILL_PRVOPC): Likewise.
54527 (ILL_PRVREG): Likewise.
54528 (ILL_COPROC): Likewise.
54529 (ILL_BADSTK): Likewise.
54530 (FPE_INTDIV): Likewise.
54531 (FPE_INTOVF): Likewise.
54532 (FPE_FLTDIV): Likewise.
54533 (FPE_FLTOVF): Likewise.
54534 (FPE_FLTUND): Likewise.
54535 (FPE_FLTRES): Likewise.
54536 (FPE_FLTINV): Likewise.
54537 (FPE_FLTSUB): Likewise.
54538 (SEGV_MAPERR): Likewise.
54539 (SEGV_ACCERR): Likewise.
54540 (BUS_ADRALN): Likewise.
54541 (BUS_ADRERR): Likewise.
54542 (BUS_OBJERR): Likewise.
54543 (BUS_MCEERR_AR): Likewise.
54544 (BUS_MCEERR_AO): Likewise.
54545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54546 (TRAP_TRACE): Likewise.
54547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54548 __USE_XOPEN2K8].
54549 (CLD_KILLED): Likewise.
54550 (CLD_DUMPED): Likewise.
54551 (CLD_TRAPPED): Likewise.
54552 (CLD_STOPPED): Likewise.
54553 (CLD_CONTINUED): Likewise.
54554 (POLL_IN): Likewise.
54555 (POLL_OUT): Likewise.
54556 (POLL_MSG): Likewise.
54557 (POLL_ERR): Likewise.
54558 (POLL_PRI): Likewise.
54559 (POLL_HUP): Likewise.
54560 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54561 (ILL_ILLOPN): Likewise.
54562 (ILL_ILLADR): Likewise.
54563 (ILL_ILLTRP): Likewise.
54564 (ILL_PRVOPC): Likewise.
54565 (ILL_PRVREG): Likewise.
54566 (ILL_COPROC): Likewise.
54567 (ILL_BADSTK): Likewise.
54568 (FPE_INTDIV): Likewise.
54569 (FPE_INTOVF): Likewise.
54570 (FPE_FLTDIV): Likewise.
54571 (FPE_FLTOVF): Likewise.
54572 (FPE_FLTUND): Likewise.
54573 (FPE_FLTRES): Likewise.
54574 (FPE_FLTINV): Likewise.
54575 (FPE_FLTSUB): Likewise.
54576 (SEGV_MAPERR): Likewise.
54577 (SEGV_ACCERR): Likewise.
54578 (BUS_ADRALN): Likewise.
54579 (BUS_ADRERR): Likewise.
54580 (BUS_OBJERR): Likewise.
54581 (BUS_MCEERR_AR): Likewise.
54582 (BUS_MCEERR_AO): Likewise.
54583 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54584 (TRAP_TRACE): Likewise.
54585 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54586 __USE_XOPEN2K8].
54587 (CLD_KILLED): Likewise.
54588 (CLD_DUMPED): Likewise.
54589 (CLD_TRAPPED): Likewise.
54590 (CLD_STOPPED): Likewise.
54591 (CLD_CONTINUED): Likewise.
54592 (POLL_IN): Likewise.
54593 (POLL_OUT): Likewise.
54594 (POLL_MSG): Likewise.
54595 (POLL_ERR): Likewise.
54596 (POLL_PRI): Likewise.
54597 (POLL_HUP): Likewise.
54598 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54599 (ILL_ILLOPN): Likewise.
54600 (ILL_ILLADR): Likewise.
54601 (ILL_ILLTRP): Likewise.
54602 (ILL_PRVOPC): Likewise.
54603 (ILL_PRVREG): Likewise.
54604 (ILL_COPROC): Likewise.
54605 (ILL_BADSTK): Likewise.
54606 (ILL_DBLFLT): Likewise.
54607 (ILL_HARDWALL): Likewise.
54608 (FPE_INTDIV): Likewise.
54609 (FPE_INTOVF): Likewise.
54610 (FPE_FLTDIV): Likewise.
54611 (FPE_FLTOVF): Likewise.
54612 (FPE_FLTUND): Likewise.
54613 (FPE_FLTRES): Likewise.
54614 (FPE_FLTINV): Likewise.
54615 (FPE_FLTSUB): Likewise.
54616 (SEGV_MAPERR): Likewise.
54617 (SEGV_ACCERR): Likewise.
54618 (BUS_ADRALN): Likewise.
54619 (BUS_ADRERR): Likewise.
54620 (BUS_OBJERR): Likewise.
54621 (BUS_MCEERR_AR): Likewise.
54622 (BUS_MCEERR_AO): Likewise.
54623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54624 (TRAP_TRACE): Likewise.
54625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54626 __USE_XOPEN2K8].
54627 (CLD_KILLED): Likewise.
54628 (CLD_DUMPED): Likewise.
54629 (CLD_TRAPPED): Likewise.
54630 (CLD_STOPPED): Likewise.
54631 (CLD_CONTINUED): Likewise.
54632 (POLL_IN): Likewise.
54633 (POLL_OUT): Likewise.
54634 (POLL_MSG): Likewise.
54635 (POLL_ERR): Likewise.
54636 (POLL_PRI): Likewise.
54637 (POLL_HUP): Likewise.
54638 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54639 (ILL_ILLOPN): Likewise.
54640 (ILL_ILLADR): Likewise.
54641 (ILL_ILLTRP): Likewise.
54642 (ILL_PRVOPC): Likewise.
54643 (ILL_PRVREG): Likewise.
54644 (ILL_COPROC): Likewise.
54645 (ILL_BADSTK): Likewise.
54646 (FPE_INTDIV): Likewise.
54647 (FPE_INTOVF): Likewise.
54648 (FPE_FLTDIV): Likewise.
54649 (FPE_FLTOVF): Likewise.
54650 (FPE_FLTUND): Likewise.
54651 (FPE_FLTRES): Likewise.
54652 (FPE_FLTINV): Likewise.
54653 (FPE_FLTSUB): Likewise.
54654 (SEGV_MAPERR): Likewise.
54655 (SEGV_ACCERR): Likewise.
54656 (BUS_ADRALN): Likewise.
54657 (BUS_ADRERR): Likewise.
54658 (BUS_OBJERR): Likewise.
54659 (BUS_MCEERR_AR): Likewise.
54660 (BUS_MCEERR_AO): Likewise.
54661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54662 (TRAP_TRACE): Likewise.
54663 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54664 __USE_XOPEN2K8].
54665 (CLD_KILLED): Likewise.
54666 (CLD_DUMPED): Likewise.
54667 (CLD_TRAPPED): Likewise.
54668 (CLD_STOPPED): Likewise.
54669 (CLD_CONTINUED): Likewise.
54670 (POLL_IN): Likewise.
54671 (POLL_OUT): Likewise.
54672 (POLL_MSG): Likewise.
54673 (POLL_ERR): Likewise.
54674 (POLL_PRI): Likewise.
54675 (POLL_HUP): Likewise.
54676 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54677 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54678
54679 [BZ #16670]
54680 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54681 before #include of <time.h>.
54682 [!__USE_XOPEN2K] (__need_timespec): Likewise.
54683 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54684 (test-xfail-UNIX98/sched.h/conform): Likewise.
54685
54686 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
54687
54688 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54689 error absence of trapping exception support.
54690 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
54691
54692 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54693
54694 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
54695 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
54696 * timezone/Makefile (testdata): Move definition above include of
54697 Rules.
54698 (test-zones): New variable.
54699 (tests-special): Add zone files.
54700 (build-testdata): Use $(evaluate-test).
54701
54702 * elf/Makefile (tests-special): Rename tests to end with .out.
54703 ($(objpfx)noload-mem): Likewise.
54704 ($(objpfx)tst-leaks1-mem): Likewise.
54705 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54706 * iconv/Makefile (xtests-special): Change test-iconvconfig to
54707 $(objpfx)test-iconvconfig.out.
54708 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
54709 set -e inside subshell and redirect output to file.
54710 * iconvdata/Makefile (generated): Rename tests to end with .out.
54711 Correct type.
54712 (tests-special): Rename tests to end with .out.
54713 ($(objpfx)mtrace-tst-loading): Likewise.
54714 * intl/Makefile (generated): Likewise.
54715 (tests-special): Likewise.
54716 ($(objpfx)mtrace-tst-gettext): Likewise.
54717 * misc/Makefile (generated): Likewise.
54718 (tests-special): Likewise.
54719 ($(objpfx)tst-error1-mem): Likewise.
54720 * nptl/Makefile (tests-special): Likewise.
54721 ($(objpfx)tst-stack3-mem): Likewise.
54722 (generated): Likewise.
54723 * posix/Makefile (generated): Likewise.
54724 (tests-special): Likewise.
54725 (xtests-special): Likewise.
54726 ($(objpfx)tst-fnmatch-mem): Likewise.
54727 ($(objpfx)bug-regex2-mem): Likewise.
54728 ($(objpfx)bug-regex14-mem): Likewise.
54729 ($(objpfx)bug-regex21-mem): Likewise.
54730 ($(objpfx)bug-regex31-mem): Likewise.
54731 ($(objpfx)tst-vfork3-mem): Likewise.
54732 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54733 ($(objpfx)tst-pcre-mem): Likewise.
54734 ($(objpfx)tst-boost-mem): Likewise.
54735 ($(objpfx)bug-ga2-mem): Likewise.
54736 ($(objpfx)bug-glob2-mem): Likewise.
54737 * resolv/Makefile (generate): Likewise.
54738 (tests-special): Likewise.
54739 (xtests-special): Likewise.
54740 (generated): Likewise.
54741 ($(objpfx)mtrace-tst-leaks): Likewise.
54742 ($(objpfx)mtrace-tst-leaks2): Likewise.
54743
54744 * scripts/merge-test-results.sh: New file.
54745 * Makefile (tests-special-notdir): New variable.
54746 (tests): Run merge-test-results.sh.
54747 (xtests): Likewise.
54748 * Rules (tests-special-notdir): New variable.
54749 (xtests-special-notdir): Likewise.
54750 (tests): Run merge-test-results.sh
54751 (xtests): Likewise.
54752
54753 * Makeconfig (test-xfail-name): New variable.
54754 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54755 compute variable name for expected failures.
54756 * conform/Makefile (conformtest-headers-data): New variable.
54757 (conformtest-standards): Likewise.
54758 (conformtest-headers-ISO): Likewise.
54759 (conformtest-headers-ISO99): Likewise.
54760 (conformtest-headers-ISO11): Likewise.
54761 (conformtest-headers-POSIX): Likewise.
54762 (conformtest-headers-XPG3): Likewise.
54763 (conformtest-headers-XPG4): Likewise.
54764 (conformtest-headers-UNIX98): Likewise.
54765 (conformtest-headers-XOPEN2K): Likewise.
54766 (conformtest-headers-POSIX2008): Likewise.
54767 (conformtest-headers-XOPEN2K8): Likewise.
54768 (conformtest-header-list-base): Likewise.
54769 (conformtest-header-list-tests): Likewise.
54770 (conformtest-header-base): Likewise.
54771 (conformtest-header-tests): Likewise.
54772 (tests-special): Add $(conformtest-header-list-tests). If
54773 [$(fast-check) && !$(cross-compiling)], add
54774 $(conformtest-header-tests) instead of
54775 $(objpfx)run-conformtest.out.
54776 (generated): Add $(conformtest-header-list-base). If
54777 [$(fast-check) && !$(cross-compiling)], add
54778 $(conformtest-header-base). Remove previous setting.
54779 ($(conformtest-header-list-tests)): New target.
54780 (test-xfail-run-conformtest): Remove variable.
54781 ($(objpfx)run-conformtest.out): Remove target.
54782 (test-xfail-ISO11/complex.h/conform): New variable.
54783 (test-xfail-ISO11/stdalign.h/conform): Likewise.
54784 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54785 (test-xfail-XPG3/varargs.h/conform): Likewise.
54786 (test-xfail-XPG4/varargs.h/conform): Likewise.
54787 (test-xfail-UNIX98/varargs.h/conform): Likewise.
54788 (test-xfail-XPG4/ndbm.h/conform): Likewise.
54789 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54790 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54791 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54792 (test-xfail-XPG3/fcntl.h/conform): Likewise.
54793 (test-xfail-XPG3/ftw.h/conform): Likewise.
54794 (test-xfail-XPG3/grp.h/conform): Likewise.
54795 (test-xfail-XPG3/langinfo.h/conform): Likewise.
54796 (test-xfail-XPG3/limits.h/conform): Likewise.
54797 (test-xfail-XPG3/pwd.h/conform): Likewise.
54798 (test-xfail-XPG3/search.h/conform): Likewise.
54799 (test-xfail-XPG3/signal.h/conform): Likewise.
54800 (test-xfail-XPG3/stdio.h/conform): Likewise.
54801 (test-xfail-XPG3/stdlib.h/conform): Likewise.
54802 (test-xfail-XPG3/string.h/conform): Likewise.
54803 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54804 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54805 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54806 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54807 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54808 (test-xfail-XPG3/sys/types.h/conform): Likewise.
54809 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54810 (test-xfail-XPG3/termios.h/conform): Likewise.
54811 (test-xfail-XPG3/time.h/conform): Likewise.
54812 (test-xfail-XPG3/unistd.h/conform): Likewise.
54813 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54814 (test-xfail-XPG4/fcntl.h/conform): Likewise.
54815 (test-xfail-XPG4/langinfo.h/conform): Likewise.
54816 (test-xfail-XPG4/netdb.h/conform): Likewise.
54817 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54818 (test-xfail-XPG4/signal.h/conform): Likewise.
54819 (test-xfail-XPG4/stdio.h/conform): Likewise.
54820 (test-xfail-XPG4/stdlib.h/conform): Likewise.
54821 (test-xfail-XPG4/stropts.h/conform): Likewise.
54822 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54823 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54824 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54825 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54826 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54827 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54828 (test-xfail-XPG4/sys/time.h/conform): Likewise.
54829 (test-xfail-XPG4/sys/types.h/conform): Likewise.
54830 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54831 (test-xfail-XPG4/termios.h/conform): Likewise.
54832 (test-xfail-XPG4/ucontext.h/conform): Likewise.
54833 (test-xfail-XPG4/unistd.h/conform): Likewise.
54834 (test-xfail-XPG4/utmpx.h/conform): Likewise.
54835 (test-xfail-POSIX/sched.h/conform): Likewise.
54836 (test-xfail-POSIX/signal.h/conform): Likewise.
54837 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54838 (test-xfail-POSIX/tar.h/conform): Likewise.
54839 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54840 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54841 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54842 (test-xfail-UNIX98/netdb.h/conform): Likewise.
54843 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54844 (test-xfail-UNIX98/sched.h/conform): Likewise.
54845 (test-xfail-UNIX98/signal.h/conform): Likewise.
54846 (test-xfail-UNIX98/stdio.h/conform): Likewise.
54847 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54848 (test-xfail-UNIX98/stropts.h/conform): Likewise.
54849 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54850 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54851 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54852 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54853 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54854 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54855 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54856 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54857 (test-xfail-UNIX98/unistd.h/conform): Likewise.
54858 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54859 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54860 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54861 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54862 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54863 (test-xfail-XOPEN2K/math.h/conform): Likewise.
54864 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54865 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54866 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54867 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54868 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54869 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54870 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54871 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54872 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54873 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54874 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54875 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54876 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54877 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54878 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54879 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54880 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54881 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54882 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54883 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54884 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54885 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54886 (test-xfail-POSIX2008/signal.h/conform): Likewise.
54887 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54888 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54889 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54890 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54891 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54892 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54893 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54894 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54895 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54896 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54897 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54898 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54899 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54900 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54901 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54902 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54903 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54904 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54905 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54906 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54907 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54908 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54909 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54910 (conformtest-cc-flags): Likewise.
54911 ($(conformtest-header-tests): New target.
54912 * conform/check-header-lists.sh: New file.
54913 * conform/run-conformtest.sh: Remove.
54914
54915 * conform/conformtest.pl: Allow ' and \ in values given for
54916 constants.
54917 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54918 inclusion.
54919 [POSIX] (sys/types.h): Likewise.
54920 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54921 inclusion.
54922 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54923 inclusion.
54924 * conform/data/signal.h-data (SIGIO): Remove expectation.
54925 [XPG3] (SIGBUS): Do not expect.
54926 [POSIX || XPG3] (SIGPOLL): Likewise.
54927 [POSIX || XPG3] (SIGPROF): Likewise.
54928 [POSIX || XPG3] (SIGSYS): Likewise.
54929 [XPG3] (SIGTRAP): Likewise.
54930 [POSIX || XPG3] (SIGURG): Likewise.
54931 [POSIX || XPG3] (SIGVTALRM): Likewise.
54932 [POSIX || XPG3] (SIGXCPU): Likewise.
54933 [POSIX || XPG3] (SIGXFSZ): Likewise.
54934 [POSIX] (SA_SIGINFO): Expect.
54935 [XPG3] (siginfo_t): Do not expect type or contents.
54936 [POSIX] (si_pid): Do not expect element.
54937 [POSIX] (si_uid): Likewise.
54938 [POSIX] (si_addr): Likewise.
54939 [POSIX] (si_status): Likewise.
54940 [POSIX] (si_band): Likewise.
54941 [XPG4] (si_value): Likewise.
54942 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54943 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54944 [POSIX || XPG3] (ILL_ILLADR): Likewise.
54945 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54946 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54947 [POSIX || XPG3] (ILL_PRVREG): Likewise.
54948 [POSIX || XPG3] (ILL_COPROC): Likewise.
54949 [POSIX || XPG3] (ILL_BADSTK): Likewise.
54950 [POSIX || XPG3] (FPE_INTDIV): Likewise.
54951 [POSIX || XPG3] (FPE_INTOVF): Likewise.
54952 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54953 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54954 [POSIX || XPG3] (FPE_FLTUND): Likewise.
54955 [POSIX || XPG3] (FPE_FLTRES): Likewise.
54956 [POSIX || XPG3] (FPE_FLTINV): Likewise.
54957 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54958 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54959 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54960 [POSIX || XPG3] (BUS_ADRALN): Likewise.
54961 [POSIX || XPG3] (BUS_ADRERR): Likewise.
54962 [POSIX || XPG3] (BUS_OBJERR): Likewise.
54963 [POSIX || XPG3] (CLD_EXITED): Likewise.
54964 [POSIX || XPG3] (CLD_KILLED): Likewise.
54965 [POSIX || XPG3] (CLD_DUMPED): Likewise.
54966 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54967 [POSIX || XPG3] (CLD_STOPPED): Likewise.
54968 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54969 [POSIX || XPG3] (POLL_IN): Likewise.
54970 [POSIX || XPG3] (POLL_OUT): Likewise.
54971 [POSIX || XPG3] (POLL_MSG): Likewise.
54972 [POSIX || XPG3] (POLL_ERR): Likewise.
54973 [POSIX || XPG3] (POLL_PRI): Likewise.
54974 [POSIX || XPG3] (POLL_HUP): Likewise.
54975 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54976 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54977 (SIG*): Do not allow.
54978 [XPG3] (si_*): Likewise.
54979 [XPG3] (SI_*): Likewise.
54980 [XPG3 || XPG4] (sigev_*): Likewise.
54981 [XPG3 || XPG4] (SIGEV_*): Likewise.
54982 [XPG3 || XPG4] (sival_*): Likewise.
54983 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54984 [POSIX || XPG3] (BUS_*): Likewise.
54985 [POSIX || XPG3] (CLD_*): Likewise.
54986 [POSIX || XPG3] (FPE_*): Likewise.
54987 [POSIX || XPG3] (ILL_*): Likewise.
54988 [POSIX || XPG3] (POLL_*): Likewise.
54989 [POSIX || XPG3] (SEGV_*): Likewise.
54990 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54991 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54992 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54993 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54994 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54995 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54996 Specify type and value.
54997 (TVERSLEN): Likewise.
54998 (REGTYPE): Likewise.
54999 (AREGTYPE): Likewise.
55000 (LNKTYPE): Likewise.
55001 (SYMTYPE): Likewise.
55002 (CHRTYPE): Likewise.
55003 (BLKTYPE): Likewise.
55004 (DIRTYPE): Likewise.
55005 (FIFOTYPE): Likewise.
55006 (CONTTYPE): Likewise.
55007 (TSUID): Likewise.
55008 (TSGID): Likewise.
55009 (TSVTX): Likewise.
55010 (TUREAD): Likewise.
55011 (TUWRITE): Likewise.
55012 (TUEXEC): Likewise.
55013 (TGREAD): Likewise.
55014 (TGWRITE): Likewise.
55015 (TGEXEC): Likewise.
55016 (TOREAD): Likewise.
55017 (TOWRITE): Likewise.
55018 (TOEXEC): Likewise.
55019 [POSIX] (TSVTX): Expect constant.
55020
55021 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55022
55023 * Makefile (tests): Change dependencies to ....
55024 (tests-special): ... additions to this variable.
55025 (tests): Depend on $(tests-special).
55026 * Makerules (check-abi-list): New variable.
55027 (check-abi): Depend on $(check-abi-list).
55028 [$(subdir) = elf] (tests-special): Add
55029 $(objpfx)check-abi-libc.out.
55030 [$(build-shared) = yes && subdir] (tests-special): Add
55031 $(check-abi-list).
55032 [$(build-shared) = yes && subdir] (tests): Do not depend on
55033 check-abi.
55034 * Rules (tests): Depend on $(tests-special).
55035 (xtests): Depend on $(xtests-special).
55036 * catgets/Makefile (tests): Change dependencies to ....
55037 (tests-special): ... additions to this variable.
55038 * conform/Makefile (tests): Change dependencies to ....
55039 (tests-special): ... additions to this variable.
55040 * elf/Makefile (tests): Change dependencies to ....
55041 (tests-special): ... additions to this variable.
55042 * grp/Makefile (tests): Change dependencies to ....
55043 (tests-special): ... additions to this variable.
55044 * iconv/Makefile (xtests): Change dependencies to ....
55045 (xtests-special): ... additions to this variable.
55046 * iconvdata/Makefile (tests): Change dependencies to ....
55047 (tests-special): ... additions to this variable.
55048 * intl/Makefile (tests): Change dependencies to ....
55049 (tests-special): ... additions to this variable. Also add
55050 $(objpfx)tst-gettext.out.
55051 * io/Makefile (tests): Change dependencies to ....
55052 (tests-special): ... additions to this variable.
55053 * libio/Makefile (tests): Change dependencies to ....
55054 (tests-special): ... additions to this variable.
55055 * malloc/Makefile (tests): Change dependencies to ....
55056 (tests-special): ... additions to this variable.
55057 * misc/Makefile (tests): Change dependencies to ....
55058 (tests-special): ... additions to this variable.
55059 * nptl/Makefile (tests): Change dependencies to ....
55060 (tests-special): ... additions to this variable.
55061 * nptl_db/Makefile (tests): Change dependencies to ....
55062 (tests-special): ... additions to this variable.
55063 * posix/Makefile (tests): Change dependencies to ....
55064 (tests-special): ... additions to this variable.
55065 (xtests): Change dependencies to ....
55066 (xtests-special): ... additions to this variable.
55067 * resolv/Makefile (tests): Change dependencies to ....
55068 (tests-special): ... additions to this variable.
55069 (xtests): Change dependencies to ....
55070 (xtests-special): ... additions to this variable.
55071 * stdio-common/Makefile (tests): Change dependencies to ....
55072 (tests-special): ... additions to this variable.
55073 (do-tst-unbputc): Remove target.
55074 (do-tst-printf): Likewise.
55075 * stdlib/Makefile (tests): Change dependencies to ....
55076 (tests-special): ... additions to this variable.
55077 * string/Makefile (tests): Change dependencies to ....
55078 (tests-special): ... additions to this variable.
55079 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55080 (tests-special): ... additions to this variable.
55081
55082 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55083 whole file.
55084 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55085 whole file.
55086 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55087 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55088
55089 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55090 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55091 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55092 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55093 * conform/data/libgen.h-data [XPG3]: Likewise.
55094 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55095 * conform/data/ndbm.h-data [XPG3]: Likewise.
55096 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55097 * conform/data/netdb.h-data [XPG3]: Likewise.
55098 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55099 * conform/data/poll.h-data [XPG3]: Likewise.
55100 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55101 * conform/data/strings.h-data [XPG3]: Likewise.
55102 * conform/data/stropts.h-data [XPG3]: Likewise.
55103 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55104 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55105 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55106 Likewise.
55107 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55108 * conform/data/sys/time.h-data [XPG3]: Likewise.
55109 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55110 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55111 * conform/data/sys/un.h-data [XPG3]: Likewise.
55112 * conform/data/syslog.h-data [XPG3]: Likewise.
55113 * conform/data/ucontext.h-data [XPG3]: Likewise.
55114 * conform/data/utmpx.h-data [XPG3]: Likewise.
55115 * conform/data/varargs.h-data [UNIX98]: Enable file.
55116
55117 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55118
55119 * math/libm-test.inc (struct test_f_f_data): Move expected results
55120 into structure for each rounding mode.
55121 (struct test_ff_f_data): Likewise.
55122 (struct test_ff_f_data_nexttoward): Likewise.
55123 (struct test_fi_f_data): Likewise.
55124 (struct test_fl_f_data): Likewise.
55125 (struct test_if_f_data): Likewise.
55126 (struct test_fff_f_data): Likewise.
55127 (struct test_c_f_data): Likewise.
55128 (struct test_f_f1_data): Likewise.
55129 (struct test_fF_f1_data): Likewise.
55130 (struct test_ffI_f1_data): Likewise.
55131 (struct test_c_c_data): Likewise.
55132 (struct test_cc_c_data): Likewise.
55133 (struct test_f_i_data): Likewise.
55134 (struct test_ff_i_data): Likewise.
55135 (struct test_f_l_data): Likewise.
55136 (struct test_f_L_data): Likewise.
55137 (struct test_fFF_11_data): Likewise.
55138 (RM_): New macro.
55139 (RM_FE_DOWNWARD): Likewise.
55140 (RM_FE_TONEAREST): Likewise.
55141 (RM_FE_TOWARDZERO): Likewise.
55142 (RM_FE_UPWARD): Likewise.
55143 (RUN_TEST_LOOP_f_f): Update references to expected results.
55144 (RUN_TEST_LOOP_2_f): Likewise.
55145 (RUN_TEST_LOOP_fff_f): Likewise.
55146 (RUN_TEST_LOOP_c_f): Likewise.
55147 (RUN_TEST_LOOP_f_f1): Likewise.
55148 (RUN_TEST_LOOP_fF_f1): Likewise.
55149 (RUN_TEST_LOOP_fI_f1): Likewise.
55150 (RUN_TEST_LOOP_ffI_f1): Likewise.
55151 (RUN_TEST_LOOP_c_c): Likewise.
55152 (RUN_TEST_LOOP_cc_c): Likewise.
55153 (RUN_TEST_LOOP_f_i): Likewise.
55154 (RUN_TEST_LOOP_f_i_tg): Likewise.
55155 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55156 (RUN_TEST_LOOP_f_b): Likewise.
55157 (RUN_TEST_LOOP_f_b_tg): Likewise.
55158 (RUN_TEST_LOOP_f_l): Likewise.
55159 (RUN_TEST_LOOP_f_L): Likewise.
55160 (RUN_TEST_LOOP_fFF_11): Likewise.
55161 * math/gen-libm-test.pl (parse_args): Output four copies of
55162 expected results for each test.
55163
55164 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55165 (__ASSUME_UTIMES): Remove.
55166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55167 (__ASSUME_UTIMES): Likewise.
55168
55169 * math/gen-auto-libm-tests.c: Update comment on output format.
55170 (output_for_one_input_case): Generate before-rounding and
55171 after-rounding information as conditions on output flags not
55172 floating-point format.
55173 * math/auto-libm-test-out: Regenerated.
55174 * math/gen-libm-test.pl (cond_value): New function.
55175 (or_cond_value): Use cond_value.
55176 (generate_testfile): Handle conditional exceptions.
55177
55178 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55179
55180 * math/libm-test.inc (max_valid_error): New variable.
55181 (init_max_error): Take new argument specifying whether function
55182 results are exactly determined. Set max_valid_error and bound
55183 other variables for errors based on this argument.
55184 (set_max_error): Do not record results above max_valid_error.
55185 (check_float_internal): Only accept errors of up to 0.5ulps if
55186 also at most max_valid_error.
55187 (START): Take new argument EXACT and pass it to init_max_error.
55188 (acos_test): Update call to START.
55189 (acos_test_tonearest): Likewise.
55190 (acos_test_towardzero): Likewise.
55191 (acos_test_downward): Likewise.
55192 (acos_test_upward): Likewise.
55193 (acosh_test): Likewise.
55194 (asin_test): Likewise.
55195 (asin_test_tonearest): Likewise.
55196 (asin_test_towardzero): Likewise.
55197 (asin_test_downward): Likewise.
55198 (asin_test_upward): Likewise.
55199 (asinh_test): Likewise.
55200 (atan_test): Likewise.
55201 (atanh_test): Likewise.
55202 (atan2_test): Likewise.
55203 (cabs_test): Likewise.
55204 (cacos_test): Likewise.
55205 (cacosh_test): Likewise.
55206 (carg_test): Likewise.
55207 (casin_test): Likewise.
55208 (casinh_test): Likewise.
55209 (catan_test): Likewise.
55210 (catanh_test): Likewise.
55211 (cbrt_test): Likewise.
55212 (ccos_test): Likewise.
55213 (ccosh_test): Likewise.
55214 (ceil_test): Likewise.
55215 (cexp_test): Likewise.
55216 (cimag_test): Likewise.
55217 (clog_test): Likewise.
55218 (clog10_test): Likewise.
55219 (conj_test): Likewise.
55220 (copysign_test): Likewise.
55221 (cos_test): Likewise.
55222 (cos_test_tonearest): Likewise.
55223 (cos_test_towardzero): Likewise.
55224 (cos_test_downward): Likewise.
55225 (cos_test_upward): Likewise.
55226 (cosh_test): Likewise.
55227 (cosh_test_tonearest): Likewise.
55228 (cosh_test_towardzero): Likewise.
55229 (cosh_test_downward): Likewise.
55230 (cosh_test_upward): Likewise.
55231 (cpow_test): Likewise.
55232 (cproj_test): Likewise.
55233 (creal_test): Likewise.
55234 (csin_test): Likewise.
55235 (csinh_test): Likewise.
55236 (csqrt_test): Likewise.
55237 (ctan_test): Likewise.
55238 (ctan_test_tonearest): Likewise.
55239 (ctan_test_towardzero): Likewise.
55240 (ctan_test_downward): Likewise.
55241 (ctan_test_upward): Likewise.
55242 (ctanh_test): Likewise.
55243 (ctanh_test_tonearest): Likewise.
55244 (ctanh_test_towardzero): Likewise.
55245 (ctanh_test_downward): Likewise.
55246 (ctanh_test_upward): Likewise.
55247 (erf_test): Likewise.
55248 (erfc_test): Likewise.
55249 (exp_test): Likewise.
55250 (exp_test_tonearest): Likewise.
55251 (exp_test_towardzero): Likewise.
55252 (exp_test_downward): Likewise.
55253 (exp_test_upward): Likewise.
55254 (exp10_test): Likewise.
55255 (exp10_test_tonearest): Likewise.
55256 (exp10_test_towardzero): Likewise.
55257 (exp10_test_downward): Likewise.
55258 (exp10_test_upward): Likewise.
55259 (pow10_test): Likewise.
55260 (exp2_test): Likewise.
55261 (expm1_test): Likewise.
55262 (expm1_test_tonearest): Likewise.
55263 (expm1_test_towardzero): Likewise.
55264 (expm1_test_downward): Likewise.
55265 (expm1_test_upward): Likewise.
55266 (fabs_test): Likewise.
55267 (fdim_test): Likewise.
55268 (floor_test): Likewise.
55269 (fma_test): Likewise.
55270 (fma_test_towardzero): Likewise.
55271 (fma_test_downward): Likewise.
55272 (fma_test_upward): Likewise.
55273 (fmax_test): Likewise.
55274 (fmin_test): Likewise.
55275 (fmod_test): Likewise.
55276 (fpclassify_test): Likewise.
55277 (frexp_test): Likewise.
55278 (hypot_test): Likewise.
55279 (ilogb_test): Likewise.
55280 (isfinite_test): Likewise.
55281 (finite_test): Likewise.
55282 (isgreater_test): Likewise.
55283 (isgreaterequal_test): Likewise.
55284 (isinf_test): Likewise.
55285 (isless_test): Likewise.
55286 (islessequal_test): Likewise.
55287 (islessgreater_test): Likewise.
55288 (isnan_test): Likewise.
55289 (isnormal_test): Likewise.
55290 (issignaling_test): Likewise.
55291 (isunordered_test): Likewise.
55292 (j0_test): Likewise.
55293 (j1_test): Likewise.
55294 (jn_test): Likewise.
55295 (ldexp_test): Likewise.
55296 (lgamma_test): Likewise.
55297 (gamma_test): Likewise.
55298 (lrint_test): Likewise.
55299 (lrint_test_tonearest): Likewise.
55300 (lrint_test_towardzero): Likewise.
55301 (lrint_test_downward): Likewise.
55302 (lrint_test_upward): Likewise.
55303 (llrint_test): Likewise.
55304 (llrint_test_tonearest): Likewise.
55305 (llrint_test_towardzero): Likewise.
55306 (llrint_test_downward): Likewise.
55307 (llrint_test_upward): Likewise.
55308 (log_test): Likewise.
55309 (log10_test): Likewise.
55310 (log1p_test): Likewise.
55311 (log2_test): Likewise.
55312 (logb_test): Likewise.
55313 (logb_test_downward): Likewise.
55314 (lround_test): Likewise.
55315 (llround_test): Likewise.
55316 (modf_test): Likewise.
55317 (nearbyint_test): Likewise.
55318 (nextafter_test): Likewise.
55319 (nexttoward_test): Likewise.
55320 (pow_test): Likewise.
55321 (pow_test_tonearest): Likewise.
55322 (pow_test_towardzero): Likewise.
55323 (pow_test_downward): Likewise.
55324 (pow_test_upward): Likewise.
55325 (remainder_test): Likewise.
55326 (drem_test): Likewise.
55327 (remainder_test_tonearest): Likewise.
55328 (drem_test_tonearest): Likewise.
55329 (remainder_test_towardzero): Likewise.
55330 (drem_test_towardzero): Likewise.
55331 (remainder_test_downward): Likewise.
55332 (drem_test_downward): Likewise.
55333 (remainder_test_upward): Likewise.
55334 (drem_test_upward): Likewise.
55335 (remquo_test): Likewise.
55336 (rint_test): Likewise.
55337 (rint_test_tonearest): Likewise.
55338 (rint_test_towardzero): Likewise.
55339 (rint_test_downward): Likewise.
55340 (rint_test_upward): Likewise.
55341 (round_test): Likewise.
55342 (scalb_test): Likewise.
55343 (scalbn_test): Likewise.
55344 (scalbln_test): Likewise.
55345 (signbit_test): Likewise.
55346 (sin_test): Likewise.
55347 (sin_test_tonearest): Likewise.
55348 (sin_test_towardzero): Likewise.
55349 (sin_test_downward): Likewise.
55350 (sin_test_upward): Likewise.
55351 (sincos_test): Likewise.
55352 (sinh_test): Likewise.
55353 (sinh_test_tonearest): Likewise.
55354 (sinh_test_towardzero): Likewise.
55355 (sinh_test_downward): Likewise.
55356 (sinh_test_upward): Likewise.
55357 (sqrt_test): Likewise.
55358 (sqrt_test_tonearest): Likewise.
55359 (sqrt_test_towardzero): Likewise.
55360 (sqrt_test_downward): Likewise.
55361 (sqrt_test_upward): Likewise.
55362 (tan_test): Likewise.
55363 (tan_test_tonearest): Likewise.
55364 (tan_test_towardzero): Likewise.
55365 (tan_test_downward): Likewise.
55366 (tan_test_upward): Likewise.
55367 (tanh_test): Likewise.
55368 (tgamma_test): Likewise.
55369 (trunc_test): Likewise.
55370 (y0_test): Likewise.
55371 (y1_test): Likewise.
55372 (yn_test): Likewise.
55373 (significand_test): Likewise.
55374
55375 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55376 individual tests in comment.
55377 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55378 (prev_max_error): New variable.
55379 (prev_real_max_error): Likewise.
55380 (prev_imag_max_error): Likewise.
55381 (compare_ulp_data): Don't refer to test names in comment.
55382 (find_test_ulps): Remove function.
55383 (find_function_ulps): Likewise.
55384 (find_complex_function_ulps): Likewise.
55385 (init_max_error): Take function name as argument. Look up ulps
55386 for that function.
55387 (print_ulps): Remove function.
55388 (print_max_error): Use prev_max_error instead of calling
55389 find_function_ulps.
55390 (print_complex_max_error): Use prev_real_max_error and
55391 prev_imag_max_error instead of calling find_complex_function_ulps.
55392 (check_float_internal): Take max_ulp parameter instead of calling
55393 find_test_ulps. Don't call print_ulps.
55394 (check_float): Update call to check_float_internal.
55395 (check_complex): Update calls to check_float_internal.
55396 (START): Pass argument to init_max_error.
55397 * math/gen-libm-test.pl (%results): Don't include "kind"
55398 information.
55399 (parse_ulps): Don't handle ulps of individual tests.
55400 (print_ulps_file): Likewise.
55401 (output_ulps): Likewise.
55402 * math/README.libm-test: Update.
55403 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55404 individual tests.
55405 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55406 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55407 * sysdeps/arm/libm-test-ulps: Likewise.
55408 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55409 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55410 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55411 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55412 * sysdeps/microblaze/libm-test-ulps: Likewise.
55413 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55414 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55416 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55418 * sysdeps/sh/libm-test-ulps: Likewise.
55419 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55420 * sysdeps/tile/libm-test-ulps: Likewise.
55421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55422
55423 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55424
55425 * math/libm-test.inc (print_complex_max_error): Check separately
55426 whether real and imaginary errors are within allowed range and
55427 pass 0 to print_complex_function_ulps instead of value within
55428 allowed range.
55429
55430 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55431
55432 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55433 formatting.
55434 (get_handles_fopen): Likewise.
55435 (do_write_test): Likewise.
55436
55437 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55438
55439 * libio/fileops.c (do_ftell): Use cached offset when
55440 available.
55441 * libio/iofwide.c (do_ftell_wide): Likewise.
55442 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55443 _IO_file_attach.
55444 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55445
55446 [BZ #16532]
55447 * libio/libioP.h (get_file_offset): New function.
55448 * libio/fileops.c (get_file_offset): Likewise.
55449 (do_ftell): Likewise.
55450 (_IO_new_file_seekoff): Split out ftell logic.
55451 * libio/wfileops.c (do_ftell_wide): Likewise.
55452 (_IO_wfile_seekoff): Split out ftell logic.
55453 * libio/tst-ftell-active-handler.c: New test case.
55454 * libio/Makefile (tests): Add it.
55455
55456 2014-03-03 Roland McGrath <roland@hack.frob.com>
55457
55458 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55459 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55460
55461 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55462
55463 [BZ #16639]
55464 * nscd/connections.c (nscd_init): Call do_exit.
55465 (start_threads): Call do_exit and notify_parent.
55466 (begin_drop_privileges): Call do_exit.
55467 (finish_drop_privileges): Likewise.
55468 * nscd/selinux.c (preserve_capabilities): Likewise.
55469 (install_real_capabilities): Likewise.
55470 (nscd_selinux_enabled): Likewise.
55471 (avc_create_thread): Likewise.
55472 (avc_alloc_lock): Likewise.
55473 (nscd_avc_init): Likewise.
55474 * nscd/nscd.c (parent_fd): New static variable.
55475 (main): Create a pipe between parent and child processes.
55476 Skip closing parent_fd.
55477 (monitor_child): New function.
55478 (do_exit): Likewise.
55479 (notify_parent): Likewise.
55480 * nscd/nscd.h (notify_parent): Likewise.
55481 (do_exit): Likewise.
55482
55483 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55484
55485 * malloc/malloc.c (__libc_calloc): Revert last change.
55486
55487 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55488
55489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55490
55491 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55492
55493 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55495 implementation.
55496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55497 (__libc_ifunc_impl_list): Likewise.
55498 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55499 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55500 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55501 * string/strrchr.c: Define STRRCHR.
55502
55503 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55504
55505 * benchtest/bench-strtok.c (simple_strtok): Delete.
55506 (strtok_string): Use as benchmark.
55507 * string/strtok (STRTOK): New macro.
55508
55509 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55510
55511 * manual/threads.texi: Add header and standard comments to all
55512 functions.
55513
55514 * elf/dl-lookup.c (check_match): New function.
55515 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55516 (do_lookup_x): Remove nested function check_match. Use non-nested
55517 function check_match.
55518
55519 2014-02-28 Roland McGrath <roland@hack.frob.com>
55520
55521 * csu/Makefile (generated, before-compile): Use += rather than =.
55522 * catgets/Makefile (generated, generated-dirs): Likewise.
55523 * debug/Makefile (generated): Likewise.
55524 * dlfcn/Makefile (generated): Likewise.
55525 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55526 * iconvdata/Makefile (before-compile, generated): Likewise.
55527 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55528 * libio/Makefile (generated): Likewise.
55529 * malloc/Makefile (generated): Likewise.
55530 * manual/Makefile (generated, generated-dirs): Likewise.
55531 * misc/Makefile (generated): Likewise.
55532 * posix/Makefile (generated): Likewise.
55533 * resolv/Makefile (generated): Likewise.
55534 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55535 * timezone/Makefile (generated, generated-dirs): Likewise.
55536
55537 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55538
55539 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55540
55541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55542 power8 implementation.
55543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55544 file: POWER8 llround ifunc implementation.
55545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55546 (__lllround): Add POWER8 implementation.
55547 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55548 POWER8 llround implementation.
55549
55550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55551 power8 implementation.
55552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55553 file: POWER8 llrint ifunc implementation.
55554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55555 Add POWER8 implementation.
55556 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55557 POWER8 llrint implementation.
55558
55559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55560 power8 implementation.
55561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55562 file: POWER8 finite ifunc implementation.
55563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55564 Add POWER8 implementation.
55565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55566 Likewise.
55567 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55568 POWER8 finite implementation.
55569 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55570
55571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55572 power8 implementation.
55573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55574 file: POWER8 isinf ifunc implementation.
55575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55576 POWER8 implementation.
55577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55578 Likewise.
55579 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55580 isinf implementation.
55581 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55582
55583 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55584 (INIT_ARCH): Add hwcap2 initialization.
55585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55586 power8 implementation.
55587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55588 file: POWER8 isnan ifunc implementation.
55589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55590 POWER8 implementation.
55591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55592 Likewise.
55593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55594 isnan implementation.
55595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55596
55597 2014-02-27 Joey Ye <joey.ye@arm.com>
55598
55599 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55600 (_FP_NANFRAC_Q): Set to zero.
55601
55602 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55603
55604 [BZ #16623]
55605 * math/auto-libm-test-in: New test inputs.
55606 * math/auto-libm-test-out: Regenerate.
55607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55608 and DA.
55609 (__cos): Likewise.
55610 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55611
55612 2014-02-27 Joseph Myers <joseph@codesourcery.com>
55613
55614 * scripts/evaluate-test.sh: Take new argument indicating whether
55615 failure is expected.
55616 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55617 indicating whether failure is expected.
55618 * conform/Makefile (test-xfail-run-conformtest): New variable.
55619 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55620 level.
55621 * posix/Makefile (test-xfail-annexc): New variable.
55622 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55623
55624 2014-02-26 Joseph Myers <joseph@codesourcery.com>
55625
55626 * argp/Makefile: Include Makeconfig immediately after defining
55627 subdir.
55628 * assert/Makefile: Likewise.
55629 * benchtests/Makefile: Likewise.
55630 * catgets/Makefile: Likewise.
55631 * conform/Makefile: Likewise.
55632 * crypt/Makefile: Likewise.
55633 * csu/Makefile: Likewise.
55634 (all): Remove target.
55635 * ctype/Makefile: Include Makeconfig immediately after defining
55636 subdir.
55637 * debug/Makefile: Likewise.
55638 * dirent/Makefile: Likewise.
55639 * dlfcn/Makefile: Likewise.
55640 * gmon/Makefile: Likewise.
55641 * gnulib/Makefile: Likewise.
55642 * grp/Makefile: Likewise.
55643 * gshadow/Makefile: Likewise.
55644 * hesiod/Makefile: Likewise.
55645 * hurd/Makefile: Likewise.
55646 (all): Remove target.
55647 * iconvdata/Makefile: Include Makeconfig immediately after
55648 defining subdir.
55649 * inet/Makefile: Likewise.
55650 * intl/Makefile: Likewise.
55651 * io/Makefile: Likewise.
55652 * libio/Makefile: Likewise.
55653 (all): Remove target.
55654 * locale/Makefile: Include Makeconfig immediately after defining
55655 subdir.
55656 * login/Makefile: Likewise.
55657 * mach/Makefile: Likewise.
55658 (all): Remove target.
55659 * malloc/Makefile: Include Makeconfig immediately after defining
55660 subdir.
55661 (all): Remove target.
55662 * manual/Makefile: Include Makeconfig immediately after defining
55663 subdir.
55664 * math/Makefile: Likewise.
55665 * misc/Makefile: Likewise.
55666 * nis/Makefile: Likewise.
55667 * nss/Makefile: Likewise.
55668 * po/Makefile: Likewise.
55669 (all): Remove target.
55670 * posix/Makefile: Include Makeconfig immediately after defining
55671 subdir.
55672 * pwd/Makefile: Likewise.
55673 * resolv/Makefile: Likewise.
55674 * resource/Makefile: Likewise.
55675 * rt/Makefile: Likewise.
55676 * setjmp/Makefile: Likewise.
55677 * shadow/Makefile: Likewise.
55678 * signal/Makefile: Likewise.
55679 * socket/Makefile: Likewise.
55680 * soft-fp/Makefile: Likewise.
55681 * stdio-common/Makefile: Likewise.
55682 * stdlib/Makefile: Likewise.
55683 * streams/Makefile: Likewise.
55684 * string/Makefile: Likewise.
55685 * sunrpc/Makefile: Likewise.
55686 (all): Remove target.
55687 * sysvipc/Makefile: Include Makeconfig immediately after defining
55688 subdir.
55689 * termios/Makefile: Likewise.
55690 * time/Makefile: Likewise.
55691 * timezone/Makefile: Likewise.
55692 (all): Remove target.
55693 * wcsmbs/Makefile: Include Makeconfig immediately after defining
55694 subdir.
55695 * wctype/Makefile: Likewise.
55696
55697 2014-02-26 Steve Ellcey <sellcey@mips.com>
55698
55699 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
55700 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
55701 (libc_feholdexcept_setround_mips): Ditto.
55702 (libc_feholdsetround): New.
55703 (libc_feholdsetroundf): New.
55704 (libc_feholdsetroundl): New.
55705 (libc_feupdateenv_test_mips): New.
55706 (libc_feupdateenv_test): New.
55707 (libc_feupdateenv_testf): New.
55708 (libc_feupdateenv_testl): New.
55709 (libc_feresetround): New.
55710 (libc_feresetroundf): New.
55711 (libc_feresetroundl): New.
55712 (libc_fetestexcept_mips): New.
55713 (libc_fetestexcept): New.
55714 (libc_fetestexceptf): New.
55715 (libc_fetestexceptl): New.
55716 (HAVE_RM_CTX): New.
55717 (libc_feholdexcept_setround_mips_ctx): New.
55718 (libc_feholdexcept_setround_ctx): New.
55719 (libc_feholdexcept_setroundf_ctx): New.
55720 (libc_feholdexcept_setroundl_ctx): New.
55721 (libc_fesetenv_mips_ctx): New.
55722 (libc_fesetenv_ctx): New.
55723 (libc_fesetenv_ctxf): New.
55724 (libc_fesetenv_ctxl): New.
55725 (libc_feupdateenv_mips_ctx): New.
55726 (libc_feupdateenv_ctx): New.
55727 (libc_feupdateenvf_ctx): New.
55728 (libc_feupdateenvl_ctx): New.
55729 (libc_feholdsetround_mips_ctx): New.
55730 (libc_feholdsetround_ctx): New.
55731 (libc_feholdsetroundf_ctx): New.
55732 (libc_feholdsetroundl_ctx): New.
55733 (libc_feresetround_mips_ctx): New.
55734 (libc_feresetround_ctx): New.
55735 (libc_feresetroundf_ctx): New.
55736 (libc_feresetroundl_ctx): New.
55737
55738 2014-02-26 Carlos O'Donell <carlos@redhat.com>
55739
55740 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55741
55742 * manual/ipc.texi: New file.
55743 * manual/Makefile (chapters): Add ipc.
55744 * manual/job.texi: Add "Inter-Process Communication" to next.
55745 * manual/process.texi: Add "Inter-Process Communication" to prev.
55746
55747 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55748
55749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55750
55751 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
55752
55753 * malloc/malloc.c (__libc_calloc): Simplify implementation.
55754
55755 * manual/arith.texi: Fix spaces after sentences.
55756 * manual/charset.texi: Likewise.
55757 * manual/errno.texi: Likewise.
55758 * manual/install.texi: Likewise.
55759 * manual/llio.texi: Likewise.
55760 * manual/locale.texi: Likewise.
55761 * manual/maint.texi: Likewise.
55762 * manual/math.texi: Likewise.
55763 * manual/memory.texi: Likewise.
55764 * manual/message.texi: Likewise.
55765 * manual/probes.texi: Likewise.
55766 * manual/resource.texi: Likewise.
55767 * manual/signal.texi: Likewise.
55768 * manual/socket.texi: Likewise.
55769 * manual/stdio.texi: Likewise.
55770 * manual/string.texi: Likewise.
55771 * manual/time.texi: Likewise.
55772 * manual/users.texi: Likewise.
55773
55774 2014-02-25 Carlos O'Donell <carlos@redhat.com>
55775
55776 [BZ #16632]
55777 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55778 _DEFAULT_SOURCE is defined.
55779
55780 2014-02-25 Ulrich Drepper <drepper@gmail.com>
55781 Carlos O'Donell <carlos@redhat.com>
55782
55783 [BZ #16613]
55784 * elf/dl-tls.c (_dl_count_modids): New function.
55785 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55786 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55787 audit library and increment generation counter.
55788 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55789 * elf/tst-audit9.c: New file.
55790 * elf/tst-auditmod9a.c: New file.
55791 * elf/tst-auditmod9b.c: New file.
55792 * elf/Makefile: Add rules to build and run tst-audit9.
55793
55794 2014-02-25 Florian Weimer <fweimer@redhat.com>
55795
55796 [BZ #15347]
55797 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55798
55799 2014-02-25 Will Newton <will.newton@linaro.org>
55800
55801 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55802 (__longjmp): Restore sp and lr before restoring callee
55803 saved registers. Add longjmp and longjmp_target
55804 SystemTap probe point.
55805 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55806 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55807 Define to zero to match jmpbuf layout.
55808 * sysdeps/arm/setjmp.S: Include stap-probe.h.
55809 (__sigsetjmp): Save sp and lr before saving callee
55810 saved registers. Add setjmp SystemTap probe point.
55811
55812 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
55813
55814 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55815
55816 2014-02-24 Andreas Schwab <schwab@suse.de>
55817
55818 [BZ #15804]
55819 * elf/pldd.c (wait_for_ptrace_stop): New function.
55820 (main): Call it after attaching.
55821
55822 2014-02-22 Roland McGrath <roland@hack.frob.com>
55823
55824 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55825 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55826 Versions files is now verboten.
55827 * hurd/Versions (libc: GLIBC_2.0):
55828 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55829 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55830 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55831 * mach/Versions: Likewise.
55832
55833 * csu/Versions: Remove unused %include.
55834 * resolv/Versions: Likewise.
55835
55836 2014-02-21 Joseph Myers <joseph@codesourcery.com>
55837
55838 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55839 ($(objpfx)check-local-headers.out): Likewise.
55840 ($(objpfx)begin-end-check.out): Likewise.
55841 * Makerules (check-abi-%.out): Likewise.
55842 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55843 ($(objpfx)test2.cat): Likewise.
55844 ($(objpfx)de/libc.cat): Likewise.
55845 ($(objpfx)test-gencat.out): Likewise.
55846 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55847 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55848 ($(objpfx)noload-mem): Likewise.
55849 ($(objpfx)tst-pathopt.out): Likewise.
55850 ($(objpfx)tst-rtld-load-self.out): Likewise.
55851 ($(objpfx)tst-array1-cmp.out): Likewise.
55852 ($(objpfx)tst-array1-static-cmp.out): Likewise.
55853 ($(objpfx)tst-array2-cmp.out): Likewise.
55854 ($(objpfx)tst-array3-cmp.out): Likewise.
55855 ($(objpfx)tst-array4-cmp.out): Likewise.
55856 ($(objpfx)tst-array5-cmp.out): Likewise.
55857 ($(objpfx)tst-array5-static-cmp.out): Likewise.
55858 ($(objpfx)check-textrel.out): Likewise.
55859 ($(objpfx)check-execstack.out): Likewise.
55860 ($(objpfx)check-localplt.out): Likewise.
55861 ($(objpfx)order2-cmp.out): Likewise.
55862 ($(objpfx)tst-leaks1-mem): Likewise.
55863 ($(objpfx)tst-leaks1-static-mem): Likewise.
55864 ($(objpfx)tst-initorder-cmp.out): Likewise.
55865 ($(objpfx)tst-initorder2-cmp.out): Likewise.
55866 ($(objpfx)tst-unused-dep.out): Likewise.
55867 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55868 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55869 * iconv/Makefile (test-iconvconfig): Likewise.
55870 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55871 ($(objpfx)iconv-test.out): Likewise.
55872 ($(objpfx)tst-tables.out): Likewise.
55873 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55874 ($(objpfx)tst-gettext.out): Likewise.
55875 ($(objpfx)tst-translit.out): Likewise.
55876 ($(objpfx)tst-gettext2.out): Likewise.
55877 ($(objpfx)tst-gettext4.out): Likewise.
55878 ($(objpfx)tst-gettext6.out): Likewise.
55879 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55880 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55881 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55882 ($(objpfx)tst-fopenloc-mem.out): Likewise.
55883 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55884 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55885 * posix/Makefile ($(objpfx)globtest.out): Likewise.
55886 ($(objpfx)wordexp-tst.out): Likewise.
55887 ($(objpfx)annexc.out): Likewise.
55888 ($(objpfx)tst-fnmatch-mem): Likewise.
55889 ($(objpfx)bug-regex2-mem): Likewise.
55890 ($(objpfx)bug-regex14-mem): Likewise.
55891 ($(objpfx)bug-regex21-mem): Likewise.
55892 ($(objpfx)bug-regex31-mem): Likewise.
55893 ($(objpfx)tst-vfork3-mem): Likewise.
55894 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55895 ($(objpfx)tst-pcre-mem): Likewise.
55896 ($(objpfx)tst-boost-mem): Likewise.
55897 ($(objpfx)tst-getconf.out): Likewise.
55898 ($(objpfx)bug-ga2-mem): Likewise.
55899 ($(objpfx)bug-glob2-mem): Likewise.
55900 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55901 ($(objpfx)mtrace-tst-leaks2): Likewise.
55902 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55903 ($(objpfx)tst-printf.out): Likewise.
55904 ($(objpfx)tst-setvbuf1.out): Likewise.
55905 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55906 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55907 ($(objpfx)tst-fmtmsg.out): Likewise.
55908 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55909 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55910
55911 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55912 * bits/sigaction.h [__USE_MISC]: Likewise.
55913 * bits/waitstatus.h: Update #endif comments.
55914 * ctype/ctype.h: Likewise.
55915 * dirent/dirent.h: Likewise.
55916 [__USE_MISC]: Remove redundant conditionals.
55917 * grp/grp.h: Update #endif comments.
55918 [__USE_GNU]: Remove redundant conditionals.
55919 [__USE_MISC]: Likewise.
55920 * inet/netinet/in.h [__USE_GNU]: Likewise.
55921 * io/sys/stat.h [__USE_MISC]: Likewise.
55922 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55923 * libio/bits/stdio.h: Update #endif comments.
55924 [__USE_MISC]: Remove redundant conditionals.
55925 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55926 * libio/stdio.h: Update #endif comments.
55927 [__USE_MISC]: Remove redundant conditionals.
55928 * math/bits/math-finite.h [__USE_MISC]: Likewise.
55929 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55930 * math/math.h: Update #else and #endif comments.
55931 [__USE_MISC]: Remove redundant conditionals.
55932 * misc/sys/uio.h: Update #endif comments.
55933 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55934 * posix/glob.h [__USE_MISC]: Likewise.
55935 * posix/sys/types.h: Update #endif comments.
55936 [__USE_MISC]: Remove redundant conditionals.
55937 * posix/sys/wait.h: Update #endif comments.
55938 [__USE_MISC]: Remove redundant conditionals.
55939 * posix/unistd.h: Update #endif comments.
55940 [__USE_MISC]: Remove redundant conditionals.
55941 * pwd/pwd.h [__USE_GNU]: Likewise.
55942 [__USE_MISC]: Likewise.
55943 * resolv/netdb.h [__USE_GNU]: Likewise.
55944 * signal/signal.h: Update #endif comments.
55945 [__USE_MISC]: Remove redundant conditionals.
55946 * stdlib/stdlib.h: Update #else and #endif comments.
55947 [__USE_MISC]: Remove redundant conditionals.
55948 [__USE_GNU]: Likewise.
55949 * string/bits/string2.h [__USE_MISC]: Likewise.
55950 * string/string.h: Update #endif comments.
55951 [__USE_MISC]: Remove redundant conditionals.
55952 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55953 Likewise.
55954 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55955 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55956 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55957 Likewise.
55958 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55959 Likewise.
55960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55961 comments.
55962 [__USE_MISC]: Remove redundant conditionals.
55963 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55964 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55965 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55966 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55967 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55968 Likewise.
55969 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55970 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55971 Likewise.
55972 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55973 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55974 Likewise.
55975 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55976 Likewise.
55977 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55978 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55979 Likewise.
55980 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55981 Likewise.
55982 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55983 * sysdeps/x86/bits/string.h: Update #endif comments.
55984 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55985 conditionals.
55986 * time/sys/time.h: Update #endif comments.
55987 * time/time.h: Likewise.
55988 [__USE_MISC]: Remove redundant conditionals.
55989
55990 2014-02-21 Yury Gribov <y.gribov@samsung.com>
55991
55992 [BZ #16600]
55993 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55994
55995 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
55996
55997 * Versions.def (librt): Add GLIBC_2.17.
55998
55999 2014-02-21 Adam Conrad <adconrad@0c3.net>
56000
56001 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56002 synonym for _SYS_AUXV_H to allow direct inclusion.
56003 * sysdeps/sparc/bits/hwcap.h: Likewise.
56004 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56005 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56006 * sysdeps/sparc/sysdep.h: Likewise.
56007
56008 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56009
56010 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56011
56012 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56013
56014 * benchtests/bench-strrchr.c: Print length instead of position.
56015
56016 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56017
56018 [BZ #16611]
56019 * sysdeps/unix/sysv/linux/kernel-features.h
56020 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56021 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56022 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56023 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56024 Likewise.
56025 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56026 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56027 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56028 (__ASSUME_SENDMMSG): Define instead of using previous
56029 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56031 (__ASSUME_SENDMMSG_SYSCALL): Define.
56032 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56033 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56034 Likewise.
56035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56036 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56037 Likewise.
56038 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56039 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56040 Likewise.
56041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56042 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56043 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56044 [__ASSUME_SENDMMSG]: Change conditionals to
56045 [__ASSUME_SENDMMSG_SOCKETCALL].
56046 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56047 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56048 Define.
56049 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56050 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56051 Likewise.
56052 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56053 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56054 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56055 [!__ASSUME_SENDMMSG]: Change conditional to
56056 [!__ASSUME_SENDMMSG_SOCKETCALL].
56057 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56058 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56059 Define.
56060
56061 [BZ #16610]
56062 * sysdeps/unix/sysv/linux/kernel-features.h
56063 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56064 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56065 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56066 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56067 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56068 [__i386__ || __sparc__]
56069 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56070 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56071 (__ASSUME_RECVMMSG): Define instead of using previous
56072 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56073 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56074 (__ASSUME_RECVMMSG_SYSCALL): Define.
56075 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56077 Likewise.
56078 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56079 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56080 Likewise.
56081 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56082 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56083 Likewise.
56084 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56085 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56086 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56087 [__ASSUME_RECVMMSG]: Change condition to
56088 [__ASSUME_RECVMMSG_SOCKETCALL].
56089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56090 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56091 Define.
56092 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56094 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56095 Likewise.
56096 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56097 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56098 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56099 [!__ASSUME_RECVMMSG]: Change condition to
56100 [!__ASSUME_RECVMMSG_SOCKETCALL].
56101 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56102 (__ASSUME_RECVMMSG_SYSCALL): Define.
56103
56104 [BZ #16609]
56105 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56106 __powerpc__ || __s390__ || __sh__ || __sparc__]
56107 (__ASSUME_SOCKETCALL): Define.
56108 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56109 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56110 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56111 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56112 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56113 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56114 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56115 (__ASSUME_ACCEPT4): Define instead of using previous
56116 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56117 __powerpc__ || __sparc__ || __s390__)] condition.
56118 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56119 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56120 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56121 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56122 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56123 [!__ASSUME_ACCEPT4]: Change condition to
56124 [!__ASSUME_ACCEPT4_SOCKETCALL].
56125 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56126 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56127 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56128 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56129 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56130 __ASSUME_ACCEPT4_SYSCALL.
56131 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56132 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56133 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56134 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56135 __ASSUME_ACCEPT4_SYSCALL.
56136 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56137 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56138 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56139 [__ASSUME_ACCEPT4]: Change condition to
56140 [__ASSUME_ACCEPT4_SOCKETCALL].
56141 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56142 (__ASSUME_SOCKETCALL): Define.
56143 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56144 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56145 (__ASSUME_SOCKETCALL): Define.
56146 (__ASSUME_ACCEPT4): Remove.
56147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56148 Define.
56149 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56150 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56151 Likewise.
56152 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56153 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56154
56155 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56156 macro.
56157 (HWCAP_ARM_LPAE): Likewise.
56158 (HWCAP_ARM_EVTSTRM): Likewise.
56159 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56160 Add vpfd32, lpae and evtstrm.
56161 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56162 Increase to 22.
56163
56164 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56165
56166 * math/auto-libm-test-in: Add tests of clog10.
56167 * math/auto-libm-test-out: Regenerated.
56168 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56169 * sysdeps/i386/fpu/libm-test-ulps: Update.
56170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56171
56172 2014-02-18 Andreas Schwab <schwab@suse.de>
56173
56174 [BZ #16574]
56175 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56176 Store non-zero if the second buffer was newly allocated.
56177 (send_dg): Likewise.
56178 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56179 to send_vc and send_dg.
56180 (res_nsend): Pass NULL for ansp2_malloced.
56181 * resolv/res_query.c (__libc_res_nquery): Add parameter
56182 answerp2_malloced and pass it down to __libc_res_nsend.
56183 (res_nquery): Pass additional NULL to __libc_res_nquery.
56184 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56185 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56186 second answer buffer if answerp2_malloced was set.
56187 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56188 (__libc_res_nquerydomain): Add parameter
56189 answerp2_malloced and pass it down to __libc_res_nquery.
56190 (res_nquerydomain): Pass additional NULL to
56191 __libc_res_nquerydomain.
56192 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56193 additional NULL to __libc_res_nsend and __libc_res_nquery.
56194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56195 additional NULL to __libc_res_nsearch.
56196 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56197 parameter of __libc_res_nsearch to check for separately allocated
56198 second buffer.
56199 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56200 __libc_res_nquery.
56201 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56202 additional NULL to __libc_res_nquery.
56203 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56204 __libc_res_nsearch.
56205 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56206 * include/resolv.h: Update prototypes of __libc_res_nquery,
56207 __libc_res_nsearch, __libc_res_nsend.
56208
56209 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56210
56211 * math/auto-libm-test-in: Add tests of fma.
56212 * math/auto-libm-test-out: Regenerated.
56213 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56214 (fma_towardzero_test_data): Likewise.
56215 (fma_downward_test_data): Likewise.
56216 (fma_upward_test_data): Likewise.
56217 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56218 mpc_mode.
56219 (rounding_modes): Add values for new field.
56220 (func_calc_method): Add value mpfr_fff_f.
56221 (func_calc_desc): Add mpfr_fff_f union field.
56222 (test_function): Add field exact_args.
56223 (FUNC): Add macro argument EXACT_ARGS.
56224 (FUNC_mpfr_f_f): Update call to FUNC.
56225 (FUNC_mpfr_f_f): Likewise.
56226 (FUNC_mpfr_ff_f): Likewise.
56227 (FUNC_mpfr_if_f): Likewise.
56228 (FUNC_mpc_c_f): Likewise.
56229 (FUNC_mpc_c_c): Likewise.
56230 (test_functions): Add fma. Update calls to FUNC.
56231 (handle_input_arg): Add argument exact_args.
56232 (add_test): Update call to handle_input_arg.
56233 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56234 (output_for_one_input_case): Update call to calc_generic_results.
56235 Recalculate exact zero results in each rounding mode.
56236
56237 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56238 non-negative before setting low bit.
56239 * math/auto-libm-test-in: Mark one asin test possibly having
56240 spurious underflow.
56241 * math/auto-libm-test-out: Regenerated.
56242 * sysdeps/i386/fpu/libm-test-ulps: Update.
56243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56244
56245 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56246
56247 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56248 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56249 ports/sysdeps/unix/sysv/linux/microblaze.
56250 * README: Add missing listing for microblaze*-*-linux-gnu.
56251
56252 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56253
56254 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56255 duplicate code
56256
56257 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56258
56259 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56260 * sysdeps/unix/sysv/linux/ia64: Move directory from
56261 ports/sysdeps/unix/sysv/linux/ia64.
56262 * README: Update listing for ia64-*-linux-gnu.
56263
56264 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56265 Joseph Myers <joseph@codesourcery.com>
56266
56267 * Makeconfig (test-name): New variable.
56268 (evaluate-test): Likewise.
56269 * Makerules (do-test-clean): Remove .test-result files.
56270 (common-mostlyclean): Likewise.
56271 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56272 * scripts/evaluate-test.sh: New file.
56273
56274 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56275
56276 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56277 separate $(objpfx)tst-fopenloc-cmp.out and
56278 $(objpfx)tst-fopenloc-mem.out targets.
56279 (tests): Update dependencies.
56280 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56281 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56282 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56283 (tst-rxspencer-no-utf8-ARGS): New variable.
56284 (tst-rxspencer-no-utf8-ENV): Likewise.
56285 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56286 instead of $(objpfx)tst-rxspencer-mem.
56287 ($(objpfx)tst-rxspencer-mem): Change target to
56288 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56289 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56290 * posix/tst-rxspencer-no-utf8.c: New file.
56291
56292 * elf/Makefile ($(objpfx)order.out): Remove rule.
56293 [$(run-built-tests) = yes] (tests): Depend on
56294 $(objpfx)order-cmp.out.
56295 ($(objpfx)order-cmp.out): New rule.
56296 [$(run-built-tests) = yes] (tests): Depend on
56297 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56298 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56299 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56300 $(objpfx)tst-array5-static-cmp.out.
56301 ($(objpfx)tst-array1.out): Remove rule.
56302 ($(objpfx)tst-array1-cmp.out): New rule.
56303 ($(objpfx)tst-array1-static.out): Remove rule.
56304 ($(objpfx)tst-array1-static-cmp.out): New rule.
56305 ($(objpfx)tst-array2.out): Remove rule.
56306 ($(objpfx)tst-array2-cmp.out): New rule.
56307 ($(objpfx)tst-array3.out): Remove rule.
56308 ($(objpfx)tst-array3-cmp.out): New rule.
56309 ($(objpfx)tst-array4.out): Remove rule.
56310 ($(objpfx)tst-array4-cmp.out): New rule.
56311 ($(objpfx)tst-array5.out): Remove rule.
56312 ($(objpfx)tst-array5-cmp.out): New rule.
56313 ($(objpfx)tst-array5-static.out): Remove rule.
56314 ($(objpfx)tst-array5-static-cmp.out): New rule.
56315 [$(run-built-tests) = yes] (tests): Depend on
56316 $(objpfx)order2-cmp.out.
56317 ($(objpfx)order2.out): Remove rule.
56318 ($(objpfx)order2-cmp.out): New rule.
56319 ($(objpfx)tst-initorder.out): Remove rule.
56320 [$(run-built-tests) = yes] (tests): Depend on
56321 $(objpfx)tst-initorder-cmp.out.
56322 ($(objpfx)tst-initorder-cmp.out): New rule.
56323 ($(objpfx)tst-initorder2.out): Remove rule.
56324 [$(run-built-tests) = yes] (tests): Depend on
56325 $(objpfx)tst-initorder2-cmp.out.
56326 ($(objpfx)tst-initorder2-cmp.out): New rule.
56327 [$(run-built-tests) = yes] (tests): Depend on
56328 $(objpfx)tst-unused-dep-cmp.out.
56329 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56330 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56331 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56332 on $(objpfx)tst-setvbuf1-cmp.out.
56333 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56334 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56335 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56336 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56337 ($(objpfx)tst-svc.out): Remove rule.
56338 ($(objpfx)tst-svc-cmp.out): New rule.
56339
56340 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56341
56342 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56343 * ctype/ctype.h [__USE_MISC]: Likewise.
56344 * dirent/dirent.h [__USE_MISC]: Likewise.
56345 * grp/grp.h [__USE_MISC]: Likewise.
56346 * io/fcntl.h [__USE_MISC]: Likewise.
56347 * io/sys/stat.h [__USE_MISC]: Likewise.
56348 * libio/stdio.h [__USE_MISC]: Likewise.
56349 * posix/unistd.h [__USE_MISC]: Likewise.
56350 * pwd/pwd.h [__USE_MISC]: Likewise.
56351 * stdlib.h [__USE_MISC]: Likewise.
56352 * string/bits/string2.h [__USE_MISC]: Likewise.
56353 * string/string.h [__USE_MISC]: Likewise.
56354 * time/time.h [__USE_MISC]: Likewise.
56355
56356 2014-02-13 Andreas Schwab <schwab@suse.de>
56357
56358 [BZ #16574]
56359 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56360 second answer buffer if it was separately allocated.
56361
56362 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56363
56364 * sysdeps/mips/math-tests.h: Include <features.h>.
56365 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56366 (ROUNDING_TESTS_long_double): Do not define.
56367 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56368 (EXCEPTION_TESTS_long_double): Likewise.
56369 * sysdeps/mips/mips64/libm-test-ulps: Update.
56370
56371 * include/features.h (__USE_BSD): Remove macro definitions.
56372 (__USE_SVID): Likewise.
56373 (_BSD_SOURCE): Likewise.
56374 (_SVID_SOURCE): Likewise.
56375 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56376 from definition of _DEFAULT_SOURCE.
56377 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56378 [_DEFAULT_SOURCE].
56379 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56380 * bits/mman.h [__USE_BSD]: Likewise.
56381 * bits/termios.h [__USE_BSD]: Likewise.
56382 * bits/waitstatus.h [__USE_BSD]: Likewise.
56383 * ctype/ctype.h [__USE_SVID]: Likewise.
56384 * dirent/dirent.h [__USE_BSD]: Likewise.
56385 * grp/grp.h [__USE_SVID]: Likewise.
56386 [__USE_BSD]: Likewise.
56387 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56388 * io/fcntl.h [__USE_BSD]: Likewise.
56389 * io/ftw.h [__USE_BSD]: Likewise.
56390 * io/sys/stat.h [__USE_BSD]: Likewise.
56391 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56392 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56393 * libio/stdio.h [__USE_SVID]: Likewise.
56394 [__USE_BSD]: Likewise.
56395 * math/math.h [__USE_SVID]: Likewise.
56396 [__USE_BSD]: Likewise.
56397 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56398 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56399 * misc/search.h [__USE_SVID]: Likewise.
56400 * misc/sys/mman.h [__USE_BSD]: Likewise.
56401 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56402 * misc/sys/uio.h [__USE_BSD]: Likewise.
56403 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56404 * posix/glob.h [__USE_BSD]: Likewise.
56405 * posix/regex.h [__USE_BSD]: Likewise.
56406 * posix/sys/types.h [__USE_BSD]: Likewise.
56407 [__USE_SVID]: Likewise.
56408 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56409 * posix/sys/wait.h [__USE_BSD]: Likewise.
56410 [__USE_SVID]: Likewise.
56411 * posix/unistd.h [__USE_BSD]: Likewise.
56412 [__USE_SVID]: Likewise.
56413 * pwd/pwd.h [__USE_SVID]: Likewise.
56414 * resolv/netdb.h [__USE_BSD]: Likewise.
56415 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56416 * signal/signal.h [__USE_BSD]: Likewise.
56417 [__USE_SVID]: Likewise.
56418 * socket/sys/socket.h [__USE_BSD]: Likewise.
56419 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56420 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56421 [__USE_SVID]: Likewise.
56422 * string/bits/string2.h [__USE_BSD]: Likewise.
56423 [__USE_SVID]: Likewise.
56424 * string/bits/string3.h [__USE_BSD]: Likewise.
56425 * string/endian.h [__USE_BSD]: Likewise.
56426 * string/string.h [__USE_SVID]: Likewise.
56427 [__USE_BSD]: Likewise.
56428 * string/strings.h [__USE_BSD]: Likewise.
56429 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56430 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56431 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56432 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56433 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56434 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56435 Likewise.
56436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56437 Likewise.
56438 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56439 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56440 Likewise.
56441 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56442 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56443 Likewise.
56444 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56445 Likewise.
56446 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56447 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56448 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56449 Likewise.
56450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56451 Likewise.
56452 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56453 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56454 * termios/termios.h [__USE_BSD]: Likewise.
56455 * time/sys/time.h [__USE_BSD]: Likewise.
56456 * time/time.h [__USE_BSD]: Likewise.
56457 [__USE_SVID]: Likewise.
56458
56459 * Makefile (subdir_targets): Remove subdir_lint.out.
56460
56461 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56462 (do-tst-printf): Likewise.
56463 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56464 $(objpfx)tst-printf.out.
56465
56466 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56467
56468 * Makerules (check-abi-%): Change target to
56469 $(objpfx)check-abi-%.out.
56470 (check-abi target): Update dependencies.
56471 (check-abi-pattern variable): Redirect output of diff to $@.
56472 (check-abi variable): Likewise.
56473 * elf/Makefile (check-abi): Update dependencies.
56474
56475 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56476 unused.
56477 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56478 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56479 subnormal range.
56480 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56481 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56482 value has largest subnormal exponent.
56483 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56484 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56485 * sysdeps/aarch64/soft-fp/sfp-machine.h
56486 (_FP_TININESS_AFTER_ROUNDING): New macro.
56487 * sysdeps/alpha/soft-fp/sfp-machine.h
56488 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56489 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56490 Likewise.
56491 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56492 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56493 * sysdeps/mips/soft-fp/sfp-machine.h
56494 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56495 * sysdeps/powerpc/soft-fp/sfp-machine.h
56496 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56497 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56498 Likewise.
56499 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56500 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56501 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56502 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56503 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56504 Likewise.
56505
56506 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56507
56508 [BZ #16545]
56509 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56510 model 1.
56511
56512 2014-02-12 Richard Henderson <rth@redhat.com>
56513
56514 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56515 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56516 * sysdeps/unix/sysv/linux/alpha: Move directory from
56517 ports/sysdeps/unix/sysv/linux/alpha.
56518 * README: Update listing for alpha-*-linux-gnu.
56519
56520 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56521
56522 * include/features.h: Update comment documenting feature test
56523 macros.
56524 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56525 _DEFAULT_SOURCE.
56526 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56527 (_SVID_SOURCE): Likewise.
56528 (_DEFAULT_SOURCE): Update description of default features.
56529 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56530 with _GNU_SOURCE.
56531 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56532 (S_ISVTX): Likewise.
56533 * manual/math.texi (Mathematical Constants): Likewise.
56534 * manual/signal.texi (Interrupted Primitives): Likewise.
56535 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56536 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56537 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56538 Don't refer to _SVID_SOURCE in warning text.
56539
56540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56541
56542 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56543 already defined.
56544 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56545 * sysdeps/mips/dl-lookup.c: Remove.
56546 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56547
56548 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56549
56550 [BZ #16447]
56551 * math/auto-libm-test-in: Add testcase for expl.
56552 * math/auto-libm-test-out: Regenerate.
56553 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56554 calculation of unsafe.
56555 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56556
56557 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56558
56559 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56560 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56561 ports/sysdeps/unix/sysv/linux/aarch64.
56562 * README: Update listing for aarch64*-*-linux-gnu.
56563
56564 2014-02-11 Will Newton <will.newton@linaro.org>
56565
56566 * manual/probes.texi (Mathematical Function Probes): Use
56567 "triggered" instead of "hit".
56568
56569 * manual/probes.texi (Internal Probes): Add documentation
56570 of setjmp, longjmp and longjmp_target probes.
56571
56572 * include/stap-probe.h: Add comment about probe argument
56573 format.
56574
56575 * malloc/mtrace.c (attribute_hidden): Remove unused macro
56576 definition. (tr_where, tr_freehook, tr_mallochook,
56577 tr_reallochook, tr_memalignhook): Use ANSI protoype.
56578
56579 2014-02-11 David S. Miller <davem@davemloft.net>
56580
56581 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56582 processing int_tests.
56583
56584 2014-02-10 Joseph Myers <joseph@codesourcery.com>
56585
56586 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56587 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56588 * sysdeps/unix/sysv/linux/mips: Move directory from
56589 ports/sysdeps/unix/sysv/linux/mips.
56590 * README: Update listing for mips-*-linux-gnu and
56591 mips64-*-linux-gnu.
56592
56593 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
56594
56595 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56596 * sysdeps/unix/sysv/linux/m68k: Move directory from
56597 ports/sysdeps/unix/sysv/linux/m68k.
56598 * README: Update listing for m68k-*-linux-gnu.
56599
56600 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
56601
56602 * sysdeps/tile: Move directory from ports/sysdeps/tile.
56603 * sysdeps/unix/sysv/linux/generic: Move directory from
56604 ports/sysdeps/unix/sysv/linux/generic.
56605 * sysdeps/unix/sysv/linux/tile: Move directory from
56606 ports/sysdeps/unix/sysv/linux/tile.
56607 * README: Update listing for tile*-*-linux-gnu.
56608
56609 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
56610
56611 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56612 __builtin_expect.
56613 * benchtests/bench-memmem.c (simple_memmem): Likewise.
56614 * catgets/open_catalog.c (__open_catalog): Likewise.
56615 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56616 * debug/confstr_chk.c: Likewise.
56617 * debug/fread_chk.c (__fread_chk): Likewise.
56618 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56619 * debug/getgroups_chk.c: Likewise.
56620 * debug/mbsnrtowcs_chk.c: Likewise.
56621 * debug/mbsrtowcs_chk.c: Likewise.
56622 * debug/mbstowcs_chk.c: Likewise.
56623 * debug/memcpy_chk.c: Likewise.
56624 * debug/memmove_chk.c: Likewise.
56625 * debug/mempcpy_chk.c: Likewise.
56626 * debug/memset_chk.c: Likewise.
56627 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56628 * debug/strcat_chk.c (__strcat_chk): Likewise.
56629 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56630 * debug/strncat_chk.c (__strncat_chk): Likewise.
56631 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56632 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56633 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56634 * debug/wcpncpy_chk.c: Likewise.
56635 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56636 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56637 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56638 * debug/wcsncpy_chk.c: Likewise.
56639 * debug/wcsnrtombs_chk.c: Likewise.
56640 * debug/wcsrtombs_chk.c: Likewise.
56641 * debug/wcstombs_chk.c: Likewise.
56642 * debug/wmemcpy_chk.c: Likewise.
56643 * debug/wmemmove_chk.c: Likewise.
56644 * debug/wmempcpy_chk.c: Likewise.
56645 * debug/wmemset_chk.c: Likewise.
56646 * dirent/scandirat.c (SCANDIRAT): Likewise.
56647 * dlfcn/dladdr1.c (dladdr1): Likewise.
56648 * dlfcn/dladdr.c (dladdr): Likewise.
56649 * dlfcn/dlclose.c (dlclose_doit): Likewise.
56650 * dlfcn/dlerror.c (__dlerror): Likewise.
56651 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56652 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56653 * dlfcn/dlopen.c (dlopen_doit): Likewise.
56654 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56655 * dlfcn/dlsym.c (dlsym_doit): Likewise.
56656 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56657 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56658 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56659 Likewise.
56660 * elf/dl-conflict.c: Likewise.
56661 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56662 * elf/dl-dst.h: Likewise.
56663 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56664 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56665 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56666 * elf/dl-init.c (call_init, _dl_init): Likewise.
56667 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56668 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56669 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56670 Likewise.
56671 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56672 Likewise.
56673 * elf/dl-minimal.c (__libc_memalign): Likewise.
56674 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56675 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56676 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56677 * elf/dl-sym.c (do_sym): Likewise.
56678 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56679 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56680 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56681 * elf/dl-writev.h (_dl_writev): Likewise.
56682 * elf/ldconfig.c (search_dir): Likewise.
56683 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56684 (dl_main): Likewise.
56685 * elf/setup-vdso.h (setup_vdso): Likewise.
56686 * grp/compat-initgroups.c (compat_call): Likewise.
56687 * grp/fgetgrent.c (fgetgrent): Likewise.
56688 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56689 * grp/putgrent.c (putgrent): Likewise.
56690 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56691 Likewise.
56692 * hurd/hurdinit.c: Likewise.
56693 * iconvdata/8bit-gap.c (struct): Likewise.
56694 * iconvdata/ansi_x3.110.c : Likewise.
56695 * iconvdata/big5.c : Likewise.
56696 * iconvdata/big5hkscs.c : Likewise.
56697 * iconvdata/cp1255.c: Likewise.
56698 * iconvdata/cp1258.c : Likewise.
56699 * iconvdata/cp932.c : Likewise.
56700 * iconvdata/euc-cn.c: Likewise.
56701 * iconvdata/euc-jisx0213.c : Likewise.
56702 * iconvdata/euc-jp.c: Likewise.
56703 * iconvdata/euc-jp-ms.c : Likewise.
56704 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56705 * iconvdata/gb18030.c : Likewise.
56706 * iconvdata/gbbig5.c (const): Likewise.
56707 * iconvdata/gbgbk.c: Likewise.
56708 * iconvdata/gbk.c : Likewise.
56709 * iconvdata/ibm1364.c : Likewise.
56710 * iconvdata/ibm930.c : Likewise.
56711 * iconvdata/ibm932.c: Likewise.
56712 * iconvdata/ibm933.c : Likewise.
56713 * iconvdata/ibm935.c : Likewise.
56714 * iconvdata/ibm937.c : Likewise.
56715 * iconvdata/ibm939.c : Likewise.
56716 * iconvdata/ibm943.c: Likewise.
56717 * iconvdata/iso_11548-1.c: Likewise.
56718 * iconvdata/iso-2022-cn.c : Likewise.
56719 * iconvdata/iso-2022-cn-ext.c : Likewise.
56720 * iconvdata/iso-2022-jp-3.c: Likewise.
56721 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56722 * iconvdata/iso-2022-kr.c : Likewise.
56723 * iconvdata/iso646.c (gconv_end): Likewise.
56724 * iconvdata/iso_6937-2.c : Likewise.
56725 * iconvdata/iso_6937.c : Likewise.
56726 * iconvdata/iso8859-1.c: Likewise.
56727 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56728 * iconvdata/shift_jisx0213.c : Likewise.
56729 * iconvdata/sjis.c : Likewise.
56730 * iconvdata/t.61.c : Likewise.
56731 * iconvdata/tcvn5712-1.c : Likewise.
56732 * iconvdata/tscii.c: Likewise.
56733 * iconvdata/uhc.c : Likewise.
56734 * iconvdata/unicode.c (gconv_end): Likewise.
56735 * iconvdata/utf-16.c (gconv_end): Likewise.
56736 * iconvdata/utf-32.c (gconv_end): Likewise.
56737 * iconvdata/utf-7.c (base64): Likewise.
56738 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56739 * iconv/gconv_close.c (__gconv_close): Likewise.
56740 * iconv/gconv_open.c (__gconv_open): Likewise.
56741 * iconv/gconv_simple.c (internal_ucs4_loop_single)
56742 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56743 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56744 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56745 (ucs4le_internal_loop_single): Likewise.
56746 * iconv/iconv.c (iconv): Likewise.
56747 * iconv/iconv_close.c: Likewise.
56748 * iconv/loop.c (SINGLE): Likewise.
56749 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56750 * include/atomic.h: Likewise.
56751 * inet/inet6_option.c (option_alloc): Likewise.
56752 * intl/bindtextdom.c (set_binding_values): Likewise.
56753 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56754 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56755 * intl/localealias.c (read_alias_file): Likewise.
56756 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56757 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56758 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56759 * libio/fmemopen.c (fmemopen): Likewise.
56760 * libio/iofgets.c (_IO_fgets): Likewise.
56761 * libio/iofgets_u.c (fgets_unlocked): Likewise.
56762 * libio/iofgetws.c (fgetws): Likewise.
56763 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56764 * libio/iogetdelim.c (_IO_getdelim): Likewise.
56765 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56766 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56767 * locale/findlocale.c (_nl_find_locale): Likewise.
56768 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56769 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56770 Likewise.
56771 * locale/setlocale.c (setlocale): Likewise.
56772 * login/programs/pt_chown.c (main): Likewise.
56773 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56774 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56775 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56776 (mmap, mmap64, mremap, munmap): Likewise.
56777 * math/e_exp2l.c: Likewise.
56778 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56779 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56780 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56781 * math/s_catan.c (__catan): Likewise.
56782 * math/s_catanf.c (__catanf): Likewise.
56783 * math/s_catanh.c (__catanh): Likewise.
56784 * math/s_catanhf.c (__catanhf): Likewise.
56785 * math/s_catanhl.c (__catanhl): Likewise.
56786 * math/s_catanl.c (__catanl): Likewise.
56787 * math/s_ccosh.c (__ccosh): Likewise.
56788 * math/s_ccoshf.c (__ccoshf): Likewise.
56789 * math/s_ccoshl.c (__ccoshl): Likewise.
56790 * math/s_cexp.c (__cexp): Likewise.
56791 * math/s_cexpf.c (__cexpf): Likewise.
56792 * math/s_cexpl.c (__cexpl): Likewise.
56793 * math/s_clog10.c (__clog10): Likewise.
56794 * math/s_clog10f.c (__clog10f): Likewise.
56795 * math/s_clog10l.c (__clog10l): Likewise.
56796 * math/s_clog.c (__clog): Likewise.
56797 * math/s_clogf.c (__clogf): Likewise.
56798 * math/s_clogl.c (__clogl): Likewise.
56799 * math/s_csin.c (__csin): Likewise.
56800 * math/s_csinf.c (__csinf): Likewise.
56801 * math/s_csinh.c (__csinh): Likewise.
56802 * math/s_csinhf.c (__csinhf): Likewise.
56803 * math/s_csinhl.c (__csinhl): Likewise.
56804 * math/s_csinl.c (__csinl): Likewise.
56805 * math/s_csqrt.c (__csqrt): Likewise.
56806 * math/s_csqrtf.c (__csqrtf): Likewise.
56807 * math/s_csqrtl.c (__csqrtl): Likewise.
56808 * math/s_ctan.c (__ctan): Likewise.
56809 * math/s_ctanf.c (__ctanf): Likewise.
56810 * math/s_ctanh.c (__ctanh): Likewise.
56811 * math/s_ctanhf.c (__ctanhf): Likewise.
56812 * math/s_ctanhl.c (__ctanhl): Likewise.
56813 * math/s_ctanl.c (__ctanl): Likewise.
56814 * math/w_pow.c: Likewise.
56815 * math/w_powf.c: Likewise.
56816 * math/w_powl.c: Likewise.
56817 * math/w_scalb.c (sysv_scalb): Likewise.
56818 * math/w_scalbf.c (sysv_scalbf): Likewise.
56819 * math/w_scalbl.c (sysv_scalbl): Likewise.
56820 * misc/error.c (error_tail): Likewise.
56821 * misc/pselect.c (__pselect): Likewise.
56822 * nis/nis_callback.c (__nis_create_callback): Likewise.
56823 * nis/nis_call.c (__nisfind_server): Likewise.
56824 * nis/nis_creategroup.c (nis_creategroup): Likewise.
56825 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56826 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56827 * nis/nis_getservlist.c (nis_getservlist): Likewise.
56828 * nis/nis_lookup.c (nis_lookup): Likewise.
56829 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56830 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56831 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56832 * nis/nis_xdr.c (xdr_endpoint): Likewise.
56833 * nis/nss_compat/compat-grp.c (getgrent_next_file)
56834 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56835 * nis/nss_compat/compat-initgroups.c (add_group)
56836 (internal_getgrent_r): Likewise.
56837 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56838 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56839 * nis/nss_compat/compat-spwd.c (getspent_next_file)
56840 (internal_getspnam_r): Likewise.
56841 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56842 (_nss_nis_getaliasbyname_r): Likewise.
56843 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56844 (_nss_nis_getntohost_r): Likewise.
56845 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56846 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56847 (_nss_nis_getgrgid_r): Likewise.
56848 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56849 (internal_nis_gethostent_r, internal_gethostbyname2_r)
56850 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56851 (_nss_nis_gethostbyname4_r): Likewise.
56852 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56853 (initgroups_netid): Likewise.
56854 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56855 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56856 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56857 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56858 (_nss_nis_getprotobynumber_r): Likewise.
56859 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56860 (_nss_nis_getsecretkey): Likewise.
56861 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56862 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56863 (_nss_nis_getpwuid_r): Likewise.
56864 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56865 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56866 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56867 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56868 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56869 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56870 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56871 Likewise.
56872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56873 (_nss_nisplus_getntohost_r): Likewise.
56874 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56875 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56876 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56877 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56878 Likewise.
56879 * nis/nss_nisplus/nisplus-initgroups.c
56880 (_nss_nisplus_initgroups_dyn): Likewise.
56881 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56882 (_nss_nisplus_getnetbyaddr_r): Likewise.
56883 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56884 (_nss_nisplus_getprotobynumber_r): Likewise.
56885 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56886 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56887 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56888 Likewise.
56889 * nis/nss_nisplus/nisplus-service.c
56890 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56891 (_nss_nisplus_getservbyport_r): Likewise.
56892 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56893 (_nss_nisplus_getspnam_r): Likewise.
56894 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56895 Likewise.
56896 * nscd/aicache.c (addhstaiX): Likewise.
56897 * nscd/cache.c (cache_search, prune_cache): Likewise.
56898 * nscd/connections.c (register_traced_file, send_ro_fd)
56899 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56900 (main_loop_epoll): Likewise.
56901 * nscd/grpcache.c (addgrbyX): Likewise.
56902 * nscd/hstcache.c (addhstbyX): Likewise.
56903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56904 * nscd/mem.c (gc, mempool_alloc): Likewise.
56905 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56906 (addinnetgrX): Likewise.
56907 * nscd/nscd-client.h (__nscd_acquire_maplock)
56908 (__nscd_drop_map_ref): Likewise.
56909 * nscd/nscd_getai.c (__nscd_getai): Likewise.
56910 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56911 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56912 Likewise.
56913 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56914 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56915 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56916 (__nscd_get_map_ref): Likewise.
56917 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56918 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56919 Likewise.
56920 * nscd/pwdcache.c (addpwbyX): Likewise.
56921 * nscd/selinux.c (preserve_capabilities): Likewise.
56922 * nscd/servicescache.c (addservbyX): Likewise.
56923 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56924 * posix/fnmatch.c (fnmatch): Likewise.
56925 * posix/getopt.c (_getopt_internal_r): Likewise.
56926 * posix/glob.c (glob, glob_in_dir): Likewise.
56927 * posix/wordexp.c (exec_comm_child): Likewise.
56928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56929 (getanswer_r, gaih_getanswer_slice): Likewise.
56930 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56931 * resolv/res_init.c: Likewise.
56932 * resolv/res_mkquery.c (res_nmkquery): Likewise.
56933 * resolv/res_query.c (__libc_res_nquery): Likewise.
56934 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56935 Likewise.
56936 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56937 * stdio-common/perror.c (perror): Likewise.
56938 * stdio-common/printf_fp.c (___printf_fp): Likewise.
56939 * stdio-common/tmpnam.c (tmpnam): Likewise.
56940 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56941 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56942 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56943 Likewise.
56944 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56945 * stdlib/putenv.c (putenv): Likewise.
56946 * stdlib/setenv.c (__add_to_environ): Likewise.
56947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56948 * stdlib/strtol_l.c (INTERNAL): Likewise.
56949 * string/memmem.c (memmem): Likewise.
56950 * string/strerror.c (strerror): Likewise.
56951 * string/strnlen.c (__strnlen): Likewise.
56952 * string/test-memmem.c (simple_memmem): Likewise.
56953 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56954 * sunrpc/pm_getport.c (__get_socket): Likewise.
56955 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56956 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56957 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56958 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56959 Likewise.
56960 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56961 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56963 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56964 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56965 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56966 Likewise.
56967 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56968 Likewise.
56969 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56970 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56972 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56973 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56975 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56976 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56977 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56978 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56979 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56980 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56981 Likewise.
56982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56983 Likewise.
56984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56985 Likewise.
56986 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56990 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56991 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56992 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56995 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56996 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56998 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56999 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57002 Likewise.
57003 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57004 Likewise.
57005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57006 Likewise.
57007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57008 Likewise.
57009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57011 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57012 Likewise.
57013 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57014 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57015 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57016 * sysdeps/posix/sleep.c: Likewise.
57017 * sysdeps/posix/tempname.c: Likewise.
57018 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57019 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57020 Likewise.
57021 * sysdeps/powerpc/powerpc32/dl-machine.h
57022 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57023 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57025 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57026 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57027 Likewise.
57028 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57029 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57030 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57032 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57033 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57034 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57035 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57036 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57037 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57039 (elf_machine_lazy_rel): Likewise.
57040 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57042 (elf_machine_lazy_rel): Likewise.
57043 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57044 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57045 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57046 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57047 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57048 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57049 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57051 Likewise.
57052 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57053 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57054 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57055 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57056 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57057 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57058 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57059 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57060 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57061 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57062 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57063 Likewise.
57064 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57065 (__posix_fallocate64_l64): Likewise.
57066 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57067 (posix_fallocate): Likewise.
57068 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57069 Likewise.
57070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57071 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57072 (getifaddrs_internal): Likewise.
57073 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57074 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57075 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57076 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57077 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57078 (__posix_fallocate64_l64): Likewise.
57079 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57080 Likewise.
57081 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57082 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57083 (__get_clockfreq): Likewise.
57084 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57085 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57086 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57089 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57090 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57091 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57092 Likewise.
57093 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57094 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57095 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57098 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57099 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57100 Likewise.
57101 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57102 (posix_fallocate): Likewise.
57103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57104 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57105 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57106 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57107 (elf_machine_rela, elf_machine_rela_relative)
57108 (elf_machine_lazy_rel): Likewise.
57109 * time/asctime.c (asctime_internal): Likewise.
57110 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57111 * time/tzset.c (__tzset_parse_tz): Likewise.
57112 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57113 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57114 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57115 * wcsmbs/wcsmbsload.h: Likewise.
57116
57117 [BZ #15894]
57118 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57119
57120 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57121 (arena_get2): Remove THREAD_STATS conditionals.
57122 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57123 (__malloc_stats, int): Likewise.
57124
57125 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57126
57127 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57128 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57129
57130 * manual/setjmp.texi: Fix typos/grammar errors.
57131
57132 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57133 Only return early when n is <= 0. Delete unused return statement.
57134
57135 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57136 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57137 * debug/tst-longjmp_chk3.c: New file.
57138
57139 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57140 (test_main): Replace code with set_fortify_handler call.
57141 * debug/test-strcpy_chk.c: Likewise.
57142 * debug/tst-chk1.c: Likewise.
57143 * debug/tst-longjmp_chk.c: Likewise.
57144 * test-skeleton.c: Include fcntl.h & paths.h
57145 (set_fortify_handler): Define.
57146
57147 * debug/tst-longjmp_chk.c: Add header comment and include
57148 ../test-skeleton.c.
57149 (do_test): Mark static.
57150 (TEST_FUNCTION): Define.
57151
57152 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57153 (IP_PMTUDISC_INTERFACE): Likewise.
57154 (IP_MULTICAST_IF): Likewise.
57155 (IP_MULTICAST_TTL): Likewise.
57156 (IP_MULTICAST_LOOP): Likewise.
57157 (IP_ADD_MEMBERSHIP): Likewise.
57158 (IP_DROP_MEMBERSHIP): Likewise.
57159 (IP_UNBLOCK_SOURCE): Likewise.
57160 (IP_BLOCK_SOURCE): Likewise.
57161 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57162 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57163 (IP_MSFILTER): Likewise.
57164 (MCAST_JOIN_GROUP): Likewise.
57165 (MCAST_BLOCK_SOURCE): Likewise.
57166 (MCAST_UNBLOCK_SOURCE): Likewise.
57167 (MCAST_LEAVE_GROUP): Likewise.
57168 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57169 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57170 (MCAST_MSFILTER): Likewise.
57171 (IP_MULTICAST_ALL): Likewise.
57172 (IP_UNICAST_IF): Likewise.
57173
57174 * timezone/Makefile: Delete $(have-ksh) check.
57175 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57176 * timezone/tzselect.ksh: Add +x mode bits.
57177
57178 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57179 (ANON_INODE_FS_MAGIC): Likewise.
57180 (BDEVFS_MAGIC): Likewise.
57181 (BINFMTFS_MAGIC): Likewise.
57182 (BTRFS_TEST_MAGIC): Likewise.
57183 (CRAMFS_MAGIC_WEND): Likewise.
57184 (DEBUGFS_MAGIC): Likewise.
57185 (ECRYPTFS_SUPER_MAGIC): Likewise.
57186 (EXT3_SUPER_MAGIC): Likewise.
57187 (EXT4_SUPER_MAGIC): Likewise.
57188 (FUTEXFS_SUPER_MAGIC): Likewise.
57189 (HOSTFS_SUPER_MAGIC): Likewise.
57190 (HUGETLBFS_MAGIC): Likewise.
57191 (MINIX3_SUPER_MAGIC): Likewise.
57192 (MTD_INODE_FS_MAGIC): Likewise.
57193 (NILFS_SUPER_MAGIC): Likewise.
57194 (OPENPROM_SUPER_MAGIC): Likewise.
57195 (PIPEFS_MAGIC): Likewise.
57196 (PSTOREFS_MAGIC): Likewise.
57197 (QNX6_SUPER_MAGIC): Likewise.
57198 (RAMFS_MAGIC): Likewise.
57199 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57200 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57201 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57202 (SECURITYFS_MAGIC): Likewise.
57203 (SELINUX_MAGIC): Likewise.
57204 (SMACK_MAGIC): Likewise.
57205 (SOCKFS_MAGIC): Likewise.
57206 (SQUASHFS_MAGIC): Likewise.
57207 (STACK_END_MAGIC): Likewise.
57208 (TMPFS_MAGIC): Likewise.
57209 (USBDEVICE_SUPER_MAGIC): Likewise.
57210 (V9FS_MAGIC): Likewise.
57211 (XENFS_SUPER_MAGIC): Likewise.
57212 (CRAMFS_MAGIC): Fix typo in comment.
57213 (EXT2_SUPER_MAGIC): Update comment.
57214 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57215
57216 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57217
57218 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57219 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57220 * sysdeps/unix/sysv/linux/arm: Move directory from
57221 ports/sysdeps/unix/sysv/linux/arm.
57222 * README: Update listing for arm-*-linux-gnueabi.
57223
57224 * README: Remove mention of am33.
57225
57226 2014-02-07 Roland McGrath <roland@hack.frob.com>
57227
57228 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57229 than the comma operator, to avoid "rhs of comma has no effect"
57230 compiler warnings.
57231 (__sigfillset, __sigandset, __sigorset): Likewise.
57232 * include/signal.h (__sigemptyset): Likewise.
57233 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57234
57235 2014-02-07 Allan McRae <allan@archlinux.org>
57236
57237 * version.h (RELEASE): Set to "development".
57238 (VERSION): Set to "2.19.90"
57239 * NEWS: Add 2.20 section.
57240
57241 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57242
57243 [BZ #16529]
57244 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57245
57246 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57247
57248 * manual/contrib.texi: Update entry for Carlos O'Donell,
57249 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57250
57251 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57252
57253 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57254
57255 * sysdeps/unix/sysv/linux/kernel-features.h
57256 [__LINUX_KERNEL_VERSION >= 0x020621]
57257 (__ASSUME_PROC_PID_TASK_COMM): Define.
57258
57259 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57260
57261 [BZ #16398]
57262 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57263 conversion when destination buffer does not have enough space.
57264 * libio/tst-ftell-partial-wide.c: New test case.
57265 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57266
57267 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57268 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57269 Leonard and Allan McRae.
57270
57271 2014-02-04 David S. Miller <davem@davemloft.net>
57272
57273 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57274 32-bit.
57275
57276 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57277
57278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57279 New file
57280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57281 New file
57282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57283 New file.
57284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57285 New file.
57286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57287 New file.
57288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57289 New file.
57290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57291 New file.
57292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57293 New file.
57294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57295 New file.
57296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57297 New file.
57298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57299 New file.
57300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57301 New file.
57302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57303 New file.
57304
57305 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57306
57307 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57308 * shlib-versions: Likewise.
57309
57310 2014-02-04 Roland McGrath <roland@hack.frob.com>
57311 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57312
57313 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57314 (abilist-pattern): New variable, set to %-le.abilist.
57315
57316 * Makerules (abilist-pattern): New variable.
57317 (vpath): Use $(abilist-pattern) in place of %.abilist.
57318 (check-abi-% pattern rule): Likewise.
57319 (check-abi, update-abi): Likewise.
57320
57321 2014-02-04 Eric Wong <normalperson@yhbt.net>
57322
57323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57324
57325 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57326
57327 * manual/startup.texi: Add next, previous, and top entries for
57328 the `Program Arguments' and `Environment Variables' nodes.
57329
57330 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57331
57332 * manual/macros.texi: Add comments before MTASC-safety macros.
57333
57334 * manual/users.texi: Document MTASC-safety properties.
57335
57336 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57337 (pthread_getspecific, pthread_setspecific): Format with
57338 @deftypefun, and add @safety note.
57339 * manual/signal.texi: Move comments that analyze the above
57340 functions to their home place.
57341
57342 2014-02-03 Allan McRae <allan@archlinux.org>
57343
57344 * po/sl.po: Update Slovenian translation from translation project.
57345
57346 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57347
57348 * manual/time.texi (timegm): Add missing blank after @c.
57349 Reported by Joseph Myers <joseph@codesourcery.com>.
57350
57351 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57352
57353 * manual/check-safety.sh: New.
57354 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57355
57356 * manual/terminal.texi: Document MTASC-safety properties.
57357
57358 * manual/filesys.texi: Document MTASC-safety properties.
57359
57360 * manual/errno.texi: Document MTASC-safety properties.
57361
57362 * manual/intro.texi: Document safety identifiers and
57363 conditionals.
57364
57365 * manual/string.texi (wcstok): Fix prototype.
57366 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57367
57368 * manual/time.texi: Document MTASC-safety properties.
57369
57370 * manual/string.texi: Document MTASC-safety properties.
57371
57372 * manual/threads.texi: Document MTASC-safety properties.
57373
57374 * manual/stdio.texi: Document MTASC-safety properties.
57375
57376 * manual/syslog.texi: Document MTASC-safety properties.
57377
57378 * manual/sysinfo.texi: Document MTASC-safety properties.
57379
57380 * manual/startup.texi: Document MTASC-safety properties.
57381
57382 * manual/socket.texi: Document MTASC-safety properties.
57383
57384 * manual/signal.texi: Document MTASC-safety properties.
57385
57386 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57387
57388 * manual/setjmp.texi: Document MTASC-safety properties.
57389
57390 * manual/search.texi: Document MTASC-safety properties.
57391
57392 * manual/resource.texi: Document MTASC-safety properties.
57393
57394 * manual/process.texi: Document MTASC-safety properties.
57395
57396 * manual/platform.texi: Document MTASC-safety properties.
57397
57398 * manual/pipe.texi: Document MTASC-safety properties.
57399
57400 * manual/pattern.texi: Document MTASC-safety properties.
57401
57402 * manual/message.texi: Document MTASC-safety properties.
57403
57404 [BZ #12751]
57405 * manual/memory.texi: Document MTASC-safety properties.
57406
57407 * manual/math.texi: Document MTASC-safety properties.
57408
57409 * manual/locale.texi: Document MTASC-safety properties.
57410
57411 * manual/llio.texi: Document MTASC-safety properties.
57412
57413 * manual/libdl.texi: New.
57414
57415 * manual/lang.texi: Document MTASC-safety properties.
57416
57417 * manual/job.texi: Document MTASC-safety properties.
57418
57419 * manual/getopt.texi: Document MTASC-safety properties.
57420
57421 * manual/ctype.texi: Document MTASC-safety properties.
57422
57423 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57424
57425 [BZ #16046]
57426 * csu/libc-tls.c (static_map): Remove variable.
57427 (__libc_setup_tls): Use main executable's link map for TLS data.
57428 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57429 casing for LM_ID_BASE and GL(dl_nns).
57430 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57431 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57432 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57433 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57434 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57435 member.
57436 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57437 l_phnum members.
57438
57439 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57440
57441 * manual/debug.texi: Document MTASC-safety properties.
57442
57443 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57444
57445 [BZ #16510]
57446 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57447 of __x86_64__ when disabling x87 inline functions.
57448
57449 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57450
57451 * manual/charset.texi: Document MTASC-safety properties.
57452
57453 * manual/crypt.texi: Document MTASC-safety properties.
57454
57455 * manual/conf.texi: Document MTASC-safety properties.
57456
57457 * manual/arith.texi: Document MTASC-safety properties.
57458
57459 * manual/argp.texi: Document MTASC-safety properties.
57460
57461 * manual/macros.texi: Introduce macros to document multi
57462 thread, asynchronous signal and asynchronous cancellation
57463 safety properties.
57464 * manual/intro.texi: Introduce the properties themselves.
57465
57466 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57467
57468 * sysdeps/sh/sh4/Makefile: New file.
57469
57470 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57471
57472 * math/gen-libm-test.pl ($srcdir): New variable.
57473 ($auto_input): Use it.
57474
57475 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57476
57477 [BZ #16506]
57478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57479 access beyond array bounds when parsing netgroups file.
57480
57481 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57482 the old buffer before realloc.
57483
57484 2014-01-27 Allan McRae <allan@archlinux.org>
57485
57486 * po/fr.po: Update French translation from translation project.
57487
57488 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57489
57490 * sysdeps/sh/libm-test-ulps: Regenerate.
57491
57492 2014-01-24 David S. Miller <davem@davemloft.net>
57493
57494 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57495
57496 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57497
57498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57499 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57500
57501 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57502
57503 [BZ #16474]
57504 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57505 string pointers after reallocation.
57506
57507 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57508
57509 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57510 __SH4A__ instead of __SH_FPU_ANY__.
57511
57512 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57513
57514 * sysdeps/sh/fpu_control.h: New file.
57515 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57516 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57517 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57518 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57519 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57520 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57521 * sysdeps/sh/sys/ucontext.h: Remove.
57522 * sysdeps/sh/sys: Remove directory.
57523
57524 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57525
57526 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57527 s390/sys/ucontext.h.
57528 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57530
57531 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57532
57533 [BZ #15605]
57534 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57535
57536 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57537
57538 [BZ #16431]
57539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57540 Adjust the vDSO correctly for internal calls.
57541 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57542
57543 2014-01-20 Allan McRae <allan@archlinux.org>
57544
57545 * po/ca.po: Update Catalan translation from translation project.
57546
57547 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57548
57549 * sysdeps/s390/sotruss-lib.c: New file.
57550
57551 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57552
57553 [BZ #16430]
57554 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57555 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57556 local calls issues by not having a PLT stub required for IFUNC calls.
57557 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57558
57559 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57560
57561 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57562 * math/test-fpucw-static.c: Likewise.
57563
57564 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57565
57566 [BZ #16453]
57567 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57568
57569 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57570
57571 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57572 implementation for powerpc.
57573
57574 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
57575
57576 [BZ #14782]
57577 * sysdeps/posix/system.c (__libc_system): Do not enable
57578 asynchronous cancellation.
57579
57580 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57581
57582 [BZ #16427]
57583 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57584 handling only for numbers special also in the IEEE case.
57585
57586 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57587
57588 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57589
57590 2014-01-11 Allan McRae <allan@archlinux.org>
57591
57592 * po/bg.po: Update Bulgarian translation from translation project.
57593
57594 * po/de.po: Update German translation from translation project.
57595
57596 2014-01-10 Roland McGrath <roland@hack.frob.com>
57597
57598 * sysdeps/generic/gcc-compat.h: New file.
57599
57600 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57601
57602 * benchtests/asin-inputs: Correct slow inputs.
57603 * benchtests/acos-inputs: Likewise.
57604
57605 2014-01-10 Allan McRae <allan@archlinux.org>
57606
57607 * po:sv.po: Update Swedish translation from translation project.
57608
57609 * po/vi.po: Update Vietnamese translation from translation project.
57610
57611 * po/eo.po: Update Esperanto translation from translation project.
57612
57613 * po/cs.po: Update Czech translation from translation project.
57614
57615 * po/nl.po: Update Dutch translation from translation project.
57616
57617 * po/pl.po: Update Polish translation from translation project.
57618
57619 * po/ru.po: Update Russian translation from translation project.
57620
57621 * po/uk.po: Update Ukrainian translation from translation project.
57622
57623 2014-01-08 Brooks Moses <bmoses@google.com>
57624
57625 * elf/dl-load.c: Fix comment typo.
57626
57627 2014-01-08 Carlos O'Donell <carlos@redhat.com>
57628
57629 * po/header.pot: Rename to...
57630 * po/pot.header: ... this.
57631 * po/Makefile: Use pot.header.
57632
57633 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
57634 Maxim Kuvyrkov <maxim@kugelworks.com>
57635
57636 [BZ #16394]
57637 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57638 SRC and DEST against LEN.
57639
57640 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57641
57642 [BZ #16414]
57643 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57644 implementation.
57645 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57646
57647 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57648
57649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57650
57651 2014-01-08 Joseph Myers <joseph@codesourcery.com>
57652
57653 [BZ #16408]
57654 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57655 for large positive arguments.
57656
57657 2014-01-07 Joseph Myers <joseph@codesourcery.com>
57658
57659 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57660
57661 * math/auto-libm-test-in: Mark various tests with
57662 xfail-rounding:ldbl-128ibm.
57663 * math/auto-libm-test-out: Regenerated.
57664
57665 [BZ #16407]
57666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57667 Increase overflow threshold.
57668
57669 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
57670
57671 [BZ #14286]
57672 * stdio-common/vfprintf.c: Check for integer overflow.
57673
57674 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57675
57676 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57677 the first argument and return value of __tls_get_addr_internal.
57678
57679 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57680
57681 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57682 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57683
57684 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57685
57686 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57687 * sysdeps/s390/rtld-global-offsets.sym: New file.
57688 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57689 GLIBC_2.19 symbol.
57690 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
57691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
57692 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57693 ... this.
57694 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
57695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
57696 ... this.
57697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57698 Regenerate.
57699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57700 Regenerate.
57701 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57702 halfs of GPRs for high_gprs contexts.
57703 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57704 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
57705 field.
57706 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57707 uc_flags field.
57708 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57709 64 bit versions:
57710 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57711 for high GPRs (uc_high_gprs) and for future extensions
57712 (__reserved).
57713 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57714 for future extensions (__reserved).
57715 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57716 64 bit versions:
57717 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57718 SC_HIGHGPRS offset definition.
57719 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57720 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57721
57722 * Versions.def: Add GLIBC_2.19 for libpthread.
57723 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57724 siglongjmp for libpthread with GLIBC_2.19 symver.
57725 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57726 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57727 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57728 * sysdeps/s390/__longjmp.c: New file.
57729 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57730 * sysdeps/s390/longjmp.c: New file.
57731 * sysdeps/s390/setjmp.S: New file.
57732 * sysdeps/s390/sigjmp.S: New file.
57733 * sysdeps/s390/v1-longjmp.c: New file.
57734 * sysdeps/s390/v1-setjmp.h: New file.
57735 * sysdeps/s390/v1-sigjmp.c: New file.
57736 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57737 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57738 GLIBC_2.19 version.
57739 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57740 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57741 versioned symbols for ____longjmp_chk.
57742 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57743 Likewise.
57744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57745 Regenerate.
57746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57747 Regenerate.
57748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57749 Regenerate.
57750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57751 Regenerate.
57752 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57753 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57754 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57755 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57756 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57757 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57758 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57759 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57760 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57761 * sysdeps/s390/rtld-__longjmp.c: New file.
57762 * sysdeps/s390/rtld-setjmp.S: New file.
57763
57764 2014-01-06 Joseph Myers <joseph@codesourcery.com>
57765
57766 [BZ #16400]
57767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57768 Return -__logl (x) for small positive arguments without evaluating
57769 a polynomial.
57770
57771 2014-01-06 Mike Frysinger <vapier@gentoo.org>
57772
57773 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57774 Rename to ...
57775 (__ptrace_peeksiginfo_args): ... this.
57776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57778 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57779
57780 2014-01-06 Allan McRae <allan@archlinux.org>
57781
57782 * inet/netinet/in.h: Fix typo in comment.
57783
57784 2014-01-05 Andreas Jaeger <aj@suse.de>
57785
57786 * sysdeps/i386/fpu/libm-test-ulps: Update.
57787
57788 2014-01-05 Allan McRae <allan@archlinux.org>
57789
57790 * po/libc.pot: Regenerated.
57791
57792 * malloc/memusagestat.c: Fix gettext call formatting.
57793
57794 2014-01-04 Sami Kerola <kerolasa@iki.fi>
57795
57796 * nscd/nscd.c: Improve usage() output.
57797
57798 2014-01-04 Mike Frysinger <vapier@gentoo.org>
57799
57800 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57801 * sysdeps/unix/sysv/linux/configure: Regenerated.
57802 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57803 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57804
57805 2014-01-03 Joseph Myers <joseph@codesourcery.com>
57806
57807 [BZ #16390]
57808 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57809 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57810
57811 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57812
57813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57814 extra tokens at end of #undef directive.
57815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57816 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57817 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57818
57819 2014-01-03 Joseph Myers <joseph@codesourcery.com>
57820
57821 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57822
57823 * math/auto-libm-test-in: Mark various tests with
57824 xfail-rounding:ldbl-128ibm.
57825 * math/auto-libm-test-out: Regenerated.
57826
57827 2014-01-02 Joseph Myers <joseph@codesourcery.com>
57828
57829 [BZ #16386]
57830 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57831 numbers with subnormal high part when calculating exponent.
57832
57833 [BZ #16385]
57834 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57835 fabs.
57836
57837 [BZ #16384]
57838 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57839 M_LN2l.
57840 (__ieee754_acoshl): Use __log1pl not __log1p.
57841
57842 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
57843
57844 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57845 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57846 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57847 (grow_heap, heap_trim, _int_new_arena, get_free_list)
57848 (reused_arena, arena_get2): Convert to GNU style.
57849 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57850 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57851 (memalign_check, __malloc_set_state): Likewise.
57852 * malloc/mallocbug.c (main): Likewise.
57853 * malloc/malloc.c (__malloc_assert, malloc_init_state)
57854 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57855 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57856 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57857 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57858 (__posix_memalign, malloc_info): Likewise.
57859 * malloc/malloc.h: Likewise.
57860 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57861 (mallochook, memalignhook, reallochook, mabort): Likewise.
57862 * malloc/mcheck.h: Likewise.
57863 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57864 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57865 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57866 * malloc/morecore.c (__default_morecore): Likewise.
57867 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57868 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57869 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57870 (print_and_abort): Likewise.
57871 * malloc/obstack.h: Likewise.
57872 * malloc/set-freeres.c (__libc_freeres): Likewise.
57873 * malloc/tst-mallocstate.c (main): Likewise.
57874 * malloc/tst-mtrace.c (main): Likewise.
57875 * malloc/tst-realloc.c (do_test): Likewise.
57876
57877 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57878
57879 [BZ #16366]
57880 * nscd/netgroupcache.c (do_notfound): New function.
57881 (addgetnetgrentX): Use it.
57882
57883 [BZ # 16365]
57884 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57885 NSS_STATUS_NOTFOUND.
57886
57887 2014-01-01 Joseph Myers <joseph@codesourcery.com>
57888
57889 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57891
57892 2014-01-01 Allan McRae <allan@archlinux.org>
57893
57894 * scripts/update-copyrights: Update configure input file suffix.
57895
57896 * NEWS: Update copyright year.
57897 * catgets/gencat.c: Likewise.
57898 * csu/version.c: Likewise.
57899 * debug/catchsegv.sh: Likewise.
57900 * debug/pcprofiledump.c: Likewise.
57901 * debug/xtrace.sh: Likewise.
57902 * elf/ldconfig.c: Likewise.
57903 * elf/ldd.bash.in: Likewise.
57904 * elf/pldd.c: Likewise.
57905 * elf/sotruss.ksh: Likewise.
57906 * elf/sprof.c: Likewise.
57907 * iconv/iconv_prog.c: Likewise.
57908 * iconv/iconvconfig.c: Likewise.
57909 * locale/programs/locale.c: Likewise.
57910 * locale/programs/localedef.c: Likewise.
57911 * login/programs/pt_chown.c: Likewise.
57912 * malloc/memusage.sh: Likewise.
57913 * malloc/memusagestat.c: Likewise.
57914 * malloc/mtrace.pl: Likewise.
57915 * manual/libc.texinfo: Likewise.
57916 * nscd/nscd.c: Likewise.
57917 * nss/getent.c: Likewise.
57918 * nss/makedb.c: Likewise.
57919 * posix/getconf.c: Likewise.
57920 * scripts/test-installation.pl: Likewise.
57921
57922 * All files with FSF copyright notices: Update copyright dates
57923 using scripts/update-copyrights.
57924 * intl/plural.c: Regenerated.
57925 * locale/programs/charmap-kw.h: Likewise.
57926 * locale/programs/locfile-kw.h: Likewise.
57927
57928 2013-12-31 Mike Frysinger <vapier@gentoo.org>
57929
57930 * sysdeps/unix/sysv/linux/configure: Regenerated.
57931 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57932 the linux/fanotify.h header.
57933 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57934 HAVE_LINUX_FANOTIFY_H is defined.
57935
57936 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
57937
57938 * benchtests/cos-inputs: New inputs.
57939 * benchtests/sin-inputs: Likewise.
57940
57941 * benchtests/atan-inputs: New inputs. Fix name of multiple
57942 precision fallback inputs.
57943
57944 * benchtests/atanh-inputs: New inputs.
57945 * benchtests/tanh-inputs: Likewise.
57946
57947 * benchtests/acosh-inputs: New inputs.
57948 * benchtests/asinh-inputs: Likewise.
57949
57950 * benchtests/cosh-inputs: New inputs.
57951 * benchtests/sinh-inputs: Likewise.
57952
57953 * benchtests/acos-inputs: Add more inputs.
57954 * benchtests/asin-inputs: Likewise.
57955
57956 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
57957
57958 [BZ #16375]
57959 * manual/arith.texi: Fix spelling.
57960 * manual/charset.texi: Likewise.
57961 * manual/errno.texi: Likewise.
57962 * manual/filesys.texi: Likewise.
57963 * manual/lang.texi: Likewise.
57964 * manual/llio.texi: Likewise.
57965 * manual/locale.texi: Likewise.
57966 * manual/message.texi: Likewise.
57967 * manual/resource.texi: Likewise.
57968 * manual/search.texi: Likewise.
57969 * manual/setjmp.texi: Likewise.
57970 * manual/stdio.texi: Likewise.
57971 * manual/string.texi: Likewise.
57972 * manual/sysinfo.texi: Likewise.
57973 * manual/time.texi: Likewise.
57974
57975 2013-12-27 Carlos O'Donell <carlos@redhat.com>
57976
57977 * po/sl.po: New file.
57978
57979 2013-12-27 Mike Frysinger <vapier@gentoo.org>
57980
57981 * .gitignore: Add core/.gdbinit/.gdb_history.
57982
57983 2013-12-27 Allan McRae <allan@archlinux.org>
57984
57985 [BZ #16369]
57986 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57987 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57988
57989 2013-12-24 Brooks Moses <bmoses@google.com>
57990
57991 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57992 all compilers that claim C++98 compliance, not just GCC.
57993 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57994 Likewise.
57995
57996 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
57997
57998 * NEWS: Restore accidentally deleted bug-fix entries.
57999
58000 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58001 Ondřej Bílka <neleai@seznam.cz>
58002
58003 [BZ #15073]
58004 * malloc/malloc.c (_int_free): Perform sanity check only if we
58005 have_lock.
58006
58007 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58008
58009 [BZ #12986]
58010 * manual/stdio.texi (String Input Conversions): Clarify that character
58011 classes are not supported.
58012
58013 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58014
58015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58016
58017 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58018
58019 [BZ #16337]
58020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58021 Calculate results for small negative arguments directly rather
58022 than using reflection formula with special underflow handling.
58023
58024 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58025 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58026 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58027 (fchflags): Likewise.
58028 (revoke): Likewise.
58029 (setlogin): Likewise.
58030 (sigaltstack): Likewise.
58031 (wait4): Likewise.
58032 (sigblock): Remove.
58033 (sigsetmask): Likewise.
58034 (wait3): Likewise.
58035 (waitpid): Likewise.
58036 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58037 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58038 file.
58039 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58040 * sysdeps/unix/bsd/Makefile: ... here.
58041 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58042 * sysdeps/unix/bsd/Versions: ... here.
58043 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58044 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58045 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58046 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58047 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58048 * sysdeps/unix/bsd/sigblock.c: ... here.
58049 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58050 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58051 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58052 * sysdeps/unix/bsd/sigvec.c: ... here.
58053 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58054 * sysdeps/unix/bsd/tcdrain.c: ... here.
58055 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58056 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58057 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58058 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58059 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58060 * sysdeps/unix/bsd/wait.c: ... here.
58061 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58062 * sysdeps/unix/bsd/wait3.c: ... here.
58063 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58064 * sysdeps/unix/bsd/waitpid.c: ... here.
58065
58066 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58067
58068 [BZ #16356]
58069 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58070 round-to-nearest for [!USE_AS_EXPM1L].
58071 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58072 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58073 more tests of exp and exp10. Expect some exp10 tests to miss
58074 exceptions or fail in directed rounding modes.
58075 * math/auto-libm-test-out: Regenerated.
58076 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58077 (exp10_test_tonearest): New function.
58078 (exp10_towardzero_test_data): New array.
58079 (exp10_test_towardzero): New function.
58080 (exp10_downward_test_data): New array.
58081 (exp10_test_downward): New function.
58082 (exp10_upward_test_data): New array.
58083 (exp10_test_upward): New function.
58084 (main): Call the new functions.
58085 * sysdeps/i386/fpu/libm-test-ulps: Update.
58086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58087
58088 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58089
58090 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58091 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58092 * math/auto-libm-test-out: Regenerated.
58093 * math/libm-test.inc (acosh_test_data): Add more tests.
58094 (atanh_test_data): Likewise.
58095 (ceil_test_data): Likewise.
58096 (copysign_test_data): Likewise.
58097 * sysdeps/i386/fpu/libm-test-ulps: Update.
58098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58099
58100 * timezone/checktab.awk: Update from tzcode 2013i.
58101 * timezone/private.h: Likewise.
58102 * timezone/scheck.c: Likewise.
58103 * timezone/tzfile.h: Likewise.
58104 * timezone/tzselect.ksh: Likewise.
58105 * timezone/zdump.c: Likewise.
58106 * timezone/zic.c: Likewise.
58107
58108 * math/auto-libm-test-in: Add tests of cpow.
58109 * math/auto-libm-test-out: Regenerated.
58110 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58111 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58112 mpc_cc_c.
58113 (func_calc_desc): Add mpc_cc_c union field.
58114 (test_functions): Add cpow.
58115 (special_fill_2pi): New function.
58116 (special_real_inputs): Add 2pi.
58117 (calc_generic_results): Handle mpc_cc_c.
58118 * sysdeps/i386/fpu/libm-test-ulps: Update.
58119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58120
58121 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58122 csqrt, ctan and ctanh.
58123 * math/auto-libm-test-out: Regenerated.
58124 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58125 (TEST_COND_x86): Likewise.
58126 (ccos_test_data): Use AUTO_TESTS_c_c.
58127 (ccosh_test_data): Likewise.
58128 (cexp_test_data): Likewise.
58129 (clog_test_data): Likewise.
58130 (csqrt_test_data): Likewise.
58131 (ctan_test_data): Likewise.
58132 (ctan_tonearest_test_data): Likewise.
58133 (ctan_towardzero_test_data): Likewise.
58134 (ctan_downward_test_data): Likewise.
58135 (ctan_upward_test_data): Likewise.
58136 (ctanh_test_data): Likewise.
58137 (ctanh_tonearest_test_data): Likewise.
58138 (ctanh_towardzero_test_data): Likewise.
58139 (ctanh_downward_test_data): Likewise.
58140 (ctanh_upward_test_data): Likewise.
58141 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58142 mpc_c_c.
58143 (func_calc_desc): Add mpc_c_c union field.
58144 (FUNC_mpc_c_c): New macro.
58145 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58146 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58147 ctanh.
58148 (special_fill_min_subnorm_p120): New function.
58149 (special_real_inputs): Add min_subnorm_p120.
58150 (calc_generic_results): Handle mpc_c_c.
58151 * sysdeps/i386/fpu/libm-test-ulps: Update.
58152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58153
58154 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58155
58156 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58157 (do_sin_slow): New functions.
58158 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58159 (cslow2, csloww1, csloww2): Use the new functions.
58160
58161 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58162 Use M to change sign of result instead of X. Assume X is
58163 positive.
58164 (csloww1): Likewise.
58165 (__sin): Adjust.
58166 (__cos): Adjust.
58167
58168 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58169 arguments A and DA.
58170 (__sin): Adjust.
58171 (__cos): Likewise.
58172
58173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58174 (__cos): Likewise.
58175 (sloww1): Don't adjust sign of DX.
58176 (csloww1): Likewise.
58177 (sloww2): Use X directly and don't adjust sign of DX.
58178 (csloww2): Likewise.
58179
58180 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58181
58182 * math/auto-libm-test-in: Add tests of cabs and carg.
58183 * math/auto-libm-test-out: Regenerated.
58184 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58185 (carg_test_data): Likewise.
58186 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58187 mpc_c_f.
58188 (func_calc_desc): Add mpc_c_f union field.
58189 (test_functions): Add cabs and carg.
58190 (calc_generic_results): Handle mpc_c_f.
58191
58192 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58193 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58194 as a macro and a compat symbol.
58195 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58196 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58197 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58198 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58199 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58200 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58201 not use .hidden.
58202 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58203 Likewise.
58204 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58205 Likewise.
58206 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58207 Likewise.
58208 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58209 Likewise.
58210 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58211 Likewise.
58212 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58213 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58214 from GLIBC_2.3.2.
58215
58216 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58217
58218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58219
58220 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58221
58222 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58223 trailing whitespace removed.
58224 * scripts/config.guess: Update to version 2013-11-29.
58225 * scripts/config.sub: Update to version 2013-10-01.
58226
58227 * math/auto-libm-test-in: Add tests of sincos.
58228 * math/auto-libm-test-out: Regenerated.
58229 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58231 mpfr_f_11.
58232 (func_calc_desc): Add mpfr_f_11 union field.
58233 (test_functions): Add sincos.
58234 (calc_generic_results): Handle mpfr_f_11.
58235 * sysdeps/i386/fpu/libm-test-ulps: Update.
58236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58237
58238 2013-12-19 Andreas Schwab <schwab@suse.de>
58239
58240 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58241 CALL_MCOUNT.
58242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58243 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58244 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58245
58246 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58247
58248 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58249 * sysdeps/i386/fpu/libm-test-ulps: Update.
58250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58251
58252 [BZ #16293]
58253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58254 round-to-nearest mode when using frndint.
58255 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58256 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58258 Likewise.
58259 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58260 sinh test to fail.
58261 * math/auto-libm-test-out: Regenerated.
58262 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58263 (TEST_COND_x86): Likewise.
58264 (expm1_tonearest_test_data): New array.
58265 (expm1_test_tonearest): New function.
58266 (expm1_towardzero_test_data): New array.
58267 (expm1_test_towardzero): New function.
58268 (expm1_downward_test_data): New array.
58269 (expm1_test_downward): New function.
58270 (expm1_upward_test_data): New array.
58271 (expm1_test_upward): New function.
58272 (main): Run the new test functions.
58273 * sysdeps/i386/fpu/libm-test-ulps: Update.
58274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58275
58276 * include/features.h: Update comment documenting feature test
58277 macros. Mention _DEFAULT_SOURCE in comment.
58278 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58279 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58280 _BSD_SOURCE and _SVID_SOURCE.
58281 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58282 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58283 !_SVID_SOURCE]: Likewise.
58284 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58285 (__USE_POSIX_IMPLICITLY): Define.
58286 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58287 (_POSIX_SOURCE): Undefine and redefine.
58288 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58289 (_POSIX_C_SOURCE): Likewise.
58290 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58291 (Feature Test Macros): Update documentation of default features.
58292
58293 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58294
58295 * benchtests/Makefile: Add bench-strtok.
58296 * benchtests/bench-strtok.c: New file: strtok benchtest.
58297
58298 2013-12-19 Allan McRae <allan@archlinux.org>
58299
58300 * manual/install.texi: Suppress menu for plain text output.
58301 * INSTALL: Regenerated.
58302
58303 2013-12-18 Brooks Moses <bmoses@google.com>
58304
58305 [BZ #15846]
58306 * misc/getauxval.c: Include errno.h.
58307 (__getauxval): Set errno to ENOENT if the requested type is not
58308 found.
58309 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58310 don't declare with __attribute_const__.
58311 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58312 * manual/startup.texi: Document that getauxval sets errno.
58313
58314 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58315
58316 * math/auto-libm-test-in: Add tests of jn and yn.
58317 * math/auto-libm-test-out: Regenerated.
58318 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58319 (yn_test_data): Likewise.
58320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58321 mpfr_if_f.
58322 (func_calc_desc): Add mpfr_if_f union field.
58323 (FUNC_mpfr_if_f): New macro.
58324 (test_functions): Add jn and yn.
58325 (calc_generic_results): Assert type of second input for
58326 mpfr_ff_f. Handle mpfr_if_f.
58327 (output_for_one_input_case): Disable all checking for arguments
58328 fitting floating-point types in case of an integer argument.
58329 * sysdeps/i386/fpu/libm-test-ulps: Update.
58330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58331
58332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58333 Don't expect fegetround reference in libm.so.
58334
58335 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58336
58337 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58338 $(config-cflags-nofma).
58339
58340 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58341
58342 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58343 * math/auto-libm-test-out: Regenerated.
58344
58345 [BZ #16338]
58346 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58347 to determine exponent and adjust argument to have exponent of -1.
58348 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58349 log2.
58350 * math/auto-libm-test-out: Regenerated.
58351 * sysdeps/i386/fpu/libm-test-ulps: Update.
58352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58353
58354 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58355
58356 * manual/probes.texi: Remove cases when per-thread arenas are
58357 disabled.
58358
58359 2013-12-18 Andreas Schwab <schwab@suse.de>
58360
58361 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58362 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58363 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58364 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58365 * sysdeps/i386/i686/multiarch/Makefile: Update.
58366 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58367
58368 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58369
58370 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58371 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58372
58373 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58374
58375 [BZ #15968]
58376 Support TZ transition times < 00:00:00.
58377 This is needed for version-3 tz-format files; it supports time
58378 stamps past 2037 for America/Godthab (the only entry in the tz
58379 database for which this change is relevant).
58380 * manual/time.texi (TZ Variable): Document transition times
58381 from -167:59:59 through -00:00:01.
58382 * time/tzset.c (tz_rule): Time of day is now signed.
58383 (__tzset_parse_tz): Parse negative time of day.
58384
58385 Document TZ transition times >= 25:00:00.
58386 * manual/time.texi (TZ Variable): Document transition times from
58387 25:00:00 through 167:59:59. These are already supported, and this
58388 support will help with version-3 tz-format files.
58389
58390 * manual/time.texi (TZ Variable): Modernize North America example
58391 to reflect current (i.e., 2007-and-later) daylight saving rules.
58392
58393 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58394
58395 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58396
58397 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58398 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58401 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58402 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58403 * sysdeps/unix/bsd/clock.c: Likewise.
58404 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58405 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58406 * sysdeps/unix/bsd/init-posix.c: Likewise.
58407 * sysdeps/unix/bsd/poll.c: Likewise.
58408 * sysdeps/unix/bsd/ptsname.c: Likewise.
58409 * sysdeps/unix/bsd/seekdir.c: Likewise.
58410 * sysdeps/unix/bsd/setegid.c: Likewise.
58411 * sysdeps/unix/bsd/seteuid.c: Likewise.
58412 * sysdeps/unix/bsd/setgid.c: Likewise.
58413 * sysdeps/unix/bsd/setrgid.c: Likewise.
58414 * sysdeps/unix/bsd/setruid.c: Likewise.
58415 * sysdeps/unix/bsd/setsid.c: Likewise.
58416 * sysdeps/unix/bsd/setuid.c: Likewise.
58417 * sysdeps/unix/bsd/sigaction.c: Likewise.
58418 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58419 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58420 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58421 * sysdeps/unix/bsd/telldir.c: Likewise.
58422 * sysdeps/unix/bsd/times.c: Likewise.
58423 * sysdeps/unix/bsd/usleep.c: Likewise.
58424
58425 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58426 ($(objpfx)libbsd-compat.a): Remove rule.
58427
58428 * include/features.h (__FAVOR_BSD): Do not define.
58429 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58430 features conflicting with POSIX.
58431 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58432 (_BSD_SOURCE): Remove description of not being a subset of other
58433 feature test macros.
58434 * manual/job.texi (getpgrp): Do not document BSD version.
58435 (getpgid): Do not document by reference to BSD getpgrp.
58436 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58437 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58438 * signal/signal.h [__FAVOR_BSD]: Likewise.
58439 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58440 instead of making contents conditional on [__FAVOR_BSD].
58441 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58442
58443 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58444
58445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58446
58447 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58448
58449 [BZ #16314]
58450 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58451 values below 2**-450, not 2**-500.
58452 * math/auto-libm-test-in: Don't allow spurious underflow from
58453 hypot.
58454 * math/auto-libm-test-out: Regenerated.
58455
58456 [BZ #16316]
58457 [BZ #16330]
58458 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58459 values of ha and hb and sort them after adjusting subnormal
58460 arguments.
58461 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58462 Likewise.
58463 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58464 values of ea and eb and sort them after adjusting subnormal
58465 arguments.
58466 * math/auto-libm-test-in: Do not expect some hypot tests of
58467 subnormals to fail. Add more hypot tests.
58468 * math/auto-libm-test-out: Regenerated.
58469
58470 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58471
58472 [BZ #13304]
58473 * sysdeps/sh/s_fma.c: New file.
58474 * sysdeps/sh/s_fmaf.c: New file.
58475 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58476 version.
58477 * sysdeps/sh/Implies: Add sh/soft-fp.
58478
58479 2013-12-16 Roland McGrath <roland@hack.frob.com>
58480
58481 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58482 level of indirection to members `objname', `errstring', `malloced'.
58483 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58484 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58485 it as the __longjmp argument (just pass 1 instead).
58486 (_dl_catch_error): Initialize C with argument pointers and address of
58487 volatile local ERRCODE rather than copying values out of C at return.
58488
58489 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58490
58491 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58492 * math/auto-libm-test-out: Regenerated.
58493 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58494 (hypot_test_data): Likewise.
58495 (pow_test_data): Likewise.
58496 (pow_tonearest_test_data): Likewise.
58497 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58498 mpfr_ff_f.
58499 (func_calc_desc): Add mpfr_ff_f union field.
58500 (FUNC_mpfr_ff_f): New macro.
58501 (test_functions): Add atan2, hypot and pow.
58502 (special_fill_min): New function.
58503 (special_fill_minus_min): Likewise.
58504 (special_fill_min_subnorm): Likewise.
58505 (special_fill_minus_min_subnorm): Likewise.
58506 (special_real_inputs): Add min, -min, min_subnorm and
58507 -min_subnorm.
58508 (calc_generic_results): Handle mpfr_ff_f.
58509 * sysdeps/i386/fpu/libm-test-ulps: Update.
58510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58511
58512 2013-12-16 Will Newton <will.newton@linaro.org>
58513
58514 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58515 (Aligned Memory Blocks): Add documentation for aligned_alloc
58516 and suggest it as an alternative to posix_memalign.
58517 (Hooks for Malloc): Document __memalign_hook is also called
58518 for aligned_alloc. (Summary of Malloc): Add summary for
58519 aligned alloc. Document __memalign_hook is also called
58520 for aligned_alloc.
58521
58522 2013-12-16 Will Newton <will.newton@linaro.org>
58523
58524 * manual/memory.texi (Malloc Examples): Clarify default
58525 alignment documentation. Suggest posix_memalign rather
58526 than memalign or valloc.
58527 (Aligned Memory Blocks): Remove suggestion to use memalign
58528 or valloc. Remove obsolete comment about BSD.
58529 Document memalign errno values and mark the function obsolete.
58530 Document posix_memalign returned error codes. Mark valloc
58531 as obsolete. (Hooks for Malloc): __memalign_hook is also
58532 called for posix_memalign and valloc.
58533 (Summary of Malloc): Add posix_memalign to function summary.
58534 __memalign_hook is also called for posix_memalign and valloc.
58535
58536 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58537
58538 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58539 TAYLOR_SIN.
58540 (__sin): Adjust.
58541 (__cos): Likewise.
58542 (sloww): Use mynumber union. Expand ternary operator into
58543 if-else statements.
58544 (cslow): use mynumber union.
58545
58546 2013-12-16 Allan McRae <allan@archlinux.org>
58547
58548 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58549 * configure: Regenerated.
58550
58551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58552
58553 [BZ #14120]
58554 * configure.ac: Added --enable-maintainer-mode. Check for
58555 autoconf when enabled.
58556 * configure: Regenerated.
58557
58558 * nscd/nscd.service: New file.
58559 * nscd/nscd.tmpfiles: New file.
58560
58561 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
58562
58563 [BZ #12100]
58564 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58565 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58566 * sysdeps/x86_64/multiarch/strstr.c: ... here.
58567 (strstr): Add __strstr_sse2_unaligned ifunc.
58568 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58569 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58570 (strcasestr): Remove __strcasestr_sse42 ifunc.
58571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58574
58575 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58576
58577 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58578 * sysdeps/sh/bits/fenv.h: ... here.
58579 * sysdeps/sh/sh4/fpu/bits: Remove directory.
58580
58581 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58582
58583 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58584
58585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58586 hypotf multiarch implementations.
58587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58590 multiarch hypot for PPC64.
58591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58594 multiarch hypotf for PPC64.
58595
58596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58597 modff multiarch implementations.
58598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58601 multiarch modf for PPC64.
58602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58605 multiarch modff for PPC64.
58606
58607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58608 and logl multiarch implementations.
58609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58612 multiarch logb for PPC64.
58613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58616 multiarch logb for PPC64.
58617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58620 multiarch logb for PPC64.
58621
58622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58623 isinff multiarch implementation.
58624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58625 file.
58626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58628 multiarch isinf for PPC64.
58629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58630 file.
58631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58632 multiarch isinff for PPC64.
58633
58634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58635 finitef multiarch implementation.
58636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58637 file.
58638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58640 multiarch finite for PPC64.
58641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58642 file.
58643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58644 multiarch finitef for PPC64.
58645
58646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58647 lrint multiarch implementation.
58648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58649 file.
58650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58652 multiarch llrint for PPC64.
58653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58654 multiarch lrint for PPC64.
58655
58656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58657 copysignf multiarch implementation.
58658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58659 file.
58660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58661 file.
58662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58663 multiarch copysign for PPC64.
58664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58665 multiarch copysignf for PPC64.
58666
58667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58668 multiarch implementation.
58669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58670 file.
58671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58672 file.
58673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58674 file.
58675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58676 file.
58677 multiarch llround for PPC64.
58678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58679 multiarch trunc for PPC64.
58680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58681 multiarch truncf for PPC64.
58682
58683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58684 multiarch implementation.
58685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58686 file.
58687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58688 file.
58689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
58690 file.
58691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
58692 file.
58693 multiarch llround for PPC64.
58694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
58695 multiarch round for PPC64.
58696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
58697 multiarch roundf for PPC64.
58698
58699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
58700 multiarch implementation.
58701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58702 file.
58703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58704 file.
58705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58706 file.
58707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58708 file.
58709 multiarch llround for PPC64.
58710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58711 multiarch floor for PPC64.
58712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58713 multiarch floorf for PPC64.
58714
58715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58716 multiarch implementation.
58717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58718 file.
58719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58720 file.
58721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58722 file.
58723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58724 file.
58725 multiarch llround for PPC64.
58726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58727 multiarch ceil for PPC64.
58728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58729 multiarch ceilf for PPC64.
58730
58731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58732 multiarch implementation.
58733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58734 file.
58735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58736 file.
58737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58738 file.
58739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58740 multiarch llround for PPC64.
58741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58742 multiarch lround for PPC64.
58743
58744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58745 multiarch implementation.
58746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58749 file.
58750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58753 multiarch isnan for PPC64.
58754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58755 multiarch isnanf for PPC64.
58756
58757 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58758 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58759 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58760 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58761 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58763
58764 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58765 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58768
58769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58770 multiarch implementations.
58771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58772 (__libc_ifunc_impl_list): Likewise.
58773 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58774 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58775 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58776 multiarch stpcpy for PPC64.
58777
58778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58779 multiarch implementations.
58780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58781 (__libc_ifunc_impl_list): Likewise.
58782 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58783 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58784 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58785 multiarch strcpy for PPC64.
58786
58787 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58788 redefine function name.
58789 (_wordcopy_fwd_dest_aligned): Likewise.
58790 (_wordcopy_bwd_aligned): Likewise.
58791 (_wordcopy_bwd_dest_aligned): Likewise.
58792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58793 multiarch implementations.
58794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58795 (__libc_ifunc_impl_list): Likewise.
58796 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58797 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58798 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58800 multiarch wcscpy for PPC64.
58801
58802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58803 multiarch implementations.
58804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58805 (__libc_ifunc_impl_list): Likewise.
58806 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58807 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58808 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58809 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58810 multiarch wcscpy for PPC64.
58811
58812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58813 multiarch implementations.
58814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58815 (__libc_ifunc_impl_list): Likewise.
58816 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58817 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58818 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58819 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58820 multiarch wcsrchr for PPC64.
58821
58822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58823 multiarch implementations.
58824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58825 (__libc_ifunc_impl_list): Likewise.
58826 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58827 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58828 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58829 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58830 multiarch wcschr for PPC64.
58831
58832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58833 multiarch implementations.
58834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58835 (__libc_ifunc_impl_list): Likewise.
58836 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58837 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58838 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58839 multiarch strchrnul for PPC64.
58840
58841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58842 implementations.
58843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58844 (__libc_ifunc_impl_list): Likewise.
58845 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58846 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58847 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58848 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58849 strchr for PPC64.
58850
58851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58852 implementations.
58853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58854 (__libc_ifunc_impl_list): Likewise.
58855 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58856 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58857 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58858 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58859 strncmp for PPC64.
58860
58861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58862 multiarch implementations.
58863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58864 (__libc_ifunc_impl_list): Likewise.
58865 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58866 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58867 strncasecmp for PPC64.
58868 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58869 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58870 multiarch strncasecmp_l for PPC64.
58871
58872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58873 multiarch implementations.
58874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58875 (__libc_ifunc_impl_list): Likewise.
58876 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58877 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58878 multiarch strcasecmp for PPC64.
58879 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58880 file.
58881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58882 multiarch strcasecmp_l for PPC64.
58883
58884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58885 implementations.
58886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58887 (__libc_ifunc_impl_list): Likewise.
58888 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58889 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58890 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58891 strnlen for PPC64.
58892
58893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58894 implementations.
58895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58896 (__libc_ifunc_impl_list): Likewise.
58897 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58898 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58899 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58900 strlen for PPC64.
58901
58902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58903 implementations.
58904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58905 (__libc_ifunc_impl_list): Likewise.
58906 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58907 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58908 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58909 rawmemrchr for PPC64.
58910
58911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58912 implementation.
58913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58914 (__libc_ifunc_impl_list): Likewise.
58915 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58916 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58917 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58918 memrchr for PPC64.
58919
58920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58921 implementation.
58922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58923 (__libc_ifunc_impl_list): Likewise.
58924 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58925 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58926 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58927 memchr for PPC64.
58928
58929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58930 implementation.
58931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58932 (__libc_ifunc_impl_list): Likewise.
58933 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58934 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58935 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58936 mempcpy for PPC64.
58937
58938 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58939 avoid cretion of __bzero symbol.
58940 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58941 Likewise.
58942 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58943 Likewise.
58944 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58945 Likewise.
58946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58947 multiarch implementations.
58948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58949 (__libc_ifunc_impl_list): Likewise.
58950 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58951 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58952 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58953 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58954 bzero for PPC32.
58955 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58956 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58957 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58958 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58959 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58960 memset for PPC64.
58961 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58962
58963 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58965 implementations.
58966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58967 (__libc_ifunc_impl_list): Likewise.
58968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58969 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58970 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58971 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58972 memcmp for PPC64.
58973
58974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58975 multiarch for POWER/PPC64.
58976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58977 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58978 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58984 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58985 memcpy for PPC64.
58986
58987 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58988 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58989 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58990 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58991 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58992 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58993 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58994 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58995 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58996 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58997 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58998 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58999 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59000 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59001 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59009
59010 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59011
59012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59013
59014 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59015
59016 * benchtests/Makefile (bench): Add exp2 and log2.
59017 (LDLIBS-bench-exp2): Add -lm.
59018 (LDLIBS-bench-log2): Likewise.
59019 * benchtests/exp2-inputs: New inputs file.
59020 * benchtests/log2-inputs: New inputs file.
59021 * benchtests/log-inputs: Add new inputs.
59022 * benchtests/tan-inputs: Likewise.
59023
59024 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59025
59026 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59027 definition...
59028 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59029 (csloww2): ... from here.
59030
59031 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59032 instead of structures.
59033 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59034 (POLYNOMIAL): Likewise.
59035 (TAYLOR_SLOW): Likewise.
59036 (__sin): Likewise.
59037 (__cos): Likewise.
59038 (slow1): Likewise.
59039 (slow2): Likewise.
59040 (sloww): Likewise.
59041 (sloww1); Likewise.
59042 (sloww2): Likewise.
59043 (bsloww1): Likewise.
59044 (bsloww2): Likewise.
59045 (cslow2): Likewise.
59046 (csloww): Likewise.
59047 (csloww1): Likewise.
59048 (csloww2): Likewise.
59049
59050 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59051
59052 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59053 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59054 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59055 * malloc/hooks.c (realloc_check): Likewise.
59056
59057 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59058 * malloc/arena.c: Remove PER_THREAD conditional.
59059 [!PER_THREAD]: Remove code.
59060 (ptmalloc_unlock_all2): Likewise.
59061 (ptmalloc_init): Likewise.
59062 (_int_new_arena): Likewise.
59063 (arena_get2): Likewise.
59064 * malloc/hooks.c (__malloc_get_state): Likewise.
59065 (__malloc_set_state): Likewise.
59066 * malloc/malloc.c: Likewise.
59067 (struct malloc_state): Likewise.
59068 (struct malloc_par): Likewise.
59069 (__libc_realloc): Likewise.
59070 (__libc_mallopt): Likewise.
59071
59072 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59073
59074 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59075
59076 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59077
59078 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59079 macro to a function. Check for zero perturb_byte.
59080 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59081
59082 * malloc/malloc.c: (force_reg): Remove.
59083 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59084 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59085 force_reg by atomic_forced_read.
59086 * malloc/arena.c (ptmalloc_init): Likewise.
59087 * malloc/hooks.c (top_check): Likewise.
59088
59089 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59090
59091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59092
59093 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59094
59095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59096
59097 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59098
59099 * math/auto-libm-test-in: Add tests of lgamma.
59100 * math/auto-libm-test-out: Regenerated.
59101 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59102 (M_LOG_2_SQRT_PIl): Likewise.
59103 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59105 mpfr_f_f1.
59106 (func_calc_desc): Add mpfr_f_f1 union field.
59107 (ARGS1): New macro.
59108 (ARGS2): Likewise.
59109 (ARGS3): Likewise.
59110 (ARGS4): Likewise.
59111 (RET1): Likewise.
59112 (RET2): Likewise.
59113 (CALC): Likewise.
59114 (FUNC): Likewise.
59115 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59116 (test_functions): Add lgamma.
59117 (calc_generic_results): Handle mpfr_f_f1.
59118 * sysdeps/i386/fpu/libm-test-ulps: Update.
59119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59120
59121 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59122
59123 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59124 __mpn_add_n for PowerPC64/POWER7.
59125 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59126 __mpn_sub_n for PowerPC64/POWER7.
59127
59128 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59129 __mpn_addmul_1 for PowerPC64.
59130 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59131 __mpn_submul_1 for PowerPC64.
59132 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59133 for PowerPC64.
59134 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59135 for PowerPC64.
59136
59137 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59138
59139 [BZ #15089]
59140 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59141
59142 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59143
59144 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59145
59146 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59147 add multiarch folders.
59148 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59149 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59150 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59151 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59152 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59153 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59154 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59155 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59156 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59157 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59158 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59165
59166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59167 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59169 New file.
59170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59171 New file.
59172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59173 multiarch __ieee754_hypot for PowerPC32.
59174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59175 New file.
59176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59177 New file.
59178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59179 multiarch __ieee754_hypotf for PowerPC32.
59180
59181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59182 long_double_symbol only if __logbl is defined.
59183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59184 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59186 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59188 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59189 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59190 path for implementation.
59191 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59192 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59194 logb, and logbl multiarch implementations for PowerPC32.
59195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59196 file.
59197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59198 file.
59199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59200 multiarch logb for PowerPC32.
59201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59202 file.
59203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59204 file.
59205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59206 multiarch logbf for PowerPC32.
59207 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59209 file.
59210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59211 multiarch logbl implementation for PowerPC32.
59212
59213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59214 and modff multiarch implementations.
59215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59216 New file.
59217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59218 New file.
59219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59220 multiarch modf for PowerPC32.
59221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59222 New file.
59223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59224 New file.
59225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59226 multiarch modff for PowerPC32.
59227
59228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59229 and lrintf multiarch implementations.
59230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59231 New file.
59232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59233 New file.
59234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59235 multiarch lrint for PowerPC32.
59236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59237 file: multiarch lrintf for PowerPC32.
59238
59239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59240 and lroundf multiarch implementations.
59241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59242 New file.
59243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59244 New file.
59245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59246 New file.
59247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59248 multiarch lround for PowerPC32.
59249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59250 file: multiarch lroundf for PowerPC32.
59251
59252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59253 copysign and copysignf multiarch implementations.
59254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59255 New file.
59256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59257 New file.
59258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59259 file: multiarch copysign for PowerPC32.
59260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59261 file: multiarch copysignf for PowerPC32.
59262
59263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59264 and truncf multiarch implementations.
59265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59266 New file.
59267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59268 file.
59269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59270 multiarch trunc for PowerPC32.
59271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59272 New file.
59273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59274 New file.
59275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59276 multiarch truncf for PowerPC32.
59277
59278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59279 and roundf multiarch implementations.
59280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59281 New file.
59282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59283 file.
59284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59285 multiarch round for PowerPC32.
59286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59287 New file.
59288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59289 New file.
59290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59291 multiarch roundf for PowerPC32.
59292
59293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59294 and floorf multiarch implementations.
59295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59296 New file.
59297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59298 file.
59299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59300 multiarch floor for PowerPC32.
59301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59302 New file.
59303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59304 New file.
59305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59306 multiarch floorf for PowerPC32.
59307
59308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59309 and ceilf multiarch implementations.
59310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59311 New file.
59312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59313 file.
59314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59315 multiarch ceil for PowerPC32.
59316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59317 New file.
59318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59319 file.
59320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59321 multiarch ceilf for PowerPC32.
59322
59323 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59324 is defined.
59325 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59326 FINITEF is defined.
59327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59328 and finitef multiarch implementations.
59329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59330 New file.
59331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59332 file.
59333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59334 multiarch finite for PowerPC32.
59335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59336 New file.
59337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59338 file: multiarch finitef for PowerPC32.
59339
59340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59341 and isinff multiarch implementations.
59342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59343 file.
59344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59345 file.
59346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59347 multiarch isinf for PowerPC32.
59348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59349 New file.
59350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59351 multiarch isinff for PowerPC32.
59352
59353 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59354 alias when __isnan is defined.
59355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59356 and isnanf multiarch implementations.
59357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59358 file.
59359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59360 file.
59361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59362 file.
59363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59364 file.
59365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59366 multiarch isnan for PowerPC32.
59367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59368 New file.
59369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59370 New file.
59371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59372 multiarch isnanf for PowerPC32.
59373
59374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59375 and sqrtf multiarch implementations.
59376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59377 file.
59378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59379 file.
59380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59381 multiarch sqrt for PowerPC32.
59382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59383 file.
59384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59385 file.
59386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59387 multiarch sqrtf for PowerPC32.
59388
59389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59390 and llroundf multiarch implementations.
59391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59392 New file.
59393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59394 New file.
59395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59396 New file.
59397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59398 file: multiarch llround for PowerPC32.
59399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59400 file: multiarch llroundf for PowerPC32.
59401
59402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59403 multiarch PowerPC32 fpu implementations.
59404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59405 New file.
59406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59407 New file.
59408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59409 multiarch llrint for PowerPC32.
59410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59411 New file.
59412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59413 New file.
59414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59415 file.
59416
59417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59418
59419 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59420 file.
59421 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59422 file.
59423 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59424 file.
59425 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59426 multiarch wordcopy for PPC32.
59427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59428 wordcopy objects.
59429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59430 (__libc_ifunc_impl_list): Likewise.
59431 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59432 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59434 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59436 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59437
59438 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59440 file.
59441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59442 file.
59443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59444 file.
59445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59446 multiarch wcscpy for PPC32.
59447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59448 multiarch objects.
59449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59450 (__libc_ifunc_impl_list): Likewise.
59451 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59452 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59453 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59454 sysdeps/powerpc/power6/wcscpy.c.
59455
59456 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59458 file.
59459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59460 file.
59461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59462 file.
59463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59464 multiarch wcsrchr for PPC32.
59465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59466 multiarch objects.
59467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59468 (__libc_ifunc_impl_list): Likewise.
59469 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59470 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59471 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59472 sysdeps/powerpc/power6/wcsrchr.c.
59473
59474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59475 file.
59476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59477 file.
59478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59480 multiarch wcschr for PPc32.
59481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59482 multiarch objects.
59483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59484 (__libc_ifunc_impl_list): Likewise.
59485 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59486 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59487 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59488 sysdeps/powerpc/power6/wcschr.c.
59489
59490 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59491 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59492 file.
59493 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59494 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59495 file: multiarch strchr for PPC32.
59496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59497 multiarch objects.
59498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59499 (__libc_ifunc_impl_list): Likewise.
59500
59501 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59502 name.
59503 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59504 file.
59505 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59506 file.
59507 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59508 multiarch strchrnul for PPC32.
59509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59510 multiarch objects.
59511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59512 (__libc_ifunc_impl_list): Likewise.
59513
59514 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59515 file.
59516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59517 multiarch strncasecmp for PPC32.
59518 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59519 file.
59520 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59521 multiarch strncasecmp_l for PPC32.
59522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59523 strncasecmp multiarch objects.
59524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59525 (__libc_ifunc_impl_list): Likewise.
59526
59527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59528 file.
59529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59530 multiarch strncasecmp for PPC32.
59531 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59532 New file.
59533 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59534 multiarch strcasecmp_l for PPC32.
59535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59536 multiarch objects.
59537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59538 (__libc_ifunc_impl_list): Likewise.
59539
59540 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59541 file.
59542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59543 file.
59544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59545 multiarch strncmp for PPC32.
59546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59547 multiarch objects.
59548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59549 (__libc_ifunc_impl_list): Likewise.
59550
59551 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59552 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59553 file.
59554 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59555 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59557 multiarch objects.
59558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59559 (__libc_ifunc_impl_list): Likewise.
59560
59561 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59562 file.
59563 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59564 file.
59565 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59567 multiarch objects.
59568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59569 (__libc_ifunc_impl_list): Likewise.
59570
59571 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59572 file.
59573 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59574 file.
59575 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59576 multiarch rawmemchr for PPC32.
59577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59578 multiarch objects.
59579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59580 (__libc_ifunc_impl_list): Likewise.
59581
59582 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59583 file.
59584 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59585 file.
59586 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59587 file: memrchr multiarch for PPC32.
59588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59589 multiarch objects.
59590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59591 (__libc_ifunc_impl_list): Likewise.
59592
59593 * string/memchr.c (__memchr): Using macro to redefine symbol name.
59594 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59595 file.
59596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59597 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59598 multiarch memchr for PPC32.
59599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59600 multiarch objects.
59601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59602 (__libc_ifunc_impl_list): Likewise.
59603
59604 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59605 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59606 file.
59607 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59608 file.
59609 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59610 file: multiarch mempcpy for PPC32.
59611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59612 multiarch objects.
59613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59614 (__libc_ifunc_impl_list): Likewise.
59615
59616 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59617 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59618 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59620 multiarch bzero for PPC32.
59621 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59622 file.
59623 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59624 file.
59625 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59626 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59627 file: multiarch memset for PPC32.
59628 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59630 memset multiarch objects.
59631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59632 (__libc_ifunc_impl_list): Likewise.
59633
59634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59635 file.
59636 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59637 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59638 memcmp for PPC32.
59639 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59641 multiarch objects.
59642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59643 (__libc_ifunc_impl_list): Likewise.
59644
59645 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59646 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59647 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59648 file.
59649 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59650 file.
59651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59652 file.
59653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59654 multiarch memcpy for PPC32.
59655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59656 multiarch objects.
59657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59658 (__libc_ifunc_impl_list): Likewise.
59659
59660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59661 support multiarch for POWER/PPC32.
59662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59663 Likewise.
59664 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59666 Implies file to make multiarch folder appers before the fpu and
59667 default folder for power4 configuration.
59668
59669 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
59670
59671 * scripts/bench.pl: Append volatile keyword to type.
59672
59673 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59674
59675 * sysdeps/sh/sotruss-lib.c: New file.
59676 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59677
59678 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59679
59680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59681
59682 2013-12-05 Joseph Myers <joseph@codesourcery.com>
59683
59684 [BZ #6810]
59685 * math/w_tgamma.c: Include <errno.h>.
59686 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
59687 * math/w_tgammaf.c: Include <errno.h>.
59688 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
59689 * math/w_tgammal.c: Include <errno.h>.
59690 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
59691 * math/auto-libm-test-in: Do not allow missing errno on tgamma
59692 underflow. Add more tgamma tests.
59693 * math/auto-libm-test-out: Regenerated.
59694 * sysdeps/i386/fpu/libm-test-ulps: Update.
59695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59696
59697 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
59698 sin, sinh, tan, tanh, tgamma, y0 and y1.
59699 * math/auto-libm-test-out: Regenerated.
59700 * math/libm-test.inc (TEST_COND_x86_64): New macro.
59701 (TEST_COND_x86): Likewise.
59702 (M_E2l): Remove macro.
59703 (M_E3l): Likewise.
59704 (M_2_SQRT_PIl): Likewise.
59705 (M_SQRT_PIl): Likewise.
59706 (M_1_DIV_El): Likewise.
59707 (log_test_data): Use AUTO_TESTS_f_f.
59708 (log10_test_data): Likewise.
59709 (log1p_test_data): Likewise.
59710 (log2_test_data): Likewise.
59711 (sin_test_data): Likewise.
59712 (sin_tonearest_test_data): Likewise.
59713 (sin_towardzero_test_data): Likewise.
59714 (sin_downward_test_data): Likewise.
59715 (sin_upward_test_data): Likewise.
59716 (sinh_test_data): Likewise.
59717 (sinh_tonearest_test_data): Likewise.
59718 (sinh_towardzero_test_data): Likewise.
59719 (sinh_downward_test_data): Likewise.
59720 (sinh_upward_test_data): Likewise.
59721 (tan_test_data): Likewise.
59722 (tan_tonearest_test_data): Likewise.
59723 (tan_towardzero_test_data): Likewise.
59724 (tan_downward_test_data): Likewise.
59725 (tan_upward_test_data): Likewise.
59726 (tanh_test_data): Likewise.
59727 (tgamma_test_data): Likewise.
59728 (y0_test_data): Likewise.
59729 (y1_test_data): Likewise.
59730 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59731 (special_real_inputs): Add pi/4.
59732 * sysdeps/i386/fpu/libm-test-ulps: Update.
59733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59734
59735 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59736
59737 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59738 "longjmp_target" static probes.
59739 (__longjmp): Rename to __longjmp_symbol.
59740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59741 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59742 on which longjmp to generate.
59743 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59744 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59745 probe.
59746 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59747 (__sigjmp_save): Rename to __sigjmp_save_symbol.
59748 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59749 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59750 and __sigjmp_save_symbol based on which sigsetjmp to generated.
59751 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59753 __longjmp_symbol based on which __longjmp to generate.
59754 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59755 probe.
59756 (setjmp): Rename to setjmp_symbol.
59757 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59758 (_setjmp): Rename to _setjmp_symbol.
59759 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59760 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59761 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59762 which setjmp to generate.
59763 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59764 "longjmp_target" static probes.
59765
59766 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59767
59768 * benchtests/README: Add note about output arguments.
59769 * benchtests/bench-sincos.c: Remove file.
59770 * benchtests/sincos-inputs: New file.
59771 * scripts/bench.pl: Identify output arguments and define
59772 static variables for them.
59773
59774 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59775
59776 [BZ #15941]
59777 * Makefile (INSTALL): Add install-plain.texi as the primary
59778 dependency.
59779 * manual/install-plain.texi: New file.
59780 * manual/install.texi: Include node directive only for
59781 non-plaintext output.
59782
59783 2013-12-04 Joseph Myers <joseph@codesourcery.com>
59784
59785 * stdlib/longlong.h: Update from GCC.
59786
59787 [BZ #6807]
59788 [BZ #15901]
59789 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59790 * math/w_j0f.c (y0f): Likewise.
59791 * math/w_j0l.c (__y0l): Likewise.
59792 * math/w_j1.c (y1): Likewise.
59793 * math/w_j1f.c (y1f): Likewise.
59794 * math/w_j1l.c (__y1l): Likewise.
59795 * math/w_jn.c (yn): Likewise.
59796 * math/w_jnf.c (ynf): Likewise.
59797 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59798 Bessel function pole errors in _POSIX_ mode. Use NAN as return
59799 value for Bessel function domain errors outside _SVID_ mode.
59800 Adjust sign of return value for yn (negative integer, 0).
59801 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59802 by zero in return for negative x and set sign appropriately for
59803 negative n.
59804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59806 * math/libm-test.inc (y0_test_data): Add more tests and adjust
59807 expectations in error cases.
59808 (y1_test_data): Likewise.
59809 (yn_test_data): Likewise.
59810 * sysdeps/i386/fpu/libm-test-ulps: Update.
59811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59812
59813 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59814
59815 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59816 "64" to "64-v1". Add "64-v2".
59817 (abi-64-options): Rename to ...
59818 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
59819 (abi-64-condition): Rename to ...
59820 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
59821 (abi-64-ld-soname): Rename to ...
59822 (abi-64-v1-ld-soname): ... this.
59823 (abi-64-v2-options): Define.
59824 (abi-64-v2-condition): Likewise.
59825 (abi-64-v2-ld-soname): Likewise.
59826 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59827 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59831
59832 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59833 Alan Modra <amodra@gmail.com>
59834
59835 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59836 New versions for use with the ELFv2 ABI.
59837 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59838 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59839 declaration.
59840 (struct La_ppc64v2_retval): Likewise.
59841 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59842 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59843 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59844 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59845 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59846 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59847 Do not save or restore CR.
59848 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59849 (_dl_profile_resolve): Do no save or restore CR. Support extended
59850 return values for ELFv2 ABI. Fix location of FPR return registers.
59851 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59852 updated values for _CALL_ELF == 2.
59853 (La_regs, La_retval, int_retval): Likewise.
59854
59855 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59856
59857 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59858 (FRAME_MIN_SIZE_PARM): Likewise.
59859 (FRAME_BACKCHAIN): Likewise.
59860 (FRAME_CR_SAVE): Likewise.
59861 (FRAME_LR_SAVE): Likewise.
59862 (FRAME_TOC_SAVE): Likewise.
59863 (FRAME_PARM_SAVE): Likewise.
59864 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59865 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59866 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59867 (call_mcount_parm_offset): New macro.
59868 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59869 (PROF): Use symbolic stack frame offsets.
59870 (TAIL_CALL_SYSCALL_ERROR): Likewise.
59871 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59872 Redefine in terms of FRAME_MIN_SIZE.
59873 (_dl_runtime_resolve): Use symbolic stack frame offsets.
59874 (_dl_profile_resolve): Likewise. Update comment.
59875 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59876 symbols stack frame offsets.
59877 (__sigsetjmp): Likewise.
59878 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59879 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59880 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59881 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59882
59883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59884 (FRAME_BACKCHAIN): Remove.
59885 (FRAME_CR_SAVE): Likewise.
59886 (FRAME_LR_SAVE): Likewise.
59887 (FRAME_COMPILER_DW): Likewise.
59888 (FRAME_LINKER_DW): Likewise.
59889 (FRAME_TOC_SAVE): Likewise.
59890 (FRAME_PARM_SAVE): Likewise.
59891 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59892 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59893 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59895 (CHECK_SP): Use symbolic stack frame offsets.
59896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59897 zone" instead of caller's parameter save area for temp storage.
59898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59899 Likewise. Also, use symbolic stack frame offsets.
59900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59901 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59902 our own stack frame instead of the caller's.
59903 (__socket): Use symbolic stack frame offsets.
59904
59905 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59906 Alan Modra <amodra@gmail.com>
59907
59908 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59909 Define.
59910 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59911 (PPC64_LOCAL_ENTRY_OFFSET): Define.
59912 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59913 New function.
59914 (elf_machine_fixup_plt): Call it.
59915 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
59916 reloc arguments.
59917 (elf_machine_rela): Update call to elf_machine_plt_conflict.
59918 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59919 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59920 r2 before calling target.
59921
59922 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59923 Alan Modra <amodra@gmail.com>
59924
59925 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59926 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59927 versions of macros to support ELFv2 ABI.
59928 (LOCALENTRY): New macro.
59929 (ENTRY, EALIGN): Use it.
59930 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59931 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59932 fall through into ENTRY entry point.
59933 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59934 Only define if _CALL_ELF != 2.
59935
59936 (elf_machine_matches_host): Verify ABI version matches.
59937 (RTLD_START): Use LOCALENTRY.
59938 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59939 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59940 (PLT_ENTRY_WORDS): New macro.
59941 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59942 (elf_machine_runtime_setup): Support ELFv2 ABI.
59943 (elf_machine_fixup_plt): Likewise.
59944 (elf_machine_plt_conflict): Likewise.
59945 (resolve_ifunc): Likewise.
59946 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59947 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59948 Likewise.
59949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59950 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59952 (makecontext): Support ELFv2 ABI.
59953 * elf/elf.h (EF_PPC64_ABI): Define.
59954
59955 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59956
59957 * sysdeps/powerpc/powerpc64/sysdep.h
59958 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59959 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59960 (ENTRY) [ASSEMBLER]: ... but instead here ...
59961 (EALIGN) [ASSEMBLER]: ... and here.
59962 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59963 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59964 (ENTRY_2) [!ASSEMBLER]: Use it.
59965 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59966 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
59967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59968 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59969 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59971 Use PPC64_LOAD_FUNCPTR.
59972
59973 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59974
59975 2013-12-04 Alan Modra <amodra@gmail.com>
59976
59977 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59978 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59979 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59980 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59981
59982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59983 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59984 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59985 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59986 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59987 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59988
59989 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59990
59991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59992 (__makecontext): Fix incorrect CFI when backtracing out of
59993 context created via makecontext.
59994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59995 (__setcontext): Fix incorrect CFI during switch to new context.
59996 (__novec_setcontext): Likewise.
59997
59998 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
59999
60000 [BZ #4772]
60001 * time/strptime_l.c (__strptime_internal): Allow modifiers
60002 in strptime.
60003 * time/tst-strptime.c (day_tests): Add testcase.
60004
60005 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60006
60007 * scripts/bench.pl: Skip over blank lines.
60008
60009 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60010
60011 [BZ #926]
60012 * manual/time.texi (Calendar Time): Clarify what timezone functions
60013 use.
60014
60015 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60016
60017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60018
60019 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60020
60021 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60022 implementation.
60023 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60024 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60025 * debug/memset_chk.c (__memset_chk): Likewise.
60026 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60027 * debug/strncpy_chk.c: Likewise.
60028
60029 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60030
60031 [BZ #15268]
60032 [BZ #15425]
60033 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60034 (__ieee754_exp): For possibly underflowing results, check size of
60035 result and force underflow exception if required.
60036 * math/auto-libm-test-in: Add more tests of exp.
60037 * math/auto-libm-test-out: Regenerated.
60038 * sysdeps/i386/fpu/libm-test-ulps: Update.
60039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60040
60041 [BZ #16283]
60042 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60043 * math/w_exp2f.c (__exp2f): Likewise.
60044 * math/w_exp2l.c (__exp2l): Likewise.
60045 * math/auto-libm-test-in: Do not allow missing errno on exp2
60046 underflow.
60047 * math/auto-libm-test-out: Regenerated.
60048
60049 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60050
60051 [BZ #16274]
60052 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60053 handle filename validation.
60054 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60055 (do_open): Delete.
60056
60057 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60058
60059 [BZ #6786]
60060 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60061 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60062 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60063 <float.h>.
60064 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60066 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60068 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60070 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60071 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60072 Add more erfc tests.
60073 * math/auto-libm-test-out: Regenerated.
60074 * sysdeps/i386/fpu/libm-test-ulps: Update.
60075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60076
60077 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60078 exp2, expm1, j0 and j1.
60079 * math/auto-libm-test-out: Regenerated.
60080 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60081 (erfc_test_data): Likewise.
60082 (exp_test_data): Likewise.
60083 (exp_tonearest_test_data): Likewise.
60084 (exp_towardzero_test_data): Likewise.
60085 (exp_downward_test_data): Likewise.
60086 (exp_upward_test_data): Likewise.
60087 (exp10_test_data): Likewise.
60088 (exp2_test_data): Likewise.
60089 (expm1_test_data): Likewise.
60090 (j0_test_data): Likewise.
60091 (j1_test_data): Likewise.
60092 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60093 (input_flag_type): Add flag_xfail_rounding.
60094 (input_flags): Add xfail-rounding.
60095 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60096 (output_for_one_input_case): Handle flag_xfail_rounding.
60097 * sysdeps/i386/fpu/libm-test-ulps: Update.
60098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60099
60100 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60101
60102 [BZ #16289]
60103 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60104 division by 0.
60105
60106 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60107
60108 [BZ #16195]
60109 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60110 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60111 (STAP_PROBE0): New macro.
60112 (STAP_PROBE1): Likewise.
60113 (STAP_PROBE2): Likewise.
60114 (STAP_PROBE3): Likewise.
60115 (STAP_PROBE4): Likewise.
60116
60117 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60118
60119 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60120
60121 2013-12-02 Steve Ellcey <sellcey@mips.com>
60122
60123 * benchtests/Makefile (bench): Add sqrt.
60124 (LDLIBS-bench-sqrt): New.
60125 * benchtests/sqrt-input: New.
60126
60127 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60128
60129 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60130 (GAIH_EAI): Likewise.
60131 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60132 (gaih_inet): Likewise.
60133 (getaddrinfo): Don't use GAIH_EAI.
60134
60135 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60136 (struct gaih): Remove definition.
60137
60138 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60139
60140 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60141 Use HERRNOP directly.
60142
60143 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60144
60145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60146
60147 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60148
60149 * math/gen-auto-libm-tests.c (test_functions): Add more
60150 single-argument functions.
60151 (special_fill_pi_2): New function.
60152 (special_fill_minus_pi_2): Likewise.
60153 (special_fill_pi_6): Likewise.
60154 (special_fill_minus_pi_6): Likewise.
60155 (special_fill_pi_3): Likewise.
60156 (special_fill_2pi_3): Likewise.
60157 (special_fill_e): Likewise.
60158 (special_fill_1_e): Likewise.
60159 (special_fill_e_minus_1): Likewise.
60160 (special_real_inputs): Add more special inputs.
60161 (output_for_one_input_case): Do not require ERANGE on underflow to
60162 zero if round-to-nearest result does not underflow to zero, unless
60163 exact results required.
60164 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60165 atan, atanh, cbrt, cos and cosh.
60166 * math/auto-libm-test-out: Regenerated.
60167 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60168 (acos_tonearest_test_data): Likewise.
60169 (acos_towardzero_test_data): Likewise.
60170 (acos_downward_test_data): Likewise.
60171 (acos_upward_test_data): Likewise.
60172 (acosh_test_data): Likewise.
60173 (asin_test_data): Likewise.
60174 (asin_tonearest_test_data): Likewise.
60175 (asin_towardzero_test_data): Likewise.
60176 (asin_upward_test_data): Likewise.
60177 (asinh_test_data): Likewise.
60178 (atan_test_data): Likewise.
60179 (atanh_test_data): Likewise.
60180 (cbrt_test_data): Likewise.
60181 (cos_test_data): Likewise.
60182 (cos_tonearest_test_data): Likewise.
60183 (cos_towardzero_test_data): Likewise.
60184 (cos_downward_test_data): Likewise.
60185 (cos_upward_test_data): Likewise.
60186 (cosh_test_data): Likewise.
60187 (cosh_tonearest_test_data): Likewise.
60188 (cosh_towardzero_test_data): Likewise.
60189 (cosh_downward_test_data): Likewise.
60190 (cosh_upward_test_data): Likewise.
60191 * sysdeps/i386/fpu/libm-test-ulps: Update.
60192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60193
60194 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60195
60196 [BZ #6787]
60197 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60198 * math/w_exp10f.c (__exp10f): Likewise.
60199 * math/w_exp10l.c (__exp10l): Likewise.
60200 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60201 errno settings in existing tests.
60202
60203 [BZ #14032]
60204 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60205 precision control set to double precision.
60206 * sysdeps/i386/fpu/w_sqrt.c: New file.
60207 * math/auto-libm-test-in: Add more tests.
60208 * math/auto-libm-test-out: Update.
60209
60210 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60211 (sqrt_test_tonearest): New function.
60212 (sqrt_towardzero_test_data): New variable.
60213 (sqrt_test_towardzero): New function.
60214 (sqrt_downward_test_data): New variable.
60215 (sqrt_test_downward): New function.
60216 (sqrt_upward_test_data): New variable.
60217 (sqrt_test_upward): New function.
60218 (main): Call the new functions.
60219
60220 * math/gen-auto-libm-tests.c: New file.
60221 * math/auto-libm-test-in: Likewise.
60222 * math/auto-libm-test-out: New generated file.
60223 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60224 variables.
60225 (%beautify): Add generated representations of zero.
60226 (top level): Set $auto_input and call parse_auto_input.
60227 (beautify): Remove trailing "f" from hex float constants.
60228 (parse_args): Handle XFAIL_TEST.
60229 (convert_condition): New function.
60230 (or_value): Likewise.
60231 (or_cond_value): Likewise.
60232 (generate_testfile): Handle AUTO_TESTS_* lines.
60233 (parse_auto_input): New function.
60234 * math/libm-test.inc (XFAIL_TEST): New macro.
60235 (ERRNO_UNCHANGED): Update value.
60236 (ERRNO_EDOM): Likewise.
60237 (ERRNO_ERANGE): Likewise.
60238 (IGNORE_RESULT): Likewise.
60239 (TEST_COND_flt_32): New macro.
60240 (TEST_COND_dbl_64): Likewise.
60241 (TEST_COND_ldbl_96_intel): Likewise.
60242 (TEST_COND_ldbl_96_m68k): Likewise.
60243 (TEST_COND_ldbl_128): Likewise.
60244 (TEST_COND_ldbl_128ibm): Likewise.
60245 (TEST_COND_long32): Likewise.
60246 (TEST_COND_long64): Likewise.
60247 (TEST_COND_before_rounding): Likewise.
60248 (TEST_COND_after_rounding): Likewise.
60249 (enable_test): Handle XFAIL_TEST flag.
60250 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60251 with finite results.
60252 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60253 auto-libm-test-out.
60254
60255 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60256 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60257
60258 [BZ #16214]
60259 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60260 __tls_get_addr_internal instead of __tls_get_offset in order to
60261 avoid GOT pointer dependency. Make rtld export
60262 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60263 __tls_get_addr since we are a __tls_get_offset platform.
60264 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60265 GOT pointer being set up before.
60266 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60267
60268 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60269
60270 * manual/math.texi (Errors in Math Functions): Document accuracy
60271 goals.
60272
60273 [BZ #15004]
60274 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60275 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60276 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60277 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60278 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60279 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60280 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60281 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60282 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60283 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60284 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60287 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60289 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60290
60291 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60292 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60293 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60294 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60295 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60296 Likewise.
60297 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60298 Likewise.
60299 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60300 Likewise.
60301 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60302 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60303 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60304 atomic-feupdateenv and flt-rounds.
60305 * sysdeps/powerpc/nofpu/Versions (libc): Add
60306 __atomic_feholdexcept, __atomic_feclearexcept,
60307 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60308 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60309 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60310 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60311 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60312 here.
60313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60314 Update.
60315
60316 * manual/arith.texi (FP Exceptions): Document that exceptions may
60317 not be raised when matherr is used.
60318 (Math Error Reporting): Document overflow in directed rounding
60319 modes. Document that errno may not be set when finite values are
60320 returned on overflow. Document intent to set errno on underflow
60321 only for underflow to zero.
60322
60323 [BZ #16271]
60324 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60325 round-to-nearest then adjust result for other rounding modes.
60326 * include/fenv.h (fegetround): Use libm_hidden_proto.
60327 * math/fegetround.c (fegetround): Use libm_hidden_def.
60328 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60329 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60330 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60331 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60332 Likewise.
60333 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60334 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60335 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60336 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60337
60338 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60339
60340 [BZ #16077]
60341 * nss/Versions (libnss_files): Add
60342 _nss_files_gethostbyname3_r.
60343 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60344 New function.
60345 (HOST_DB_LOOKUP): Remove macro.
60346 (_nss_files_gethostbyname_r): Implement function without the
60347 HOST_DB_LOOKUP macro.
60348 (_nss_files_gethostbyname2_r): Likewise.
60349
60350 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60351
60352 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60353
60354 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60355
60356 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60357 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60358 warning.
60359
60360 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60361
60362 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60363 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60364 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60365 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60366 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60367 __fe_nomask_env_priv and attribute_hidden.
60368 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60369 (libc_feupdateenv_test_ppc): Likewise.
60370 (libc_feresetround_ppc): Likewise.
60371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60372 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60373 compat_symbol macro.
60374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60375 (__fe_nomask_env): Likewise.
60376 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60377
60378 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60379
60380 * string/Makefile: Remove ifunc tests.
60381 * string/test-string.h: Define TEST_IFUNC.
60382 * string/test-bcopy-ifunc.c: Remove.
60383 * string/test-bzero-ifunc.c: Likewise.
60384 * string/test-memccpy-ifunc.c: Likewise.
60385 * string/test-memchr-ifunc.c: Likewise.
60386 * string/test-memcmp-ifunc.c: Likewise.
60387 * string/test-memcpy-ifunc.c: Likewise.
60388 * string/test-memmem-ifunc.c: Likewise.
60389 * string/test-memmove-ifunc.c: Likewise.
60390 * string/test-mempcpy-ifunc.c: Likewise.
60391 * string/test-memrchr-ifunc.c: Likewise.
60392 * string/test-memset-ifunc.c: Likewise.
60393 * string/test-rawmemchr-ifunc.c: Likewise.
60394 * string/test-stpcpy-ifunc.c: Likewise.
60395 * string/test-stpncpy-ifunc.c: Likewise.
60396 * string/test-strcasecmp-ifunc.c: Likewise.
60397 * string/test-strcasestr-ifunc.c: Likewise.
60398 * string/test-strcat-ifunc.c: Likewise.
60399 * string/test-strchr-ifunc.c: Likewise.
60400 * string/test-strchrnul-ifunc.c: Likewise.
60401 * string/test-strcmp-ifunc.c: Likewise.
60402 * string/test-strcpy-ifunc.c: Likewise.
60403 * string/test-strcspn-ifunc.c: Likewise.
60404 * string/test-strlen-ifunc.c: Likewise.
60405 * string/test-strncasecmp-ifunc.c: Likewise.
60406 * string/test-strncat-ifunc.c: Likewise.
60407 * string/test-strncmp-ifunc.c: Likewise.
60408 * string/test-strncpy-ifunc.c: Likewise.
60409 * string/test-strnlen-ifunc.c: Likewise.
60410 * string/test-strpbrk-ifunc.c: Likewise.
60411 * string/test-strrchr-ifunc.c: Likewise.
60412 * string/test-strspn-ifunc.c: Likewise.
60413 * string/test-strstr-ifunc.c: Likewise.
60414
60415 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60416
60417 * benchtests/Makefile: Remove ifunc tests.
60418 * benchtests/bench-string.h: Define TEST_IFUNC.
60419 * benchtests/bench-bcopy-ifunc.c: Remove.
60420 * benchtests/bench-bzero-ifunc.c: Likewise.
60421 * benchtests/bench-memccpy-ifunc.c: Likewise.
60422 * benchtests/bench-memchr-ifunc.c: Likewise.
60423 * benchtests/bench-memcmp-ifunc.c: Likewise.
60424 * benchtests/bench-memcpy-ifunc.c: Likewise.
60425 * benchtests/bench-memmem-ifunc.c: Likewise.
60426 * benchtests/bench-memmove-ifunc.c: Likewise.
60427 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60428 * benchtests/bench-memrchr-ifunc.c: Likewise.
60429 * benchtests/bench-memset-ifunc.c: Likewise.
60430 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60431 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60432 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60433 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60434 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60435 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60436 * benchtests/bench-strcat-ifunc.c: Likewise.
60437 * benchtests/bench-strchr-ifunc.c: Likewise.
60438 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60439 * benchtests/bench-strcmp-ifunc.c: Likewise.
60440 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60441 * benchtests/bench-strcpy-ifunc.c: Likewise.
60442 * benchtests/bench-strcspn-ifunc.c: Likewise.
60443 * benchtests/bench-strlen-ifunc.c: Likewise.
60444 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60445 * benchtests/bench-strncat-ifunc.c: Likewise.
60446 * benchtests/bench-strncmp-ifunc.c: Likewise.
60447 * benchtests/bench-strncpy-ifunc.c: Likewise.
60448 * benchtests/bench-strnlen-ifunc.c: Likewise.
60449 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60450 * benchtests/bench-strrchr-ifunc.c: Likewise.
60451 * benchtests/bench-strsep-ifunc.c: Likewise.
60452 * benchtests/bench-strspn-ifunc.c: Likewise.
60453 * benchtests/bench-strstr-ifunc.c: Likewise.
60454
60455 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60456
60457 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60458
60459 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60460
60461 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60462 * rt/aio.h: Likewise.
60463 * sysdeps/gnu/bits/utmp.h: Likewise.
60464 * sysdeps/gnu/bits/utmpx.h: Likewise.
60465 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60466 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60467 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60468 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60469 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60470 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60471 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60472 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60473 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60475 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60476 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60477 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60479 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60480 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60481 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60482 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60483 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60484 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60485 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60486 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60487 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60488 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60489 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60491 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60492 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60493 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60494 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60495 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60496 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60497 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60498 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60499 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60500 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60501 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60502 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60503 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60504 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60505 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60506 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60507
60508 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60509
60510 [BZ #16245]
60511 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60512 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60513
60514 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60515
60516 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60517 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60518 Likewise.
60519
60520 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60521
60522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60523 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60524 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60525 (__fesetround): Remove define.
60526 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60527 rounding and exceptions handling.
60528 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60529 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60530 (__fe_nomask_env): Likewise.
60531 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60532 __fegetround instead of fegetround.
60533 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60535
60536 2013-11-21 Roland McGrath <roland@hack.frob.com>
60537
60538 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60539 it's there.
60540
60541 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60542
60543 2013-11-21 Meador Inge <meadori@codesourcery.com>
60544
60545 [BZ #11157]
60546 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60547 (encrypt_r): Likewise.
60548 * malloc/obstack.h (obstack_free): Likewise.
60549 * posix/unistd.h (encrypt): Likewise.
60550
60551 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60552
60553 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60554 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60555 DL_CALL_DT_FINI() that call the functions directly.
60556 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60557 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60558 * elf/dl-fini.c: Likewise.
60559
60560 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60561
60562 * malloc/hooks.c (memalign_check): Add alignment rounding.
60563 * malloc/malloc.c (_mid_memalign): New function.
60564 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60565 Implement by calling _mid_memalign.
60566 * manual/probes.texi (Memory Allocation Probes): Remove
60567 memory_valloc_retry and memory_pvalloc_retry.
60568
60569 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60570
60571 * locale/programs/locarchive.c (open_archive): Add const
60572 qualifier to ARCHIVEFNAME and copy default fname to
60573 DEFAULT_FNAME.
60574
60575 [BZ #15601]
60576 * libio/tst-widetext.input: Rename Oriya to Odia.
60577 * locale/iso-639.def: Likewise.
60578
60579 * manual/probes.texi (Mathematical Function Probes): Add
60580 documentation for sin, cos, asin and acos probes.
60581 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60582 (__sin32): Add slowasin probe.
60583 (__cos32): Add slowacos probe.
60584 (__mpsin): Add slowsin probe.
60585 (__mpcos): Add slowcos probe.
60586
60587 2013-11-19 Joseph Myers <joseph@codesourcery.com>
60588
60589 [BZ #15483]
60590 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60591 thread-local __sim_exceptions_thread and global
60592 __sim_exceptions_global.
60593 (__sim_disabled_exceptions): Change to thread-local
60594 __sim_disabled_exceptions_thread and global
60595 __sim_disabled_exceptions_global.
60596 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60597 and global __sim_round_mode_global.
60598 (__simulate_exceptions): Use thread-local floating-point state and
60599 set global state from it as needed.
60600 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60601 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60602 __sim_round_mode_thread.
60603 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60604 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60605 and global __sim_exceptions_global.
60606 (__sim_disabled_exceptions): Change to thread-local
60607 __sim_disabled_exceptions_thread and global
60608 __sim_disabled_exceptions_global.
60609 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60610 and global __sim_round_mode_global.
60611 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60612 (SIM_SET_GLOBAL): Likewise.
60613 * sysdeps/powerpc/soft-fp/sfp-machine.h
60614 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60615 __sim_round_mode_thread.
60616 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60617 __sim_disabled_exceptions_thread.
60618 (__sim_exceptions): Change to __sim_exceptions_thread.
60619 (__sim_disabled_exceptions): Change to
60620 __sim_disabled_exceptions_thread.
60621 (__sim_round_mode): Change to __sim_round_mode_thread.
60622 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60623 thread-local floating-point state and set global state from it as
60624 needed.
60625 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60626 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60627 (__sim_disabled_exceptions): Remove extern declaration.
60628 (feenableexcept): Use thread-local floating-point state and set
60629 global state from it as needed.
60630 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60631 extern declaration.
60632 (__sim_disabled_exceptions): Likewise.
60633 (__sim_round_mode): Likewise.
60634 (__fegetenv): Use thread-local floating-point state.
60635 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60636 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60637 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60638 floating-point state and set global state from it as needed.
60639 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60640 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60641 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60642 Likewise.
60643 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60644 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60645 Likewise.
60646 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60647 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60648 Use __sim_round_mode_thread.
60649 * math/test-fenv-tls.c: New file.
60650 * math/Makefile (tests): Add test-fenv-tls.
60651 ($(objpfx)test-fenv-tls): Depend on
60652 $(common-objpfx)nptl/libpthread.so.
60653
60654 2013-11-19 Andreas Schwab <schwab@suse.de>
60655
60656 * locale/programs/locale.c (show_info): Decode wordarray elements.
60657 * locale/categories.def (LC_MONETARY): Add element for
60658 _NL_MONETARY_CRNCYSTR.
60659 * locale/C-monetary.c (conversion_rate): New variable.
60660 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60661 element.
60662
60663 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
60664
60665 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60666 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60667
60668 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60669
60670 * elf/Makefile (tst-auxv): New test.
60671 * elf/tst-auxv.c: New
60672 * elf/rtld.c (dl_main): Adjust AT_EXECFN
60673
60674 2013-11-18 Joseph Myers <joseph@codesourcery.com>
60675
60676 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60677 (hidden_proto): Caller changed.
60678 (hidden_tls_proto): New macro.
60679 (libc_hidden_tls_proto): Likewise.
60680 (rtld_hidden_tls_proto): Likewise.
60681 (libm_hidden_tls_proto): Likewise.
60682 (libresolv_hidden_tls_proto): Likewise.
60683 (librt_hidden_tls_proto): Likewise.
60684 (libdl_hidden_tls_proto): Likewise.
60685 (libnss_files_hidden_tls_proto): Likewise.
60686 (libnsl_hidden_tls_proto): Likewise.
60687 (libnss_nisplus_hidden_tls_proto): Likewise.
60688 (libutil_hidden_tls_proto): Likewise.
60689
60690 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
60691
60692 [BZ #10253]
60693 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
60694 (decompose_rpath): Defer expansion to fillin_rpath.
60695 (_dl_init_paths): Pass linkmap to fillin_rpath.
60696
60697 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
60698
60699 * benchtests/Makefile: Add strsep.
60700 * benchtests/bench-strsep.c: New file: strsep benchtest.
60701 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60702
60703 2013-11-18 Andreas Schwab <schwab@suse.de>
60704
60705 * locale/programs/locale.c (show_info) [case byte]: Check for
60706 '\377' instead of '\177'.
60707 * locale/C-monetary.c (not_available): Always use "\377".
60708 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60709 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
60710 detect unavailable sign_posn locale elements.
60711 * locale/localeconv.c (__localeconv): For grouping and
60712 mon_grouping handle "\177" and "\377" like no grouping.
60713 (INT_ELEM): New macro. Use it to set all numeric members.
60714 * locale/programs/ld-monetary.c (monetary_read)
60715 <tok_mon_grouping>: Normalize single -1 to the empty string.
60716 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60717 Likewise.
60718
60719 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
60720
60721 [BZ #16055]
60722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60723 when we match (nil).
60724 * stdio-common/tst-sscanf.c (struct test): Add testcase.
60725
60726 2013-11-16 Joseph Myers <joseph@codesourcery.com>
60727
60728 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60729 (NO_TEST_INLINE): Update value.
60730 (ERRNO_UNCHANGED): Likewise.
60731 (ERRNO_EDOM): Likewise.
60732 (ERRNO_ERANGE): Likewise.
60733 (IGNORE_RESULT): Likewise.
60734 (check_float_internal): Check signs of NaN results if
60735 TEST_NAN_SIGN used.
60736 (check_complex): Pass TEST_NAN_SIGN flag through to second
60737 check_float_internal call.
60738 (copysign_test_data): Add tests with quiet NaNs as second
60739 argument. Use TEST_NAN_SIGN.
60740 (fabs_test_data): Add test of negative quiet NaN argument. Use
60741 TEST_NAN_SIGN.
60742 (signbit_test_data): Add tests of quiet NaN argument.
60743 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60744
60745 * math/gen-libm-test.pl (show_exceptions): Take extra argument
60746 $ignore_result.
60747 (parse_args): Handle function results specified as IGNORE.
60748 * math/libm-test.inc (IGNORE_RESULT): New macro.
60749 (check_float_internal): Do not check numerical result if flag
60750 IGNORE_RESULT set.
60751 (check_complex): Pass through IGNORE_RESULT to second
60752 check_float_internal call.
60753 (check_int): Do not check numerical result if flag IGNORE_RESULT
60754 set.
60755 (check_long): Likewise.
60756 (check_bool): Likewise.
60757 (check_longlong): Likewise.
60758 (lrint_test_data): Add tests of infinite and NaN arguments.
60759 (lrint_tonearest_test_data): Likewise.
60760 (lrint_towardzero_test_data): Likewise.
60761 (lrint_downward_test_data): Likewise.
60762 (lrint_upward_test_data): Likewise.
60763 (llrint_test_data): Likewise.
60764 (llrint_tonearest_test_data): Likewise.
60765 (llrint_towardzero_test_data): Likewise.
60766 (llrint_downward_test_data): Likewise.
60767 (llrint_upward_test_data): Likewise.
60768 (lround_test_data): Likewise.
60769 (llround_test_data): Likewise.
60770
60771 * math/libm-test.inc (NO_TEST_INLINE): New macro.
60772 (ERRNO_UNCHANGED): Update value.
60773 (ERRNO_EDOM): Likewise.
60774 (ERRNO_ERANGE): Likewise.
60775 (NO_TEST_INLINE_FLOAT): New macro.
60776 (NO_TEST_INLINE_DOUBLE): Likewise.
60777 (enable_test): New function.
60778 (RUN_TEST_f_f): Check enable_test before running test.
60779 (RUN_TEST_2_f): Likewise.
60780 (RUN_TEST_fff_f): Likewise.
60781 (RUN_TEST_c_f): Likewise.
60782 (RUN_TEST_f_f1): Likewise.
60783 (RUN_TEST_fF_f1): Likewise.
60784 (RUN_TEST_fI_f1): Likewise.
60785 (RUN_TEST_ffI_f1): Likewise.
60786 (RUN_TEST_c_c): Likewise.
60787 (RUN_TEST_cc_c): Likewise.
60788 (RUN_TEST_f_i): Likewise.
60789 (RUN_TEST_f_i_tg): Likewise.
60790 (RUN_TEST_ff_i_tg): Likewise.
60791 (RUN_TEST_f_b): Likewise.
60792 (RUN_TEST_f_b_tg): Likewise.
60793 (RUN_TEST_f_l): Likewise.
60794 (RUN_TEST_f_L): Likewise.
60795 (RUN_TEST_fFF_11): Likewise.
60796 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60797 conditionals.
60798 (cosh_test_data): Likewise.
60799 (exp_test_data): Likewise.
60800 (expm1_test_data): Likewise.
60801 (hypot_test_data): Likewise.
60802 (pow_test_data): Likewise.
60803 (sinh_test_data): Likewise.
60804 (tanh_test_data): Likewise.
60805 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60806 flags argument.
60807
60808 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60809 tests with quiet NaN input and output.
60810 (acosh_test_data): Likewise.
60811 (asin_test_data): Likewise.
60812 (asinh_test_data): Likewise.
60813 (atan_test_data): Likewise.
60814 (atanh_test_data): Likewise.
60815 (atan2_test_data): Likewise.
60816 (cbrt_test_data): Likewise.
60817 (cos_test_data): Likewise.
60818 (cosh_test_data): Likewise.
60819 (erf_test_data): Likewise.
60820 (erfc_test_data): Likewise.
60821 (exp_test_data): Likewise.
60822 (exp10_test_data): Likewise.
60823 (exp2_test_data): Likewise.
60824 (expm1_test_data): Likewise.
60825 (hypot_test_data): Likewise.
60826 (j0_test_data): Likewise.
60827 (j1_test_data): Likewise.
60828 (jn_test_data): Likewise.
60829 (lgamma_test_data): Likewise.
60830 (log_test_data): Likewise.
60831 (log10_test_data): Likewise.
60832 (log1p_test_data): Likewise.
60833 (log2_test_data): Likewise.
60834 (pow_test_data): Likewise.
60835 (scalb_test_data): Likewise.
60836 (sin_test_data): Likewise.
60837 (sincos_test_data): Likewise.
60838 (sinh_test_data): Likewise.
60839 (tan_test_data): Likewise.
60840 (tanh_test_data): Likewise.
60841 (tgamma_test_data): Likewise.
60842 (y0_test_data): Likewise.
60843 (y1_test_data): Likewise.
60844 (yn_test_data): Likewise.
60845
60846 [BZ #16167]
60847 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60848 argument being NaN and avoid computations with second argument in
60849 that case.
60850 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60851 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60852 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60853
60854 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
60855
60856 * locale/iso-639.def: Add Chitwani Tharu (the).
60857
60858 2013-11-14 Andreas Schwab <schwab@suse.de>
60859
60860 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60861 word instead of empty string.
60862
60863 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60864
60865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60866 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60868 (__fe_nomask_env): Likewise.
60869
60870 2013-11-13 Steve Ellcey <sellcey@mips.com>
60871
60872 * benchtests/bench-timing.h: Include time.h.
60873
60874 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
60875
60876 [BZ #15997]
60877 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60878 to 3.4.0 for x32.
60879 * sysdeps/unix/sysv/linux/configure: Regenerated.
60880
60881 2013-11-13 Joseph Myers <joseph@codesourcery.com>
60882
60883 [BZ #16151]
60884 * stdlib/strtod_l.c (round_and_return): Do not consider
60885 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60886 exponent one less than half the least subnormal exponent.
60887 * stdlib/test-strtod-round-data: Add more tests.
60888 * stdlib/tst-strtod-round.c (tests): Regenerated.
60889
60890 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60891
60892 [BZ #14143]
60893 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60894 (__fe_mask_env): Likewise.
60895 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60896 libm_hidden_proto and add function prototype.
60897 (__fe_mask_env): Add function prototype.
60898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60899 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60901 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60903 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60904
60905 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60906
60907 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60908 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60909
60910 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60911
60912 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60913 of htab_find_slot().
60914
60915 2013-11-11 David S. Miller <davem@davemloft.net>
60916
60917 [BZ #16150]
60918 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60919 symbol in the non-vis3 case in static builds.
60920 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60921 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60922 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60923 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60924
60925 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
60926
60927 [BZ #387]
60928 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60929 it is empty.
60930
60931 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60932
60933 * benchtests/Makefile: Add bench-strtod.
60934 * benchtests/bench-strtod.c: New file: strtod benchtest
60935
60936 2013-11-11 Andreas Schwab <schwab@suse.de>
60937
60938 [BZ #16153]
60939 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60940 terminating NUL in key length.
60941
60942 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60943
60944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60945 Add artificial ODP entry for vDSO symbol for PPC64.
60946 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60947 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60948
60949 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
60950
60951 [BZ #15374]
60952 * nss/getent.c (services_keys): Recognize services starting with digit.
60953
60954 2013-11-06 David S. Miller <davem@davemloft.net>
60955
60956 [BZ #15985]
60957 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60958 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60959
60960 2013-11-06 Will Newton <will.newton@linaro.org>
60961
60962 * manual/memory.texi (Malloc Examples): Remove register
60963 keyword from examples.
60964
60965 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
60966
60967 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60968
60969 2013-11-04 Joseph Myers <joseph@codesourcery.com>
60970
60971 [BZ #6981]
60972 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60973 depending on [__GCC_IEC_559 > 0].
60974 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60975 depending on [__GCC_IEC_559_COMPLEX > 0].
60976
60977 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
60978
60979 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60980 to iso-639.def.
60981
60982 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
60983
60984 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60985
60986 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
60987
60988 [BZ #16112]
60989 * malloc/malloc (malloc_info): Do not handle first bin as
60990 special case.
60991
60992 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
60993
60994 * locale/iso-639.def: Add Central Nahuatl (nhn).
60995
60996 2013-11-01 Bruno Haible <bruno@clisp.org>
60997
60998 [BZ #7003]
60999 * manual/math.texi (BSD Random): Specify range upper bound as
61000 in POSIX.
61001
61002 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61003
61004 * locale/iso-639.def: Add Meadow Mari (mhr).
61005
61006 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61007
61008 [BZ #14752], [BZ #15763]
61009 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61010 Validate name.
61011 * rt/tst_shm.c: Add test for escaping directory.
61012
61013 2013-10-31 Andreas Schwab <schwab@suse.de>
61014
61015 [BZ #15917]
61016 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61017 followed by 'x' as part of digit sequence.
61018 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61019
61020 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61021
61022 [BZ #16037]
61023 * configure.ac: allow GNU Make 4.0 and greater.
61024 * configure: Regenerated.
61025
61026 2013-10-30 Will Newton <will.newton@linaro.org>
61027
61028 [BZ #16038]
61029 * malloc/hooks.c (memalign_check): Limit alignment to the
61030 maximum representable power of two.
61031 * malloc/malloc.c (__libc_memalign): Likewise.
61032 * malloc/tst-memalign.c (do_test): Add test for very
61033 large alignment values.
61034 * malloc/tst-posix_memalign.c (do_test): Likewise.
61035
61036 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61037
61038 [BZ #11087]
61039 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61040 (munmap_chunk): Likewise.
61041 (mremap_chunk): Likewise.
61042
61043 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61044
61045 [BZ #15799]
61046 * stdlib/div.c (div): Remove obsolete code.
61047 * stdlib/ldiv.c (ldiv): Likewise.
61048 * stdlib/lldiv.c (lldiv): Likewise.
61049
61050 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61051
61052 [BZ #16071]
61053 * nss/nss_files/files-XXX.c (get_contents_ret): New
61054 enumerator.
61055 (get_contents): New function.
61056 (internal_getent): Use it. Expand size of LINEBUFLEN.
61057
61058 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61059
61060 * configure.in: Moved to ...
61061 * configure.ac: ... here. Change reference to configure.in
61062 to configure.ac.
61063 * sysdeps/arm/preconfigure.ac: ... here.
61064 configure.in to configure.ac.
61065 * sysdeps/gnu/configure.in: Moved to ...
61066 * sysdeps/gnu/configure.ac: ... here.
61067 * sysdeps/i386/configure.in: Moved to ...
61068 * sysdeps/i386/configure.ac: ... here.
61069 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61070 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61071 * sysdeps/mach/configure.in: Moved to ...
61072 * sysdeps/mach/configure.ac: ... here.
61073 * sysdeps/mach/hurd/configure.in: Moved to ...
61074 * sysdeps/mach/hurd/configure.ac: ... here.
61075 * sysdeps/powerpc/configure.in: Moved to ...
61076 * sysdeps/powerpc/configure.ac: ... here.
61077 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61078 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61079 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61080 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61081 * sysdeps/s390/s390-32/configure.in: Moved to ...
61082 * sysdeps/s390/s390-32/configure.ac: ... here.
61083 * sysdeps/s390/s390-64/configure.in: Moved to ...
61084 * sysdeps/s390/s390-64/configure.ac: ... here.
61085 * sysdeps/sh/configure.in: Moved to ...
61086 * sysdeps/sh/configure.ac: ... here.
61087 * sysdeps/sparc/configure.in: Moved to ...
61088 * sysdeps/sparc/configure.ac: ... here.
61089 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61090 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61091 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61092 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61093 * sysdeps/x86_64/configure.in: Moved to ...
61094 * sysdeps/x86_64/configure.ac: ... here.
61095 * sysdeps/x86_64/preconfigure.in: Moved to ...
61096 * sysdeps/x86_64/preconfigure.ac: ... here.
61097 * aclocal.m4: Change reference to configure.in to configure.ac.
61098 * config.h.in: Likewise.
61099 * manual/install.texi: Likewise.
61100 * manual/maint.texi: Likewise.
61101 * Makefile: Likewise.
61102 * malloc/Makefile: Likewise.
61103 * nscd/Makefile: Likewise.
61104 * Makeconfig: Change reference to configure.in and
61105 preconfigure.in to configure.ac and preconfigure.ac
61106 respectively.
61107 * INSTALL: Regenerated.
61108 * configure: Likewise.
61109 * sysdeps/gnu/configure: Likewise.
61110 * sysdeps/i386/configure: Likewise.
61111 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61112 * sysdeps/mach/configure: Likewise.
61113 * sysdeps/mach/hurd/configure: Likewise.
61114 * sysdeps/powerpc/configure: Likewise.
61115 * sysdeps/powerpc/powerpc32/configure: Likewise.
61116 * sysdeps/powerpc/powerpc64/configure: Likewise.
61117 * sysdeps/s390/s390-32/configure: Likewise.
61118 * sysdeps/s390/s390-64/configure: Likewise.
61119 * sysdeps/sh/configure: Likewise.
61120 * sysdeps/sparc/configure: Likewise.
61121 * sysdeps/unix/sysv/linux/configure: Likewise.
61122 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61123 * sysdeps/x86_64/configure: Likewise.
61124 * sysdeps/x86_64/preconfigure: Likewise.
61125
61126 2013-10-29 Andreas Schwab <schwab@suse.de>
61127
61128 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61129
61130 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61131
61132 * benchtests/pow-inputs: Add new inputs.
61133
61134 * benchtests/exp-inputs: Add new inputs.
61135
61136 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61137 conditional check for return value.
61138 (__cos32): Likewise.
61139
61140 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61141
61142 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61143 to provide a boost for large inputs with word alignment.
61144 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61145 implementation based on optimized PPC64 strcpy.
61146 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61147 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61148 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61149 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61150
61151 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61152
61153 [BZ #2801]
61154 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61155
61156 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61157
61158 [BZ #14876]
61159 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61160 * time/tst-strptime.c (day_tests): Add testcase.
61161
61162 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61163
61164 [BZ #14029]
61165 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61166
61167 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61168
61169 [BZ #16074]
61170 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61171 MAP_FAILED on error.
61172
61173 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61174
61175 [BZ #16072]
61176 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61177 heap for large requests.
61178
61179 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61180
61181 [BZ #9954]
61182 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61183 result if the result has no associated interface.
61184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61185 interface for all 127.X.Y.Z addresses.
61186
61187 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61188
61189 * locale/iso-639.def: Add Ligurian (lij)
61190
61191 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61192
61193 [BZ #15825]
61194 * sunrpc/rpc_main.c: Document rpcgen -5.
61195
61196 2013-10-19 Michael Stahl <mstahl@redhat.com>
61197
61198 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61199
61200 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61201
61202 [BZ #10278]
61203 * posix/glob.c: Match only directories when trailing slash is present.
61204 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61205 (main): Add testcase.
61206
61207 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61208
61209 [BZ #15670]
61210 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61211
61212 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61213
61214 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61215 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61216 AUTH_DES and cindex for FIPS 140-2.
61217 (DES Encryption): Add cindex FIPS 46-3.
61218
61219 * locale/locarchive.h (struct locarhandle): Add fname.
61220 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61221 if an optional argument was specified to --list-archive,
61222 otherwise NULL.
61223 * locale/programs/locarchive.c (show_archive_content): Take new
61224 argument fname and pass it via ah.fname to open_archive.
61225 * locale/programs/localedef.h: Update decl.
61226 (open_archive): If AH->fname is non-null, open that file
61227 rather than the default file name, and don't ignore ENOENT.
61228 (create_archive): Set AH.fname to NULL.
61229 (delete_locales_from_archive): Likewise.
61230 (add_locales_to_archive): Likewise.
61231 * locale/programs/locfile.c (write_all_categories): Likewise.
61232
61233 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61234 Aldy Hernandez <aldyh@redhat.com>
61235
61236 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61237 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61238 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61239 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61240 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61243 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61244 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61246 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61247 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61248 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61249 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61250 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61251 Likewise.
61252 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61253 Likewise.
61254 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61255 Likewise.
61256 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61257 Likewise.
61258 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61259 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61260 Likewise.
61261 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61262 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61263 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61264 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61265 Likewise.
61266 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61267 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61268 * sysdeps/powerpc/preconfigure: Likewise.
61269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61270 Likewise.
61271 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61272 Replace contents of file by #include of <fenv_libc.h>.
61273 * sysdeps/powerpc/soft-fp/sfp-machine.h
61274 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61275 and <sys/prctl.h>.
61276 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61277 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61278 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61279 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61280 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61281 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61287 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61289 Allow copysignl PLT reference to be missing.
61290
61291 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61292 Joseph Myers <joseph@codesourcery.com
61293
61294 [BZ #15948]
61295 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61296 single character.
61297 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61298
61299 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61300
61301 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61302 * elf/tst-tls1.c: Likewise.
61303 * elf/tst-tls10.h: Likewise.
61304 * elf/tst-tls14.c: Likewise.
61305 * elf/tst-tls2.c: Likewise.
61306 * elf/tst-tls3.c: Likewise.
61307 * elf/tst-tls4.c: Likewise.
61308 * elf/tst-tls5.c: Likewise.
61309 * elf/tst-tls6.c: Likewise.
61310 * elf/tst-tls7.c: Likewise.
61311 * elf/tst-tls8.c: Likewise.
61312 * elf/tst-tls9.c: Likewise.
61313 * elf/tst-tlsmod1.c: Likewise.
61314 * elf/tst-tlsmod13.c: Likewise.
61315 * elf/tst-tlsmod13a.c: Likewise.
61316 * elf/tst-tlsmod14a.c: Likewise.
61317 * elf/tst-tlsmod16a.c: Likewise.
61318 * elf/tst-tlsmod16b.c: Likewise.
61319 * elf/tst-tlsmod2.c: Likewise.
61320 * elf/tst-tlsmod3.c: Likewise.
61321 * elf/tst-tlsmod4.c: Likewise.
61322 * elf/tst-tlsmod5.c: Likewise.
61323 * elf/tst-tlsmod6.c: Likewise.
61324
61325 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61326
61327 [BZ #12486]
61328 * malloc/malloc.c: remove checks for statistics.
61329
61330 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61331
61332 [BZ #15277]
61333 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61334 * inet/tst-network.c: Add testcase.
61335
61336 2013-10-17 Andreas Schwab <schwab@suse.de>
61337
61338 [BZ #15218]
61339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61340 to determine canonical name.
61341
61342 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61343
61344 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61345 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61346 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61347 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61349 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61350 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61351 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61352 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61353 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61354 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61357 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61359 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61362 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61363 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61367 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61368 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61369 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61370 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61371 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61372 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61373 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61374 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61375 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61376 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61377 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61378 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61379 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61381 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61382 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61384 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61385 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61386 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61387 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61388 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61390 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61391 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61392 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61393 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61394 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61395 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61396 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61397 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61399 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61401 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61402
61403 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61404
61405 [BZ #16041]
61406 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61407 make result into a quiet NaN.
61408
61409 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61410
61411 * soft-fp/adddf3.c: Fix horizontal whitespace.
61412 * soft-fp/addsf3.c: Likewise.
61413 * soft-fp/addtf3.c: Likewise.
61414 * soft-fp/divdf3.c: Likewise.
61415 * soft-fp/divsf3.c: Likewise.
61416 * soft-fp/divtf3.c: Likewise.
61417 * soft-fp/double.h: Likewise.
61418 * soft-fp/eqdf2.c: Likewise.
61419 * soft-fp/eqsf2.c: Likewise.
61420 * soft-fp/eqtf2.c: Likewise.
61421 * soft-fp/extenddftf2.c: Likewise.
61422 * soft-fp/extended.h: Likewise.
61423 * soft-fp/extendsfdf2.c: Likewise.
61424 * soft-fp/extendsftf2.c: Likewise.
61425 * soft-fp/extendxftf2.c: Likewise.
61426 * soft-fp/fixdfdi.c: Likewise.
61427 * soft-fp/fixdfsi.c: Likewise.
61428 * soft-fp/fixdfti.c: Likewise.
61429 * soft-fp/fixsfdi.c: Likewise.
61430 * soft-fp/fixsfsi.c: Likewise.
61431 * soft-fp/fixsfti.c: Likewise.
61432 * soft-fp/fixtfdi.c: Likewise.
61433 * soft-fp/fixtfsi.c: Likewise.
61434 * soft-fp/fixtfti.c: Likewise.
61435 * soft-fp/fixunsdfdi.c: Likewise.
61436 * soft-fp/fixunsdfsi.c: Likewise.
61437 * soft-fp/fixunsdfti.c: Likewise.
61438 * soft-fp/fixunssfdi.c: Likewise.
61439 * soft-fp/fixunssfsi.c: Likewise.
61440 * soft-fp/fixunssfti.c: Likewise.
61441 * soft-fp/fixunstfdi.c: Likewise.
61442 * soft-fp/fixunstfsi.c: Likewise.
61443 * soft-fp/fixunstfti.c: Likewise.
61444 * soft-fp/floatdidf.c: Likewise.
61445 * soft-fp/floatdisf.c: Likewise.
61446 * soft-fp/floatditf.c: Likewise.
61447 * soft-fp/floatsidf.c: Likewise.
61448 * soft-fp/floatsisf.c: Likewise.
61449 * soft-fp/floatsitf.c: Likewise.
61450 * soft-fp/floattidf.c: Likewise.
61451 * soft-fp/floattisf.c: Likewise.
61452 * soft-fp/floattitf.c: Likewise.
61453 * soft-fp/floatundidf.c: Likewise.
61454 * soft-fp/floatundisf.c: Likewise.
61455 * soft-fp/floatunditf.c: Likewise.
61456 * soft-fp/floatunsidf.c: Likewise.
61457 * soft-fp/floatunsisf.c: Likewise.
61458 * soft-fp/floatunsitf.c: Likewise.
61459 * soft-fp/floatuntidf.c: Likewise.
61460 * soft-fp/floatuntisf.c: Likewise.
61461 * soft-fp/floatuntitf.c: Likewise.
61462 * soft-fp/fmadf4.c: Likewise.
61463 * soft-fp/fmasf4.c: Likewise.
61464 * soft-fp/fmatf4.c: Likewise.
61465 * soft-fp/gedf2.c: Likewise.
61466 * soft-fp/gesf2.c: Likewise.
61467 * soft-fp/getf2.c: Likewise.
61468 * soft-fp/ledf2.c: Likewise.
61469 * soft-fp/lesf2.c: Likewise.
61470 * soft-fp/letf2.c: Likewise.
61471 * soft-fp/muldf3.c: Likewise.
61472 * soft-fp/mulsf3.c: Likewise.
61473 * soft-fp/multf3.c: Likewise.
61474 * soft-fp/negdf2.c: Likewise.
61475 * soft-fp/negsf2.c: Likewise.
61476 * soft-fp/negtf2.c: Likewise.
61477 * soft-fp/op-1.h: Likewise.
61478 * soft-fp/op-2.h: Likewise.
61479 * soft-fp/op-4.h: Likewise.
61480 * soft-fp/op-8.h: Likewise.
61481 * soft-fp/op-common.h: Likewise.
61482 * soft-fp/quad.h: Likewise.
61483 * soft-fp/single.h: Likewise.
61484 * soft-fp/soft-fp.h: Likewise.
61485 * soft-fp/sqrtdf2.c: Likewise.
61486 * soft-fp/sqrtsf2.c: Likewise.
61487 * soft-fp/sqrttf2.c: Likewise.
61488 * soft-fp/subdf3.c: Likewise.
61489 * soft-fp/subsf3.c: Likewise.
61490 * soft-fp/subtf3.c: Likewise.
61491 * soft-fp/truncdfsf2.c: Likewise.
61492 * soft-fp/trunctfdf2.c: Likewise.
61493 * soft-fp/trunctfsf2.c: Likewise.
61494 * soft-fp/trunctfxf2.c: Likewise.
61495 * soft-fp/unorddf2.c: Likewise.
61496 * soft-fp/unordsf2.c: Likewise.
61497 * soft-fp/unordtf2.c: Likewise.
61498
61499 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61500
61501 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61502 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61503
61504 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61505
61506 * elf/dl-libc.c: Clear initfini list after freeing.
61507
61508 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61509
61510 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61511 * soft-fp/addsf3.c: Likewise.
61512 * soft-fp/addtf3.c: Likewise.
61513 * soft-fp/divdf3.c: Likewise.
61514 * soft-fp/divsf3.c: Likewise.
61515 * soft-fp/divtf3.c: Likewise.
61516 * soft-fp/double.h: Likewise.
61517 * soft-fp/eqdf2.c: Likewise.
61518 * soft-fp/eqsf2.c: Likewise.
61519 * soft-fp/eqtf2.c: Likewise.
61520 * soft-fp/extenddftf2.c: Likewise.
61521 * soft-fp/extended.h: Likewise.
61522 * soft-fp/extendsfdf2.c: Likewise.
61523 * soft-fp/extendsftf2.c: Likewise.
61524 * soft-fp/extendxftf2.c: Likewise.
61525 * soft-fp/fixdfdi.c: Likewise.
61526 * soft-fp/fixdfsi.c: Likewise.
61527 * soft-fp/fixdfti.c: Likewise.
61528 * soft-fp/fixsfdi.c: Likewise.
61529 * soft-fp/fixsfsi.c: Likewise.
61530 * soft-fp/fixsfti.c: Likewise.
61531 * soft-fp/fixtfdi.c: Likewise.
61532 * soft-fp/fixtfsi.c: Likewise.
61533 * soft-fp/fixtfti.c: Likewise.
61534 * soft-fp/fixunsdfdi.c: Likewise.
61535 * soft-fp/fixunsdfsi.c: Likewise.
61536 * soft-fp/fixunsdfti.c: Likewise.
61537 * soft-fp/fixunssfdi.c: Likewise.
61538 * soft-fp/fixunssfsi.c: Likewise.
61539 * soft-fp/fixunssfti.c: Likewise.
61540 * soft-fp/fixunstfdi.c: Likewise.
61541 * soft-fp/fixunstfsi.c: Likewise.
61542 * soft-fp/fixunstfti.c: Likewise.
61543 * soft-fp/floatdidf.c: Likewise.
61544 * soft-fp/floatdisf.c: Likewise.
61545 * soft-fp/floatditf.c: Likewise.
61546 * soft-fp/floatsidf.c: Likewise.
61547 * soft-fp/floatsisf.c: Likewise.
61548 * soft-fp/floatsitf.c: Likewise.
61549 * soft-fp/floattidf.c: Likewise.
61550 * soft-fp/floattisf.c: Likewise.
61551 * soft-fp/floattitf.c: Likewise.
61552 * soft-fp/floatundidf.c: Likewise.
61553 * soft-fp/floatundisf.c: Likewise.
61554 * soft-fp/floatunsidf.c: Likewise.
61555 * soft-fp/floatunsisf.c: Likewise.
61556 * soft-fp/floatuntidf.c: Likewise.
61557 * soft-fp/floatuntisf.c: Likewise.
61558 * soft-fp/floatuntitf.c: Likewise.
61559 * soft-fp/fmadf4.c: Likewise.
61560 * soft-fp/fmasf4.c: Likewise.
61561 * soft-fp/fmatf4.c: Likewise.
61562 * soft-fp/gedf2.c: Likewise.
61563 * soft-fp/gesf2.c: Likewise.
61564 * soft-fp/getf2.c: Likewise.
61565 * soft-fp/ledf2.c: Likewise.
61566 * soft-fp/lesf2.c: Likewise.
61567 * soft-fp/letf2.c: Likewise.
61568 * soft-fp/muldf3.c: Likewise.
61569 * soft-fp/mulsf3.c: Likewise.
61570 * soft-fp/multf3.c: Likewise.
61571 * soft-fp/negdf2.c: Likewise.
61572 * soft-fp/negsf2.c: Likewise.
61573 * soft-fp/negtf2.c: Likewise.
61574 * soft-fp/op-1.h: Likewise.
61575 * soft-fp/op-2.h: Likewise.
61576 * soft-fp/op-4.h: Likewise.
61577 * soft-fp/op-8.h: Likewise.
61578 * soft-fp/op-common.h: Likewise.
61579 * soft-fp/quad.h: Likewise.
61580 * soft-fp/single.h: Likewise.
61581 * soft-fp/soft-fp.h: Likewise.
61582 * soft-fp/sqrtdf2.c: Likewise.
61583 * soft-fp/sqrtsf2.c: Likewise.
61584 * soft-fp/sqrttf2.c: Likewise.
61585 * soft-fp/subdf3.c: Likewise.
61586 * soft-fp/subsf3.c: Likewise.
61587 * soft-fp/subtf3.c: Likewise.
61588 * soft-fp/truncdfsf2.c: Likewise.
61589 * soft-fp/trunctfdf2.c: Likewise.
61590 * soft-fp/trunctfsf2.c: Likewise.
61591 * soft-fp/trunctfxf2.c: Likewise.
61592 * soft-fp/unorddf2.c: Likewise.
61593 * soft-fp/unordsf2.c: Likewise.
61594 * soft-fp/unordtf2.c: Likewise.
61595
61596 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
61597
61598 [BZ #15672]
61599 * misc/error.c (error_tail): Fix possible buffer overflow.
61600
61601 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
61602
61603 [BZ #13028]
61604 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61605 address.
61606
61607 2013-10-14 P. J. McDermott <pj@pehjota.net>
61608
61609 [BZ #832]
61610 * elf/ldd.bash.in (try_trace): New function. Delete previous code
61611 testing pipefail option.
61612
61613 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61614
61615 * soft-fp/double.h: Indent preprocessor directives inside #if.
61616 * soft-fp/extended.h: Likewise.
61617 * soft-fp/op-2.h: Likewise.
61618 * soft-fp/op-4.h: Likewise.
61619 * soft-fp/op-common.h: Likewise.
61620 * soft-fp/quad.h: Likewise.
61621 * soft-fp/single.h: Likewise.
61622 * soft-fp/soft-fp.h: Likewise.
61623
61624 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
61625
61626 * iconv/iconv_prog.c: Fix typos.
61627 * stdio-common/psiginfo-data.h: Likewise.
61628
61629 2013-10-12 Reuben Thomas <rrt@sc3d.org>
61630
61631 [BZ #15764]
61632 * locale/setlocale.c: Fix typo.
61633
61634 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61635
61636 [BZ #16036]
61637 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61638 signaling NaN arguments.
61639 * soft-fp/unordsf2.c (__unordsf2): Likewise.
61640 * soft-fp/unordtf2.c (__unordtf2): Likewise.
61641
61642 [BZ #14910]
61643 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61644 unordered operands.
61645 * soft-fp/gesf2.c (__gesf2): Likewise.
61646 * soft-fp/getf2.c (__getf2): Likewise.
61647 * soft-fp/ledf2.c (__ledf2): Likewise.
61648 * soft-fp/lesf2.c (__lesf2): Likewise.
61649 * soft-fp/letf2.c (__letf2): Likewise.
61650
61651 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61652 * soft-fp/eqsf2.c (__eqsf2): Likewise.
61653 * soft-fp/eqtf2.c (__eqtf2): Likewise.
61654 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61655 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61656 * soft-fp/fixdfti.c (__fixdfti): Likewise.
61657 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61658 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61659 * soft-fp/fixsfti.c (__fixsfti): Likewise.
61660 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61661 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61662 * soft-fp/fixtfti.c (__fixtfti): Likewise.
61663 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61664 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61665 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61666 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61667 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61668 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61669 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61670 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61671 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61672 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61673 * soft-fp/floatdisf.c (__floatdisf): Likewise.
61674 * soft-fp/floatsisf.c (__floatsisf): Likewise.
61675 * soft-fp/floattidf.c (__floattidf): Likewise.
61676 * soft-fp/floattisf.c (__floattisf): Likewise.
61677 * soft-fp/floattitf.c (__floattitf): Likewise.
61678 * soft-fp/floatundidf.c (__floatundidf): Likewise.
61679 * soft-fp/floatundisf.c (__floatundisf): Likewise.
61680 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61681 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61682 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61683 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61684 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61685 * soft-fp/gesf2.c (__gesf2): Likewise.
61686 * soft-fp/getf2.c (__getf2): Likewise.
61687 * soft-fp/ledf2.c (__ledf2): Likewise.
61688 * soft-fp/lesf2.c (__lesf2): Likewise.
61689 * soft-fp/letf2.c (__letf2): Likewise.
61690
61691 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
61692 Undefine and redefine.
61693 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
61694 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
61695 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
61696 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
61697 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61698 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
61699 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61700 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
61701 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61702 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61703 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61704 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61705 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61706 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61707 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61708
61709 [BZ #16032]
61710 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61711 without decrementing exponent if mantissa >= that for the
61712 denominator, not >.
61713 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61714 denominator, not >. Decrement exponent in < case instead of
61715 incrementing in >= case.
61716 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61717 without decrementing exponent if mantissa >= that for the
61718 denominator, not >.
61719
61720 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61721 computing saturated result for unsigned overflow.
61722
61723 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61724 Jeff Law <law@redhat.com>
61725
61726 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61727 (atan2Mp): Add systemtap probe marker.
61728 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61729 (__ieee754_log): Add systemtap probe marker.
61730 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61731 (atanMp): Add systemtap probe marker.
61732 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61733 (tanMp): Add systemtap probe marker.
61734 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61735 (__slowexp): Add systemtap probe marker.
61736 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61737 (__slowpow): Add systemtap probe marker.
61738 * manual/probes.texi: Document probes.
61739
61740 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
61741
61742 [BZ #15362]
61743 * libio/fileops.c (_IO_new_file_write): Return count of bytes
61744 written.
61745 (_IO_new_file_xsputn): Don't return EOF if nothing has been
61746 written.
61747 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61748 written to buffer but not flushed.
61749 * libio/iofwrite_u.c: Likewise.
61750 * libio/iopadn.c: Return bytes returned even if EOF was
61751 encountered.
61752 * libio/iowpadn.c: Likewise.
61753 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61754 if _IO_padn does not write the whole buffer.
61755 [!COMPILE_WPRINTF] (PAD): Likewise.
61756
61757 2013-10-10 David S. Miller <davem@davemloft.net>
61758
61759 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61760 directory block.
61761
61762 2013-10-10 Joseph Myers <joseph@codesourcery.com>
61763
61764 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
61765 instead of FSF address.
61766 * soft-fp/fixdfti.c: Likewise.
61767 * soft-fp/fixsfti.c: Likewise.
61768 * soft-fp/fixtfti.c: Likewise.
61769 * soft-fp/fixunsdfti.c: Likewise.
61770 * soft-fp/fixunssfti.c: Likewise.
61771 * soft-fp/fixunstfti.c: Likewise.
61772 * soft-fp/floattidf.c: Likewise.
61773 * soft-fp/floattisf.c: Likewise.
61774 * soft-fp/floattitf.c: Likewise.
61775 * soft-fp/floatuntidf.c: Likewise.
61776 * soft-fp/floatuntisf.c: Likewise.
61777 * soft-fp/floatuntitf.c: Likewise.
61778 * soft-fp/trunctfxf2.c: Likewise.
61779
61780 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
61781 * soft-fp/fixdfti.c: Likewise.
61782 * soft-fp/fixsfti.c: Likewise.
61783 * soft-fp/fixtfti.c: Likewise.
61784 * soft-fp/fixunsdfti.c: Likewise.
61785 * soft-fp/fixunssfti.c: Likewise.
61786 * soft-fp/fixunstfti.c: Likewise.
61787 * soft-fp/floattidf.c: Likewise.
61788 * soft-fp/floattisf.c: Likewise.
61789 * soft-fp/floattitf.c: Likewise.
61790 * soft-fp/floatuntidf.c: Likewise.
61791 * soft-fp/floatuntisf.c: Likewise.
61792 * soft-fp/floatuntitf.c: Likewise.
61793 * soft-fp/trunctfxf2.c: Likewise.
61794
61795 2013-10-10 David S. Miller <davem@davemloft.net>
61796
61797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61798
61799 2013-10-10 Joseph Myers <joseph@codsourcery.com>
61800
61801 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61802 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61803 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61804 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61805 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61806 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61807 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61808
61809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61810 for NaNs before doing comparisons on argument.
61811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61812 Likewise.
61813
61814 2013-10-10 Will Newton <will.newton@linaro.org>
61815
61816 * malloc/hooks.c (memalign_check): Ensure the value of bytes
61817 passed to _int_memalign does not overflow.
61818
61819 2013-10-10 Torvald Riegel <triegel@redhat.com>
61820
61821 * scripts/bench.pl: Add include-sources directive.
61822 * benchtests/README: Update documentation.
61823
61824 2013-10-10 Joseph Myers <joseph@codesourcery.com>
61825
61826 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61827 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61828 instead of FP_INIT_ROUNDMODE.
61829 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61830 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61831
61832 [BZ #16034]
61833 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
61834 copy class of input value.
61835 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
61836 not handle exceptions.
61837 * soft-fp/negsf2.c (__negsf2): Likewise.
61838 * soft-fp/negtf2.c (__negtf2): Likewise.
61839 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61840
61841 2013-10-09 Joseph Myers <joseph@codesourcery.com>
61842
61843 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61844 semicolon. From Linux kernel.
61845
61846 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
61847
61848 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61849
61850 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
61851
61852 [BZ #156]
61853 * manual/socket.texi: Added statement about buffer
61854 for gethostbyname2_r.
61855
61856 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
61857
61858 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61859 Use .p2align directive instead, throughout.
61860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61861 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61862 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61865 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61866 * sysdeps/x86_64/strchr.S: Likewise.
61867 * sysdeps/x86_64/strrchr.S: Likewise.
61868
61869 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61870
61871 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61872
61873 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61874
61875 * sysdeps/generic/math_private.h (__mpsin1): Remove
61876 declaration.
61877 (__mpcos1): Likewise.
61878 (__mpsin): New argument __range_reduce.
61879 (__mpcos): Likewise.
61880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61881 (slow): Use __mpsin and __mpcos.
61882 (slow1): Likewise.
61883 (slow2): Likewise.
61884 (sloww): Likewise.
61885 (sloww1): Likewise.
61886 (sloww2): Likewise.
61887 (bsloww): Likewise.
61888 (bsloww1): Likewise.
61889 (bsloww2): Likewise.
61890 (cslow2): Likewise.
61891 (csloww): Likewise.
61892 (csloww1): Likewise.
61893 (csloww2): Likewise.
61894 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61895 range_reduce. Merge in __mpsin1.
61896 (__mpcos): Likewise.
61897 (__mpsin1): Remove.
61898 (__mpcos1): Likewise.
61899
61900 2013-10-07 Joseph Myers <joseph@codesourcery.com>
61901
61902 * locale/loadlocale.c (_nl_intern_locale_data): Use
61903 LOCFILE_ALIGNED_P.
61904 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61905 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61906 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61907 obstack data is appropriately aligned.
61908 (obstack_int32_grow_fast): Likewise.
61909 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61910 * locale/programs/locfile.c (add_locale_uint32): Likewise.
61911 (add_locale_uint32_array): Likewise.
61912
61913 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
61914
61915 * benchtests/Makefile: Remove ARGLIST and RET variables.
61916 ($(objpfx)bench-%.c): Pass only function name to the script.
61917 * benchtests/README: Update documentation.
61918 * benchtests/acos-inputs: Add new directives.
61919 * benchtests/acosh-inputs: Likewise.
61920 * benchtests/asin-inputs: Likewise.
61921 * benchtests/asinh-inputs: Likewise.
61922 * benchtests/atan-inputs: Likewise.
61923 * benchtests/atanh-inputs: Likewise.
61924 * benchtests/cos-inputs: Likewise.
61925 * benchtests/cosh-inputs: Likewise.
61926 * benchtests/exp-inputs: Likewise.
61927 * benchtests/log-inputs: Likewise.
61928 * benchtests/pow-inputs: Likewise.
61929 * benchtests/rint-inputs: Likewise.
61930 * benchtests/sin-inputs: Likewise.
61931 * benchtests/sinh-inputs: Likewise.
61932 * benchtests/tan-inputs: Likewise.
61933 * benchtests/tanh-inputs: Likewise.
61934 * scripts/bench.pl: Add support for new directives.
61935
61936 2013-10-07 Alan Modra <amodra@gmail.com>
61937
61938 * README: Fix careless merge.
61939
61940 2013-10-05 Alan Modra <amodra@gmail.com>
61941
61942 * NEWS: Mention powerpc64le support and bugs fixed.
61943 * README: Both big-endian and little-endian powerpc64 supported.
61944
61945 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
61946
61947 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61948 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61949 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61950 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61951
61952 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
61953
61954 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61955 match prototype.
61956
61957 2013-10-04 Joseph Myers <joseph@codesourcery.com>
61958
61959 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61960 Move -mhard-float appending from
61961 ports/sysdeps/powerpc/powerpc32/Makefile.
61962 [$(with-fp) = yes] (ASFLAGS): Likewise.
61963 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61964 * sysdeps/powerpc/nofpu: Move directory from
61965 ports/sysdeps/powerpc/nofpu.
61966 * sysdeps/powerpc/soft-fp: Move directory from
61967 ports/sysdeps/powerpc/soft-fp.
61968 * sysdeps/powerpc/powerpc32/405: Move directory from
61969 ports/sysdeps/powerpc/powerpc32/405.
61970 * sysdeps/powerpc/powerpc32/440: Move directory from
61971 ports/sysdeps/powerpc/powerpc32/440.
61972 * sysdeps/powerpc/powerpc32/464: Move directory from
61973 ports/sysdeps/powerpc/powerpc32/464.
61974 * sysdeps/powerpc/powerpc32/476: Move directory from
61975 ports/sysdeps/powerpc/powerpc32/476.
61976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61977 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61979 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61981 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61983 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61985 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61986 * README: Update for powerpc-*-linux-gnu software floating point
61987 support in libc.
61988
61989 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61990 case to powerpc/powerpc32*.
61991 * sysdeps/unix/sysv/linux/configure: Regenerated.
61992
61993 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61994 (_FPU_MASK_OM): Define as 0x04.
61995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61997 0x00c10080.
61998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61999 0x0000003c.
62000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62001
62002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62003 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62004 getcontext_e500.
62005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62006 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62007 setcontext_e500.
62008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62009 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62010 and setcontext_e500.
62011
62012 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62013
62014 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62015
62016 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62017
62018 * manual/threads.texi (Default Thread Attributes): Fix typo.
62019
62020 2013-10-04 Will Newton <will.newton@linaro.org>
62021
62022 * malloc/Makefile: Add tst-memalign.
62023 * malloc/tst-memalign.c: New file.
62024
62025 * malloc/tst-posix_memalign.c: Add comments.
62026 (do_test): Add comments and call free on all potentially
62027 allocated pointers. Add space after cast.
62028
62029 * malloc/tst-pvalloc.c: Add comments.
62030 (do_test): Add comments and call free on all potentially
62031 allocated pointers. Remove duplicate check for NULL pointer.
62032 Add space after cast.
62033
62034 * malloc/tst-valloc.c: Add comments.
62035 (do_test): Add comments and call free on all potentially
62036 allocated pointers. Remove duplicate check for NULL pointer.
62037 Add space after cast.
62038
62039 2013-10-04 Alan Modra <amodra@gmail.com>
62040
62041 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62042 Use stdint types in rather than __attribute__((mode())).
62043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62044
62045 2013-10-04 Alan Modra <amodra@gmail.com>
62046
62047 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62048 Correct handling of unaligned relocs for little-endian.
62049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62050
62051 2013-10-04 Alan Modra <amodra@gmail.com>
62052
62053 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62054 * configure: Regenerate.
62055 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62056 * shlib-versions: Likewise.
62057
62058 2013-10-04 Alan Modra <amodra@gmail.com>
62059
62060 * string/tester.c (test_memrchr): Increment reported test cycle.
62061
62062 2013-10-04 Alan Modra <amodra@gmail.com>
62063
62064 * string/test-memcpy.c (do_one_test): When reporting errors, print
62065 string address and don't overrun end of string.
62066
62067 2013-10-04 Alan Modra <amodra@gmail.com>
62068
62069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62070 insrdi. Make better use of reg selection to speed exit slightly.
62071 Schedule entry path a little better. Remove useless "are we done"
62072 checks on entry to main loop. Handle wrapping around zero address.
62073 Correct main loop count. Handle single left-over word from main
62074 loop inline rather than by using loop_small. Remove extra word
62075 case in loop_small caused by wrong loop count. Add little-endian
62076 support.
62077 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62079 cache hint.
62080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62081 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62082 support. Avoid rlwimi.
62083 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62084
62085 2013-10-04 Alan Modra <amodra@gmail.com>
62086
62087 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62088 insrdi. Formatting.
62089 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62090 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62091 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62092 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62093 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62094 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62095
62096 2013-10-04 Alan Modra <amodra@gmail.com>
62097
62098 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62099 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62101 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62102 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62103 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62104 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62105 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62106 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62107 use of regs. Use power7 mtocrf. Tidy function tails.
62108
62109 2013-10-04 Alan Modra <amodra@gmail.com>
62110
62111 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62112 Formatting. Consistently use rXXX register defines or rN defines.
62113 Use early exit labels that avoid restoring unused non-volatile regs.
62114 Make cr field use more consistent with rWORDn compares. Rename
62115 regs used as shift registers for unaligned loop, using rN defines
62116 for short lifetime/multiple use regs.
62117 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62119 addi 1,1,64 to pop stack frame. Simplify return value code.
62120 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62121
62122 2013-10-04 Alan Modra <amodra@gmail.com>
62123
62124 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62125 support. Correct typos, formatting. Optimize tail. Use insrdi
62126 rather than rlwimi.
62127 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62129 little-endian support. Correct typos.
62130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62131 rather than rlwimi.
62132 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62133 in loop and entry code to keep "and." results.
62134 (strchr): Add little-endian support. Comment. Move cntlzd
62135 earlier in tail.
62136 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62137
62138 2013-10-04 Alan Modra <amodra@gmail.com>
62139
62140 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62141 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62142 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62143 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62144
62145 2013-10-04 Alan Modra <amodra@gmail.com>
62146
62147 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62148 (rTMP): Define as r11.
62149 (strcmp): Add little-endian support. Optimise tail.
62150 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62151 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62152 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62154 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62157
62158 2013-10-04 Alan Modra <amodra@gmail.com>
62159
62160 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62161 little-endian support. Remove unnecessary "are we done" tests.
62162 Handle "s" wrapping around zero and extremely large "size".
62163 Correct main loop count. Handle single left-over word from main
62164 loop inline rather than by using small_loop. Correct comments.
62165 Delete "zero" tail, use "end_max" instead.
62166 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62167
62168 2013-10-04 Alan Modra <amodra@gmail.com>
62169
62170 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62171 support. Don't branch over align.
62172 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62173 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62174 support. Rearrange tmp reg use to suit. Comment.
62175 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62176
62177 2013-10-04 Alan Modra <amodra@gmail.com>
62178
62179 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62180
62181 2013-10-04 Alan Modra <amodra@gmail.com>
62182
62183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62184 conditional form of branch and link when obtaining pc.
62185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62186
62187 2013-10-04 Alan Modra <amodra@gmail.com>
62188
62189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62190 HIWORD/LOWORD.
62191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62193
62194 2013-10-04 Alan Modra <amodra@gmail.com>
62195
62196 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62197 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62198 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62199 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62200 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62201 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62202 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62203 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62204 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62205 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62206
62207 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62208 Alistair Popple <alistair@ozlabs.au.ibm.com>
62209 Alan Modra <amodra@gmail.com>
62210
62211 [BZ #15723]
62212 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62213 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62214 _dl_hwcap access for little-endian.
62215 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62216 destroy vmx regs when saving unaligned.
62217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62218 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62219 destroy vmx regs when saving unaligned.
62220
62221 2013-10-04 Alan Modra <amodra@gmail.com>
62222
62223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62224 Don't use a union to pack hi/low value.
62225
62226 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62227
62228 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62229 for little-endian.
62230 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62232 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62233 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62234 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62235
62236 2013-10-04 Alan Modra <amodra@gmail.com>
62237
62238 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62239 constants to usual value for .cst8 section, and remove redundant
62240 high address load.
62241 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62242 constant for 0x1p52. Load little-endian words of double from
62243 correct stack offsets.
62244
62245 2013-10-04 Alan Modra <amodra@gmail.com>
62246
62247 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62248 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62249 words of double from correct stack offsets.
62250 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62251 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62252 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62254 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62257 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62258 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62263 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62264 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62265 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62266 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62267
62268 2013-10-04 Alan Modra <amodra@gmail.com>
62269
62270 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62271 64-bit int/double union.
62272 (_FPU_SETCW): Likewise.
62273 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62274 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62275
62276 2013-10-04 Alan Modra <amodra@gmail.com>
62277
62278 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62279 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62280
62281 2013-10-04 Alan Modra <amodra@gmail.com>
62282
62283 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62284 use vector int constants.
62285 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62286
62287 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62288
62289 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62290 array with long long.
62291 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62292 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62293 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62294 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62295 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62296 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62297 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62298 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62299 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62300 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62301 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62302 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62303 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62304
62305 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62306
62307 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62308 (__signbit): Likewise. Correct for little-endian.
62309 (__signbitl): Call __signbit.
62310 (lrint): Correct for little-endian.
62311 (lrintf): Call lrint.
62312
62313 2013-10-04 Alan Modra <amodra@gmail.com>
62314
62315 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62316 union 32-bit int array member with 64-bit int array.
62317 (t515, tm256): Double rather than long double.
62318 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62319
62320 2013-10-04 Alan Modra <amodra@gmail.com>
62321
62322 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62323 Delete.
62324 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62326 version of math_ldbl.h.
62327
62328 2013-10-04 Alan Modra <amodra@gmail.com>
62329
62330 [BZ #15734], [BZ #15735]
62331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62332 all uses of ieee875 long double macros and unions. Simplify test
62333 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62334 ldbl_extract_mantissa value for ix,iy exponents. Properly
62335 normalize after ldbl_extract_mantissa, and don't add hidden bit
62336 already handled. Don't treat low word of ieee854 mantissa like
62337 low word of IBM long double and mask off bit when testing for
62338 zero.
62339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62340 all uses of ieee875 long double macros and unions. Simplify tests
62341 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62342 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62343 two1022, instead use their values. Recognise that tests for large
62344 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62345 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62346 Rewrite all uses of ieee875 long double macros and unions. Simplify
62347 test for 0.0L and nan. Correct negation.
62348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62349 ieee875 long double macros and unions. Correct output for large
62350 magnitude x. Correct absolute value calculation.
62351 (__erfcl): Likewise.
62352 * math/libm-test.inc: Add tests for errors discovered in IBM long
62353 double versions of fmodl, remainderl, erfl and erfcl.
62354
62355 2013-10-04 Alan Modra <amodra@gmail.com>
62356
62357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62358 all uses of ieee854 long double macros and unions. Simplify tests
62359 for long doubles that are fully specified by the high double.
62360 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62361 Likewise.
62362 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62363 Remove dead code too.
62364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62365 (__ieee754_ynl): Likewise.
62366 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62369 Remove dead code too.
62370 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62373 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62374 Simplify.
62375 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62376 Simplify.
62377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62378 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62380 Comment on variable precision.
62381 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62382 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62383 Likewise.
62384 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62387 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62388 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62389
62390 2013-10-04 Alan Modra <amodra@gmail.com>
62391
62392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62393 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62394 all uses of ieee854 long double macros and unions.
62395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62397 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62399 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62400 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62401 Likewise.
62402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62408 Simplify sign and nan test too.
62409 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62410 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62411 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62412 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62413 Likewise.
62414 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62415 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62416 Likewise.
62417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62418 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62419 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62420 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62421 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62423
62424 2013-10-04 Alan Modra <amodra@gmail.com>
62425
62426 * stdio-common/printf_size.c (__printf_size): Don't use
62427 union ieee854_long_double in fpnum union.
62428 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62429 signbit macro to retrieve sign from long double.
62430 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62431 retrieve sign from long double.
62432 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62433 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62434 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62435 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62436 * math/test-misc.c (main): Don't use union ieee854_long_double.
62437
62438 2013-10-04 Alan Modra <amodra@gmail.com>
62439
62440 [BZ #15680]
62441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62442 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62443 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62444 calculation. Remove unnecessary test for denormal exponent.
62445 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62446 Correct handling of denormals. Avoid undefined shift behaviour.
62447 Correct normalisation of low mantissa when low double is denormal.
62448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62449 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62450 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62451 Correct normalisation of low mantissa. Test for overflow of high
62452 mantissa and normalise.
62453 (ldbl_nearbyint): Use more readable constant for two52.
62454 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62455 (__mpn_construct_long_double): Fix test for overflow of high
62456 mantissa and correct normalisation. Avoid undefined shift.
62457
62458 2013-10-04 Alan Modra <amodra@gmail.com>
62459
62460 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62461 (union ibm_extended_long_double): Define as an array of ieee754_double.
62462 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62463 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62464 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62465 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62469 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62470 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62471 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62473
62474 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62475
62476 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62477 page size instead of calling getpagesize.
62478
62479 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62480 (LOCFILE_ALIGN_MASK): Likewise.
62481 (LOCFILE_ALIGN_UP): Likewise.
62482 (LOCFILE_ALIGNED_P): Likewise.
62483 * locale/programs/ld-collate.c (collate_output): Use the new
62484 macros instead of __alignof__ (int32_t).
62485 * locale/weight.h (findidx): Likewise.
62486
62487 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62488
62489 [BZ #431]
62490 * manual/string.texi: Fix strncat and wcsncat.
62491
62492 2013-10-03 Brooks Moses <bmoses@google.com>
62493
62494 [BZ #15915]
62495 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62496 * Makerules: ...here, and adjust associated comments.
62497
62498 2013-10-02 Will Newton <will.newton@linaro.org>
62499
62500 * malloc/Makefile: Add tst-pvalloc.
62501 * malloc/tst-pvalloc.c: New file.
62502
62503 2013-10-02 Will Newton <will.newton@linaro.org>
62504
62505 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62506 improve test coverage.
62507
62508 2013-10-02 Will Newton <will.newton@linaro.org>
62509
62510 * malloc/Makefile: Add tst-posix_memalign.
62511 * malloc/tst-posix_memalign.c: New file.
62512
62513 2013-10-01 Eric Blake <eblake@redhat.com>
62514
62515 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62516 Use __THROWNL rather than __THROW on static functions.
62517
62518 2013-09-30 Petr Machata <pmachata@redhat.com>
62519
62520 * elf/elf.h (R_AARCH64_ABS16): New macro.
62521 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62522 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62523 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62524 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62525 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62526 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62527 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62528 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62529 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62530 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62531 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62532 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62533 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62534 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62535 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62536 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62537 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62538 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62539 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62540 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62541 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62542 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62543 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62544 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62545 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62546 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62547 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62548 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62549 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62550 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62551 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62552 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62553 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62554 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62555 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62556 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62557 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62558 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62559 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62560 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62561 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62562 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62563 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62564 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62565 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62566 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62567 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62568 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62569 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62570 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62571 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62572 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62573 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62574 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62575 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62576 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62577 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62578 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62579 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62580 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62581 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62582 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62583 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62584 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62585 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62586 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62587 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62588 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62589 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62590 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62591 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62592 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62593 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62594 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62595 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62596 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62597 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62598 (R_AARCH64_TLSDESC_LDR): Likewise.
62599 (R_AARCH64_TLSDESC_ADD): Likewise.
62600 (R_AARCH64_TLSDESC_CALL): Likewise.
62601
62602 2013-09-30 Andreas Schwab <schwab@suse.de>
62603
62604 [BZ #15048]
62605 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62606 the nss database lookup.
62607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62609
62610 2013-09-28 Mike Frysinger <vapier@gentoo.org>
62611
62612 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62613
62614 2013-09-28 P. J. McDermott <pj@pehjota.net>
62615
62616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62617 ${Bash-specific parameter/pattern/string} parameter expansion.
62618 * sysdeps/unix/make-syscalls.sh: Likewise.
62619
62620 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62621
62622 * sysdeps/sh/stackguard-macros.h: New file.
62623
62624 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
62625
62626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62628 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62629 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62630 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62631 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62632
62633 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62634
62635 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62636 Fix thread ID register.
62637
62638 2013-09-25 Joseph Myers <joseph@codesourcery.com>
62639
62640 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62641 [POSIX || UNIX98]: Require rather than permitting all symbols from
62642 <time.h>.
62643 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62644 element of struct sched_param.
62645 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62646 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62647 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62648 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62649 constant.
62650
62651 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
62652
62653 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62654 argument calculation.
62655
62656 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62657
62658 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62659 Expect macro.
62660 [POSIX] (pthread_attr_t): Do not require type.
62661 [POSIX] (pthread_cond_t): Likewise.
62662 [POSIX] (pthread_condattr_t): Likewise.
62663 [POSIX] (pthread_key_t): Likewise.
62664 [POSIX] (pthread_mutex_t): Likewise.
62665 [POSIX] (pthread_mutexattr_t): Likewise.
62666 [POSIX] (pthread_once_t): Likewise.
62667 [POSIX] (pthread_t): Likewise.
62668 [POSIX-based standards] (pthread_atfork): Expect function.
62669
62670 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62671 Richard Sandiford <richard@codesourcery.com>
62672
62673 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62674 (swap_endianness_p): New extern variable.
62675 (set_big_endian): New inline function.
62676 (maybe_swap_uint32): Likewise.
62677 (maybe_swap_uint32_array): Likewise.
62678 (maybe_swap_uint32_obstack): Likewise.
62679 * locale/programs/locfile.c: Include <stdbool.h>.
62680 (swap_endianness_p): New variable.
62681 (add_locale_uint32): Call maybe_swap_uint32.
62682 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62683 (write_locale_data): Call maybe_swap_uint32_array.
62684 * locale/programs/ld-collate.c (obstack_int32_grow): Call
62685 maybe_swap_uint32.
62686 (obstack_int32_grow_fast): Likewise.
62687 (output_weightwc): Call maybe_swap_uint32_obstack.
62688 (collate_output): Likewise.
62689 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
62690 (OPT_LITTLE_ENDIAN): Likewise.
62691 (options): Add --little-endian and --big-endian options.
62692 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
62693 * locale/programs/locarchive.c: Include "locfile.h".
62694 (GET): New macro.
62695 (SET): Likewise.
62696 (INC): Likewise.
62697 (create_archive): Use the new macros to access fields of
62698 structures directly mapped from or written to locale archives.
62699 (oldlocrecentcmp): Likewise.
62700 (enlarge_archive): Likewise.
62701 (insert_name): Likewise.
62702 (add_alias): Likewise.
62703 (add_locale): Likewise.
62704 (delete_locales_from_archive): Likewise.
62705 (show_archive_content): Likewise.
62706 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
62707 locale data.
62708
62709 2013-09-24 Roland McGrath <roland@hack.frob.com>
62710
62711 * manual/freemanuals.texi: Updated from (newly) canonical copy at
62712 http://www.gnu.org/doc/freemanuals.texi.
62713 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62714
62715 2013-09-24 Will Newton <will.newton@linaro.org>
62716
62717 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62718 macro.
62719
62720 2013-09-23 Joseph Myers <joseph@codesourcery.com>
62721
62722 * locale/hashval.h (compute_hashval): Interpret bytes of key as
62723 unsigned char.
62724
62725 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
62726
62727 * manual/threads.texi (POSIX Threads): Fix a typo.
62728
62729 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
62730
62731 [BZ #14547]
62732 * string/tst-strcoll-overflow.c: New test case.
62733 * string/Makefile (xtests): Add tst-strcoll-overflow.
62734 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62735 cache if string sizes may cause integer overflow.
62736
62737 [BZ #14547]
62738 * string/strcoll_l.c (coll_seq): New members rule, idx,
62739 save_idx and back_us.
62740 (get_next_seq_nocache): New function.
62741 (do_compare_nocache): New function.
62742 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62743 when malloc fails.
62744
62745 2013-09-23 Carlos O'Donell <carlos@redhat.com>
62746
62747 [BZ #15754]
62748 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62749 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62750 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62751
62752 [BZ #15754]
62753 * elf/Makefile (tests): Add tst-ptrguard1.
62754 (tests-static): Add tst-ptrguard1-static.
62755 (tst-ptrguard1-ARGS): Define.
62756 (tst-ptrguard1-static-ARGS): Define.
62757 * elf/tst-ptrguard1.c: New file.
62758 * elf/tst-ptrguard1-static.c: New file.
62759 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62760 * sysdeps/i386/stackguard-macros.h: Likewise.
62761 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62762 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62763 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62764 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62765 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62766 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62767
62768 2013-09-23 Hector Marco <hecmargi@upv.es>
62769 Ismael Ripoll <iripoll@disca.upv.es>
62770 Carlos O'Donell <carlos@redhat.com>
62771
62772 [BZ #15754]
62773 * sysdeps/generic/stackguard-macros.h: Define
62774 __pointer_chk_guard_local and POINTER_CHK_GUARD.
62775 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62776 Define __pointer_chk_guard_local.
62777 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62778 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62779
62780 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
62781
62782 [BZ #15859]
62783 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62784
62785 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
62786
62787 * include/string.h (__ffs): Declare as hidden.
62788 * string/ffs.c (__ffs): Define as hidden.
62789 * sysdeps/i386/ffs.c (__ffs): Likewise.
62790 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62791 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62792 * sysdeps/s390/ffs.c (__ffs): Likewise.
62793 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62794
62795 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
62796
62797 * NEWS: Mention malloc probes.
62798
62799 * malloc/arena.c (new_heap): New memory_heap_new probe.
62800 (grow_heap): New memory_heap_more probe.
62801 (shrink_heap): New memory_heap_less probe.
62802 (heap_trim): New memory_heap_free probe.
62803 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62804 (systrim): New memory_sbrk_less probe.
62805 * manual/probes.texi: Document them.
62806
62807 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62808 * manual/probes.texi: Document it.
62809
62810 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62811 (__libc_realloc): Add memory_realloc_retry probe.
62812 (__libc_memalign): Add memory_memalign_retry probe.
62813 (__libc_valloc): Add memory_valloc_retry probe.
62814 (__libc_pvalloc): Add memory_pvalloc_retry probe.
62815 (__libc_calloc): Add memory_calloc_retry probe.
62816 * manual/probes.texi: Document them.
62817
62818 * malloc/arena.c (get_free_list): Add probe
62819 memory_arena_reuse_free_list.
62820 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62821 and memory_arena_reuse.
62822 (arena_get2) [!PER_THREAD]: Likewise.
62823 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62824 memory_arena_reuse_realloc.
62825 * manual/probes.texi: Document them.
62826
62827 * malloc/malloc.c (__libc_free): Add
62828 memory_mallopt_free_dyn_thresholds probe.
62829 (__libc_mallopt): Add multiple memory_mallopt probes.
62830 * manual/probes.texi: Document them.
62831
62832 * malloc/malloc.c: Include stap-probe.h.
62833 (__libc_mallopt): Add memory_mallopt probe.
62834 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62835 * manual/probes.texi: New.
62836 * manual/Makefile (chapters): Add probes.
62837 * manual/threads.texi: Set next node.
62838
62839 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
62840
62841 [BZ #15963, #13985]
62842 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62843 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62844 Add `Chinese' to `nan' entry name.
62845
62846 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62847
62848 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62849 (POLYNOMIAL): Likewise.
62850 (TAYLOR_SINCOS): Likewise.
62851 (TAYLOR_SLOW): Likewise.
62852 (__sin): Use TAYLOR_SINCOS.
62853 (__cos): Likewise.
62854 (slow): Use TAYLOR_SLOW.
62855 (sloww): Likewise.
62856 (bsloww): Likewise.
62857 (csloww): Likewise.
62858
62859 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62860
62861 * stdlib/strtod_l.c: Fix buffer overrun.
62862
62863 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62864
62865 * benchtests/Makefile (bench): Add sincos.
62866 * benchtests/bench-sincos.c: New file.
62867
62868 * math/libm-test.inc (cos_test_data): New test inputs.
62869 (sin_test_data): Likewise.
62870
62871 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62872 macro.
62873 (__sin): Use it.
62874 (__cos): Likewise.
62875 (slow1): Likewise.
62876 (slow2): Likewise.
62877 (sloww1): Likewise.
62878 (sloww2): Likewise.
62879 (bsloww1): Likewise.
62880 (bsloww2): Likewise.
62881 (cslow2): Likewise.
62882 (csloww1): Likewise.
62883 (csloww2): Likewise.
62884
62885 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62886 function.
62887 (__sin): Use it.
62888 (__cos): Likewise.
62889
62890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62891 gotos.
62892 (__cos): Likewise.
62893
62894 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
62895
62896 * config.h.in (HAVE_MIPS_NAN2008): New macro.
62897 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62898 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62899 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62900 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62901 * elf/cache.c (print_entry): Handle the new cache flags.
62902
62903 2013-09-18 Joseph Myers <joseph@codesourcery.com>
62904 Aldy Hernandez <aldyh@redhat.com>
62905
62906 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62907 Change condition to [_SOFT_FLOAT].
62908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62920 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62923 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62924 declaration.
62925
62926 2013-09-18 Joseph Myers <joseph@codesourcery.com>
62927
62928 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62929 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62930 (__longjmp): Use LOAD_GP to load saved GPRs.
62931 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62932 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62933 (__sigsetjmp): Use SAVE_GP to save GPRs.
62934
62935 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62936 Do not append -msoft-float.
62937 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62938
62939 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62940
62941 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62942
62943 2013-09-17 Joseph Myers <joseph@codesourcery.com>
62944
62945 [BZ #15966]
62946 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62947 (_FPU_GETCW): Use initial "__" on variable and field names but not
62948 on macro parameter name.
62949 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
62950 parentheses around reference to macro parameter.
62951
62952 2013-09-13 Richard Sandiford <richard@codesourcery.com>
62953
62954 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62955 prototype.
62956 (ctype_startup): Use uint32_t in cast and sizeof for
62957 ctype->charnames.
62958
62959 2013-09-11 Jia Liu <proljc@gmail.com>
62960
62961 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62962 __daddr_t_defined.
62963 [__FreeBSD__]: Likewise.
62964
62965 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
62966
62967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62968 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62969 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62970 (strchr): Remove __strchr_sse42 ifunc selection.
62971 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62972 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62973
62974 2013-09-11 Will Newton <will.newton@linaro.org>
62975
62976 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62977 parameter to RES. Remove hardcoded 1000 value.
62978 * benchtests/bench-skeleton.c (main): Pass RES parameter
62979 to TIMING_INIT and multiply result by 1000.
62980
62981 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62982
62983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62984
62985 2013-09-11 Andreas Schwab <schwab@suse.de>
62986
62987 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62988 if not defined.
62989 (O_TMPFILE) [__USE_GNU]: Define.
62990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62991 Define.
62992
62993 2013-09-11 Will Newton <will.newton@linaro.org>
62994
62995 [BZ #15857]
62996 * malloc/malloc.c (__libc_memalign): Check the value of bytes
62997 does not overflow.
62998
62999 2013-09-11 Will Newton <will.newton@linaro.org>
63000
63001 [BZ #15856]
63002 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63003 does not overflow.
63004
63005 2013-09-11 Will Newton <will.newton@linaro.org>
63006
63007 [BZ #15855]
63008 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63009 does not overflow.
63010
63011 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63012
63013 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63014 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63015 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63016 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63017 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63018
63019 2013-09-10 Allan McRae <allan@archlinux.org>
63020
63021 [BZ #15748]
63022 * manual/arith.texi (Parsing of Floats): Clarify
63023 cross-reference.
63024
63025 [BZ #15849]
63026 * manual/install.texi (Running make install): Mention
63027 --enable-pt-chown.
63028 * INSTALL: Regenerated.
63029
63030 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63031
63032 * csu/init-first.c (_init): Remove the !SHARED condition around
63033 FPU control word initialization.
63034 * elf/dl-support.c (_dl_fpu_control): New variable.
63035 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63036 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63037 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63038 * math/test-fpucw-static.c: New file.
63039 * math/test-fpucw-ieee.c: New file.
63040 * math/test-fpucw-ieee-static.c: New file.
63041 * math/Makefile (tests): Add `test-fpucw-ieee' and
63042 `$(tests-static)'.
63043 (tests-static): New variable.
63044 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63045 dependency to...
63046 [($(build-shared),yes)]
63047 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63048 ... this.
63049 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63050 New dependency.
63051
63052 2013-09-09 Allan McRae <allan@archlinux.org>
63053
63054 [BZ #15939]
63055 * manual/string.texi (Collation Functions): Fix typo in
63056 strcoll example.
63057 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63058
63059 [BZ #15893]
63060 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63061
63062 [BZ #15892]
63063 * libio/memstream.c (open_memstream): Fix memory leak.
63064 * libio/wmemstream.c (open_wmemstream): Likewise.
63065
63066 [BZ #15895]
63067 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63068
63069 2013-09-09 Will Newton <will.newton@linaro.org>
63070
63071 * malloc/Makefile: Add tst-realloc to tests.
63072 * malloc/tst-realloc.c: New file.
63073
63074 2013-09-09 Allan McRae <allan@archlinux.org>
63075
63076 [BZ #15844]
63077 * COPYING: Update from GNU website to fix FSF address.
63078 * COPYING.LIB: Likewise.
63079
63080 2013-09-06 David S. Miller <davem@davemloft.net>
63081
63082 * po/zh_TW.po: Update Chinese (traditional) translation from
63083 translation project.
63084
63085 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63086 Joseph Myers <joseph@codesourcery.com>
63087
63088 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63089 "localeinfo.h".
63090 (obstack_chunk_alloc): New macro.
63091 (obstack_chunk_free): Likewise.
63092 (record_offset): New function.
63093 (init_locale_data): Likewise.
63094 (align_locale_data): Likewise.
63095 (add_locale_empty): Likewise.
63096 (add_locale_raw_data): Likewise.
63097 (add_locale_raw_obstack): Likewise.
63098 (add_locale_string): Likewise.
63099 (add_locale_wstring): Likewise.
63100 (add_locale_uint32): Likewise.
63101 (add_locale_uint32_array): Likewise.
63102 (add_locale_char): Likewise.
63103 (start_locale_structure): Likewise.
63104 (end_locale_structure): Likewise.
63105 (start_locale_prelude): Likewise.
63106 (end_locale_prelude): Likewise.
63107 (write_locale_data): Take locale_file structure rather than an
63108 iovec.
63109 * locale/programs/locfile.h: Include "obstack.h".
63110 (struct locale_file): Change to store locale file contents instead
63111 of header.
63112 (init_locale_data): New prototype.
63113 (align_locale_data): Likewise.
63114 (add_locale_empty): Likewise.
63115 (add_locale_raw_data): Likewise.
63116 (add_locale_raw_obstack): Likewise.
63117 (add_locale_string): Likewise.
63118 (add_locale_wstring): Likewise.
63119 (add_locale_uint32): Likewise.
63120 (add_locale_uint32_array): Likewise.
63121 (add_locale_char): Likewise.
63122 (start_locale_structure): Likewise.
63123 (end_locale_structure): Likewise.
63124 (start_locale_prelude): Likewise.
63125 (end_locale_prelude): Likewise.
63126 (write_locale_data): Update prototype.
63127 * locale/programs/3level.h (struct TABLE): Remove result field.
63128 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63129 Use new locale_file interface.
63130 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63131 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63132 * locale/programs/ld-address.c (address_output): Use new
63133 locale_file interface.
63134 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63135 NO_ADD_LOCALE.
63136 (collate_finish): Don't call collseq_table_finalize.
63137 (collate_output): Use new locale_file interface.
63138 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63139 in file.
63140 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63141 (TABLE): Move defines earlier in file.
63142 (ELEMENT): Likewise.
63143 (DEFAULT): Likewise.
63144 (wctrans_table_add): Move macro and inline function earlier in
63145 file.
63146 (struct wctype_table): Move type earlier in file.
63147 (add_locale_wctype_table): New static prototype.
63148 (struct locale_ctype_t): Use logical types instead of struct iovec
63149 pointers for members.
63150 (ctype_output): Use new locale_file interface.
63151 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63152 new locale_file interface.
63153 (allocate_arrays): Update for use of new locale_file interface.
63154 * locale/programs/ld-identification.c (identification_output): Use
63155 new locale_file interface.
63156 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63157 * locale/programs/ld-messages.c (messages_output): Likewise.
63158 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63159 * locale/programs/ld-name.c (name_output): Likewise.
63160 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63161 * locale/programs/ld-paper.c (paper_output): Likewise.
63162 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63163 * locale/programs/ld-time.c (time_output): Likewise.
63164
63165 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63166
63167 * benchtests/Makefile: Add memrchr benchmark.
63168 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63169 benchmark as memrchr.
63170 * benchtests/bench-memrchr-ifunc.c: New file.
63171 * benchtests/bench-memrchr.c: New file.
63172
63173 2013-09-06 Will Newton <will.newton@linaro.org>
63174
63175 * benchtests/Makefile (string-bench): Add memcpy.
63176
63177 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63178 Cong Wang <amwang@redhat.com>
63179
63180 [BZ #15850]
63181 * sysdeps/unix/sysv/linux/bits/in.h
63182 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63183 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63184 before __USE_KERNEL_IPV6_DEFS uses.
63185 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63186 IPPROTO_BEETPH.
63187 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63188 sockaddr_in6, or ipv6_mreq.
63189
63190 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63191
63192 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63193 memory access for final bytes in some large inputs.
63194 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63195
63196 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63197
63198 * string/test-memrchr.c: New file.
63199 * string/test-memrchr-ifunc.c: New file.
63200 * string/Makefile: Add new memrchr testcase.
63201
63202 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63203
63204 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63205 fanotify_init returns EPERM.
63206
63207 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63208
63209 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63210 errors.
63211 (top level): Treat second token from macro or constant entries for
63212 allowed headers as allowed.
63213 * include/complex.h: Condition internal declarations on
63214 [!_ISOMAC].
63215 * include/fenv.h: Condition include of <stdbool.h> and internal
63216 declarations on [!_ISOMAC].
63217
63218 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63219
63220 [BZ #15923]
63221 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63222
63223 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63224
63225 * configure.in (--enable-versioning): Remove configure option.
63226 (libc_cv_asm_symver_directive): Remove configure test.
63227 (libc_cv_ld_version_script_option): Likewise.
63228 (VERSIONING): Remove variable and AC_SUBST.
63229 (DO_VERSIONING): Remove AC_DEFINE.
63230 * configure: Regenerated.
63231 * config.h.in (DO_VERSIONING): Remove macro.
63232 * Makerules [$(versioning) = yes]: Change conditionals to
63233 [$(build-shared) = yes].
63234 * config.make.in (versioning): Remove variable.
63235 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63236 [$(build-shared) = yes].
63237 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63238 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63239 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63240 [$(build-shared) = yes].
63241 * extra-lib.mk [$(versioning) = yes]: Likewise.
63242 * hurd/Makefile [$(versioning) = yes]: Likewise.
63243 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63244 [SHARED].
63245 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63246 [SHARED].
63247 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63248 [SHARED && !NO_HIDDEN].
63249 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63250 [SHARED].
63251 [SHARED && DO_VERSIONING]: Likewise..
63252 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63253 [$(build-shared) = yes].
63254 * manual/install.texi (--disable-versioning): Remove
63255 documentation.
63256 * INSTALL: Regenerated.
63257 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63258 to [SHARED].
63259 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63260 [$(build-shared) = yes].
63261 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63262 * sysdeps/i386/i686/multiarch/strstr-c.c
63263 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63264 [SHARED && !NO_HIDDEN].
63265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63266 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63267 * sysdeps/powerpc/powerpc32/dl-machine.c
63268 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63269 * sysdeps/powerpc/powerpc32/sysdep.h
63270 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63271 to [SHARED && PIC && !NO_HIDDEN].
63272 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63273 conditional to [SHARED].
63274
63275 2013-09-04 Will Newton <will.newton@linaro.org>
63276
63277 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63278 * benchtests/bench-string.h: Include bench-timing.h instead
63279 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63280 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63281 call to HP_TIMING_DIFF_INIT.
63282 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63283 instead of hp-timing.h macros.
63284 * benchtests/bench-memchr.c: Likewise.
63285 * benchtests/bench-memcmp.c: Likewise.
63286 * benchtests/bench-memcpy.c: Likewise.
63287 * benchtests/bench-memmem.c: Likewise.
63288 * benchtests/bench-memmove.c: Likewise.
63289 * benchtests/bench-memset.c: Likewise.
63290 * benchtests/bench-rawmemchr.c: Likewise.
63291 * benchtests/bench-strcasecmp.c: Likewise.
63292 * benchtests/bench-strcasestr.c: Likewise.
63293 * benchtests/bench-strcat.c: Likewise.
63294 * benchtests/bench-strchr.c: Likewise.
63295 * benchtests/bench-strcmp.c: Likewise.
63296 * benchtests/bench-strcpy.c: Likewise.
63297 * benchtests/bench-strcpy_chk.c: Likewise.
63298 * benchtests/bench-strlen.c: Likewise.
63299 * benchtests/bench-strncasecmp.c: Likewise.
63300 * benchtests/bench-strncat.c: Likewise.
63301 * benchtests/bench-strncmp.c: Likewise.
63302 * benchtests/bench-strncpy.c: Likewise.
63303 * benchtests/bench-strnlen.c: Likewise.
63304 * benchtests/bench-strpbrk.c: Likewise.
63305 * benchtests/bench-strrchr.c: Likewise.
63306 * benchtests/bench-strspn.c: Likewise.
63307 * benchtests/bench-strstr.c: Likewise.
63308
63309 2013-09-04 Will Newton <will.newton@linaro.org>
63310
63311 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63312
63313 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63314
63315 [BZ #15427]
63316 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63317 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63318 * math/libm-test.inc (lgamma_test_data): Add more tests.
63319 * sysdeps/i386/fpu/libm-test-ulps: Update.
63320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63321
63322 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63323
63324 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63326 Add ifunc.
63327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63328 Add strcmp-sse2-unaligned
63329 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63330
63331 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63332
63333 * Versions.def (libc): Add GLIBC_2.19.
63334
63335 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63336
63337 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63338 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63339
63340 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63341
63342 [BZ #14155]
63343 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63344 intermediate calculations in recurrence.
63345 (__ieee754_ynf): Likewise.
63346 * math/libm-test.inc (jn_test_data): Do not allow spurious
63347 underflow exception. Add more tests.
63348 (yn_test_data): Add more tests.
63349 * sysdeps/i386/fpu/libm-test-ulps: Update.
63350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63351
63352 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63353
63354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63355
63356 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63357
63358 * csu/init-first.c: Fix then/than typos.
63359 * locale/programs/ld-collate.c: Likewise.
63360 * locale/programs/linereader.h: Likewise.
63361 * manual/charset.texi: Likewise.
63362 * manual/filesys.texi: Likewise.
63363 * manual/stdio.texi: Likewise.
63364 * manual/string.texi: Likewise.
63365 * stdlib/fmtmsg.c: Likewise.
63366 * sysdeps/i386/stpncpy.S: Likewise.
63367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63368 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63369 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63370 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63371
63372 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63373
63374 * elf/dl-open.c: Fix typos.
63375 * iconvdata/gbbig5.c: Likewise.
63376 * iconvdata/iso-2022-jp.c: Likewise.
63377 * iconv/gconv_int.h: Likewise.
63378 * iconv/loop.c: Likewise.
63379 * nis/rpcsvc/nis.h: Likewise.
63380 * resolv/ns_name.c: Likewise.
63381 * stdio-common/vfscanf.c: Likewise.
63382 * streams/stropts.h: Likewise.
63383 * sunrpc/rpc_thread.c: Likewise.
63384 * sysdeps/i386/strpbrk.S: Likewise.
63385 * sysdeps/ieee754/k_standard.c: Likewise.
63386 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63388 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63389 * sysdeps/mach/hurd/profil.c: Likewise.
63390 * sysdeps/s390/dl-procinfo.h: Likewise.
63391 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63392 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63393 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63394 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63396
63397 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63398
63399 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63401
63402 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63403
63404 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63405 aix specific files.
63406 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63407 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63408 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63409 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63410 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63411 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63412 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63413 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63414
63415 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63416 Roland McGrath <roland@hack.frob.com>
63417
63418 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63419 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63420
63421 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63422
63423 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63424 __executable_start symbol instead of _start.
63425
63426 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63427
63428 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63429 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63430 Move macros to...
63431 * sysdeps/gnu/ldsodefs.h: ... this new file.
63432
63433 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63434 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63435 instead of ELFOSABI_LINUX.
63436
63437 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63438 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63439 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63440 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63441 Likewise.
63442 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63443 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63444 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63445 Likewise.
63446 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63447 (ibm_extended_long_double): Add ieee_nan member.
63448 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63449 (do_test): New function.
63450
63451 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63452 TEST_TRUNC.
63453 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63454 functions, renamed from truncdfsf_test, trunctfsf_test,
63455 trunctfdf_test.
63456 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63457 functions.
63458 (do_test): Run all these.
63459
63460 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63461
63462 * argp/argp-help.c: Fix typos.
63463 * argp/argp-parse.c: Likewise.
63464 * debug/backtracesyms.c: Likewise.
63465 * elf/elf.h: Likewise.
63466 * malloc/malloc.c: Likewise.
63467 * nis/nis_print.c: Likewise.
63468 * resolv/res_comp.c: Likewise.
63469 * stdlib/stdlib.h: Likewise.
63470 * sunrpc/clnt_tcp.c: Likewise.
63471 * sunrpc/clnt_udp.c: Likewise.
63472 * sunrpc/clnt_unix.c: Likewise.
63473 * sysdeps/unix/bsd/ptsname.c: Likewise.
63474 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63477 Likewise.
63478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63479 Likewise.
63480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63481 Likewise.
63482 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63483
63484 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63485
63486 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63488
63489 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63490
63491 [BZ #15897]
63492 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63493 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63494 ($(objpfx)bug-dl-leaf): New rule.
63495 ($(objpfx)bug-dl-leaf.so): Likewise.
63496 ($(objpfx)bug-dl-leaf.out): Likewise.
63497 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63498 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63499 * dlfcn/bug-dl-leaf.c: New test.
63500 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63501 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63502 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63503 (dlclose): Likewise.
63504 (dlmopen): Likewise.
63505
63506 2013-08-27 Roland McGrath <roland@hack.frob.com>
63507
63508 * include/netdb.h [!_ISOMAC]:
63509 Don't include <tls.h>.
63510 (h_errno, __libc_h_errno): Move declaration and macros out of
63511 [_LIBC_REENTRANT].
63512
63513 * include/resolv.h [_RESOLV_H_]:
63514 Don't include <tls.h>.
63515 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63516 * resolv/res_libc.c: Don't include <tls.h>.
63517 (_res): Use __attribute__ ((nocommon)) in place of
63518 __attribute__ ((section (".bss"))).
63519
63520 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63521 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63522
63523 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63524
63525 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63526 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63527
63528 * resolv/res_mkquery.c: Include <sys/time.h>.
63529
63530 * inet/ifreq.c: Moved to ...
63531 * sysdeps/unix/ifreq.c: ... here.
63532 * inet/ifreq.c: New file, true stub version.
63533
63534 * socket/sa_len.c: New file.
63535 * socket/Makefile (aux): Add it.
63536 * sysdeps/unix/sysv/linux/Makefile
63537 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63538 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63539 and #include <socket/sa_len.c>.
63540 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63541 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63542
63543 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63544 * bits/socket.h: ... here.
63545
63546 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63547 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63548 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63549
63550 2013-08-27 Andreas Schwab <schwab@suse.de>
63551
63552 [BZ #15736]
63553 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63554 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63555 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63556 * string/test-strcasecmp.c (test_main): Run tests in several
63557 locales.
63558 * string/test-strncasecmp.c (test_main): Likewise.
63559
63560 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63561 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63562 to __strcasecmp_nonascii and __strncasecmp_nonascii.
63563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63564 (__strncasecmp_ssse3) [PIC]: Likewise.
63565
63566 2013-08-26 Roland McGrath <roland@hack.frob.com>
63567
63568 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63569
63570 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63571 instead of explicitly declaring xdecrypt.
63572 * nis/nss_nis/nis-publickey.c: Likewise.
63573
63574 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63575
63576 [BZ #15890]
63577 * nscd/aicache.c: Include res_hconf.h.
63578 (addhstaiX): Initialize res_hconf.
63579
63580 2013-08-26 Andreas Schwab <schwab@suse.de>
63581
63582 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63583 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63584
63585 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63586
63587 * nscd/aicache.c (addhstaiX): Fix indentation.
63588
63589 2013-08-25 Mike Frysinger <vapier@gentoo.org>
63590
63591 * configure.ac: Quote $build_pt_chown test.
63592 * configure: Regenerated.
63593
63594 2013-08-23 Joseph Myers <joseph@codesourcery.com>
63595
63596 [BZ #15532]
63597 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63598 * math/s_cexpf.c (__cexpf): Likewise.
63599 * math/s_cexpl.c (__cexpl): Likewise.
63600 * math/libm-test.inc (cexp_test_data): Correct expected return
63601 value for NaN + i0. Add another test.
63602
63603 2013-08-22 David S. Miller <davem@davemloft.net>
63604
63605 * po/ca.po: Update Catalan translation from translation project.
63606 * po/uk.po: Add Ukrainian translations from translation project.
63607
63608 2013-08-21 Joseph Myers <joseph@codesourcery.com>
63609
63610 [BZ #15797]
63611 * math/s_fdim.c (__fdim): Check for infinite arguments if result
63612 is infinite, not alongside NaN test.
63613 * math/s_fdimf.c (__fdimf): Likewise.
63614 * math/s_fdiml.c (__fdiml): Likewise.
63615 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
63616 errno is unchanged.
63617
63618 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
63619
63620 * argp/argp-help.c: Fix typos.
63621 * crypt/speeds.c: Likewise.
63622 * csu/check_fds.c: Likewise.
63623 * elf/dl-load.c: Likewise.
63624 * elf/dl-open.c: Likewise.
63625 * elf/reldep3.c: Likewise.
63626 * elf/reldep.c: Likewise.
63627 * elf/sprof.c: Likewise.
63628 * iconv/iconv_charmap.c: Likewise.
63629 * iconv/skeleton.c: Likewise.
63630 * iconv/strtab.c: Likewise.
63631 * io/lockf64.c: Likewise.
63632 * libio/libioP.h: Likewise.
63633 * resolv/gai_notify.c: Likewise.
63634 * resolv/ns_name.c: Likewise.
63635 * resolv/ns_samedomain.c: Likewise.
63636 * resolv/res_send.c: Likewise.
63637 * stdlib/random.c: Likewise.
63638 * sunrpc/rpc/xdr.h: Likewise.
63639 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63640 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63641 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63642 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63644 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63646 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63647 * sysdeps/mach/hurd/check_fds.c: Likewise.
63648 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63649 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63650 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63651 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63652 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63653 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63654 * sysdeps/pthread/aio_notify.c: Likewise.
63655 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63656 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63657 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63659 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63660
63661 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63662
63663 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63664 version if bit_Slow_SSE4_2 is set.
63665 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63666 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63667
63668 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63669
63670 [BZ #15867]
63671 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63672 trampoline stack frame information.
63673 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63674 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63675 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63676 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63677 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63678 * sysdeps/unix/sysv/linux/powerpc/init-first.c
63679 (_libc_vdso_platform_setup): Initialize the signal trampolines.
63680 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63681 sa_flags value.
63682 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63683 interrupting a syscall and set with option SA_SIGINFO.
63684
63685 2013-08-20 Joseph Myers <joseph@codesourcery.com>
63686
63687 [BZ #15531]
63688 * math/s_cproj.c (__cproj): Only return an infinity if one part of
63689 argument is infinite.
63690 * math/s_cprojf.c (__cprojf): Likewise.
63691 * math/s_cprojl.c (__cprojl): Likewise.
63692 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
63693 * math/libm-test.inc (cproj_test_data): Add more tests.
63694
63695 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
63696
63697 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
63698 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
63699 size. Use __ffs to determine corresponding shift.
63700
63701 2013-08-20 Joseph Myers <joseph@codesourcery.com>
63702 Roland McGrath <roland@hack.frob.com>
63703
63704 * Makefile (INSTALL): Remove trailing blank lines from output of
63705 makeinfo.
63706
63707 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63708
63709 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63710 Align 32 bit compat elf_greg to 8 bytes.
63711
63712 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
63713
63714 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63715
63716 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
63717
63718 * string/strcoll_l.c (coll_seq): New structure.
63719 (get_next_seq_cached): New function.
63720 (get_next_seq): New function.
63721 (do_compare): New function.
63722 (STRCOLL): Use GNU style definition. Simplify implementation
63723 by using get_next_seq, get_next_seq_cached and do_compare.
63724
63725 2013-08-16 Florian Weimer <fweimer@redhat.com>
63726
63727 [BZ #14699]
63728 CVE-2013-4237
63729 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63730 member.
63731 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63732 member.
63733 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63734 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63735 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
63736 conditional.
63737 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63738 GETDENTS_64BIT_ALIGNED.
63739 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63740 * manual/filesys.texi (Reading/Closing Directory): Document
63741 ENAMETOOLONG return value of readdir_r. Recommend readdir more
63742 strongly.
63743 * manual/conf.texi (Limits for Files): Add portability note to
63744 NAME_MAX, PATH_MAX.
63745 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63746
63747 2013-08-13 Andreas Schwab <schwab@suse.de>
63748
63749 [BZ #15749]
63750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63751 of fabs.
63752 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63753 LDBL_MAX_EXP >= 16384]: Add tests for it.
63754
63755 2013-08-12 David S. Miller <davem@davemloft.net>
63756
63757 * version.h (RELEASE): Set to "development".
63758 (VERSION): Set to "2.18.90".
63759 * NEWS: Add 2.19 section.
63760
63761 2013-08-03 David S. Miller <davem@davemloft.net>
63762
63763 * po/ko.po: Update Korean translation from translation project.
63764
63765 2013-08-01 David S. Miller <davem@davemloft.net>
63766
63767 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
63768 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63769 Bilka.
63770
63771 2013-07-30 David S. Miller <davem@davemloft.net>
63772
63773 * po/fr.po: Update French translation from translation project.
63774
63775 2013-07-28 David S. Miller <davem@davemloft.net>
63776
63777 * po/cs.po: Update Czech translation from translation project.
63778
63779 * po/sv.po: Update Swedish translation from translation project.
63780
63781 2013-07-27 David S. Miller <davem@davemloft.net>
63782
63783 * po/eo.po: Update Esperanto translation from translation project.
63784
63785 * po/vi.po: Update Vietnamese translation from translation project.
63786
63787 * po/de.po: Update German translation from translation project.
63788
63789 2013-07-26 David S. Miller <davem@davemloft.net>
63790
63791 * po/bg.po: Update Bulgarian translation from translation project.
63792
63793 * po/nl.po: Update Dutch translation from translation project.
63794 * po/pl.po: Update Polish translation from translation project.
63795 * po/ru.po: Update Russian translation from translation project.
63796
63797 2013-07-24 David S. Miller <davem@davemloft.net>
63798
63799 * po/libc.pot: Update.
63800
63801 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63802
63803 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63804 variable page size.
63805 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63806 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63808
63809 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63810
63811 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63812
63813 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63814 Andreas Schwab <schwab@suse.de>
63815 Roland McGrath <roland@hack.frob.com>
63816 Joseph Myers <joseph@codesourcery.com>
63817 Carlos O'Donell <carlos@redhat.com>
63818
63819 [BZ #15755]
63820 * config.h.in: Define HAVE_PT_CHOWN.
63821 * config.make.in (build-pt-chown): New variable.
63822 * configure.in (--enable-pt_chown): New configure option.
63823 * configure: Regenerate.
63824 * login/Makefile: Include Makeconfig. Build pt_chown only if
63825 build-pt-chown is enabled.
63826 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63827 pt_chown to fix pty ownership.
63828 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63829 CLOSE_ALL_FDS.
63830 * manual/install.texi (Configuring and compiling): Mention
63831 --enable-pt_chown. Add @findex for grantpt.
63832 * INSTALL: Regenerate.
63833
63834 2013-07-20 David S. Miller <davem@davemloft.net>
63835
63836 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63837 difference between 32-bit and 64-bit.
63838
63839 2013-07-15 Carlos O'Donell <carlos@redhat.com>
63840
63841 [BZ #15711]
63842 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63843 Avoid system header dependency with -ffreestanding.
63844 ($(objpfx)bits/syscall%d): Likewise.
63845
63846 2013-07-13 David S. Miller <davem@davemloft.net>
63847
63848 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63849 underflows from atanl/atan2l due to bug 15319.
63850 (casinh_test_data): Likewise.
63851
63852 2013-07-07 David S. Miller <davem@davemloft.net>
63853
63854 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63855
63856 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
63857
63858 * sysdeps/i386/fpu/libm-test-ulps: Update.
63859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63860
63861 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
63862
63863 * configure.in (--enable-lock-elision): Fix message text.
63864 * INSTALL: Regenerate.
63865 * configure: Regenerate.
63866
63867 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63868
63869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63870
63871 2013-07-03 Andreas Jaeger <aj@suse.de>
63872
63873 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63874 define.
63875 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63876 (ptrace_peeksiginfo_args): Add.
63877 (__ptrace_peeksiginfo_flags): Add.
63878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63879 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63881
63882 2013-07-03 Allan McRae <allan@archlinux.org>
63883
63884 * sysdeps/i386/fpu/libm-test-ulps: Update.
63885
63886 2013-07-02 David S. Miller <davem@davemloft.net>
63887
63888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63889
63890 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
63891
63892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63893
63894 2013-07-02 Joseph Myers <joseph@codesourcery.com>
63895
63896 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63898
63899 2013-07-02 Andi Kleen <ak@linux.intel.com>
63900
63901 * config.h.in (ENABLE_LOCK_ELISION): Add.
63902 * configure.in (--enable-lock-elision): Add option.
63903 * manual/install.texi: Document --enable lock elision.
63904 * configure: Regenerate
63905 * INSTALL: Regenerate.
63906
63907 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
63908
63909 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63910 SSE4.2 strcasecmp for libc.a.
63911 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63912
63913 2013-07-02 Joseph Myers <joseph@codesourcery.com>
63914
63915 [BZ #13304]
63916 * soft-fp/op-common.h (_FP_FMA): New macro.
63917 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63918 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
63919 (_FP_MUL_MEAT_1_imm): ... here.
63920 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
63921 (_FP_MUL_MEAT_1_wide): ... here.
63922 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
63923 (_FP_MUL_MEAT_1_hard): ... here.
63924 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63925 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
63926 (_FP_MUL_MEAT_2_wide): ... here.
63927 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
63928 (_FP_MUL_MEAT_2_wide_3mul): ... here.
63929 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
63930 (_FP_MUL_MEAT_2_gmp): ... here.
63931 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63932 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
63933 (_FP_MUL_MEAT_4_wide): ... here.
63934 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
63935 (_FP_MUL_MEAT_4_gmp): ... here.
63936 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63937 (_FP_WFRACBITS_DW_S): Likewise.
63938 (_FP_WFRACXBITS_DW_S): Likewise.
63939 (_FP_HIGHBIT_DW_S): Likewise.
63940 (FP_FMA_S): Likewise.
63941 (_FP_FRAC_HIGH_DW_S): Likewise.
63942 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63943 (_FP_WFRACBITS_DW_D): Likewise.
63944 (_FP_WFRACXBITS_DW_D): Likewise.
63945 (_FP_HIGHBIT_DW_D): Likewise.
63946 (FP_FMA_D): Likewise.
63947 (_FP_FRAC_HIGH_DW_D): Likewise.
63948 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63949 (_FP_WFRACBITS_DW_E): Likewise.
63950 (_FP_WFRACXBITS_DW_E): Likewise.
63951 (_FP_HIGHBIT_DW_E): Likewise.
63952 (FP_FMA_E): Likewise.
63953 (_FP_FRAC_HIGH_DW_E): Likewise.
63954 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63955 (_FP_WFRACBITS_DW_Q): Likewise.
63956 (_FP_WFRACXBITS_DW_Q): Likewise.
63957 (_FP_HIGHBIT_DW_Q): Likewise.
63958 (FP_FMA_Q): Likewise.
63959 (_FP_FRAC_HIGH_DW_Q): Likewise.
63960 * soft-fp/fmasf4.c: New file.
63961 * soft-fp/fmadf4.c: Likewise.
63962 * soft-fp/fmatf4.c: Likewise.
63963
63964 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63965
63966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63967 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63968 Silvermont.
63969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63970 macro.
63971 (index_Slow_SSE4_2): Likewise.
63972 (index_Prefer_PMINUB_for_stringop): Likewise.
63973 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63974 bit_Slow_SSE4_2 is set.
63975 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63977
63978 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63979
63980 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63981 rtld_global._dl_hwcap2.
63982 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63983 POWER8.
63984 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63985 POWER8 feature descriptions defined in _dl_hwcap2.
63986 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63987 string handling for POWER8 feature bits.
63988 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63989 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63990 _dl_powerpc_cap_flags.
63991 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63992 * sysdeps/powerpc/rtld-global-offsets.sym
63993 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63994 _dl_hwcap2 in the rtld_global_ro structure.
63995
63996 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63997
63998 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63999 hardware capabilities in support of AT_HWCAP2.
64000 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64001 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64002 GLRO(dl_hwcap2).
64003 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64004 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64005 explicitly the unknown a_type display mechanism is used.
64006 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64007 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64008 struct member.
64009 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64010 to macro prototype for AT_HWCAP2 support.
64011 * sysdeps/i386/dl-procinfo.h: Likewise.
64012 * sysdeps/s390/dl-procinfo.h: Likewise.
64013 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64014 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64015 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64016 return -1 for unknown a_type display fallback.
64017 * sysdeps/sparc/dl-procinfo.h: Likewise.
64018 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64019 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64020
64021 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64022
64023 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64024 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64025
64026 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64027
64028 [BZ #12492]
64029 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64030 mprotect making __stack_prot writable.
64031
64032 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64033 Joseph Myers <joseph@codesourcery.com>
64034
64035 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64036 as being properly aligned.
64037
64038 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64039
64040 * dlfcn/modstatic5.c: New file.
64041 * dlfcn/tststatic5.c: New file.
64042 * dlfcn/Makefile (tests): Add tststatic5.
64043 (tests-static): Likewise.
64044 (modules-names): Add modstatic5.
64045 (tststatic5-ENV): New variable.
64046 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64047
64048 [BZ #15022]
64049 * elf/dl-support.c (_dl_main_map): New variable.
64050 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64051 (_dl_nns, _dl_load_adds): Set to 1.
64052 (_dl_initial_searchlist): Refer to _dl_main_map.
64053 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64054 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64055 call to _dl_get_origin.
64056 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64057 around call_map.
64058 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64059 * dlfcn/modstatic3.c: New file.
64060 * dlfcn/tststatic3.c: New file.
64061 * dlfcn/tststatic4.c: New file.
64062 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64063 (tests-static): Likewise.
64064 (modules-names): Add modstatic3.
64065 (tststatic3-ENV, tststatic4-ENV): New variables.
64066 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64067 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64068
64069 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64070
64071 * configure.in (CC): Require GCC version 4.4 or later.
64072 * configure: Regenerated.
64073 * manual/install.texi (Tools for Compilation): Update GCC version
64074 requirement.
64075 * INSTALL: Regenerated.
64076
64077 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64078
64079 [BZ #15674]
64080 * string/test-memcmp.c (check2): New.
64081 (main): Call check2.
64082
64083 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64084
64085 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64086
64087 [BZ #15022]
64088 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64089 over to...
64090 (dl_open_worker) [!SHARED]: ... here.
64091
64092 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64093
64094 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64095
64096 2013-06-25 Richard Henderson <rth@redhat.com>
64097
64098 * locale/programs/locarchive.c: Include <libc-internal.h>
64099
64100 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64101
64102 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64103 trailing whitespace removed.
64104
64105 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64106
64107 [BZ #10283]
64108 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64109 * locale/programs/locarchive.c: Include libc-mmap.h.
64110 (prepare_address_space): Take two new outputs (the mmap base and len).
64111 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64112 values.
64113 (create_archive): Declare new mmap base and len values for
64114 prepare_address_space, and store the result in ah.
64115 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64116 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64117 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64118 Declare new mmap base and len values for
64119 prepare_address_space, and store the result in new_ah.
64120 (open_archive): Declare new mmap base and len values for
64121 prepare_address_space, and store the result in ah.
64122 (close_archive): If ah->mmap_base is not NULL, use that and
64123 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64124 * sysdeps/generic/libc-mmap.h: New file.
64125
64126 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64127
64128 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64129 (ALIGN_UP): Likewise.
64130 (PTR_ALIGN_DOWN): Likewise.
64131 (PTR_ALIGN_UP): Likewise.
64132
64133 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64134
64135 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64136 entry mapped to PPC_PLATFORM_POWER8.
64137 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64138 POWER8.
64139 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64140 (_dl_string_platform): Add case for exporting platform position for
64141 POWER8.
64142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64143 search path to sysdeps/powerpc/powerpc32/power8 directory.
64144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64145 search path to sysdeps/powerpc/powerpc64/power8 directory.
64146 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64147 power7 directories.
64148 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64149 power7 directories.
64150
64151 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64152
64153 * INSTALL: Regenerate.
64154
64155 * nscd/connections.c (nscd_init): Fix comment.
64156
64157 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64158
64159 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64160
64161 [BZ #15667]
64162 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64163 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64164
64165 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64166
64167 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64168 DL_DST_REQ_STATIC.
64169 (DL_DST_REQ_STATIC): Remove macro.
64170
64171 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64172
64173 [BZ #7006]
64174 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64175 with a shift of 0 bits.
64176
64177 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64178
64179 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64180 $(tststatic-ENV).
64181
64182 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64183
64184 [BZ #15655]
64185 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64186
64187 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64188
64189 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64190 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64191 accepts -fno-tree-loop-distribute-patterns.
64192 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64193 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64194 recursive call.
64195 * string/memset.c (memset): Likewise.
64196 * string/test-memmove.c (simple_memmove): Disable loop transformation
64197 to library calls.
64198 * string/test-memset.c (simple_memset): Likewise.
64199 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64200 * benchtests/bench-memset.c (simple_memset): Likewise.
64201 * configure: Regenerated.
64202
64203 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64204
64205 * math/test-misc.c (main): Ignore fesetround failure when failures
64206 of subsequent rounding tests would be ignored.
64207
64208 [BZ #15654]
64209 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64210 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64211 * math/fegetenv.c (__fegetenv): Return 0.
64212 * math/fegetexcept.c (fegetexcept): Return 0.
64213 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64214 FE_TONEAREST.
64215 * math/feholdexcpt.c (feholdexcept): Return 0.
64216 * math/fesetenv.c (__fesetenv): Return 0.
64217 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64218 argument FE_TONEAREST.
64219 * math/feupdateenv.c (__feupdateenv): Return 0.
64220 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64221
64222 2013-06-18 Roland McGrath <roland@hack.frob.com>
64223
64224 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64225 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64226 ($(objpfx)rtld-%.os rules): Use them.
64227
64228 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64229
64230 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64231 fields.
64232
64233 2013-06-17 Roland McGrath <roland@hack.frob.com>
64234
64235 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64236 length of target pattern, then descending length of dependency pattern.
64237 * configure.in (AWK): Require gawk 3.1.2 or newer.
64238 * manual/install.texi (Tools for Compilation): Say that we do.
64239 * configure: Regenerated.
64240
64241 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64242 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64243 * scripts/sysd-rules.awk: ... this new script.
64244 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64245 than a glob-style pattern.
64246
64247 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64248
64249 * math/test-misc.c (main): Do not treat incorrectly rounded
64250 conversions as failure unless ROUNDING_TESTS passes.
64251
64252 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64253
64254 [BZ #15631]
64255 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64256 restore exception state around main square root computation, then
64257 check for inexactness explicitly.
64258
64259 * math/libm-test.inc (fma_test_data): Add another test.
64260
64261 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64262
64263 * manual/threads.texi (Non-POSIX Extensions): New document
64264 node. Document pthread_getattr_default_np and
64265 pthread_setattr_default_np.
64266
64267 * Versions.def (libpthread): Add GLIBC_2.18.
64268 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64270 Likewise.
64271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64272 Likewise.
64273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64274 Likewise.
64275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64276 Likewise.
64277 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64278 Likewise.
64279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64280 Likewise.
64281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64282 Likewise.
64283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64284 Likewise.
64285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64286 Likewise.
64287
64288 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64289
64290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64291 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64292
64293 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64294 H.J. Lu <hjl.tools@gmail.com>
64295
64296 [BZ #15627]
64297 * sysdeps/x86_64/rtld-memset.c: Remove file.
64298 * sysdeps/x86_64/rtld-memset.S: New file.
64299
64300 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64301
64302 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64303 (test_in_one_mode): Take arguments for whether the rounding mode
64304 is supported for each floating-point type.
64305 (do_test): Pass new arguments to test_in_one_mode using
64306 ROUNDING_TESTS.
64307
64308 2013-06-13 Roland McGrath <roland@hack.frob.com>
64309
64310 * posix/tst-waitid.c (do_test): Distinguish different instances of
64311 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64312 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64313 before entering the kernel for waitpid.
64314
64315 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64316
64317 * NEWS: Fix note on clock function precision. Text by Roland
64318 McGrath.
64319
64320 2013-06-13 Roland McGrath <roland@hack.frob.com>
64321
64322 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64323 it into place only when and if the sanity check passes.
64324
64325 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64326
64327 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64328 output for whether conversion result is exact. Take argument
64329 indicating whether type is IBM long double.
64330 (round_for_all): Change need_exact field to ibm_ld.
64331 * stdlib/tst-strtod-round.c (struct exactness): New type.
64332 (struct test): Change bool ld_ok field to struct exactness exact.
64333 (TEST): Update all definitions for change to field.
64334 (tests): Regenerate array contents.
64335 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64336 field value. Check for IBM long double here.
64337 (do_test): Update calls to test_in_one_mode.
64338
64339 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64340
64341 [BZ #12515]
64342 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64343 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64344
64345 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64346
64347 [BZ #15605]
64348 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64349 generated by the compiler on loop optimizations.
64350 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64351 general definitions.
64352
64353 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64354
64355 * math/bug-nextafter.c: Include <math-tests.h>.
64356 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64357 the relevant type.
64358 * math/bug-nexttoward.c: Include <math-tests.h>.
64359 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64360 the relevant type.
64361 * math/test-misc.c: Include <math-tests.h>.
64362 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64363 the relevant type.
64364
64365 2013-06-12 Andreas Jaeger <aj@suse.de>
64366
64367 * po/ia.po: Update Interlingua translation from translation
64368 project.
64369
64370 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64371
64372 * include/fenv.h: Include stdbool.h.
64373 (struct rm_ctx): New structure.
64374 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64375 Define macro.
64376 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64377 (SET_RESTORE_ROUNDF): Likewise.
64378 (SET_RESTORE_ROUNDL): Likewise.
64379 (SET_RESTORE_ROUND_NOEX): Likewise.
64380 (SET_RESTORE_ROUND_NOEXF): Likewise.
64381 (SET_RESTORE_ROUND_NOEXL): Likewise.
64382 (SET_RESTORE_ROUND_53BIT): Likewise.
64383 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64384 (libc_feresetround_noexf_ctx): Likewise.
64385 (libc_feresetround_noexl_ctx): Likewise.
64386 (libc_feholdsetround_53bit_ctx): Likewise.
64387 (libc_feresetround_53bit_ctx): Likewise.
64388 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64389 (libc_feholdexcept_setround_sse_ctx): New function.
64390 (libc_fesetenv_sse_ctx): Likewise.
64391 (libc_feupdateenv_sse_ctx): Likewise.
64392 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64393 (libc_feholdexcept_setround_387_ctx): Likewise.
64394 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64395 (libc_feholdsetround_387_prec_ctx): Likewise.
64396 (libc_feholdsetround_387_ctx): Likewise.
64397 (libc_feholdsetround_387_53bit_ctx): Likewise.
64398 (libc_feholdsetround_sse_ctx): Likewise.
64399 (libc_feresetround_sse_ctx): Likewise.
64400 (libc_feresetround_387_ctx): Likewise.
64401 (libc_feupdateenv_387_ctx): Likewise.
64402 (libc_feholdexcept_setroundf_ctx): Define macro.
64403 (libc_fesetenvf_ctx): Likewise.
64404 (libc_feupdateenvf_ctx): Likewise.
64405 (libc_feholdsetroundf_ctx): Likewise.
64406 (libc_feresetroundf_ctx): Likewise.
64407 (libc_feholdexcept_setround_ctx): Likewise.
64408 (libc_fesetenv_ctx): Likewise.
64409 (libc_feupdateenv_ctx): Likewise.
64410 (libc_feholdsetround_ctx): Likewise.
64411 (libc_feresetround_ctx): Likewise.
64412 (libc_feholdexcept_setroundl_ctx): Likewise.
64413 (libc_feupdateenvl_ctx): Likewise.
64414 (libc_feholdsetroundl_ctx): Likewise.
64415 (libc_feresetroundl_ctx): Likewise.
64416 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64417 (libc_feresetround_53bit_ctx): Likewise.
64418
64419 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64420
64421 * locale/iso-639.def: Convert to UTF-8.
64422
64423 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64424
64425 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64426 (EXCEPTION_TESTS_double): Likewise.
64427 (EXCEPTION_TESTS_long_double): Likewise.
64428 (EXCEPTION_TESTS): Likewise.
64429 * math/libm-test.inc (test_exceptions): Only test exceptions if
64430 EXCEPTION_TESTS (FLOAT).
64431
64432 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64433
64434 * benchtests/Makefile (string-bench): Add strcpy_chk and
64435 stpcpy_chk.
64436 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64437 * benchtests/bench-stpcpy_chk.c: New file.
64438 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64439 * benchtests/bench-strcpy_chk.c: New file.
64440 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64441 code.
64442 (do_test): Likewise.
64443
64444 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64445
64446 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64447 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64448 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64449 with tabs where appropriate.
64450 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64451 dl-procinfo.h.
64452 [PPC_PLATFORM_PPC440]: Likewise.
64453 [PPC_PLATFORM_PPC464]: Likewise.
64454 [PPC_PLATFORM_PPC476]: Likewise.
64455 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64456 ppc464, and ppc476 platform strings merging from ports/
64457 dl-procinfo.h.
64458
64459 2013-06-11 Andreas Schwab <schwab@suse.de>
64460
64461 [BZ #14991]
64462 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64463 (from_ucs4_idx): Regenerate.
64464 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64465 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64466 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64467 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64468 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64469 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64470 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64471 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64472 from FROM_LOOP and TO_LOOP specific macros.
64473 (BODY): Handle combining characters.
64474 * iconvdata/BIG5HKSCS.irreversible: Update.
64475 * iconvdata/BIG5HKSCS.precomposed: New file.
64476 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64477 characters.
64478 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64479
64480 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64481
64482 * include/sys/time.h: Fix indentation and add copyright header.
64483
64484 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64485 (do_test): Likewise.
64486 * string/test-memchr.c (do_one_test): Likewise.
64487 (do_test): Likewise.
64488 * string/test-memcmp.c (do_one_test): Likewise.
64489 (do_test): Likewise.
64490 * string/test-memcpy.c (do_one_test): Likewise.
64491 (do_test): Likewise.
64492 * string/test-memmem.c (do_one_test): Likewise.
64493 (do_test): Likewise.
64494 (do_random_tests): Likewise.
64495 * string/test-memmove.c (do_one_test): Likewise.
64496 (do_test): Likewise.
64497 * string/test-memset.c (do_one_test): Likewise.
64498 (do_test): Likewise.
64499 * string/test-rawmemchr.c (do_one_test): Likewise.
64500 (do_test): Likewise.
64501 * string/test-strcasecmp.c (do_one_test): Likewise.
64502 (do_test): Likewise.
64503 * string/test-strcasestr.c (do_one_test): Likewise.
64504 (do_test): Likewise.
64505 * string/test-strcat.c (do_one_test): Likewise.
64506 (do_test): Likewise.
64507 * string/test-strchr.c (do_one_test): Likewise.
64508 (do_test): Likewise.
64509 * string/test-strcmp.c (do_one_test): Likewise.
64510 (do_test): Likewise.
64511 * string/test-strcpy.c (do_one_test): Likewise.
64512 (do_test): Likewise.
64513 * string/test-string.h: Likewise.
64514 (test_init): Likewise.
64515 * string/test-strlen.c (do_one_test): Likewise.
64516 (do_test): Likewise.
64517 * string/test-strncasecmp.c (do_one_test): Likewise.
64518 (do_test): Likewise.
64519 * string/test-strncat.c (do_one_test): Likewise.
64520 (do_test): Likewise.
64521 * string/test-strncmp.c (do_one_test): Likewise.
64522 (do_test_limit): Likewise.
64523 (do_test): Likewise.
64524 * string/test-strncpy.c (do_one_test): Likewise.
64525 (do_test): Likewise.
64526 * string/test-strnlen.c (do_one_test): Likewise.
64527 (do_test): Likewise.
64528 * string/test-strpbrk.c (do_one_test): Likewise.
64529 (do_test): Likewise.
64530 * string/test-strrchr.c (do_one_test): Likewise.
64531 (do_test): Likewise.
64532 * string/test-strspn.c (do_one_test): Likewise.
64533 (do_test): Likewise.
64534 * string/test-strstr.c (do_one_test): Likewise.
64535 (do_test): Likewise.
64536
64537 * benchtests/Makefile (string-bench): Add string benchmarks.
64538 * benchtests/bench-bcopy-ifunc.c: New file.
64539 * benchtests/bench-bcopy.c: New file.
64540 * benchtests/bench-bzero-ifunc.c: New file.
64541 * benchtests/bench-bzero.c: New file.
64542 * benchtests/bench-memccpy-ifunc.c: New file.
64543 * benchtests/bench-memccpy.c: New file.
64544 * benchtests/bench-memchr-ifunc.c: New file.
64545 * benchtests/bench-memchr.c: New file.
64546 * benchtests/bench-memcmp-ifunc.c: New file.
64547 * benchtests/bench-memcmp.c: New file.
64548 * benchtests/bench-memmem-ifunc.c: New file.
64549 * benchtests/bench-memmem.c: New file.
64550 * benchtests/bench-memmove-ifunc.c: New file.
64551 * benchtests/bench-memmove.c: New file.
64552 * benchtests/bench-mempcpy-ifunc.c: New file.
64553 * benchtests/bench-mempcpy.c: New file.
64554 * benchtests/bench-memset-ifunc.c: New file.
64555 * benchtests/bench-memset.c: New file.
64556 * benchtests/bench-rawmemchr-ifunc.c: New file.
64557 * benchtests/bench-rawmemchr.c: New file.
64558 * benchtests/bench-stpcpy-ifunc.c: New file.
64559 * benchtests/bench-stpcpy.c: New file.
64560 * benchtests/bench-stpncpy-ifunc.c: New file.
64561 * benchtests/bench-stpncpy.c: New file.
64562 * benchtests/bench-strcasecmp-ifunc.c: New file.
64563 * benchtests/bench-strcasecmp.c: New file.
64564 * benchtests/bench-strcasestr-ifunc.c: New file.
64565 * benchtests/bench-strcasestr.c: New file.
64566 * benchtests/bench-strcat-ifunc.c: New file.
64567 * benchtests/bench-strcat.c: New file.
64568 * benchtests/bench-strchr-ifunc.c: New file.
64569 * benchtests/bench-strchr.c: New file.
64570 * benchtests/bench-strchrnul-ifunc.c: New file.
64571 * benchtests/bench-strchrnul.c: New file.
64572 * benchtests/bench-strcmp-ifunc.c: New file.
64573 * benchtests/bench-strcmp.c: New file.
64574 * benchtests/bench-strcpy-ifunc.c: New file.
64575 * benchtests/bench-strcpy.c: New file.
64576 * benchtests/bench-strcspn-ifunc.c: New file.
64577 * benchtests/bench-strcspn.c: New file.
64578 * benchtests/bench-strlen-ifunc.c: New file.
64579 * benchtests/bench-strlen.c: New file.
64580 * benchtests/bench-strncasecmp-ifunc.c: New file.
64581 * benchtests/bench-strncasecmp.c: New file.
64582 * benchtests/bench-strncat-ifunc.c: New file.
64583 * benchtests/bench-strncat.c: New file.
64584 * benchtests/bench-strncmp-ifunc.c: New file.
64585 * benchtests/bench-strncmp.c: New file.
64586 * benchtests/bench-strncpy-ifunc.c: New file.
64587 * benchtests/bench-strncpy.c: New file.
64588 * benchtests/bench-strnlen-ifunc.c: New file.
64589 * benchtests/bench-strnlen.c: New file.
64590 * benchtests/bench-strpbrk-ifunc.c: New file.
64591 * benchtests/bench-strpbrk.c: New file.
64592 * benchtests/bench-strrchr-ifunc.c: New file.
64593 * benchtests/bench-strrchr.c: New file.
64594 * benchtests/bench-strspn-ifunc.c: New file.
64595 * benchtests/bench-strspn.c: New file.
64596 * benchtests/bench-strstr-ifunc.c: New file.
64597 * benchtests/bench-strstr.c: New file.
64598
64599 * benchtests/Makefile: Disable parallel execution of targets.
64600 (string-bench): Add memcpy.
64601 (benchset): New variable to store a list of benchmark sets.
64602 (bench-func): Renamed from bench.
64603 (bench-set): New target.
64604 (bench): Depend on bench-func and bench-set.
64605 * benchtests/README: Add section on benchmark sets.
64606 * benchtests/bench-memcpy-ifunc.c: New file.
64607 * benchtests/bench-memcpy.c: New file.
64608 * benchtests/bench-string.h: New file.
64609
64610 2013-06-11 Andreas Schwab <schwab@suse.de>
64611
64612 [BZ #15577]
64613 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64614 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64615 values in the triple.
64616 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64617 terminator in the group key.
64618
64619 2013-06-11 Andreas Jaeger <aj@suse.de>
64620
64621 * po/zh_TW.po: Update Chinese (traditional) translation from
64622 translation project.
64623
64624 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64625
64626 * include/time.h (__clock_gettime): Add libc_hidden_proto.
64627 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64628 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
64629 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64630 (clock_getcpuclockid): Likewise.
64631 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64632 Add weak_alias and libc_hidden_def.
64633 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64634 * rt/clock_gettime.c (clock_gettime): Rename to
64635 __clock_gettime. Add weak_alias and libc_hidden_def.
64636 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64637 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64638 __clock_nanosleep. Add weak_alias and libc_hidden_def.
64639 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64640 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64641 Likewise.
64642 * rt/clock_settime.c (clock_settime): Rename to
64643 __clock_settime. Add weak_alias and libc_hidden_def.
64644 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64645
64646 2013-06-10 Joseph Myers <joseph@codesourcery.com>
64647
64648 * mach/err_boot.sub: Remove trailing whitespace.
64649 * mach/err_ipc.sub: Likewise.
64650 * mach/err_mach.sub: Likewise.
64651
64652 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64653 (ROUNDING_TESTS_double): Likewise.
64654 (ROUNDING_TESTS_long_double): Likewise.
64655 (ROUNDING_TESTS): Likewise.
64656 * math/libm-test.inc: Include <math-tests.h>.
64657 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64658 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64659 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64660 (IF_ROUND_INIT_FE_UPWARD): Likewise.
64661
64662 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
64663
64664 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64665 of assigning.
64666
64667 2013-06-08 Joseph Myers <joseph@codesourcery.com>
64668
64669 * sysdeps/gnu/errlist.awk: Do not generate space at end of
64670 otherwise empty TRANS lines.
64671 * sysdeps/gnu/errlist.c: Regenerated.
64672
64673 * catgets/gencat.c (error_print): Use (void) in function
64674 definition.
64675 * crypt/crypt_util.c (__init_des): Likewise.
64676 * crypt/speeds.c (Stop): Likewise.
64677 (main): Likewise.
64678 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64679 * inet/ruserpass.c (token): Likewise.
64680 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64681 * intl/localealias.c (extend_alias_table): Likewise.
64682 * intl/plural-exp.c (init_germanic_plural): Likewise.
64683 * libio/fcloseall.c (__fcloseall): Likewise.
64684 * libio/genops.c (_IO_flush_all): Likewise.
64685 (_IO_flush_all_linebuffered): Likewise.
64686 (_IO_cleanup): Likewise.
64687 (_IO_iter_begin): Likewise.
64688 (_IO_iter_end): Likewise.
64689 (_IO_list_lock): Likewise.
64690 (_IO_list_unlock): Likewise.
64691 (_IO_list_resetlock): Likewise.
64692 * libio/getchar.c (getchar): Likewise.
64693 * libio/getchar_u.c (getchar_unlocked): Likewise.
64694 * libio/getwchar.c (getwchar): Likewise.
64695 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
64696 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
64697 * login/getpt.c (__getpt): Likewise.
64698 * login/tst-utmp.c (main): Likewise.
64699 * malloc/hooks.c (__malloc_check_init): Likewise.
64700 * malloc/malloc.c (__malloc_stats): Likewise.
64701 * malloc/mtrace.c (tr_break): Likewise.
64702 (mtrace): Likewise.
64703 (muntrace): Likewise.
64704 * misc/fstab.c (endfsent): Likewise.
64705 * misc/getclktck.c (__getclktck): Likewise.
64706 * misc/getdtsz.c (__getdtablesize): Likewise.
64707 * misc/gethostid.c (gethostid): Likewise.
64708 * misc/getpagesize.c (__getpagesize): Likewise.
64709 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64710 (__get_nprocs): Likewise.
64711 (__get_phys_pages): Likewise.
64712 (__get_avphys_pages): Likewise.
64713 * misc/getttyent.c (getttyent): Likewise.
64714 (setttyent): Likewise.
64715 (endttyent): Likewise.
64716 * misc/getusershell.c (getusershell): Likewise.
64717 (endusershell): Likewise.
64718 (setusershell): Likewise.
64719 (initshells): Likewise.
64720 * misc/hsearch.c (__hdestroy): Likewise.
64721 * misc/sync.c (sync): Likewise.
64722 * misc/syslog.c (closelog_internal): Likewise.
64723 (closelog): Likewise.
64724 * misc/ttyslot.c (ttyslot): Likewise.
64725 * misc/vhangup.c (vhangup): Likewise.
64726 * posix/fork.c (__fork): Likewise.
64727 * posix/getegid.c (__getegid): Likewise.
64728 * posix/geteuid.c (__geteuid): Likewise.
64729 * posix/getgid.c (__getgid): Likewise.
64730 * posix/getpid.c (__getpid): Likewise.
64731 * posix/getppid.c (__getppid): Likewise.
64732 * posix/getuid.c (__getuid): Likewise.
64733 * posix/pause.c (pause): Likewise.
64734 * posix/setpgrp.c (setpgrp): Likewise.
64735 * posix/setsid.c (__setsid): Likewise.
64736 * posix/test-vfork.c (noop): Likewise.
64737 * resolv/gethnamaddr.c (_endhtent): Likewise.
64738 (_gethtent): Likewise.
64739 (ht_endhostent): Likewise.
64740 (gethostent): Likewise.
64741 (dns_service): Likewise.
64742 * stdlib/drand48.c (drand48): Likewise.
64743 * stdlib/lrand48.c (lrand48): Likewise.
64744 * stdlib/mrand48.c (mrand48): Likewise.
64745 * stdlib/rand.c (rand): Likewise.
64746 * stdlib/random.c (__random): Likewise.
64747 * stdlib/setenv.c (clearenv): Likewise.
64748 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64749 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64750 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64751 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64752 (__get_nprocs): Likewise.
64753 (__get_phys_pages): Likewise.
64754 (__get_avphys_pages): Likewise.
64755 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64756 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64757 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64758 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64759 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64760 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64761 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64762 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64763 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64764 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64765 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64766 * sysdeps/mach/hurd/sync.c (sync): Likewise.
64767 * sysdeps/posix/clock.c (clock): Likewise.
64768 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64769 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64770 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64771 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64772 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64774 (__get_nprocs_conf): Likewise.
64775 (__get_phys_pages): Likewise.
64776 (__get_avphys_pages): Likewise.
64777 * time/clock.c (clock): Likewise.
64778 * time/tzset.c (__tzname_max): Likewise.
64779
64780 2013-06-07 Joseph Myers <joseph@codesourcery.com>
64781
64782 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64783 (__bswap_32): Do not use "register".
64784 * crypt/crypt.c (_ufc_doit_r): Likewise.
64785 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64786 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64787 * gmon/gmon.c (__monstartup): Likewise.
64788 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64789 * hurd/hurdmalloc.c (more_memory): Likewise.
64790 (malloc): Likewise.
64791 (free): Likewise.
64792 (realloc): Likewise.
64793 (malloc_fork_prepare): Likewise.
64794 (malloc_fork_parent): Likewise.
64795 (malloc_fork_child): Likewise.
64796 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64797 (_svcauth_des): Likewise.
64798 * inet/inet_lnaof.c (inet_lnaof): Likewise.
64799 * inet/inet_net.c (inet_network): Likewise.
64800 * inet/inet_netof.c (inet_netof): Likewise.
64801 * inet/rcmd.c (__validuser2_sa): Likewise.
64802 * io/fts.c (fts_open): Likewise.
64803 (fts_load): Likewise.
64804 (fts_close): Likewise.
64805 (fts_read): Likewise.
64806 (fts_children): Likewise.
64807 (fts_build): Likewise.
64808 (fts_stat): Likewise.
64809 (fts_sort): Likewise.
64810 (fts_alloc): Likewise.
64811 (fts_lfree): Likewise.
64812 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64813 (_IO_file_xsgetn): Likewise.
64814 (_IO_file_xsgetn_mmap): Likewise.
64815 * libio/iofopncook.c (_IO_cookie_read): Likewise.
64816 (_IO_cookie_write): Likewise.
64817 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64818 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64819 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64820 * malloc/obstack.c (_obstack_begin): Likewise.
64821 (_obstack_begin_1): Likewise.
64822 (_obstack_newchunk): Likewise.
64823 (_obstack_allocated_p): Likewise.
64824 (obstack_free): Likewise.
64825 (_obstack_memory_used): Likewise.
64826 * misc/getttyent.c (getttynam): Likewise.
64827 (getttyent): Likewise.
64828 (skip): Likewise.
64829 (value): Likewise.
64830 * misc/getusershell.c (initshells): Likewise.
64831 * misc/syslog.c (__vsyslog_chk): Likewise.
64832 * misc/ttyslot.c (ttyslot): Likewise.
64833 * nis/nis_hash.c (__nis_hash): Likewise.
64834 * posix/fnmatch_loop.c (FCT): Likewise.
64835 * posix/getconf.c (print_all): Likewise.
64836 (main): Likewise.
64837 * posix/getopt.c (exchange): Likewise.
64838 * posix/glob.c (globfree): Likewise.
64839 (prefix_array): Likewise.
64840 (__glob_pattern_type): Likewise.
64841 * resolv/arpa/nameser.h (NS_GET16): Likewise.
64842 (NS_GET32): Likewise.
64843 (NS_PUT16): Likewise.
64844 (NS_PUT32): Likewise.
64845 * resolv/gethnamaddr.c (getanswer): Likewise.
64846 (gethostbyname2): Likewise.
64847 (gethostbyaddr): Likewise.
64848 (_gethtent): Likewise.
64849 (_gethtbyname2): Likewise.
64850 (_gethtbyaddr): Likewise.
64851 * resolv/ns_print.c (dst_s_get_int16): Likewise.
64852 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64853 * resolv/res_init.c (__res_vinit): Likewise.
64854 (net_mask): Likewise.
64855 * resolv/res_mkquery.c (outchar): Likewise.
64856 (PRINT): Likewise.
64857 * stdio-common/printf_fp.c (outchar): Likewise.
64858 (PRINT): Likewise.
64859 * stdio-common/printf_fphex.c (outchar): Likewise.
64860 (PRINT): Likewise.
64861 * stdio-common/printf_size.c (outchar): Likewise.
64862 (PRINT): Likewise.
64863 * stdio-common/test_rdwr.c (main): Likewise.
64864 * stdio-common/tfformat.c (matches): Likewise.
64865 * stdio-common/vfprintf.c (outchar): Likewise.
64866 (printf_unknown): Likewise.
64867 (buffered_vfprintf): Likewise.
64868 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64869 * stdio-common/xbug.c (AppendToBuffer): Likewise.
64870 (ReadFile): Likewise.
64871 * stdlib/qsort.c (SWAP): Likewise.
64872 (_quicksort): Likewise.
64873 * stdlib/setenv.c (__add_to_environ): Likewise.
64874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64875 * stdlib/strtol_l.c (__strtol_l): Likewise.
64876 * stdlib/tst-strtod.c (main): Likewise.
64877 * stdlib/tst-strtol.c (main): Likewise.
64878 * stdlib/tst-strtoll.c (main): Likewise.
64879 * string/bits/string2.h (__strcmp_cc): Likewise.
64880 (__strcmp_cg): Likewise.
64881 (__strcspn_c1): Likewise.
64882 (__strcspn_c2): Likewise.
64883 (__strcspn_c3): Likewise.
64884 (__strspn_c1): Likewise.
64885 (__strspn_c2): Likewise.
64886 (__strspn_c3): Likewise.
64887 (__strsep_1c): Likewise.
64888 (__strsep_2c): Likewise.
64889 (__strsep_3c): Likewise.
64890 * string/memccpy.c (__memccpy): Likewise.
64891 * string/stpcpy.c (__stpcpy): Likewise.
64892 * string/strcmp.c (strcmp): Likewise.
64893 * string/strrchr.c (strrchr): Likewise.
64894 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64895 Likewise.
64896 * sysdeps/mach/hurd/getcwd.c
64897 (_hurd_canonicalize_directory_name_internal): Likewise.
64898 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64899 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64900 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64901 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64902 Likewise, in both definitions.
64903 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64904 definitions.
64905 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64906 64] (__bswap_64): Likewise.
64907 * time/test_time.c (main): Likewise.
64908 * time/tzfile.c (__tzfile_read): Likewise.
64909 (__tzfile_compute): Likewise.
64910 * time/tzset.c (__tzset_parse_tz): Likewise.
64911 (tzset_internal): Likewise.
64912 (compute_change): Likewise.
64913 * wcsmbs/wcscat.c (__wcscat): Likewise.
64914 * wcsmbs/wcschr.c (wcschr): Likewise.
64915 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64916 * wcsmbs/wcscspn.c (wcscspn): Likewise.
64917 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64918 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64919 * wcsmbs/wcsspn.c (wcsspn): Likewise.
64920 * wcsmbs/wcsstr.c (wcsstr): Likewise.
64921 * wcsmbs/wmemchr.c (wmemchr): Likewise.
64922 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64923 * wcsmbs/wmemset.c (wmemset): Likewise.
64924
64925 2013-06-06 Joseph Myers <joseph@codesourcery.com>
64926
64927 * scripts/config.guess: Update to version 2013-05-16.
64928 * scripts/config.sub: Update to version 2013-04-24.
64929 * scripts/install-sh: Update to version 2011-11-20.07.
64930 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64931 * scripts/move-if-change: Update to version 2012-01-06 07:23.
64932
64933 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
64934
64935 * debug/fgetws_u_chk.c: Fix leading whitespaces.
64936 * elf/sln.c: Likewise.
64937 * hurd/hurd/ioctl.h: Likewise.
64938 * hurd/hurdmalloc.c: Likewise.
64939 * hurd/xattr.c: Likewise.
64940 * include/shlib-compat.h: Likewise.
64941 * inet/ruserpass.c: Likewise.
64942 * libio/iofgets_u.c: Likewise.
64943 * libio/iofgetws_u.c: Likewise.
64944 * locale/programs/ld-identification.c: Likewise.
64945 * locale/programs/ld-time.c: Likewise.
64946 * mach/msg-destroy.c: Likewise.
64947 * nss/nss_files/files-netgrp.c: Likewise.
64948 * resolv/res_data.c: Likewise.
64949 * soft-fp/op-1.h: Likewise.
64950 * soft-fp/op-2.h: Likewise.
64951 * soft-fp/op-4.h: Likewise.
64952 * soft-fp/op-common.h: Likewise.
64953 * stdio-common/printf_fphex.c: Likewise.
64954 * stdlib/strtod_l.c: Likewise.
64955 * sunrpc/rpc/clnt.h: Likewise.
64956 * sysdeps/generic/framestate.c: Likewise.
64957 * sysdeps/i386/bsd-_setjmp.S: Likewise.
64958 * sysdeps/i386/bsd-setjmp.S: Likewise.
64959 * sysdeps/i386/__longjmp.S: Likewise.
64960 * sysdeps/i386/setjmp.S: Likewise.
64961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64962 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64964 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64966 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64967 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64970 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64971 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64972 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64973 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64974 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64975 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64977 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64978 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64979 * sysdeps/ieee754/support.c: Likewise.
64980 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64981 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64982 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64983 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64984 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64985 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64986 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64987 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64988 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64989 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64990 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64991 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64992 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64993 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64994 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64995 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64996 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64998
64999 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65000
65001 * posix/transbug.c: Remove executable mode.
65002
65003 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65004
65005 * crypt/speeds.c: Remove trailing whitespace.
65006 * dlfcn/default.c: Likewise.
65007 * elf/ifuncdep2.c: Likewise.
65008 * elf/ifuncmain1.c: Likewise.
65009 * elf/ifuncmain1vis.c: Likewise.
65010 * elf/testobj.h: Likewise.
65011 * elf/tst-stackguard1.c: Likewise.
65012 * gmon/sys/gmon.h: Likewise.
65013 * hurd/hurdmsg.c: Likewise.
65014 * hurd/new-fd.c: Likewise.
65015 * hurd/ports-get.c: Likewise.
65016 * iconvdata/ibm1008_420.c: Likewise.
65017 * inet/tst-getni1.c: Likewise.
65018 * inet/tst-getni2.c: Likewise.
65019 * libio/ioungetc.c: Likewise.
65020 * libio/wfiledoalloc.c: Likewise.
65021 * manual/libm-err-tab.pl: Likewise.
65022 * math/w_dremf.c: Likewise.
65023 * misc/ftruncate.c: Likewise.
65024 * posix/bug-glob2.c: Likewise.
65025 * posix/tst-pcre.c: Likewise.
65026 * posix/wait4.c: Likewise.
65027 * resolv/README: Likewise.
65028 * resolv/res_debug.h: Likewise.
65029 * resolv/tst-inet_ntop.c: Likewise.
65030 * setjmp/bug269-setjmp.c: Likewise.
65031 * soft-fp/extended.h: Likewise.
65032 * soft-fp/op-1.h: Likewise.
65033 * soft-fp/op-2.h: Likewise.
65034 * soft-fp/op-4.h: Likewise.
65035 * soft-fp/op-8.h: Likewise.
65036 * soft-fp/testit.c: Likewise.
65037 * stdio-common/bug16.c: Likewise.
65038 * stdlib/random.c: Likewise.
65039 * sunrpc/rpcsvc/rquota.x: Likewise.
65040 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65041 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65043 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65044 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65045 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65046 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65047 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65048 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65049 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65050 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65052 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65053 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65055 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65056 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65057 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65058 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65059 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65060 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65061 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65062 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65063 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65064 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65065 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65067 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65069 * sysdeps/ieee754/s_lib_version.c: Likewise.
65070 * sysdeps/mach/hurd/check_fds.c: Likewise.
65071 * sysdeps/mach/hurd/getsockname.c: Likewise.
65072 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65073 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65074 * sysdeps/powerpc/bits/link.h: Likewise.
65075 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65076 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65077 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65078 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65079 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65080 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65081 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65082 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65083 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65084 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65085 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65086 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65087 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65088 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65089 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65090 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65092 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65094 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65095 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65096 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65098 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65099 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65102 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65103 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65107 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65108 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65109 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65110 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65111 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65112 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65113 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65114 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65115 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65116 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65117 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65118 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65119 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65120 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65121 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65122 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65123 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65124 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65127 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65128 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65129 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65130 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65131 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65132 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65134 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65135 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65136 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65137 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65138 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65139 * sysdeps/powerpc/sysdep.h: Likewise.
65140 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65141 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65142 * sysdeps/sh/dl-trampoline.S: Likewise.
65143 * sysdeps/sh/memset.S: Likewise.
65144 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65145 * sysdeps/sh/strlen.S: Likewise.
65146 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65147 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65148 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65149 * sysdeps/sparc/sparc32/rem.S: Likewise.
65150 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65151 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65152 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65153 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65154 * sysdeps/sparc/sparc32/urem.S: Likewise.
65155 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65156 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65157 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65158 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65160 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65161 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65162 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65163 * sysdeps/unix/bsd/times.c: Likewise.
65164 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65165 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65169 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65170 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65171 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65172 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65173 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65174 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65175 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65176 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65177 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65178 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65179 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65180 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65181 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65182 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65183 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65184 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65185 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65186 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65187 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65188 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65189 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65190 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65191 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65192 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65193 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65194 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65195 * sysdeps/x86_64/strcspn.S: Likewise.
65196
65197 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65198
65199 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65200 generated file. Regenerate properly from gen-translit.pl.
65201 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65202 locale/C-translit.h.
65203
65204 2013-06-05 Andreas Schwab <schwab@suse.de>
65205
65206 [BZ #15100]
65207 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65208 week as 6 instead of -1.
65209 * time/tst-strptime.c (day_tests): Add test case.
65210
65211 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65212
65213 * sysdeps/generic/math_private.h
65214 (libc_feholdexcept_setround_53bit): Replace with
65215 libc_feholdsetround_53bit.
65216 (libc_feupdateenv_53bit): Replace with
65217 libc_feresetround_53bit.
65218 (SET_RESTORE_ROUND_53BIT): Adjust.
65219
65220 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65221
65222 * string/test-strchrnul.c: Add copyright header.
65223
65224 * posix/tst-getaddrinfo4.c: Increase test timeout.
65225
65226 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65227
65228 [BZ #15536]
65229 * math/libm-test.inc (MAX_EXP): Remove
65230 (MIN_EXP): Define.
65231 (ulp): Use MIN_EXP - MANT_DIG.
65232 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65233
65234 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65235
65236 * po/be.po: Revert last change.
65237 * po/zh_CN.po: Likewise.
65238 * po/header.pot: Likewise.
65239
65240 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65241
65242 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65243 link-libc-deps to empty as target-specific variable.
65244 * Makerules (link-libc-args): New variable.
65245 (libc-for-link): Likewise.
65246 (link-libc-deps): Likewise.
65247 (lib%.so): Depend on $(link-libc-deps). Link with
65248 $(link-libc-args).
65249 (build-module): Link with $(link-libc-args).
65250 (build-module-asneeded): Likewise.
65251 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65252 list of objects.
65253 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65254 target-specific variable.
65255 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65256 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65257 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65258 libc.
65259 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65260 libc and ld.so.
65261 ($(objpfx)libpcprofile.so): Likewise.
65262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65263 libc_nonshared.a.
65264 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65265 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65266 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65267 $(link-libc-deps).
65268 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65269 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65270 * login/Makefile ($(objpfx)libutil.so): Likewise.
65271 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65272 * math/Makefile ($(objpfx)libm.so): Likewise.
65273 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65274 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65275 variable instead of depending directly on libc.
65276 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65277 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65278 $(link-libc-deps).
65279 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65280 libc.
65281 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65282 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65283 ($(objpfx)libanl.so): Likewise.
65284 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65285 ld.so.
65286 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65287 $(link-libc-deps).
65288 * sysdeps/i386/fpu/Makefile: Remove file.
65289 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65290 ($(objpfx)libm.so): Remove dependency on ld.so.
65291
65292 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65293
65294 [BZ # 15553]
65295 * nis/yp_xdr.c (XDRMAXNAME): Define.
65296 (XDRMAXRECORD): Define.
65297 (xdr_domainname): Use XDRMAXNAME.
65298 (xdr_mapname): Likewise.
65299 (xdr_peername): Likewise.
65300 (xdr_keydat): Use XDRMAXRECORD.
65301 (xdr_valdat): Likewise.
65302
65303 2013-05-30 Jeff Law <law@redhat.com>
65304
65305 [BZ #14256]
65306 * manual/errno.texi (ESTALE): Update to account for more than
65307 just NFS file systems.
65308 * sysdeps/gnu/errlist.c: Regenerated.
65309
65310 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65311
65312 [BZ #15465]
65313 * elf/Makefile (tests): Add tst-null-argv.
65314 (modules-names): Add tst-null-argv-lib.
65315 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65316 (tst-null-argv-ENV): Set environment for tst-null-argv.
65317 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65318 (RTLD_PROGNAME): New macro.
65319 * elf/tst-null-argv.c: New test case.
65320 * elf/tst-null-argv-lib.c: Library for test case.
65321 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65322 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65323 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65324 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65325 * elf/dl-init.c (call_init): Likewise.
65326 (_dl_init): Likewise.
65327 * elf/dl-load.c (print_search_path): Likewise.
65328 (_dl_map_object): Likewise.
65329 * elf/dl-lookup.c (do_lookup_x): Likewise.
65330 (add_dependency): Likewise.
65331 (_dl_lookup_symbol_x): Likewise.
65332 (_dl_debug_bindings): Likewise.
65333 * elf/dl-open.c (_dl_show_scope): Likewise.
65334 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65335 * elf/dl-version.c (match_symbol): Likewise.
65336 (_dl_check_map_versions): Likewise.
65337 * elf/rtld.c (dl_main): Likewise.
65338 (print_unresolved): Use RTLD_PROGNAME.
65339 (print_missing_version): Likewise.
65340 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65341 (elf_machine_rela): Likewise.
65342 * sysdeps/powerpc/powerpc32/dl-machine.c
65343 (__process_machine_rela): Likewise.
65344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65345 Likewise.
65346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65347 Likewise.
65348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65349 Likewise.
65350 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65352 Likewise.
65353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65354 Likewise.
65355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65356
65357 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65358
65359 * po/be.po: Add descriptive title.
65360 * po/zh_CN.po: Likewise.
65361 * po/header.pot: Likewise.
65362
65363 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65364
65365 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65366 error message.
65367 (enlarge_archive): Likewise.
65368
65369 2013-05-28 Ben North <ben@redfrontdoor.org>
65370
65371 * manual/arith.texi (frexp): It is the magnitude of the return
65372 value which lies in [0.5, 1), not the return value itself.
65373
65374 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65375
65376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65377
65378 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65379
65380 * stdio-common/bug26.c (main): Correct fscanf template.
65381
65382 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65383 declare _dl_skip_args.
65384
65385 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65386 Don't declare.
65387
65388 * manual/platform.texi: Add missing @end deftypefun.
65389
65390 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65391
65392 [BZ #15529]
65393 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65394 bit of mantissa of 2^16382.
65395 * math/libm-test.inc (hypot_test_data): Add more tests.
65396
65397 * math/libm-test.inc: Add drem and pow10 to list of tested
65398 functions.
65399 (pow10_test): New function.
65400 (drem_test): Likewise.
65401 (drem_test_tonearest): Likewise.
65402 (drem_test_towardzero): Likewise.
65403 (drem_test_downward): Likewise.
65404 (drem_test_upward): Likewise.
65405 (main): Call the new functions.
65406
65407 * math/libm-test.inc (finite_test_data): Remove.
65408 (finite_test): Run tests from isfinite_test_data.
65409 (gamma_test_data): Remove.
65410 (gamma_test): Run tests from lgamma_test_data.
65411 * sysdeps/i386/fpu/libm-test-ulps: Update.
65412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65413
65414 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65415
65416 * manual/platform.texi: Add PowerPC PPR function set documentation.
65417 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65418 implementation.
65419
65420 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65421
65422 * math/libm-test.inc (MAX_EXP): Define.
65423 (ULPDIFF): Define.
65424 (ulp): New function.
65425 (check_float_internal): Use ULPDIFF.
65426 (cpow_test): Disable failing test.
65427 (check_ulp): Test ulp() implementation.
65428 (main): Call check_ulp before starting tests.
65429
65430 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65431
65432 * math/gen-libm-test.pl (generate_testfile): Do not handle
65433 START_DATA and END_DATA.
65434 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65435 END_DATA.
65436 (acos_tonearest_test_data): Likewise.
65437 (acos_towardzero_test_data): Likewise.
65438 (acos_downward_test_data): Likewise.
65439 (acos_upward_test_data): Likewise.
65440 (acosh_test_data): Likewise.
65441 (asin_test_data): Likewise.
65442 (asin_tonearest_test_data): Likewise.
65443 (asin_towardzero_test_data): Likewise.
65444 (asin_downward_test_data): Likewise.
65445 (asin_upward_test_data): Likewise.
65446 (asinh_test_data): Likewise.
65447 (atan_test_data): Likewise.
65448 (atanh_test_data): Likewise.
65449 (atan2_test_data): Likewise.
65450 (cabs_test_data): Likewise.
65451 (cacos_test_data): Likewise.
65452 (cacosh_test_data): Likewise.
65453 (carg_test_data): Likewise.
65454 (casin_test_data): Likewise.
65455 (casinh_test_data): Likewise.
65456 (catan_test_data): Likewise.
65457 (catanh_test_data): Likewise.
65458 (cbrt_test_data): Likewise.
65459 (ccos_test_data): Likewise.
65460 (ccosh_test_data): Likewise.
65461 (ceil_test_data): Likewise.
65462 (cexp_test_data): Likewise.
65463 (cimag_test_data): Likewise.
65464 (clog_test_data): Likewise.
65465 (clog10_test_data): Likewise.
65466 (conj_test_data): Likewise.
65467 (copysign_test_data): Likewise.
65468 (cos_test_data): Likewise.
65469 (cos_tonearest_test_data): Likewise.
65470 (cos_towardzero_test_data): Likewise.
65471 (cos_downward_test_data): Likewise.
65472 (cos_upward_test_data): Likewise.
65473 (cosh_test_data): Likewise.
65474 (cosh_tonearest_test_data): Likewise.
65475 (cosh_towardzero_test_data): Likewise.
65476 (cosh_downward_test_data): Likewise.
65477 (cosh_upward_test_data): Likewise.
65478 (cpow_test_data): Likewise.
65479 (cproj_test_data): Likewise.
65480 (creal_test_data): Likewise.
65481 (csin_test_data): Likewise.
65482 (csinh_test_data): Likewise.
65483 (csqrt_test_data): Likewise.
65484 (ctan_test_data): Likewise.
65485 (ctan_tonearest_test_data): Likewise.
65486 (ctan_towardzero_test_data): Likewise.
65487 (ctan_downward_test_data): Likewise.
65488 (ctan_upward_test_data): Likewise.
65489 (ctanh_test_data): Likewise.
65490 (ctanh_tonearest_test_data): Likewise.
65491 (ctanh_towardzero_test_data): Likewise.
65492 (ctanh_downward_test_data): Likewise.
65493 (ctanh_upward_test_data): Likewise.
65494 (erf_test_data): Likewise.
65495 (erfc_test_data): Likewise.
65496 (exp_test_data): Likewise.
65497 (exp_tonearest_test_data): Likewise.
65498 (exp_towardzero_test_data): Likewise.
65499 (exp_downward_test_data): Likewise.
65500 (exp_upward_test_data): Likewise.
65501 (exp10_test_data): Likewise.
65502 (exp2_test_data): Likewise.
65503 (expm1_test_data): Likewise.
65504 (fabs_test_data): Likewise.
65505 (fdim_test_data): Likewise.
65506 (finite_test_data): Likewise.
65507 (floor_test_data): Likewise.
65508 (fma_test_data): Likewise.
65509 (fma_towardzero_test_data): Likewise.
65510 (fma_downward_test_data): Likewise.
65511 (fma_upward_test_data): Likewise.
65512 (fmax_test_data): Likewise.
65513 (fmin_test_data): Likewise.
65514 (fmod_test_data): Likewise.
65515 (fpclassify_test_data): Likewise.
65516 (frexp_test_data): Likewise.
65517 (gamma_test_data): Likewise.
65518 (hypot_test_data): Likewise.
65519 (ilogb_test_data): Likewise.
65520 (isfinite_test_data): Likewise.
65521 (isgreater_test_data): Likewise.
65522 (isgreaterequal_test_data): Likewise.
65523 (isinf_test_data): Likewise.
65524 (isless_test_data): Likewise.
65525 (islessequal_test_data): Likewise.
65526 (islessgreater_test_data): Likewise.
65527 (isnan_test_data): Likewise.
65528 (isnormal_test_data): Likewise.
65529 (issignaling_test_data): Likewise.
65530 (isunordered_test_data): Likewise.
65531 (j0_test_data): Likewise.
65532 (j1_test_data): Likewise.
65533 (jn_test_data): Likewise.
65534 (ldexp_test_data): Likewise.
65535 (lgamma_test_data): Likewise.
65536 (lrint_test_data): Likewise.
65537 (lrint_tonearest_test_data): Likewise.
65538 (lrint_towardzero_test_data): Likewise.
65539 (lrint_downward_test_data): Likewise.
65540 (lrint_upward_test_data): Likewise.
65541 (llrint_test_data): Likewise.
65542 (llrint_tonearest_test_data): Likewise.
65543 (llrint_towardzero_test_data): Likewise.
65544 (llrint_downward_test_data): Likewise.
65545 (llrint_upward_test_data): Likewise.
65546 (log_test_data): Likewise.
65547 (log10_test_data): Likewise.
65548 (log1p_test_data): Likewise.
65549 (log2_test_data): Likewise.
65550 (logb_test_data): Likewise.
65551 (logb_downward_test_data): Likewise.
65552 (lround_test_data): Likewise.
65553 (llround_test_data): Likewise.
65554 (modf_test_data): Likewise.
65555 (nearbyint_test_data): Likewise.
65556 (nextafter_test_data): Likewise.
65557 (nexttoward_test_data): Likewise.
65558 (pow_test_data): Likewise.
65559 (pow_tonearest_test_data): Likewise.
65560 (pow_towardzero_test_data): Likewise.
65561 (pow_downward_test_data): Likewise.
65562 (pow_upward_test_data): Likewise.
65563 (remainder_test_data): Likewise.
65564 (remainder_tonearest_test_data): Likewise.
65565 (remainder_towardzero_test_data): Likewise.
65566 (remainder_downward_test_data): Likewise.
65567 (remainder_upward_test_data): Likewise.
65568 (remquo_test_data): Likewise.
65569 (rint_test_data): Likewise.
65570 (rint_tonearest_test_data): Likewise.
65571 (rint_towardzero_test_data): Likewise.
65572 (rint_downward_test_data): Likewise.
65573 (rint_upward_test_data): Likewise.
65574 (round_test_data): Likewise.
65575 (scalb_test_data): Likewise.
65576 (scalbn_test_data): Likewise.
65577 (scalbln_test_data): Likewise.
65578 (signbit_test_data): Likewise.
65579 (sin_test_data): Likewise.
65580 (sin_tonearest_test_data): Likewise.
65581 (sin_towardzero_test_data): Likewise.
65582 (sin_downward_test_data): Likewise.
65583 (sin_upward_test_data): Likewise.
65584 (sincos_test_data): Likewise.
65585 (sinh_test_data): Likewise.
65586 (sinh_tonearest_test_data): Likewise.
65587 (sinh_towardzero_test_data): Likewise.
65588 (sinh_downward_test_data): Likewise.
65589 (sinh_upward_test_data): Likewise.
65590 (sqrt_test_data): Likewise.
65591 (tan_test_data): Likewise.
65592 (tan_tonearest_test_data): Likewise.
65593 (tan_towardzero_test_data): Likewise.
65594 (tan_downward_test_data): Likewise.
65595 (tan_upward_test_data): Likewise.
65596 (tanh_test_data): Likewise.
65597 (tgamma_test_data): Likewise.
65598 (trunc_test_data): Likewise.
65599 (y0_test_data): Likewise.
65600 (y1_test_data): Likewise.
65601 (yn_test_data): Likewise.
65602 (significand_test_data): Likewise.
65603
65604 * math/gen-libm-test.pl (@functions): Remove variable.
65605 (generate_testfile): Don't handle START and END lines.
65606 * math/libm-test.inc (START): New macro.
65607 (END): Likewise.
65608 (END_COMPLEX): Likewise.
65609 (acos_test): Use END macro without arguments.
65610 (acos_test_tonearest): Likewise.
65611 (acos_test_towardzero): Likewise.
65612 (acos_test_downward): Likewise.
65613 (acos_test_upward): Likewise.
65614 (acosh_test): Likewise.
65615 (asin_test): Likewise.
65616 (asin_test_tonearest): Likewise.
65617 (asin_test_towardzero): Likewise.
65618 (asin_test_downward): Likewise.
65619 (asin_test_upward): Likewise.
65620 (asinh_test): Likewise.
65621 (atan_test): Likewise.
65622 (atanh_test): Likewise.
65623 (atan2_test): Likewise.
65624 (cabs_test): Likewise.
65625 (cacos_test): Use END_COMPLEX macro without arguments.
65626 (cacosh_test): Likewise.
65627 (carg_test): Use END macro without arguments.
65628 (casin_test): Use END_COMPLEX macro without arguments.
65629 (casinh_test): Likewise.
65630 (catan_test): Likewise.
65631 (catanh_test): Likewise.
65632 (cbrt_test): Use END macro without arguments.
65633 (ccos_test): Use END_COMPLEX macro without arguments.
65634 (ccosh_test): Likewise.
65635 (ceil_test): Use END macro without arguments.
65636 (cexp_test): Use END_COMPLEX macro without arguments.
65637 (cimag_test): Use END macro without arguments.
65638 (clog_test): Use END_COMPLEX macro without arguments.
65639 (clog10_test): Likewise.
65640 (conj_test): Likewise.
65641 (copysign_test): Use END macro without arguments.
65642 (cos_test): Likewise.
65643 (cos_test_tonearest): Likewise.
65644 (cos_test_towardzero): Likewise.
65645 (cos_test_downward): Likewise.
65646 (cos_test_upward): Likewise.
65647 (cosh_test): Likewise.
65648 (cosh_test_tonearest): Likewise.
65649 (cosh_test_towardzero): Likewise.
65650 (cosh_test_downward): Likewise.
65651 (cosh_test_upward): Likewise.
65652 (cpow_test): Use END_COMPLEX macro without arguments.
65653 (cproj_test): Likewise.
65654 (creal_test): Use END macro without arguments.
65655 (csin_test): Use END_COMPLEX macro without arguments.
65656 (csinh_test): Likewise.
65657 (csqrt_test): Likewise.
65658 (ctan_test): Likewise.
65659 (ctan_test_tonearest): Likewise.
65660 (ctan_test_towardzero): Likewise.
65661 (ctan_test_downward): Likewise.
65662 (ctan_test_upward): Likewise.
65663 (ctanh_test): Likewise.
65664 (ctanh_test_tonearest): Likewise.
65665 (ctanh_test_towardzero): Likewise.
65666 (ctanh_test_downward): Likewise.
65667 (ctanh_test_upward): Likewise.
65668 (erf_test): Use END macro without arguments.
65669 (erfc_test): Likewise.
65670 (exp_test): Likewise.
65671 (exp_test_tonearest): Likewise.
65672 (exp_test_towardzero): Likewise.
65673 (exp_test_downward): Likewise.
65674 (exp_test_upward): Likewise.
65675 (exp10_test): Likewise.
65676 (exp2_test): Likewise.
65677 (expm1_test): Likewise.
65678 (fabs_test): Likewise.
65679 (fdim_test): Likewise.
65680 (finite_test): Likewise.
65681 (floor_test): Likewise.
65682 (fma_test): Likewise.
65683 (fma_test_towardzero): Likewise.
65684 (fma_test_downward): Likewise.
65685 (fma_test_upward): Likewise.
65686 (fmax_test): Likewise.
65687 (fmin_test): Likewise.
65688 (fmod_test): Likewise.
65689 (fpclassify_test): Likewise.
65690 (frexp_test): Likewise.
65691 (gamma_test): Likewise.
65692 (hypot_test): Likewise.
65693 (ilogb_test): Likewise.
65694 (isfinite_test): Likewise.
65695 (isgreater_test): Likewise.
65696 (isgreaterequal_test): Likewise.
65697 (isinf_test): Likewise.
65698 (isless_test): Likewise.
65699 (islessequal_test): Likewise.
65700 (islessgreater_test): Likewise.
65701 (isnan_test): Likewise.
65702 (isnormal_test): Likewise.
65703 (issignaling_test): Likewise.
65704 (isunordered_test): Likewise.
65705 (j0_test): Likewise.
65706 (j1_test): Likewise.
65707 (jn_test): Likewise.
65708 (ldexp_test): Likewise.
65709 (lgamma_test): Likewise.
65710 (lrint_test): Likewise.
65711 (lrint_test_tonearest): Likewise.
65712 (lrint_test_towardzero): Likewise.
65713 (lrint_test_downward): Likewise.
65714 (lrint_test_upward): Likewise.
65715 (llrint_test): Likewise.
65716 (llrint_test_tonearest): Likewise.
65717 (llrint_test_towardzero): Likewise.
65718 (llrint_test_downward): Likewise.
65719 (llrint_test_upward): Likewise.
65720 (log_test): Likewise.
65721 (log10_test): Likewise.
65722 (log1p_test): Likewise.
65723 (log2_test): Likewise.
65724 (logb_test): Likewise.
65725 (logb_test_downward): Likewise.
65726 (lround_test): Likewise.
65727 (llround_test): Likewise.
65728 (modf_test): Likewise.
65729 (nearbyint_test): Likewise.
65730 (nextafter_test): Likewise.
65731 (nexttoward_test): Likewise.
65732 (pow_test): Likewise.
65733 (pow_test_tonearest): Likewise.
65734 (pow_test_towardzero): Likewise.
65735 (pow_test_downward): Likewise.
65736 (pow_test_upward): Likewise.
65737 (remainder_test): Likewise.
65738 (remainder_test_tonearest): Likewise.
65739 (remainder_test_towardzero): Likewise.
65740 (remainder_test_downward): Likewise.
65741 (remainder_test_upward): Likewise.
65742 (remquo_test): Likewise.
65743 (rint_test): Likewise.
65744 (rint_test_tonearest): Likewise.
65745 (rint_test_towardzero): Likewise.
65746 (rint_test_downward): Likewise.
65747 (rint_test_upward): Likewise.
65748 (round_test): Likewise.
65749 (scalb_test): Likewise.
65750 (scalbn_test): Likewise.
65751 (scalbln_test): Likewise.
65752 (signbit_test): Likewise.
65753 (sin_test): Likewise.
65754 (sin_test_tonearest): Likewise.
65755 (sin_test_towardzero): Likewise.
65756 (sin_test_downward): Likewise.
65757 (sin_test_upward): Likewise.
65758 (sincos_test): Likewise.
65759 (sinh_test): Likewise.
65760 (sinh_test_tonearest): Likewise.
65761 (sinh_test_towardzero): Likewise.
65762 (sinh_test_downward): Likewise.
65763 (sinh_test_upward): Likewise.
65764 (sqrt_test): Likewise.
65765 (tan_test): Likewise.
65766 (tan_test_tonearest): Likewise.
65767 (tan_test_towardzero): Likewise.
65768 (tan_test_downward): Likewise.
65769 (tan_test_upward): Likewise.
65770 (tanh_test): Likewise.
65771 (tgamma_test): Likewise.
65772 (trunc_test): Likewise.
65773 (y0_test): Likewise.
65774 (y1_test): Likewise.
65775 (yn_test): Likewise.
65776 (significand_test): Likewise.
65777
65778 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
65779
65780 [BZ #15381]
65781 * libio/genops.c (_IO_no_init): Initialize wide struct info.
65782
65783 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
65784
65785 [BZ #14894]
65786 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65787 __ppc_mdoio and __ppc_mdoom.
65788 * manual/platform.texi: Document new functions __ppc_yield,
65789 __ppc_mdoio and __ppc_mdoom.
65790
65791 2013-05-22 Carlos O'Donell <carlos@redhat.com>
65792
65793 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65794 (main): Mention "tls" pseudo-hwcap is legacy.
65795 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65796
65797 2013-05-22 Joseph Myers <joseph@codesourcery.com>
65798
65799 * math/gen-libm-test.pl (parse_args): Output only string of
65800 arguments as text for test name, not full call or descriptions of
65801 tests for extra outputs.
65802 (generate_testfile): Do not pass function name to parse_args.
65803 Generate this_func variable from START.
65804 * math/libm-test.inc (struct test_f_f_data): Rename test_name
65805 field to arg_str.
65806 (struct test_ff_f_data): Likewise.
65807 (test_ff_f_data_nexttoward): Likewise.
65808 (struct test_fi_f_data): Likewise.
65809 (struct test_fl_f_data): Likewise.
65810 (struct test_if_f_data): Likewise.
65811 (struct test_fff_f_data): Likewise.
65812 (struct test_c_f_data): Likewise.
65813 (struct test_f_f1_data): Likewise. Remove field extra_name.
65814 (struct test_fF_f1_data): Likewise.
65815 (struct test_ffI_f1_data): Likewise.
65816 (struct test_c_c_data): Rename test_name field to arg_str.
65817 (struct test_cc_c_data): Likewise.
65818 (struct test_f_i_data): Likewise.
65819 (struct test_ff_i_data): Likewise.
65820 (struct test_f_l_data): Likewise.
65821 (struct test_f_L_data): Likewise.
65822 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
65823 and extra2_name.
65824 (COMMON_TEST_SETUP): New macro.
65825 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65826 (COMMON_TEST_CLEANUP): Likewise.
65827 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65828 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
65829 macros.
65830 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65831 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
65832 macros.
65833 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65834 (RUN_TEST_fff_f): Take argument string. Call new setup and
65835 cleanup macros.
65836 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65837 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
65838 macros.
65839 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65840 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
65841 macros.
65842 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65843 (RUN_TEST_fF_f1): Take argument string. Call new setup and
65844 cleanup macros.
65845 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65846 (RUN_TEST_fI_f1): Take argument string. Call new setup and
65847 cleanup macros.
65848 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65849 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
65850 cleanup macros.
65851 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65852 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
65853 macros.
65854 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65855 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
65856 macros.
65857 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65858 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
65859 macros.
65860 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65861 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
65862 cleanup macros.
65863 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65864 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
65865 cleanup macros.
65866 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65867 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
65868 macros.
65869 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65870 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
65871 cleanup macros.
65872 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65873 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
65874 macros.
65875 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65876 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
65877 macros.
65878 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65879 (RUN_TEST_fFF_11): Take argument string. Call new setup and
65880 cleanup macros.
65881 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65882
65883 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
65884
65885 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65886 to _sifields.sigfault.
65887 (si_addr_lsb): Define new macro.
65888 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65890 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65891
65892 2013-05-03 Carlos O'Donell <carlos at redhat.com>
65893
65894 [BZ #15441]
65895 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65896 returns -1.
65897 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65898 null return -1.
65899 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65900 loading the domain.
65901
65902 2013-05-22 Joseph Myers <joseph@codesourcery.com>
65903
65904 * math/gen-libm-test.pl (parse_args): Do not include expected
65905 result in test name.
65906 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65907 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65908 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65909 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65910 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65912
65913 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
65914
65915 * benchtests/Makefile: Sort function entries.
65916
65917 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65918 tanh, asinh, acosh, atanh.
65919 * benchtests/acos-inputs: New file.
65920 * benchtests/acosh-inputs: New file.
65921 * benchtests/asin-inputs: New file.
65922 * benchtests/asinh-inputs: New file.
65923 * benchtests/atanh-inputs: New file.
65924 * benchtests/cosh-inputs: New file.
65925 * benchtests/log-inputs: New file.
65926 * benchtests/sinh-inputs: New file.
65927 * benchtests/tanh-inputs: New file.
65928
65929 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
65930
65931 [BZ #15339]
65932 * posix/tst-getaddrinfo4.c: New test.
65933 * posix/Makefile (tests): Add it.
65934
65935 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65936
65937 [BZ #15339]
65938 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65939 when no services were used.
65940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65941 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65942
65943 2013-05-21 Andreas Schwab <schwab@suse.de>
65944
65945 [BZ #15014]
65946 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65947 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65948 successful.
65949 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65950 redundant variable declarations and reallocation of buffer when
65951 parsing as IPv6 address. Always set NSS status when called from
65952 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
65953 buffer too small. Correct computation of needed size.
65954 * nss/Makefile (tests): Add test-digits-dots.
65955 * nss/test-digits-dots.c: New test.
65956
65957 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65958
65959 * benchtests/Makefile: Remove instructions for adding
65960 benchmark tests.
65961 * benchtests/README: New file to explain how to execute and
65962 enhance the benchmark tests.
65963
65964 2013-05-21 Andreas Schwab <schwab@suse.de>
65965
65966 [BZ #15493]
65967 * setjmp/Makefile (tests): Add tst-sigsetjmp.
65968 * setjmp/tst-sigsetjmp.c: New test.
65969
65970 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
65971
65972 * sysdeps/x86_64/memset.S (memset): New implementation.
65973 (__bzero): Likewise.
65974 (__memset_tail): New function.
65975
65976 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
65977
65978 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65979 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65980 __memcpy_sse2_unaligned ifunc selection.
65981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65982 Add memcpy-sse2-unaligned.S.
65983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65984 Add: __memcpy_sse2_unaligned.
65985
65986 2013-05-19 Joseph Myers <joseph@codesourcery.com>
65987
65988 [BZ #15490]
65989 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65990 math_force_eval before restoring floating-point envrionment.
65991 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65993 Likewise.
65994 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65995 <math_private.h>.
65996 (__nearbyintl): Use math_force_eval before restoring
65997 floating-point environment.
65998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65999
66000 * math/gen-libm-test.pl (special_functions): Remove.
66001 (parse_args): Don't handle TEST_extra. Handle functions with no
66002 return value.
66003 * math/libm-test.inc (struct test_sincos_data): Replace with
66004 struct test_fFF_11_data.
66005 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66006 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66007 (sincos_test_data): Change element type to struct
66008 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66009 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66010 RUN_TEST_LOOP_sincos.
66011 * math/README.libm-test: Don't mention special handling of
66012 individual functions.
66013 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66014 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66015 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66016 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66017 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66019
66020 * math/gen-libm-test.pl (get_variable): Remove function.
66021 (parse_args): Don't show pointer parameters to call in test
66022 names. Use "extra output N" in test names for extra outputs
66023 rather than naming variables.
66024
66025 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66026
66027 [BZ #15488]
66028 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66029 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66030 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66031 double tests.
66032 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66033 disable.
66034 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66035 check_long_double.
66036
66037 * math/gen-libm-test.pl (@tests): Remove variable.
66038 ($count): Likewise.
66039 (new_test): Remove function.
66040 (show_exceptions): New function.
66041 (special_functions): Use show_exceptions instead of new_test.
66042 (parse_args): Likewise.
66043 (generate_testfile): Pass only function name in generated call to
66044 print_max_error or print_complex_max_error.
66045 (get_ulps): Do not handle complex tests specially.
66046 (output_test): Rename to ...
66047 (get_all_ulps_for_test): ... this. Return a string rather than
66048 printing to a file. Require ulps to be present.
66049 (output_ulps): Generate arrays rather than #defines.
66050 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66051 (struct ulp_data): New type.
66052 (BUILD_COMPLEX_ULP): Remove macro.
66053 (compare_ulp_data): New function.
66054 (find_ulps): Likewise.
66055 (find_test_ulps): Likewise.
66056 (find_function_ulps): Likewise.
66057 (find_complex_function_ulps): Likewise.
66058 (print_max_error): Determine allowed ulps using
66059 find_function_ulps.
66060 (print_complex_max_error): Determine allowed ulps using
66061 find_complex_function_ulps.
66062 (check_float_internal): Determine max ulps using find_test_ulps.
66063 (check_float): Do not take max_ulp parameter. Update call to
66064 check_float_internal.
66065 (check_complex): Likewise.
66066 (check_int): Do not take max_ulp parameter.
66067 (check_long): Likewise.
66068 (check_bool): Likewise.
66069 (check_longlong): Likewise.
66070 (struct test_f_f_data): Remove max_ulp field.
66071 (struct test_ff_f_data): Likewise.
66072 (struct test_ff_f_data_nexttoward): Likewise.
66073 (struct test_fi_f_data): Likewise.
66074 (struct test_fl_f_data): Likewise.
66075 (struct test_if_f_data): Likewise.
66076 (struct test_fff_f_data): Likewise.
66077 (struct test_c_f_data): Likewise.
66078 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66079 (struct test_fF_f1_data): Likewise.
66080 (struct test_ffI_f1_data): Likewise.
66081 (struct test_c_c_data): Remove max_ulp field.
66082 (struct test_cc_c_data): Likewise.
66083 (struct test_f_i_data): Likewise.
66084 (struct test_ff_i_data): Likewise.
66085 (struct test_f_l_data): Likewise.
66086 (struct test_f_L_data): Likewise.
66087 (struct test_sincos_data): Likewise.
66088 (RUN_TEST_f_f): Do not handle ulps.
66089 (RUN_TEST_LOOP_f_f): Likewise.
66090 (RUN_TEST_2_f): Likewise.
66091 (RUN_TEST_LOOP_2_f): Likewise.
66092 (RUN_TEST_fff_f): Likewise.
66093 (RUN_TEST_LOOP_fff_f): Likewise.
66094 (RUN_TEST_c_f): Likewise.
66095 (RUN_TEST_LOOP_c_f): Likewise.
66096 (RUN_TEST_f_f1): Likewise.
66097 (RUN_TEST_LOOP_f_f1): Likewise.
66098 (RUN_TEST_fF_f1): Likewise.
66099 (RUN_TEST_LOOP_fF_f1): Likewise.
66100 (RUN_TEST_fI_f1): Likewise.
66101 (RUN_TEST_LOOP_fI_f1): Likewise.
66102 (RUN_TEST_ffI_f1): Likewise.
66103 (RUN_TEST_LOOP_ffI_f1): Likewise.
66104 (RUN_TEST_c_c): Likewise.
66105 (RUN_TEST_LOOP_c_c): Likewise.
66106 (RUN_TEST_cc_c): Likewise.
66107 (RUN_TEST_LOOP_cc_c): Likewise.
66108 (RUN_TEST_f_i): Likewise.
66109 (RUN_TEST_LOOP_f_i): Likewise.
66110 (RUN_TEST_f_i_tg): Likewise.
66111 (RUN_TEST_LOOP_f_i_tg): Likewise.
66112 (RUN_TEST_ff_i_tg): Likewise.
66113 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66114 (RUN_TEST_f_b): Likewise.
66115 (RUN_TEST_LOOP_f_b): Likewise.
66116 (RUN_TEST_f_b_tg): Likewise.
66117 (RUN_TEST_LOOP_f_b_tg): Likewise.
66118 (RUN_TEST_f_l): Likewise.
66119 (RUN_TEST_LOOP_f_l): Likewise.
66120 (RUN_TEST_f_L): Likewise.
66121 (RUN_TEST_LOOP_f_L): Likewise.
66122 (RUN_TEST_sincos): Likewise.
66123 (RUN_TEST_LOOP_sincos): Likewise.
66124
66125 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66126
66127 [BZ #15480]
66128 [BZ #15485]
66129 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66130 main case of finite arguments, set rounding mode to FE_TONEAREST
66131 and discard exceptions.
66132 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66133 exceptions.
66134 (remainder_tonearest_test_data): New variable.
66135 (remainder_test_tonearest): New function.
66136 (remainder_towardzero_test_data): New variable.
66137 (remainder_test_towardzero): New function.
66138 (remainder_downward_test_data): New variable.
66139 (remainder_test_downward): New function.
66140 (remainder_upward_test_data): New variable.
66141 (remainder_test_upward): New function.
66142 (main): Call the new test functions.
66143
66144 * math/libm-test.inc (struct test_f_f1_data): Remove field
66145 extra_init.
66146 (struct test_fF_f1_data): Likewise.
66147 (struct test_ffI_f1_data): Likewise.
66148 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66149 based on value of EXTRA_EXPECTED.
66150 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66151 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66152 EXTRA_VAR based on value of EXTRA_EXPECTED.
66153 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66154 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66155 EXTRA_VAR based on value of EXTRA_EXPECTED.
66156 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66157 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66158 EXTRA_VAR based on value of EXTRA_EXPECTED.
66159 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66160 * math/gen-libm-test.pl (parse_args): Don't output initializers
66161 for extra output values.
66162
66163 * math/libm-test.inc (check_int): Expect result to be exactly
66164 equal to expected value and do not handle ulps.
66165 (check_long): Likewise.
66166 (check_longlong): Likewise.
66167
66168 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66169 exceptions.
66170 (cimag_test_data): Likewise.
66171 (conj_test_data): Likewise.
66172 (copysign_test_data): Likewise.
66173 (cproj_test_data): Likewise.
66174 (creal_test_data): Likewise.
66175 (fabs_test_data): Likewise.
66176 (fdim_test_data): Likewise.
66177 (finite_test_data): Likewise.
66178 (floor_test_data): Likewise.
66179 (fmax_test_data): Likewise.
66180 (fmin_test_data): Likewise.
66181 (fmod_test_data): Likewise.
66182 (fpclassify_test_data): Likewise.
66183 (frexp_test_data): Likewise.
66184 (ilogb_test_data): Likewise.
66185 (isfinite_test_data): Likewise.
66186 (isgreater_test_data): Likewise.
66187 (isgreaterequal_test_data): Likewise.
66188 (isinf_test_data): Likewise.
66189 (isless_test_data): Likewise.
66190 (islessequal_test_data): Likewise.
66191 (islessgreater_test_data): Likewise.
66192 (isnan_test_data): Likewise.
66193 (isnormal_test_data): Likewise.
66194 (issignaling_test_data): Likewise.
66195 (isunordered_test_data): Likewise.
66196 (ldexp_test_data): Likewise.
66197 (lrint_test_data): Likewise.
66198 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66199 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66200 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66201 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66202 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66203 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66204 test input.
66205 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66206 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66207 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66208 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66209 that test input.
66210 (lrint_downward_test_data): Test for "inexact" exceptions.
66211 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66212 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66213 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66214 test input.
66215 (lrint_upward_test_data): Test for "inexact" exceptions.
66216 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66217 test input.
66218 (llrint_test_data): Test for "inexact" exceptions.
66219 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66220 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66221 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66222 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66223 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66224 (llrint_downward_test_data): Test for "inexact" exceptions.
66225 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66226 (llrint_upward_test_data): Test for "inexact" exceptions.
66227 (logb_test_data): Likewise.
66228 (logb_downward_test_data): Likewise.
66229 (nextafter_test_data): Likewise.
66230 (nexttoward_test_data): Likewise.
66231 (remainder_test_data): Likewise.
66232 (remquo_test_data): Likewise.
66233 (scalbn_test_data): Likewise.
66234 (scalbln_test_data): Likewise.
66235 (signbit_test_data): Likewise.
66236 (sqrt_test_data): Likewise.
66237 (significand_test_data): Likewise.
66238
66239 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66240
66241 [BZ #15424]
66242 * benchtests/bench-modf.c (struct args): Mark arg0 as
66243 volatile.
66244 * scripts/bench.pl: Mark members of struct args as volatile.
66245
66246 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66247
66248 [BZ # 15497]
66249 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66250 negative infinity on POWER6 or lower.
66251 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66252
66253 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66254
66255 [BZ #15442]
66256 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66257 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66258 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66259 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66260 (_FP_SETQNAN): New macro.
66261 (_FP_SETQNAN_SEMIRAW): Likewise.
66262 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66263 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66264 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66265 (FP_EXTEND): Use _FP_FRAC_SNANP.
66266 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66267 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66268 into account.
66269 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66270 New macro.
66271 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66272 Likewise.
66273
66274 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66275
66276 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66277 with DIVIDE_BY_ZERO_EXCEPTION.
66278 (gamma_test_data): Likewise.
66279 (lgamma_test_data): Likewise.
66280 (log_test_data): Likewise.
66281 (log10_test_data): Likewise.
66282 (log2_test_data): Likewise.
66283 (tgamma_test_data): Likewise.
66284
66285 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66286 (acos_test_tonearest): Likewise.
66287 (acos_test_towardzero): Likewise.
66288 (acos_test_downward): Likewise.
66289 (acos_test_upward): Likewise.
66290 (acosh_test): Likewise.
66291 (asin_test): Likewise.
66292 (asin_test_tonearest): Likewise.
66293 (asin_test_towardzero): Likewise.
66294 (asin_test_downward): Likewise.
66295 (asin_test_upward): Likewise.
66296 (asinh_test): Likewise.
66297 (atan_test): Likewise.
66298 (atanh_test): Likewise.
66299 (atan2_test): Likewise.
66300 (cabs_test): Likewise.
66301 (cacos_test): Likewise.
66302 (cacosh_test): Likewise.
66303 (casin_test): Likewise.
66304 (casinh_test): Likewise.
66305 (catan_test): Likewise.
66306 (catanh_test): Likewise.
66307 (cbrt_test): Likewise.
66308 (ccos_test): Likewise.
66309 (ccosh_test): Likewise.
66310 (cexp_test): Likewise.
66311 (clog_test): Likewise.
66312 (clog10_test): Likewise.
66313 (cos_test): Likewise.
66314 (cos_test_tonearest): Likewise.
66315 (cos_test_towardzero): Likewise.
66316 (cos_test_downward): Likewise.
66317 (cos_test_upward): Likewise.
66318 (cosh_test): Likewise.
66319 (cosh_test_tonearest): Likewise.
66320 (cosh_test_towardzero): Likewise.
66321 (cosh_test_downward): Likewise.
66322 (cosh_test_upward): Likewise.
66323 (cpow_test): Likewise.
66324 (csin_test): Likewise.
66325 (csinh_test): Likewise.
66326 (csqrt_test): Likewise.
66327 (ctan_test): Likewise.
66328 (ctan_test_tonearest): Likewise.
66329 (ctan_test_towardzero): Likewise.
66330 (ctan_test_downward): Likewise.
66331 (ctan_test_upward): Likewise.
66332 (ctanh_test): Likewise.
66333 (ctanh_test_tonearest): Likewise.
66334 (ctanh_test_towardzero): Likewise.
66335 (ctanh_test_downward): Likewise.
66336 (ctanh_test_upward): Likewise.
66337 (erf_test): Likewise.
66338 (erfc_test): Likewise.
66339 (exp_test): Likewise.
66340 (exp_test_tonearest): Likewise.
66341 (exp_test_towardzero): Likewise.
66342 (exp_test_downward): Likewise.
66343 (exp_test_upward): Likewise.
66344 (exp10_test): Likewise.
66345 (exp2_test): Likewise.
66346 (expm1_test): Likewise.
66347 (fmod_test): Likewise.
66348 (gamma_test): Likewise.
66349 (hypot_test): Likewise.
66350 (j0_test): Likewise.
66351 (j1_test): Likewise.
66352 (jn_test): Likewise.
66353 (lgamma_test): Likewise.
66354 (log_test): Likewise.
66355 (log10_test): Likewise.
66356 (log1p_test): Likewise.
66357 (log2_test): Likewise.
66358 (logb_test_downward): Likewise.
66359 (pow_test): Likewise.
66360 (pow_test_tonearest): Likewise.
66361 (pow_test_towardzero): Likewise.
66362 (pow_test_downward): Likewise.
66363 (pow_test_upward): Likewise.
66364 (remainder_test): Likewise.
66365 (remquo_test): Likewise.
66366 (sin_test): Likewise.
66367 (sin_test_tonearest): Likewise.
66368 (sin_test_towardzero): Likewise.
66369 (sin_test_downward): Likewise.
66370 (sin_test_upward): Likewise.
66371 (sincos_test): Likewise.
66372 (sinh_test): Likewise.
66373 (sinh_test_tonearest): Likewise.
66374 (sinh_test_towardzero): Likewise.
66375 (sinh_test_downward): Likewise.
66376 (sinh_test_upward): Likewise.
66377 (sqrt_test): Likewise.
66378 (tan_test): Likewise.
66379 (tan_test_tonearest): Likewise.
66380 (tan_test_towardzero): Likewise.
66381 (tan_test_downward): Likewise.
66382 (tan_test_upward): Likewise.
66383 (tanh_test): Likewise.
66384 (tgamma_test): Likewise.
66385 (y0_test): Likewise.
66386 (y1_test): Likewise.
66387 (yn_test): Likewise.
66388
66389 * math/gen-libm-test.pl (adjust_arg): Remove function.
66390 (special_function): Remove argument $in_func. Only handle
66391 generating output for tables of tests, not inside functions.
66392 (parse_args): Likewise.
66393 (generate_testfile): Remove variable $in_func. Update call to
66394 parse_args.
66395 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66396 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66397 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66398 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66399 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66400 (MAX_VALUE_INIT): Rename macro to max_value.
66401 (MIN_VALUE_INIT): Rename macro to min_value.
66402 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66403 (plus_zero): Remove variable.
66404 (minus_zero): Likewise.
66405 (plus_infty): Likewise.
66406 (minus_infty): Likewise.
66407 (qnan_value): Likewise.
66408 (max_value): Likewise.
66409 (min_value): Likewise.
66410 (min_subnorm_value): Likewise.
66411
66412 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66413
66414 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66415 uint64_t or uint32_t usage.
66416 * crypt/sha256-block.c: Likewise.
66417 * crypt/sha256-crypt.c: Likewise.
66418 * crypt/sha256.c: Likewise.
66419 * crypt/sha512-block.c: Likewise.
66420 * crypt/sha512-crypt.c: Likewise.
66421 * crypt/sha512.c: Likewise.
66422 * debug/backtrace-tst.c: Likewise.
66423 * debug/pcprofiledump.c: Likewise.
66424 * elf/cache.c: Likewise.
66425 * elf/dl-cache.c: Likewise.
66426 * elf/dl-misc.c: Likewise.
66427 * elf/dl-profile.c: Likewise.
66428 * elf/dl-support.c: Likewise.
66429 * elf/ldconfig.c: Likewise.
66430 * elf/sprof.c: Likewise.
66431 * iconv/dummy-repertoire.c: Likewise.
66432 * iconv/iconv_charmap.c: Likewise.
66433 * iconv/skeleton.c: Likewise.
66434 * iconvdata/8bit-generic.c: Likewise.
66435 * iconvdata/cp737.h: Likewise.
66436 * iconvdata/cp775.h: Likewise.
66437 * iconvdata/ibm1008.h: Likewise.
66438 * iconvdata/ibm1025.h: Likewise.
66439 * iconvdata/ibm1046.h: Likewise.
66440 * iconvdata/ibm1097.h: Likewise.
66441 * iconvdata/ibm1112.h: Likewise.
66442 * iconvdata/ibm1122.h: Likewise.
66443 * iconvdata/ibm1123.h: Likewise.
66444 * iconvdata/ibm1124.h: Likewise.
66445 * iconvdata/ibm1129.h: Likewise.
66446 * iconvdata/ibm1130.h: Likewise.
66447 * iconvdata/ibm1132.h: Likewise.
66448 * iconvdata/ibm1133.h: Likewise.
66449 * iconvdata/ibm1137.h: Likewise.
66450 * iconvdata/ibm1140.h: Likewise.
66451 * iconvdata/ibm1141.h: Likewise.
66452 * iconvdata/ibm1142.h: Likewise.
66453 * iconvdata/ibm1143.h: Likewise.
66454 * iconvdata/ibm1144.h: Likewise.
66455 * iconvdata/ibm1145.h: Likewise.
66456 * iconvdata/ibm1146.h: Likewise.
66457 * iconvdata/ibm1147.h: Likewise.
66458 * iconvdata/ibm1148.h: Likewise.
66459 * iconvdata/ibm1149.h: Likewise.
66460 * iconvdata/ibm1153.h: Likewise.
66461 * iconvdata/ibm1154.h: Likewise.
66462 * iconvdata/ibm1155.h: Likewise.
66463 * iconvdata/ibm1156.h: Likewise.
66464 * iconvdata/ibm1157.h: Likewise.
66465 * iconvdata/ibm1158.h: Likewise.
66466 * iconvdata/ibm1160.h: Likewise.
66467 * iconvdata/ibm1161.h: Likewise.
66468 * iconvdata/ibm1162.h: Likewise.
66469 * iconvdata/ibm1163.h: Likewise.
66470 * iconvdata/ibm1164.h: Likewise.
66471 * iconvdata/ibm1166.h: Likewise.
66472 * iconvdata/ibm1167.h: Likewise.
66473 * iconvdata/ibm12712.h: Likewise.
66474 * iconvdata/ibm1390.h: Likewise.
66475 * iconvdata/ibm1399.h: Likewise.
66476 * iconvdata/ibm16804.h: Likewise.
66477 * iconvdata/ibm4517.h: Likewise.
66478 * iconvdata/ibm4899.h: Likewise.
66479 * iconvdata/ibm4909.h: Likewise.
66480 * iconvdata/ibm4971.h: Likewise.
66481 * iconvdata/ibm5347.h: Likewise.
66482 * iconvdata/ibm803.h: Likewise.
66483 * iconvdata/ibm856.h: Likewise.
66484 * iconvdata/ibm901.h: Likewise.
66485 * iconvdata/ibm902.h: Likewise.
66486 * iconvdata/ibm9030.h: Likewise.
66487 * iconvdata/ibm9066.h: Likewise.
66488 * iconvdata/ibm921.h: Likewise.
66489 * iconvdata/ibm922.h: Likewise.
66490 * iconvdata/ibm9448.h: Likewise.
66491 * iconvdata/isiri-3342.h: Likewise.
66492 * iconvdata/jis0201.h: Likewise.
66493 * include/link.h: Likewise.
66494 * include/netdb.h: Likewise.
66495 * inet/check_native.c: Likewise.
66496 * inet/check_pf.c: Likewise.
66497 * inet/getipv4sourcefilter.c: Likewise.
66498 * inet/getnameinfo.c: Likewise.
66499 * inet/getsourcefilter.c: Likewise.
66500 * inet/htonl.c: Likewise.
66501 * inet/setipv4sourcefilter.c: Likewise.
66502 * inet/setsourcefilter.c: Likewise.
66503 * inet/test-inet6_opt.c: Likewise.
66504 * inet/tst-network.c: Likewise.
66505 * locale/C-collate.c: Likewise.
66506 * locale/C-ctype.c: Likewise.
66507 * locale/C-time.c: Likewise.
66508 * locale/C-translit.h: Likewise.
66509 * locale/loadarchive.c: Likewise.
66510 * locale/programs/3level.h: Likewise.
66511 * locale/programs/charmap.c: Likewise.
66512 * locale/programs/charmap.h: Likewise.
66513 * locale/programs/ld-address.c: Likewise.
66514 * locale/programs/ld-collate.c: Likewise.
66515 * locale/programs/ld-ctype.c: Likewise.
66516 * locale/programs/ld-identification.c: Likewise.
66517 * locale/programs/ld-measurement.c: Likewise.
66518 * locale/programs/ld-messages.c: Likewise.
66519 * locale/programs/ld-monetary.c: Likewise.
66520 * locale/programs/ld-name.c: Likewise.
66521 * locale/programs/ld-numeric.c: Likewise.
66522 * locale/programs/ld-paper.c: Likewise.
66523 * locale/programs/ld-telephone.c: Likewise.
66524 * locale/programs/ld-time.c: Likewise.
66525 * locale/programs/linereader.c: Likewise.
66526 * locale/programs/locale.c: Likewise.
66527 * locale/programs/locarchive.c: Likewise.
66528 * locale/programs/locfile.h: Likewise.
66529 * locale/programs/repertoire.c: Likewise.
66530 * locale/programs/simple-hash.c: Likewise.
66531 * locale/programs/simple-hash.h: Likewise.
66532 * malloc/memusage.c: Likewise.
66533 * malloc/memusagestat.c: Likewise.
66534 * nis/nis_defaults.c: Likewise.
66535 * nis/nis_hash.c: Likewise.
66536 * nis/nis_print.c: Likewise.
66537 * nis/nis_xdr.c: Likewise.
66538 * nscd/connections.c: Likewise.
66539 * nscd/hstcache.c: Likewise.
66540 * nscd/nscd_gethst_r.c: Likewise.
66541 * nscd/nscd_getserv_r.c: Likewise.
66542 * nscd/nscd_helper.c: Likewise.
66543 * nscd/servicescache.c: Likewise.
66544 * nss/makedb.c: Likewise.
66545 * nss/nss_db/db-XXX.c: Likewise.
66546 * nss/nss_db/db-initgroups.c: Likewise.
66547 * nss/nss_db/db-netgrp.c: Likewise.
66548 * nss/nss_files/files-network.c: Likewise.
66549 * nss/nss_files/files-parse.c: Likewise.
66550 * posix/bug-regex5.c: Likewise.
66551 * posix/fnmatch_loop.c: Likewise.
66552 * posix/regcomp.c: Likewise.
66553 * posix/regexec.c: Likewise.
66554 * posix/tst-rfc3484-2.c: Likewise.
66555 * posix/tst-rfc3484-3.c: Likewise.
66556 * posix/tst-rfc3484.c: Likewise.
66557 * resolv/nss_dns/dns-canon.c: Likewise.
66558 * resolv/nss_dns/dns-network.c: Likewise.
66559 * resolv/res_init.c: Likewise.
66560 * resolv/res_mkquery.c: Likewise.
66561 * resolv/tst-aton.c: Likewise.
66562 * stdlib/cxa_atexit.c: Likewise.
66563 * stdlib/cxa_finalize.c: Likewise.
66564 * stdlib/gen-fpioconst.c: Likewise.
66565 * stdlib/strtol_l.c: Likewise.
66566 * string/tst-endian.c: Likewise.
66567 * sunrpc/auth_des.c: Likewise.
66568 * sunrpc/clnt_udp.c: Likewise.
66569 * sunrpc/rtime.c: Likewise.
66570 * sunrpc/svcauth_des.c: Likewise.
66571 * sunrpc/xdr.c: Likewise.
66572 * sunrpc/xdr_intXX_t.c: Likewise.
66573 * sunrpc/xdr_rec.c: Likewise.
66574 * sysdeps/generic/ldconfig.h: Likewise.
66575 * sysdeps/generic/ldsodefs.h: Likewise.
66576 * sysdeps/generic/memusage.h: Likewise.
66577 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66578 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66579 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66585 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66587 * sysdeps/posix/getaddrinfo.c: Likewise.
66588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66592 * sysdeps/powerpc/test-gettimebase.c: Likewise.
66593 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66594 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66595 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66596 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66597 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66598 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66599 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66600 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66601 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66602 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66603 * sysdeps/x86_64/dl-tls.h: Likewise.
66604 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66605 * time/alt_digit.c: Likewise.
66606 * time/era.c: Likewise.
66607 * wcsmbs/tst-c16c32-1.c: Likewise.
66608
66609 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66610
66611 * math/libm-test.inc (struct test_sincos_data): New type.
66612 (RUN_TEST_LOOP_sincos): New macro.
66613 (sincos_test_data): New variable.
66614 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66615
66616 2013-05-16 Richard Henderson <rth@redhat.com>
66617
66618 * math/atest-exp2.c (LIMB64): New macro.
66619 (CONSTSZ): New macro.
66620 (mp_exp1, mp_exp_m1, mp_log2): New variables.
66621 (hexdig): Move ...
66622 (print_mpn_fp): ... to function scope.
66623 (read_mpn_hex): Remove.
66624 (get_log2): Remove.
66625 (exp2_mpn): Use mp_log2.
66626 (main): Use mp_exp1.
66627
66628 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66629
66630 * math/libm-test.inc: Remove comment about not testing "inexact"
66631 exceptions.
66632 (INEXACT_EXCEPTION): New macro.
66633 (NO_INEXACT_EXCEPTION): Likewise.
66634 (INVALID_EXCEPTION_OK): Update value.
66635 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66636 (OVERFLOW_EXCEPTION_OK): Likewise.
66637 (UNDERFLOW_EXCEPTION_OK): Likewise.
66638 (IGNORE_ZERO_INF_SIGN): Likewise.
66639 (ERRNO_UNCHANGED): Likewise.
66640 (ERRNO_EDOM): Likewise.
66641 (ERRNO_ERANGE): Likewise.
66642 (test_exceptions): Handle testing "inexact" exceptions.
66643 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66644 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66645 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66646 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66647 INEXACT_EXCEPTION.
66648 (rint_towardzero_test_data): Likewise.
66649 (rint_downward_test_data): Likewise.
66650 (rint_upward_test_data): Likewise.
66651
66652 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66653 with OVERFLOW_EXCEPTION.
66654 (exp10_test_data): Likewise.
66655 (exp2_test_data): Likewise.
66656 (expm1_test_data): Likewise.
66657 (lgamma_test_data): Likewise.
66658 (pow_test_data): Likewise.
66659 (tgamma_test_data): Likewise.
66660 (yn_test_data): Remove duplicate test of overflow.
66661
66662 * math/libm-test.inc (struct test_cc_c_data): New type.
66663 (RUN_TEST_LOOP_cc_c): New macro.
66664 (cpow_test_data): New variable.
66665 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66666
66667 * math/libm-test.inc (struct test_f_L_data): New type.
66668 (RUN_TEST_LOOP_f_L): New macro.
66669 (llrint_test_data): New variable.
66670 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66671 (llrint_tonearest_test_data): New variable.
66672 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66673 (llrint_towardzero_test_data): New variable.
66674 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66675 (llrint_downward_test_data): New variable.
66676 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66677 (llrint_upward_test_data): New variable.
66678 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66679 (llround_test_data): New variable.
66680 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66681
66682 2013-05-13 Peter Collingbourne <pcc@google.com>
66683
66684 * math/atest-exp2.c (get_log2): Remove const attribute.
66685
66686 2013-05-15 Joseph Myers <joseph@codesourcery.com>
66687
66688 * math/libm-test.inc (struct test_f_l_data): New type.
66689 (RUN_TEST_LOOP_f_l): New macro.
66690 (lrint_test_data): New variable.
66691 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
66692 (lrint_tonearest_test_data): New variable.
66693 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
66694 (lrint_towardzero_test_data): New variable.
66695 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
66696 (lrint_downward_test_data): New variable.
66697 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
66698 (lrint_upward_test_data): New variable.
66699 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
66700 (lround_test_data): New variable.
66701 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66702
66703 2013-05-15 Peter Collingbourne <pcc@google.com>
66704
66705 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66706 (EXTRACT_WORDS64) Use where appropriate.
66707 (INSERT_WORDS64) Likewise.
66708
66709 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66710 constraints with x constraints.
66711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66712
66713 * malloc/obstack.c (_obstack_compat): Add initializer.
66714
66715 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
66716
66717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66718 si_trapno and add si_addr_lsb to _sifields.sigfault.
66719 (si_trapno): Remove macro.
66720 (si_addr_lsb): Define new macro.
66721 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66722
66723 2013-05-15 Joseph Myers <joseph@codesourcery.com>
66724
66725 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66726 instead of TEST_f_l.
66727 (llrint_test_tonearest): Likewise.
66728 (llrint_test_towardzero): Likewise.
66729 (llrint_test_downward): Likewise.
66730 (llrint_test_upward): Likewise.
66731 (llround_test): Likewise.
66732
66733 * math/libm-test.inc (struct test_f_i_data): Add comment.
66734 (RUN_TEST_LOOP_f_b): New macro.
66735 (RUN_TEST_LOOP_f_b_tg): Likewise.
66736 (finite_test_data): New variable.
66737 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66738 (isfinite_test_data): New variable.
66739 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66740 (isinf_test_data): New variable.
66741 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66742 (isnan_test_data): New variable.
66743 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66744 (isnormal_test_data): New variable.
66745 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66746 (issignaling_test_data): New variable.
66747 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66748 (signbit_test_data): New variable.
66749 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66750
66751 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66752 with INVALID_EXCEPTION.
66753 (acosh_test_data): Likewise.
66754 (asin_test_data): Likewise.
66755 (atanh_test_data): Likewise.
66756 (fmod_test_data): Likewise.
66757 (log_test_data): Likewise.
66758 (log10_test_data): Likewise.
66759 (log2_test_data): Likewise.
66760 (pow_test_data): Likewise.
66761 (sqrt_test_data): Likewise.
66762 (y0_test_data): Likewise.
66763 (y1_test_data): Likewise.
66764 (yn_test_data): Likewise.
66765
66766 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66767 function contents.
66768
66769 * math/libm-test.inc (struct test_ff_i_data): New type.
66770 (RUN_TEST_LOOP_ff_i_tg): New macro.
66771 (isgreater_test_data): New variable.
66772 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66773 (isgreaterequal_test_data): New variable.
66774 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66775 (isless_test_data): New variable.
66776 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66777 (islessequal_test_data): New variable.
66778 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66779 (islessgreater_test_data): New variable.
66780 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66781 (isunordered_test_data): New variable.
66782 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66783
66784 2013-05-14 David S. Miller <davem@davemloft.net>
66785
66786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66787
66788 2013-05-14 Joseph Myers <joseph@codesourcery.com>
66789
66790 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66791
66792 * math/libm-test.inc (struct test_fF_f1_data): Change type of
66793 extra_test to int.
66794 (struct test_f_i_data): Change type of max_ulp to int.
66795
66796 * math/libm-test.inc (test_ffI_f1_data): New type.
66797 (RUN_TEST_LOOP_ffI_f1): New macro.
66798 (remquo_test_data): New variable.
66799 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66800
66801 * setjmp/tst-setjmp-fp.c: New file.
66802 * setjmp/Makefile (tests): Add tst-setjmp-fp.
66803 (link-libm): New variable.
66804 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66805
66806 * math/libm-test.inc (struct test_f_i_data): New type.
66807 (RUN_TEST_LOOP_f_i): New macro.
66808 (RUN_TEST_LOOP_f_i_tg): Likewise.
66809 (fpclassify_test_data): New variable.
66810 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66811 (ilogb_test_data): New variable.
66812 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66813
66814 * math/libm-test.inc (scalbln_test): Correct function name in END
66815 call.
66816
66817 * math/libm-test.inc (struct test_f_f1_data): Add comment.
66818 (RUN_TEST_LOOP_fI_f1): New macro.
66819 (frexp_test_data): New variable.
66820 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66821
66822 * math/libm-test.inc (struct test_fF_f1_data): New type.
66823 (RUN_TEST_LOOP_fF_f1): New macro.
66824 (modf_test_data): New variable.
66825 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66826
66827 * math/libm-test.inc (struct test_f_f1_data): New type.
66828 (RUN_TEST_LOOP_f_f1): New macro.
66829 (gamma_test_data): New variable.
66830 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66831 (lgamma_test_data): New variable.
66832 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66833
66834 2013-05-13 Carlos O'Donell <carlos@redhat.com>
66835
66836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66837 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66838 (main): Comment "tls" pseudo-hwcap.
66839
66840 2013-05-13 Joseph Myers <joseph@codesourcery.com>
66841
66842 * math/libm-test.inc (struct test_fl_f_data): New type.
66843 (RUN_TEST_LOOP_fl_f): New variable.
66844 (scalbln_test_data): New variable.
66845 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66846
66847 * math/libm-test.inc (struct test_fi_f_data): New type.
66848 (RUN_TEST_LOOP_fi_f): New macro.
66849 (ldexp_test_data): New variable.
66850 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66851 (scalbn_test_data): New variable.
66852 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66853
66854 * math/libm-test.inc (struct test_c_f_data): New type.
66855 (RUN_TEST_LOOP_c_f): New macro.
66856 (cabs_test_data): New variable.
66857 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66858 (carg_test_data): New variable.
66859 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66860 (cimag_test_data): New variable.
66861 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66862 (creal_test_data): New variable.
66863 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66864
66865 * math/libm-test.inc (struct test_if_f_data): New type.
66866 (RUN_TEST_LOOP_if_f): New macro.
66867 (jn_test_data): New variable.
66868 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66869 (yn_test_data): New variable.
66870 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66871
66872 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66873
66874 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66875
66876 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66877 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66878
66879 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
66880
66881 * benchtests/Makefile (CPPFLAGS-nonlib): Add
66882 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66883 (bench-deps): Add bench-timing.h.
66884 * benchtests-bench-skeleton.c: Include bench-timing.h.
66885 (main): Use TIMING_* macros instead of clock_gettime.
66886 * benchtests/bench-timing.h: New file.
66887
66888 [BZ #14582]
66889 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66890 Renamed from _LIB_VERSION.
66891 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66892
66893 2013-05-12 Joseph Myers <joseph@codesourcery.com>
66894
66895 * math/libm-test.inc (struct test_fff_f_data): New type.
66896 (RUN_TEST_LOOP_fff_f): New macro.
66897 (fma_test_data): New variable.
66898 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66899 (fma_towardzero_test_data): New variable.
66900 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66901 (fma_downward_test_data): New variable.
66902 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66903 (fma_upward_test_data): New variable.
66904 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66905
66906 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66907 (struct test_c_c_data): New type.
66908 (RUN_TEST_LOOP_c_c): New macro.
66909 (cacos_test_data): New variable.
66910 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66911 (cacosh_test_data): New variable.
66912 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66913 (casin_test_data): New variable.
66914 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66915 (casinh_test_data): New variable.
66916 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66917 (catan_test_data): New variable.
66918 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66919 (catanh_test_data): New variable.
66920 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66921 (ccos_test_data): New variable.
66922 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66923 (ccosh_test_data): New variable.
66924 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66925 (cexp_test_data): New variable.
66926 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66927 (clog_test_data): New variable.
66928 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66929 (clog10_test_data): New variable.
66930 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66931 (conj_test_data): New variable.
66932 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66933 (cproj_test_data): New variable.
66934 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66935 (csin_test_data): New variable.
66936 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66937 (csinh_test_data): New variable.
66938 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66939 (csqrt_test_data): New variable.
66940 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66941 (ctan_test_data): New variable.
66942 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66943 (ctan_tonearest_test_data): New variable.
66944 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66945 (ctan_towardzero_test_data): New variable.
66946 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66947 (ctan_downward_test_data): New variable.
66948 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66949 (ctan_upward_test_data): New variable.
66950 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66951 (ctanh_test_data): New variable.
66952 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66953 (ctanh_tonearest_test_data): New variable.
66954 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66955 (ctanh_towardzero_test_data): New variable.
66956 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66957 (ctanh_downward_test_data): New variable.
66958 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66959 (ctanh_upward_test_data): New variable.
66960 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66961 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66962 of BUILD_COMPLEX.
66963
66964 * math/libm-test.inc (struct test_ff_f_data): New type.
66965 (struct test_ff_f_data_nexttoward): Likewise.
66966 (RUN_TEST_LOOP_2_f): New macro.
66967 (RUN_TEST_LOOP_ff_f): Likewise.
66968 (atan2_test_data): New variable.
66969 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66970 (copysign_test_data): New variable.
66971 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66972 (fdim_test_data): New variable.
66973 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66974 (fmax_test_data): New variable.
66975 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66976 (fmin_test_data): New variable.
66977 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66978 (fmod_test_data): New variable.
66979 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66980 (hypot_test_data): New variable.
66981 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66982 (nextafter_test_data): New variable.
66983 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66984 (nexttoward_test_data): New variable.
66985 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66986 (pow_test_data): New variable.
66987 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66988 (pow_tonearest_test_data): New variable.
66989 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66990 (pow_towardzero_test_data): New variable.
66991 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66992 (pow_downward_test_data): New variable.
66993 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66994 (pow_upward_test_data): New variable.
66995 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66996 (remainder_test_data): New variable.
66997 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66998 (scalb_test_data): New variable.
66999 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67000 * sysdeps/i386/fpu/libm-test-ulps: Update.
67001
67002 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67003
67004 * math/libm-test.inc (fma_test): Use max_value instead of local
67005 variable fltmax.
67006 (nextafter_test): Likewise.
67007
67008 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67009 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67010 (acos_downward_test_data): New variable.
67011 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67012 (acos_upward_test_data): New variable.
67013 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67014 (acosh_test_data): New variable.
67015 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67016 (asin_test_data): New variable.
67017 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67018 (asin_tonearest_test_data): New variable.
67019 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67020 (asin_towardzero_test_data): New variable.
67021 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67022 (asin_downward_test_data): New variable.
67023 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67024 (asin_upward_test_data): New variable.
67025 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67026 (asinh_test_data): New variable.
67027 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67028 (atan_test_data): New variable.
67029 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67030 (atanh_test_data): New variable.
67031 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67032 (cbrt_test_data): New variable.
67033 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67034 (ceil_test_data): New variable.
67035 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67036 (cos_test_data): New variable.
67037 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67038 (cos_tonearest_test_data): New variable.
67039 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67040 (cos_towardzero_test_data): New variable.
67041 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67042 (cos_downward_test_data): New variable.
67043 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67044 (cos_upward_test_data): New variable.
67045 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67046 (cosh_test_data): New variable.
67047 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67048 (cosh_tonearest_test_data): New variable.
67049 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67050 (cosh_towardzero_test_data): New variable.
67051 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67052 (cosh_downward_test_data): New variable.
67053 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67054 (cosh_upward_test_data): New variable.
67055 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67056 (erf_test_data): New variable.
67057 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67058 (erfc_test_data): New variable.
67059 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67060 (exp_test_data): New variable.
67061 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67062 (exp_tonearest_test_data): New variable.
67063 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67064 (exp_towardzero_test_data): New variable.
67065 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67066 (exp_downward_test_data): New variable.
67067 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67068 (exp_upward_test_data): New variable.
67069 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67070 (exp10_test_data): New variable.
67071 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67072 (exp2_test_data): New variable.
67073 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67074 (expm1_test_data): New variable.
67075 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67076 (fabs_test_data): New variable.
67077 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67078 (floor_test_data): New variable.
67079 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67080 (j0_test_data): New variable.
67081 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67082 (j1_test_data): New variable.
67083 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67084 (log_test_data): New variable.
67085 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67086 (log10_test_data): New variable.
67087 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67088 (log1p_test_data): New variable.
67089 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67090 (log2_test_data): New variable.
67091 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67092 (logb_test_data): New variable.
67093 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67094 (logb_downward_test_data): New variable.
67095 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67096 (nearbyint_test_data): New variable.
67097 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67098 (rint_test_data): New variable.
67099 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67100 (rint_tonearest_test_data): New variable.
67101 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67102 (rint_towardzero_test_data): New variable.
67103 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67104 (rint_downward_test_data): New variable.
67105 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67106 (rint_upward_test_data): New variable.
67107 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67108 (round_test_data): New variable.
67109 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67110 (sin_test_data): New variable.
67111 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67112 (sin_tonearest_test_data): New variable.
67113 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67114 (sin_towardzero_test_data): New variable.
67115 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67116 (sin_downward_test_data): New variable.
67117 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67118 (sin_upward_test_data): New variable.
67119 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67120 (sinh_test_data): New variable.
67121 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67122 (sinh_tonearest_test_data): New variable.
67123 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67124 (sinh_towardzero_test_data): New variable.
67125 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67126 (sinh_downward_test_data): New variable.
67127 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67128 (sinh_upward_test_data): New variable.
67129 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67130 (sqrt_test_data): New variable.
67131 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67132 (tan_test_data): New variable.
67133 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67134 (tan_tonearest_test_data): New variable.
67135 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67136 (tan_towardzero_test_data): New variable.
67137 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67138 (tan_downward_test_data): New variable.
67139 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67140 (tan_upward_test_data): New variable.
67141 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67142 (tanh_test_data): New variable.
67143 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67144 (tgamma_test_data): New variable.
67145 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67146 (trunc_test_data): New variable.
67147 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67148 (y0_test_data): New variable.
67149 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67150 (y1_test_data): New variable.
67151 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67152 (significand_test_data): New variable.
67153 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67154
67155 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67156
67157 [BZ #12387]
67158 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67159
67160 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67161
67162 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67163
67164 2013-05-10 Andreas Jaeger <aj@suse.de>
67165
67166 [BZ #15448]
67167 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67168 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67169
67170 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67171
67172 * math/gen-libm-test.pl (adjust_arg): New function.
67173 (special_functions): Handle generating output in both functions
67174 and arrays.
67175 (parse_args): Likewise.
67176 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67177 $in_func argument to parse_args.
67178 * math/libm-test.inc (struct test_f_f_data): New type.
67179 (IF_ROUND_INIT_): New macro.
67180 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67181 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67182 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67183 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67184 (ROUND_RESTORE_): Likewise.
67185 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67186 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67187 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67188 (ROUND_RESTORE_FE_UPWARD): Likewise.
67189 (RUN_TEST_LOOP_f_f): New macro.
67190 (acos_test_data): New variable.
67191 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67192 (acos_tonearest_test_data): New variable.
67193 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67194
67195 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67196
67197 * benchtests/bench-skeleton.c (startup): Fix coding style.
67198
67199 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67200
67201 [BZ #6809]
67202 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67203 negative infinity argument.
67204 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67205 negative infinity argument.
67206 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67207 negative infinity argument.
67208 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67209 domain errors.
67210
67211 2013-05-10 Florian Weimer <fweimer@redhat.com>
67212
67213 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67214 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67215 * iconv/iconv_prog.c (main): Likewise.
67216 * locale/programs/charmap-dir.c (charmap_readdir)
67217 (fopen_uncompressed): Likewise.
67218 * locale/programs/locfile.c (siblings_uncached)
67219 (write_locale_data): Use lstat64 instead of lstat.
67220 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67221 stat.
67222
67223 2013-05-10 Andreas Jaeger <aj@suse.de>
67224
67225 [BZ #15395]
67226 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67227 localization.
67228 Include <locale.h>.
67229
67230 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67231
67232 * elf/dl-close.c (_dl_close_worker): Add comments.
67233
67234 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67235
67236 [BZ #15359]
67237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67238 high part of pi/2.
67239 (__ieee754_rem_pio2l): Update comments.
67240
67241 [BZ #15429]
67242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67243 high part of pi/2.
67244 (__ieee754_rem_pio2l): Update comments.
67245
67246 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67247 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67248
67249 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67250 M_PI_4l.
67251
67252 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67253 (M_PI_34_LOG10El): Likewise.
67254 (M_PI2_LOG10El): Likewise.
67255 (M_PI4_LOG10El): Likewise.
67256 (M_PI_LOG10El): Likewise.
67257
67258 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67259
67260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67261
67262 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67263
67264 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67265 (MINUS_ZERO_INIT): Likewise.
67266 (PLUS_INFTY_INIT): Likewise.
67267 (MINUS_INFTY_INIT): Likewise.
67268 (QNAN_VALUE_INIT): Likewise.
67269 (MAX_VALUE_INIT): Likewise.
67270 (MIN_VALUE_INIT): Likewise.
67271 (MIN_SUBNORM_VALUE_INIT): Likewise.
67272 (plus_zero): Initialize with PLUS_ZERO_INIT.
67273 (minus_zero): Initialize with MINUS_ZERO_INIT.
67274 (plus_infty): Initialize with PLUS_INFTY_INIT.
67275 (minus_infty): Initialize with MINUS_INFTY_INIT.
67276 (qnan_value): Initialize with QNAN_VALUE_INIT.
67277 (max_value): Initialize with MAX_VALUE_INIT.
67278 (min_value): Initialize with MIN_VALUE_INIT.
67279 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67280
67281 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67282 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67283 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67284 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67285
67286 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67287 (RUN_TEST_2_f): Likewise.
67288 (RUN_TEST_ff_f): Likewise.
67289 (RUN_TEST_fi_f): Likewise.
67290 (RUN_TEST_fl_f): Likewise.
67291 (RUN_TEST_fff_f): Likewise.
67292 (RUN_TEST_c_f): Likewise.
67293 (RUN_TEST_f_f1): Likewise.
67294 (RUN_TEST_fF_f1): Likewise.
67295 (RUN_TEST_fI_f1): Likewise.
67296 (RUN_TEST_ffI_f1): Likewise.
67297 (RUN_TEST_c_c): Likewise.
67298 (RUN_TEST_cc_c): Likewise.
67299 (RUN_TEST_f_i): Likewise.
67300 (RUN_TEST_f_i_tg): Likewise.
67301 (RUN_TEST_ff_i_tg): Likewise.
67302 (RUN_TEST_f_b): Likewise.
67303 (RUN_TEST_f_b_tg): Likewise.
67304 (RUN_TEST_f_l): Likewise.
67305 (RUN_TEST_f_L): Likewise.
67306 (RUN_TEST_sincos): Likewise.
67307 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67308 whether to show exceptions. Do not include ");\n" in return
67309 value.
67310 (special_functions): Output call to RUN_TEST_sincos instead of
67311 check_float calls. Update calls to new_test.
67312 (parse_args): Output call to single RUN_TEST_* macro instead of
67313 check_* calls and other assignments. Update calls to new_test.
67314
67315 [BZ #2546]
67316 [BZ #2560]
67317 [BZ #5159]
67318 [BZ #15426]
67319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67320 input to result for tgamma overflow.
67321 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67322 (gamma_coeff): New variable.
67323 (NCOEFF): New macro.
67324 (gamma_positive): New function.
67325 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67326 underflow here. Use gamma_positive instead of exp (lgamma) for
67327 other arguments.
67328 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67329 (gamma_coeff): New variable.
67330 (NCOEFF): New macro.
67331 (gammaf_positive): New function.
67332 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67333 underflow here. Use gamma_positive instead of exp (lgamma) for
67334 other arguments.
67335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67336 (gamma_coeff): New variable.
67337 (NCOEFF): New macro.
67338 (gammal_positive): New function.
67339 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67340 underflow here. Use gamma_positive instead of exp (lgamma) for
67341 other arguments.
67342 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67343 (gamma_coeff): New variable.
67344 (NCOEFF): New macro.
67345 (gammal_positive): New function.
67346 (__ieee754_gammal_r): Handle positive infinity, overflow and
67347 underflow here. Handle NaN the same as positive infinity. Remove
67348 check x < 0xffffffff for negative integers. Use gamma_positive
67349 instead of exp (lgamma) for other arguments.
67350 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67351 (gamma_coeff): New variable.
67352 (NCOEFF): New macro.
67353 (gammal_positive): New function.
67354 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67355 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67356 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67357 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67358 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67359 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67360 * sysdeps/generic/math_private.h (__gamma_productf): New
67361 prototype.
67362 (__gamma_product): Likewise.
67363 (__gamma_productl): Likewise.
67364 * math/Makefile (libm-calls): Add gamma_product.
67365 * math/libm-test.inc (tgamma_test): Add more tests.
67366 * sysdeps/i386/fpu/libm-test-ulps: Update.
67367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67368
67369 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67370
67371 * benchtests/bench-skeleton.c (main): Preheat CPU.
67372
67373 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67374
67375 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67376
67377 2013-05-07 Roland McGrath <roland@hack.frob.com>
67378
67379 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67380 and _dl_skip_args_internal.
67381
67382 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67383
67384 * manual/message.texi (Message Translation): Talk about users.
67385 Message to key mapping impacts design.
67386
67387 2013-05-06 Roland McGrath <roland@hack.frob.com>
67388
67389 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67390
67391 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67392
67393 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67394 * sysdeps/wordsize-64/glob64.c: ... here.
67395
67396 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67397 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67398 New macros.
67399
67400 * debug/getlogin_r_chk.c: Moved to ...
67401 * login/getlogin_r_chk.c: ... here.
67402 * debug/Makefile (routines): Move getlogin_r_chk to ...
67403 * login/Makefile (routines): ... here.
67404 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67405 * login/Versions (libc: GLIBC_2.4): ... here.
67406
67407 * io/poll.c (__poll): Renamed from poll.
67408 Add libc_hidden_def.
67409 (poll): Define as weak alias.
67410
67411 * debug/ptsname_r_chk.c: Moved to ...
67412 * login/ptsname_r_chk.c: ... here.
67413 * debug/Makefile (routines): Move ptsname_r_chk to ...
67414 * login/Makefile (routines): ... here.
67415 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67416 * login/Versions (libc: GLIBC_2.4): ... here.
67417
67418 * posix/getlogin.c: Moved to ...
67419 * login/getlogin.c: ... here.
67420 * posix/getlogin_r.c: Moved to ...
67421 * login/getlogin_r.c: ... here.
67422 * posix/getlogin_r.c: Moved to ...
67423 * login/getlogin_r.c: ... here.
67424 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67425 * login/Makefile (routines): ... here.
67426 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67427 * login/Versions (libc: GLIBC_2.0): ... here.
67428
67429 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67430 (setrlimit): Define as weak alias.
67431
67432 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67433 Call __ names for open, ftruncate, and close.
67434 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67435 (truncate): Define as weak alias.
67436
67437 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67438
67439 * math/gen-libm-test.pl (parse_args): Initialize x before each
67440 test of frexp, modf and remquo.
67441
67442 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67443 test signgam value.
67444
67445 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67446
67447 [BZ #15418]
67448 [BZ #15419]
67449 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67450 internal tests.
67451 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67452
67453 2013-05-06 Roland McGrath <roland@hack.frob.com>
67454
67455 * elf/dl-writev.h: New file.
67456 * elf/dl-misc.c: Include it.
67457 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67458 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67459
67460 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67461
67462 * math/libm-test.inc (noXFails): Remove variable.
67463 (noXPasses): Likewise.
67464 (BUILD_COMPLEX_INT): Remove macro.
67465 (print_screen): Remove xfail argument.
67466 (print_screen_max_error): Likewise.
67467 (update_stats): Likewise.
67468 (print_max_error): Likewise. Update calls to other affected
67469 functions.
67470 (print_complex_max_error): Likewise.
67471 (test_single_exception): Update calls to print_screen.
67472 (test_single_errno): Likewise.
67473 (check_float_internal): Remove xfail argument. Update calls to
67474 other affected functions.
67475 (check_float): Likewise.
67476 (check_complex): Likewise.
67477 (check_int): Likewise.
67478 (check_long): Likewise.
67479 (check_bool): Likewise.
67480 (check_longlong): Likewise.
67481 (main): Don't print noXFails and noXPasses.
67482 * math/gen-libm-test.pl (top level): Don't mention expected
67483 failure handling in comment.
67484 (new_test): Don't handle expected failures.
67485 (parse_args): Don't mention expected failure handling in comment.
67486 (generate_testfile): Don't handle expected failures.
67487 (parse_ulps): Likewise.
67488 (print_ulps_file): Likewise.
67489 (get_failure): Remove function.
67490 (output_test): Don't handle expected failures.
67491 * make/README.libm-test: Don't mention expected failure handling.
67492
67493 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67494 (minus_zero): Likewise.
67495 (plus_infty): Likewise.
67496 (minus_infty): Likewise.
67497 (qnan_value): Likewise.
67498 (max_value): Likewise.
67499 (min_value): Likewise.
67500 (min_subnorm_value): Likewise.
67501 (initialize): Do not initialize those variables dynamically.
67502
67503 2013-05-03 Roland McGrath <roland@hack.frob.com>
67504
67505 * io/open.c (__open_2): Moved to ...
67506 * io/open_2.c: ... this new file.
67507 * io/open64.c (__open64_2): Moved to ...
67508 * io/open64_2.c: ... this new file.
67509 * io/openat.c (__openat_2): Moved to ...
67510 * io/openat_2.c: ... this new file.
67511 * io/openat64.c (__openat64_2): Moved to ...
67512 * io/openat64_2.c: ... this new file.
67513 * io/Makefile (routines): Add them.
67514 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67515 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67516 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67517 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67518 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67519 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67520 (__openat64): Add hidden_ver.
67521 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67522 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67523
67524 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67525 Separately conditionalize setting of GLRO(dl_sysinfo) so
67526 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67527 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67528
67529 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67530
67531 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67533 definition.
67534 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67535 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67536 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67537 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67538 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67539
67540 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67541
67542 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67543 test signgam value.
67544
67545 * math/libm-test.inc (hypot_test): Do not use
67546 IGNORE_ZERO_INF_SIGN.
67547
67548 2013-05-03 Andreas Jaeger <aj@suse.de>
67549
67550 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67551 Linux 3.9.
67552 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67553 (PF_MAX): Adjust for VSOCK change.
67554
67555 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67556
67557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67558
67559 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67560
67561 [BZ #15264]
67562 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67563 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67564 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67565
67566 2013-05-02 David S. Miller <davem@davemloft.net>
67567
67568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67569
67570 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
67571
67572 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67573
67574 2013-05-01 Roland McGrath <roland@hack.frob.com>
67575
67576 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67577
67578 2013-05-01 Richard Smith <richard@metafoo.co.uk>
67579
67580 [BZ #14952]
67581 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67582 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67583 Use __attribute__ ((__gnu_inline__)).
67584 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67585 Don't use __attribute__ ((__gnu_inline__)).
67586
67587 2013-05-01 Joseph Myers <joseph@codesourcery.com>
67588
67589 [BZ #15423]
67590 * math/s_catan.c (__catan): Handle small real or imaginary part of
67591 input specially to avoid spurious underflow.
67592 * math/s_catanf.c (__catanf): Likewise.
67593 * math/s_catanh.c (__catanh): Likewise.
67594 * math/s_catanhf.c (__catanhf): Likewise.
67595 * math/s_catanhl.c (__catanhl): Likewise.
67596 * math/s_catanl.c (__catanl): Likewise.
67597 * math/libm-test.inc (catan_test): Add more tests.
67598 (catanh_test): Likewise.
67599 * sysdeps/i386/fpu/libm-test-ulps: Update.
67600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67601
67602 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67603
67604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67605
67606 2013-04-30 Joseph Myers <joseph@codesourcery.com>
67607
67608 [BZ #15416]
67609 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67610 accurately for denominator in atan2.
67611 * math/s_catanf.c (__catanf): Likewise.
67612 * math/s_catanh.c (__catanh): Likewise.
67613 * math/s_catanhf.c (__catanhf): Likewise.
67614 * math/s_catanhl.c (__catanhl): Likewise.
67615 * math/s_catanl.c (__catanl): Likewise.
67616 * math/libm-test.inc (catan_test): Add more tests.
67617 (catanh_test): Likewise.
67618 * sysdeps/i386/fpu/libm-test-ulps: Update.
67619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67620
67621 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67622
67623 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67624
67625 * benchtests/Makefile (bench): Remove slow benchmarks.
67626 * benchtests/atan-inputs: Add slow benchmark inputs.
67627 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67628 (BENCH_FUNC): Accept variant offset.
67629 (VARIANT): Define.
67630 * benchtests/bench-skeleton.c (main): Run benchmark for each
67631 variant.
67632 * benchtests/cos-inputs: Add slow benchmark inputs.
67633 * benchtests/exp-inputs: Likewise.
67634 * benchtests/pow-inputs: Likewise.
67635 * benchtests/sin-inputs: Likewise.
67636 * benchtests/slowatan-inputs: Remove.
67637 * benchtests/slowatan.c: Remove.
67638 * benchtests/slowcos-inputs: Remove.
67639 * benchtests/slowcos.c: Remove.
67640 * benchtests/slowexp-inputs: Remove.
67641 * benchtests/slowexp.c: Remove.
67642 * benchtests/slowpow-inputs: Remove.
67643 * benchtests/slowpow.c: Remove.
67644 * benchtests/slowsin-inputs: Remove.
67645 * benchtests/slowsin.c: Remove.
67646 * benchtests/slowtan-inputs: Remove.
67647 * benchtests/slowtan.c: Remove.
67648 * benchtests/tan-inputs: Add slow benchmark inputs.
67649 * scripts/bench.pl: Parse comments and directives.
67650
67651 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
67652 in CPPFLAGS.
67653 ($(objpfx)bench-%.c): Remove *-ITER.
67654 * benchtests/bench-modf.c: Remove definition of ITER.
67655 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67656 (main): Loop for DURATION seconds instead of fixed number of
67657 iterations.
67658 * scripts/bench.pl: Don't expect iterations in parameters.
67659
67660 2013-04-29 Roland McGrath <roland@hack.frob.com>
67661
67662 * io/fchdir.c (__fchdir): Renamed from fchdir.
67663 (fchdir): Define as weak alias.
67664
67665 2013-04-29 Joseph Myers <joseph@codesourcery.com>
67666
67667 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67668 (ERRNO_EDOM): Likewise.
67669 (ERRNO_ERANGE): Likewise.
67670 (noErrnoTests): New variable.
67671 (init_max_error): Set errno to 0.
67672 (test_single_errno): New function.
67673 (test_errno): Likewise.
67674 (check_float_internal): Call test_errno. Set errno to 0.
67675 (check_complex): Refer to errno tests in comment.
67676 (check_int): Call test_errno. Set errno to 0.
67677 (check_long): Likewise.
67678 (check_bool): Likewise.
67679 (check_longlong): Likewise.
67680 (cos_test): Use ERRNO_* flags for errno tests instead of
67681 check_int.
67682 (expm1_test): Likewise.
67683 (fmod_test): Likewise.
67684 (ilogb_test): Likewise.
67685 (lgamma_test): Likewise.
67686 (pow_test): Likewise.
67687 (remainder_test): Likewise.
67688 (sin_test): Likewise.
67689 (tan_test): Likewise.
67690 (yn_test): Likewise.
67691 (initialize): Set errno to 0.
67692 (main): Print number of errno tests.
67693 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
67694
67695 2013-04-29 Andreas Jaeger <aj@suse.de>
67696
67697 [BZ #15084]
67698 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
67699 and RES_USEVC.
67700
67701 [BZ #15085]
67702 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67703 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67704 unimplemented.
67705
67706 [BZ #15380]
67707 * stdlib/random.c (__initstate): Return NULL if
67708 __initstate fails.
67709
67710 [BZ #15086]
67711 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67712 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67713 RES_SNGLKUPREOP.
67714
67715 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67716
67717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67718
67719 2013-04-29 Joseph Myers <joseph@codesourcery.com>
67720
67721 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67722 of individual tests.
67723 (casin_test): Likewise.
67724 (casinh_test): Likewise.
67725
67726 2013-04-27 Joseph Myers <joseph@codesourcery.com>
67727
67728 [BZ #15409]
67729 * math/s_catan.c (__catan): Handle arguments with large real or
67730 imaginary part separately without squaring.
67731 * math/s_catanf.c (__catanf): Likewise.
67732 * math/s_catanh.c (__catanh): Likewise.
67733 * math/s_catanhf.c (__catanhf): Likewise.
67734 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67735 and redefine.
67736 (__catanhl): Handle arguments with large real or imaginary part
67737 separately without squaring.
67738 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67739 and redefine.
67740 (__catanl): Handle arguments with large real or imaginary part
67741 separately without squaring.
67742 * math/libm-test.inc (catan_test): Add more tests.
67743 (catanh_test): Likewise.
67744 * sysdeps/i386/fpu/libm-test-ulps: Update.
67745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67746
67747 2013-04-27 Andreas Jaeger <aj@suse.de>
67748
67749 [BZ #15007]
67750 * stdlib/stdlib.h: Update guards for qecvt.
67751 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67752 <stdlib.h>.
67753
67754 2013-04-27 Allan McRae <allan@archlinux.org>
67755
67756 * sysdeps/i386/fpu/libm-test-ulps: Update.
67757
67758 2013-04-26 Joseph Myers <joseph@codesourcery.com>
67759
67760 [BZ #15406]
67761 * math/s_catan.c: Include <float.h>.
67762 (__catan): Ensure underflow exception occurs for underflowed
67763 result.
67764 * math/s_catanf.c: Include <float.h>.
67765 (__catanf): Ensure underflow exception occurs for underflowed
67766 result.
67767 * math/s_catanh.c: Include <float.h>.
67768 (__catanh): Ensure underflow exception occurs for underflowed
67769 result.
67770 * math/s_catanhf.c: Include <float.h>.
67771 (__catanhf): Ensure underflow exception occurs for underflowed
67772 result.
67773 * math/s_catanhl.c: Include <float.h>.
67774 (__catanhl): Ensure underflow exception occurs for underflowed
67775 result.
67776 * math/s_catanl.c: Include <float.h>.
67777 (__catanl): Ensure underflow exception occurs for underflowed
67778 result.
67779 * math/libm-test.inc (catan_test): Add more tests.
67780 (catanh_test): Likewise.
67781
67782 [BZ #15405]
67783 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67784 underflowed result.
67785 * math/s_ccoshf.c (__ccoshf): Likewise.
67786 * math/s_ccoshl.c (__ccoshl): Likewise.
67787 * math/s_csin.c (__csin): Likewise.
67788 * math/s_csinf.c (__csinf): Likewise.
67789 * math/s_csinh.c (__csinh): Likewise.
67790 * math/s_csinhf.c (__csinhf): Likewise.
67791 * math/s_csinhl.c (__csinhl): Likewise.
67792 * math/s_csinl.c (__csinl): Likewise.
67793 * math/libm-test.inc (ccos_test): Add more tests.
67794 (ccosh_test): Likewise.
67795 (csin_test): Likewise.
67796 (csinh_test): Likewise.
67797
67798 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67799
67800 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67801 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67802 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67803 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67804 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67805 powerpc/power5+/fpu folders.
67806 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67807
67808
67809 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
67810
67811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67812
67813 2013-04-25 Joseph Myers <joseph@codesourcery.com>
67814
67815 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67816 additions to variable.
67817 [$(config-machine) = x86_64] (modules-names): Likewise.
67818 ($(objpfx)tst-audit3): Remove dependency.
67819 ($(objpfx)tst-audit3.out): Likewise.
67820 ($(objpfx)tst-audit4): Likewise.
67821 ($(objpfx)tst-audit4.out): Likewise.
67822 ($(objpfx)tst-audit5): Likewise.
67823 ($(objpfx)tst-audit5.out): Likewise.
67824 ($(objpfx)tst-audit6): Likewise.
67825 ($(objpfx)tst-audit6.out): Likewise.
67826 ($(objpfx)tst-audit7): Likewise.
67827 ($(objpfx)tst-audit7.out): Likewise.
67828 (tst-audit3-ENV): Remove variable.
67829 (tst-audit4-ENV): Likewise.
67830 (tst-audit5-ENV): Likewise.
67831 (tst-audit6-ENV): Likewise.
67832 (tst-audit7-ENV): Likewise.
67833 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67834 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67835 addition to variable.
67836 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67840 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67841 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67842 tst-audit3, tst-audit4 and tst-audit5.
67843 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67844 tst-audit6 and tst-audit7.
67845 [$(subdir) = elf] (modules-names): Add audit modules for those
67846 tests.
67847 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67848 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67849 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67850 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67851 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67852 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67853 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67854 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67855 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67856 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67857 [$(subdir) = elf] (tst-audit3-ENV): New variable.
67858 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67859 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67860 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67861 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67862 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67863 Likewise.
67864 [$(subdir) = elf && $(config-cflags-avx) = yes]
67865 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67866 [$(subdir) = elf && $(config-cflags-avx) = yes]
67867 (CFLAGS-tst-auditmod4a.c): Likewise.
67868 [$(subdir) = elf && $(config-cflags-avx) = yes]
67869 (CFLAGS-tst-auditmod4b.c): Likewise.
67870 [$(subdir) = elf && $(config-cflags-avx) = yes]
67871 (CFLAGS-tst-auditmod6b.c): Likewise.
67872 [$(subdir) = elf && $(config-cflags-avx) = yes]
67873 (CFLAGS-tst-auditmod6c.c): Likewise.
67874 [$(subdir) = elf && $(config-cflags-avx) = yes]
67875 (CFLAGS-tst-auditmod7b.c): Likewise.
67876 * elf/tst-audit3.c: Move to ...
67877 * sysdeps/x86_64/tst-audit3.c: ... here.
67878 * elf/tst-audit4.c: Move to ...
67879 * sysdeps/x86_64/tst-audit4.c: ... here.
67880 * elf/tst-audit5.c: Move to ...
67881 * sysdeps/x86_64/tst-audit5.c: ... here.
67882 * elf/tst-audit6.c: Move to ...
67883 * sysdeps/x86_64/tst-audit6.c: ... here.
67884 * elf/tst-audit7.c: Move to ...
67885 * sysdeps/x86_64/tst-audit7.c: ... here.
67886 * elf/tst-auditmod3a.c: Move to ...
67887 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67888 * elf/tst-auditmod3b.c: Move to ...
67889 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67890 * elf/tst-auditmod4a.c: Move to ...
67891 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67892 * elf/tst-auditmod4b.c: Move to ...
67893 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67894 * elf/tst-auditmod5a.c: Move to ...
67895 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67896 * elf/tst-auditmod5b.c: Move to ...
67897 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67898 * elf/tst-auditmod6a.c: Move to ...
67899 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67900 * elf/tst-auditmod6b.c: Move to ...
67901 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67902 * elf/tst-auditmod6c.c: Move to ...
67903 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67904 * elf/tst-auditmod7a.c: Move to ...
67905 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67906 * elf/tst-auditmod7b.c: Move to ...
67907 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67908
67909 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
67910
67911 [BZ #15366]
67912 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67913 define unconditionally.
67914 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67915 define unconditionally.
67916 (INT8_C, INT16_C, etc.): Likewise.
67917
67918 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
67919
67920 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67921 __ehdr_start with hidden visibility.
67922
67923 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67924
67925 2013-04-24 Carlos O'Donell <carlos@redhat.com>
67926
67927 * math/libm-test.inc (cos_test): Use accurate hex constants.
67928 (sincost_test): Likewise.
67929
67930 2013-04-24 Joseph Myers <joseph@codesourcery.com>
67931
67932 * math/libm-test.inc (catan_test): Add more tests.
67933 (catanh_test): Likewise.
67934
67935 * math/s_catanf.c (__catanf): Use suffixed floating-point
67936 constants.
67937 * math/s_catanhf.c (__catanhf): Likewise.
67938 * math/s_catanhl.c (__catanhl): Likewise.
67939 * math/s_catanl.c (__catanl): Likewise.
67940
67941 [BZ #15394]
67942 * math/s_catan.c (__catan): Calculate imaginary part of result
67943 with log1p not log unless computing log of number close to 0.
67944 * math/s_catanf.c (__catanf): Likewise.
67945 * math/s_catanl.c (__catanl): Likewise.
67946 * math/s_catanh.c (__catanh): Calculate real part of result with
67947 log1p not log unless computing log of number close to 0.
67948 * math/s_catanhf.c (__catanhf): Likewise.
67949 * math/s_catanhl.c (__catanhl): Likewise.
67950 * math/libm-test.inc (catan_test): Add more tests.
67951 (catanh_test): Likewise.
67952 * sysdeps/i386/fpu/libm-test-ulps: Update.
67953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67954
67955 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
67956
67957 * benchtests/Makefile: Mention files in which fast and slow
67958 paths of math functions are implemented.
67959
67960 2013-04-23 Roland McGrath <roland@hack.frob.com>
67961
67962 * sysdeps/posix/timespec_get.c: New file.
67963
67964 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67965
67966 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67967 POWER.
67968 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67969 for POWER.
67970 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67971 powerpc/power5/fpu folders.
67972 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67973 * benchtests/Makefile: Add modf testcase.
67974 * benchtests/bench-modf.c: New file: Benchmark test for mo
67975
67976 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
67977
67978 [BZ #14888]
67979 * time/Makefile (tests): Add tst-strptime-whitespace.
67980 * time/strptime_l.c (get_number): Use ISSPACE.
67981 (__strptime_internal): Likewise.
67982 * time/tst-strptime-whitespace.c: New test case.
67983
67984 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
67985
67986 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67987 member.
67988 (_nss_files_init): Set it here.
67989
67990 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
67991
67992 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67993 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67994 unsigned.
67995
67996 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
67997
67998 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67999
68000 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68001
68002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68003 size just once.
68004
68005 2013-04-21 David S. Miller <davem@davemloft.net>
68006
68007 * po/ru.po: Update Russion translation from translation project.
68008
68009 2013-04-17 Adam Conrad <adconrad@0c3.net>
68010
68011 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68012 and setfsgid.
68013
68014 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68015
68016 * configure.in: Remove i386 configure warning. Remove i386 case.
68017 * configure: Regenerate.
68018 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68019 Add example to error message.
68020 * sysdeps/i386/configure: Regenerate.
68021
68022 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68023
68024 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68025 slowtan.
68026 * benchtests/cos-inputs: New file.
68027 * benchtests/slowcos-inputs: New file.
68028 * benchtests/slowcos.c: New file.
68029 * benchtests/slowtan-inputs: New file.
68030 * benchtests/slowtan.c: New file.
68031 * benchtests/tan-inputs: New file.
68032
68033 2013-04-16 Roland McGrath <roland@hack.frob.com>
68034
68035 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68036 considered kosher.
68037
68038 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68039
68040 * benchtests/Makefile: Include cppflags-iterator.mk to add
68041 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68042
68043 * Makefile.in (bench-clean): New target.
68044 * benchtests/Makefile (bench-clean): Likewise.
68045
68046 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68047
68048 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68049
68050 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68051
68052 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68053
68054 2013-04-15 Andreas Schwab <schwab@suse.de>
68055
68056 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68058 * nscd/pwdcache.c (cache_addpw): Likewise.
68059 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68060 more than recsize.
68061
68062 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68063
68064 * benchtests/Makefile (bench): Write all output to
68065 bench-out.tmp together.
68066
68067 2013-04-15 Andreas Schwab <schwab@suse.de>
68068
68069 * nscd/nscd.c (main): Don't fork again after closing files.
68070
68071 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68072
68073 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68074
68075 * benchtests/Rules (bench-deps): Collect dependencies into a
68076 single variable. Add Makefile to dependencies.
68077 ($(objpfx)bench-%.c): Depend on bench-deps.
68078
68079 2013-04-12 Roland McGrath <roland@hack.frob.com>
68080 Xavier Roche <roche+kml2@exalead.com>
68081
68082 [BZ #15361]
68083 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68084 just that it's a file descriptor.
68085 * manual/llio.texi (Synchronizing AIO Operations): Update description
68086 for EBADF error from aio_fsync.
68087
68088 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68089
68090 * Rules (bench): Move target definition...
68091 * benchtests/Makefile: ... here.
68092
68093 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68094
68095 * math/libm-test.inc (cos_test): Fix PI/2 test.
68096 (sincos_test): Likewise.
68097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68098 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68099
68100 2013-04-11 Andreas Schwab <schwab@suse.de>
68101
68102 [BZ #13988]
68103 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68104 accept exponent character only when digits were seen.
68105 * stdio-common/Makefile (tests): Add bug26.
68106 * stdio-common/bug26.c: New file.
68107
68108 [BZ #14293]
68109 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68110 non-freeable.
68111
68112 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68113
68114 * Makeconfig (rtld-prefix): Define built linker prefix.
68115 * Rules (run-bench): Use it.
68116 * math/Makefile (run-regen-ulps): Likewise.
68117
68118 * Rules (bench): Remove eval.
68119
68120 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68121 Roland McGrath <roland@hack.frob.com>
68122 Ondrej Bilka <neleai@seznam.cz>
68123
68124 [BZ #15346]
68125 * time/getdate.c: Include ctype.h and alloca.h.
68126 (__getdate_r): Trim leading and trailing spaces of input.
68127 * time/tst-getdate.c (tests): Add tests with leading and
68128 trailing spaces.
68129
68130 2013-04-08 Roland McGrath <roland@hack.frob.com>
68131
68132 [BZ #14280]
68133 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68134 when computing value.
68135
68136 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68137
68138 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68139 Use testrun.sh to run libm tests.
68140
68141 [BZ #15309]
68142 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68143
68144 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68145
68146 [BZ #15264]
68147 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68148
68149 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68150
68151 * Makefile.in (regen-ulps): New target.
68152 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68153 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68154 [ifneq (no,$(PERL)] (regen-ulps): New target.
68155 [ifeq (no,$(PERL)] (regen-ulps): New target.
68156 * math/libm-test.inc (ulps_file_name): Define.
68157 (output_dir): New variable.
68158 (options): Add "output-dir" option.
68159 (parse_opt): Handle 'o' case.
68160 (main): If output_dir is non-NULL use it as a prefix
68161 otherwise use "".
68162 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68163
68164 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68165
68166 [BZ #10060, #10062]
68167 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68168 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68169 fail configure if __sync_val_compare_and_swap is not inlined.
68170 * sysdeps/i386/configure: Regenerate.
68171 * configure.in: Build for i686 when configured for i386.
68172 * configure: Regenerate.
68173 * README: Remove i386 reference.
68174
68175 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68176
68177 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68179
68180 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68181
68182 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68183 (lmsnanval): New variables.
68184 (F): Add conversion tests.
68185 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68186 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68187
68188 * stdio-common/tstdiomisc.c (F): Properly collect individual
68189 tests' results.
68190
68191 [BZ #14686, #15336]
68192 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68193 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68194 Instead, use input NaN values or generate a qNaN by arithmetic
68195 operation. Also fix bugs to comply with the standard.
68196 * math/libm-test.inc (remainder_test): Add more tests.
68197
68198 [BZ #15335, #15342]
68199 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68201 input NaN values or generate a qNaN by arithmetic operation.
68202
68203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68204 unreachable code.
68205
68206 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68207 definitions.
68208
68209 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68210
68211 [BZ #14478]
68212 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68213 underflowed result.
68214 * math/s_cexpf.c (__cexpf): Likewise.
68215 * math/s_cexpl.c (__cexpl): Likewise.
68216 * math/libm-test.inc (cexp_test): Add more tests.
68217
68218 2013-04-03 Andreas Schwab <schwab@suse.de>
68219
68220 [BZ #15330]
68221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68222 order arrays from heap if bigger than alloca cutoff.
68223
68224 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68225
68226 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68227 (SNAN_TESTS_double): Refer to GCC PR56831.
68228 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68229 GCC PR56828.
68230
68231 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68232
68233 * Rules (bench): Move bench.out after the run is complete.
68234
68235 * Rules (bench): Echo currently running benchmark.
68236
68237 * benchtests/Makefile (bench): Add atan and slowatan.
68238 * benchtests/atan-inputs: New file.
68239 * benchtests/slowatan-inputs: New file.
68240 * benchtests/slowatan.c: New file.
68241
68242 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68244 its value.
68245
68246 [BZ #15305]
68247 * sysdeps/unix/sysv/linux/kernel-features.h
68248 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68249 __ASSUME_XFS_RESTRICTED_CHOWN.
68250 * sysdeps/unix/sysv/linux/pathconf.c
68251 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68252 Save and restore errno.
68253
68254 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68255
68256 [BZ #15327]
68257 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68258 arguments using __kernel_casinh.
68259 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68260 arguments using __kernel_casinhf.
68261 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68262 arguments using __kernel_casinhl.
68263 * math/libm-test.inc (cacosh_test): Add more tests.
68264 * sysdeps/i386/fpu/libm-test-ulps: Update.
68265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68266
68267 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68268
68269 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68271
68272 * bench/Makefile (bench): Add sin and slowsin.
68273 * benchtests/sin-inputs: New file.
68274 * benchtests/slowsin-inputs: New file.
68275 * benchtests/slowsin.c: New file.
68276
68277 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68278 (bench): Add slowexp and slowpow.
68279 (exp-ITER): Increase iterations.
68280 (pow-ITER): Likewise.
68281 * benchtests/exp-inputs: Change input.
68282 * benchtests/pow-inputs: Likewise.
68283 * benchtests/slowexp-inputs: New file.
68284 * benchtests/slowexp.c: New file.
68285 * benchtests/slowpow-inputs: New file.
68286 * benchtests/slowpow.c: New file.
68287
68288 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68289
68290 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68291 instructions.
68292 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68293 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68294 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68295 * benchtests/Makefile: Add rint benchtest.
68296 * benchtests/rint-inputs: Input for rint benchtest.
68297
68298 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68299
68300 * Versions.def (libm): Add GLIBC_2.18.
68301 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68302 hidden libm prototypes.
68303 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68304 * math/Makefile (libm-calls): Add s_issignaling.
68305 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68306 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68307 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68308 declaration.
68309 * math/math.h [__USE_GNU] (issignaling): New macro.
68310 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68311 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68312 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68313 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68314 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68315 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68316 * manual/arith.texi (issignaling): New section.
68317 * manual/libm-err-tab.pl (@all_functions): Update comment.
68318 * math/gen-libm-test.pl (parse_args): Apply special handling for
68319 issignaling.
68320 * math/libm-test.inc (print_float, issignaling_test): New
68321 functions.
68322 (check_float_internal): Add issignaling checks.
68323 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68324 default definition.
68325 * sysdeps/powerpc/math-tests.h: New file.
68326 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68327 tests.
68328 * math/test-snan.c (TEST_FUNC): Likewise.
68329
68330 2013-03-30 David S. Miller <davem@davemloft.net>
68331
68332 * po/de.po: Update from translation team.
68333
68334 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68335
68336 [BZ #10357]
68337 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68338 imaginary part less than 1.0 and real part less than 0.5
68339 specially.
68340 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68341 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68342 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68343 (cacos_test): Add more tests.
68344 (casin_test): Likewise.
68345 (casinh_test): Likewise.
68346 * sysdeps/i386/fpu/libm-test-ulps: Update.
68347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68348
68349 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68350
68351 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68352 ONE with its value.
68353
68354 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68355 (__pow_mp): Replace ONE and MONE with their values.
68356 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68357 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68358 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68359 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68360 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68361 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68362
68363 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68364
68365 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68366 (__pow_mp): Replace ZERO and MZERO with their values.
68367 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68371 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68372 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68373 (__sqr): Likewise.
68374
68375 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68376
68377 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68378
68379 2013-03-28 Roland McGrath <roland@hack.frob.com>
68380
68381 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68382 Declare with __attribute__ ((weak)).
68383 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68384 Call __call_tls_dtors only if it's not NULL.
68385
68386 2013-03-28 Roland McGrath <roland@hack.frob.com>
68387
68388 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68389 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68390 magic __ehdr_start linker symbol if it's defined.
68391 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68392 them up here if it was already done.
68393
68394 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68395 (_dl_aux_init): Use const in cast when setting it.
68396 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68397 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68398 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68399
68400 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68401 Declare them here.
68402 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68403 * csu/libc-tls.c: Nor here.
68404 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68405
68406 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68407 (__libc_message): Never call vsyslog.
68408
68409 2013-03-28 Alan Modra <amodra@gmail.com>
68410
68411 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68412 Define as empty.
68413 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68414 Likewise.
68415
68416 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68417
68418 [BZ #15214]
68419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68420 underflow.
68421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68422
68423 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68424
68425 [BZ #15304]
68426 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68427 Don't add gid passed as argument.
68428
68429 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68430
68431 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68432
68433 [BZ #15307]
68434 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68435 imaginary part between 1.0 and 1.5 and real part less than 0.5
68436 specially.
68437 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68438 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68439 * math/libm-test.inc (cacos_test): Add more tests.
68440 (casin_test): Likewise.
68441 (casinh_test): Likewise.
68442 * sysdeps/i386/fpu/libm-test-ulps: Update.
68443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68444
68445 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68446
68447 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68448 constants.
68449 (norm): Likewise.
68450 (denorm): Likewise.
68451 (__dbl_mp): Likewise.
68452 (add_magnitudes): Likewise.
68453 (sub_magnitudes): Likewise.
68454 (__add): Likewise.
68455 (__sub): Likewise.
68456 (__mul): Likewise.
68457 (__sqr): Likewise.
68458 (__inv): Likewise.
68459 (__dvd): Likewise.
68460
68461 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68462 commented code.
68463 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68464 (__dubcos): Likewise.
68465 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68466 (__ieee754_acos): Likewise.
68467 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68468 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68469 (__exp1): Likewise.
68470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68472 (log1): Likewise.
68473 (my_log2): Likewise.
68474 (checkint): Likewise.
68475 * sysdeps/ieee754/dbl-64/e_remainder.c
68476 (__ieee754_remainder): Likewise.
68477 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68479 (bsloww): Likewise.
68480 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68481
68482 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68483 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68484 MANTISSA_STORE_T to store computations on mantissa. Use
68485 macros for rounding and division.
68486 (denorm): Likewise.
68487 (__dbl_mp): Likewise.
68488 (add_magnitudes): Likewise.
68489 (sub_magnitudes): Likewise.
68490 (__mul): Likewise.
68491 (__sqr): Likewise.
68492 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68493 powers of two in terms of TWOPOW macro.
68494 (mp_no): Make type of mantissa as MANTISSA_T.
68495 [!RADIXI]: Define RADIXI.
68496 [!TWO52]: Define TWO52.
68497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68498
68499 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68500
68501 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68502 llroundl symbol when building for PPC32.
68503
68504 2013-03-24 Mark H Weaver <mhw@netris.org>
68505
68506 * manual/arith.texi (Normalization Functions): Fix prototypes for
68507 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68508
68509 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68510
68511 [BZ #13889]
68512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68513 high value to check if expl overflow.
68514 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68515 to check for underflow and overflow.
68516 * math/libm-test.inc: Add exp test.
68517
68518 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68519
68520 [BZ #11120]
68521 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68522 with NOT_IN_libc.
68523
68524 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68525
68526 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68527 symbol.
68528
68529 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68530
68531 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68532 wrap blocks consisting of several statements.
68533
68534 * sysdeps/generic/math-tests.h: New file.
68535 * sysdeps/i386/fpu/math-tests.h: Likewise.
68536 * math/test-snan.c: Include it.
68537 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68538
68539 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68540
68541 [BZ #15285]
68542 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68543 (__ieee754_j0l): Do not improve calculations using cos of twice
68544 input for inputs above LDBL_MAX / 2.0L.
68545 (__ieee754_y0l): Likewise.
68546 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68547 (__ieee754_j1l): Do not improve calculations using cos of twice
68548 input for inputs above LDBL_MAX / 2.0L.
68549 (__ieee754_y1l): Likewise.
68550 * math/libm-test.inc (j0_test): Add another test.
68551 (j1_test): Likewise.
68552 (y0_test): Likewise.
68553 (y1_test): Likewise.
68554 * sysdeps/i386/fpu/libm-test-ulps: Update.
68555
68556 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68557
68558 * Rules ($(objpfx)bench-%.c): Include code from a C source
68559 file.
68560
68561 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68562
68563 [BZ #15287]
68564 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68565 imaginary part 1.0 and real part less than 0.5 specially.
68566 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68567 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68568 * math/libm-test.inc (cacos_test): Add more tests.
68569 (casin_test): Likewise.
68570 (casinh_test): Likewise.
68571 * sysdeps/i386/fpu/libm-test-ulps: Update.
68572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68573
68574 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68575
68576 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68577 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68578
68579 2013-03-20 Joseph Myers <joseph@codesourcery.com>
68580
68581 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68582 * config.make.in (config-cflags-sse4): Remove variable.
68583 (config-cflags-avx): Likewise.
68584 (config-cflags-sse2avx): Likewise.
68585 (config-cflags-novzeroupper): Likewise.
68586 (config-asflags-i686): Likewise.
68587 (have-mfma4): Likewise.
68588 (have-as-vis3): Likewise.
68589 (MIG): Likewise.
68590 * configure.in (MIG): Do not AC_SUBST.
68591 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68592 (libc_cv_cc_sse4): Do not AC_SUBST.
68593 (libc_cv_cc_avx): Likewise.
68594 (libc_cv_cc_sse2avx): Likewise.
68595 (libc_cv_cc_novzeroupper): Likewise.
68596 (libc_cv_cc_fma4): Likewise.
68597 (libc_cv_as_i686): Likewise.
68598 (libc_cv_sparc_as_vis3): Likewise.
68599 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68600 LIBC_CONFIG_VAR.
68601 (config-asflags-i686): Likewise.
68602 (config-cflags-avx): Likewise.
68603 (config-cflags-sse2avx): Likewise.
68604 (have-mfma4): Likewise.
68605 (config-cflags-novzeroupper): Likewise.
68606 * sysdeps/mach/configure.in (MIG): Likewise.
68607 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68608 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68609 LIBC_CONFIG_VAR.
68610 (config-cflags-avx): Likewise.
68611 (config-cflags-sse2avx): Likewise.
68612 (have-mfma4): Likewise.
68613 (config-cflags-novzeroupper): Likewise.
68614 * configure: Regenerated.
68615 * sysdeps/i386/configure: Likewise.
68616 * sysdeps/mach/configure: Likewise.
68617 * sysdeps/sparc/configure: Likewise.
68618 * sysdeps/x86_64/configure: Likewise.
68619
68620 2013-03-20 Roland McGrath <roland@hack.frob.com>
68621
68622 [BZ #14812]
68623 * locale/programs/localedef.c (options): Put N_ translation marker
68624 on argument names, not just descriptions.
68625
68626 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68627
68628 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68629
68630 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
68631
68632 [BZ #14176]
68633 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68634
68635 2013-03-19 Roland McGrath <roland@hack.frob.com>
68636
68637 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68638 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68639 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68640 [!BEFORE_ABORT] (before_abort): New function.
68641 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68642 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68643 (writev_for_fatal): New function.
68644 (WRITEV_FOR_FATAL): New macro; call that.
68645 (backtrace_and_maps): New function.
68646 (BEFORE_ABORT): New macro; call that.
68647 (struct str_list): Type removed.
68648 (__libc_message, __libc_fatal): Functions removed.
68649 Include <sysdeps/posix/libc_fatal.c> instead.
68650
68651 2013-03-19 Joseph Myers <joseph@codesourcery.com>
68652
68653 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68654 constants.
68655 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68656 double constants.
68657
68658 2013-03-19 Andreas Schwab <schwab@suse.de>
68659
68660 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68661 * sysdeps/gnu/configure: Regenerate.
68662
68663 * configure.in: Substitute libc_cv_rtlddir.
68664 * configure: Regenerate.
68665 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68666 * Makeconfig (rtlddir, inst_rtlddir): New variables.
68667 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68668 * elf/Makefile (install-others, CFLAGS-interp.c)
68669 (ldso_install, common-ldd-rewrite): Likewise.
68670 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68671 $(inst_slibdir)/$(rtld-installed-name).
68672 * scripts/rellns-sh: Add -p option.
68673 * Makerules (make-shlib-link): Use rellns-sh to get relative name
68674 for source.
68675
68676 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
68677
68678 * manual/nptl.texi: Renamed to ...
68679 * manual/threads.texi: ... this.
68680 * manual/Makefile (chapters): Update.
68681
68682 2013-03-18 Roland McGrath <roland@hack.frob.com>
68683
68684 [BZ #14812]
68685 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68686 on argument names, not just descriptions.
68687 * malloc/memusagestat.c (options): Likewise.
68688 * nss/getent.c (options): Likewise.
68689
68690 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
68691
68692 [BZ #14812]
68693 * iconv/iconv_prog.c (options): Put N_ translation marker
68694 on argument names, not just descriptions.
68695 * iconv/iconvconfig.c (options): Likewise.
68696
68697 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
68698
68699 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
68700 implementation which is faster on all x86_64 architectures.
68701 Tested on AMD, Intel Nehalem, SNB, IVB.
68702 * sysdeps/x86_64/strnlen.S: Likewise.
68703
68704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68705 Remove all multiarch strlen and strnlen versions.
68706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68707 Remove strlen and strnlen related parts.
68708
68709 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68710 Inline strlen part.
68711 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68712
68713 * sysdeps/x86_64/multiarch/strlen.S: Remove.
68714 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68715 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68716 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68717 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68718 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68719
68720 2013-03-17 Carlos O'Donell <carlos@redhat.com>
68721
68722 * manual/memory.texi (Malloc Tunable Parameters):
68723 Sort parameters alphabetically. Add comments for missing entries.
68724
68725 2013-03-17 David S. Miller <davem@davemloft.net>
68726
68727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68728
68729 2013-03-16 Joseph Myers <joseph@codesourcery.com>
68730
68731 [BZ #15283]
68732 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68733 for arguments at most half maximum finite value.
68734 * math/libm-test.inc (j0_test): Add more tests.
68735 (j1_test): Likewise.
68736 (y0_test): Likewise.
68737 (y1_test): Likewise.
68738 * sysdeps/i386/fpu/libm-test-ulps: Update.
68739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68740
68741 [BZ #14155]
68742 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68743 1 / x and functions P and Q for arguments above 0x1p256L.
68744 (__ieee754_y0l): Likewise.
68745 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68746 (__ieee754_y1l): Likewise.
68747 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68748 (j1_test): Likewise.
68749 (y0_test): Likewise.
68750 (y1_test): Likewise.
68751
68752 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
68753
68754 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68755 variable.
68756
68757 2013-03-15 Roland McGrath <roland@hack.frob.com>
68758
68759 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68760 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68761 zero since it's initialized to EXEC_PAGESIZE.
68762
68763 * sysdeps/unix/sysv/linux/ldsodefs.h
68764 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68765 * sysdeps/generic/ldsodefs.h: ... here.
68766
68767 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
68768
68769 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68770
68771 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68772 math/test-snan.c.
68773 * math/test-snan.c: Renamed from
68774 sysdeps/powerpc/fpu/test-powerpc-snan.c.
68775 * math/Makefile (tests): Add test-snan.
68776 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68777 test-powerpc-snan.
68778
68779 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68780 SUFFIX. Initialize qNaN_var with __builtin_nan family of
68781 functions.
68782 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
68783 __builtin_nan family of functions.
68784 * math/libm-test.inc (initialize): Initialize qnan_value with
68785 __builtin_nan family of functions.
68786 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68787 Remove variables.
68788 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68789 Remove functions.
68790 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
68791 storage class. Initialize qNaN_var and sNaN_var with
68792 __builtin_nan and __builtin_nans families of functions,
68793 respectively.
68794
68795 * math/libm-test.inc (acosh_test): Also test with qNaN input.
68796 (sqrt_test): Remove duplicate test with qNaN input.
68797 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68798 (round_test, signbit_test, significand_test): Note missing +/-Inf
68799 as well as qNaN tests.
68800
68801 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68802 qNaN_var. Fix a few strings, too.
68803 * math/libm-test.inc (nan_value): Rename to qnan_value.
68804 * math/gen-libm-test.pl (%beautify): Adjust to that.
68805 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68806 * math/test-misc.c (main): Likewise.
68807 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68808 to __qnan_bytes, and __qnan_union, respectively.
68809 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68810 Likewise.
68811 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68812 and lqnanval, respectively.
68813 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68814 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68815 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68816 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68817
68818 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68819 * math/test-misc.c (main) [__x86_64__]: Enable test for long
68820 doubles.
68821
68822 * math/test-misc.c (main): Fix copy'n'pastos.
68823 * misc/tst-efgcvt.c (special): Likewise.
68824
68825 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68826 Remove declarations.
68827
68828 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68829
68830 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68831 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68832 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68833 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68834
68835 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68836
68837 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68838 macro to return vdso values correctly in IFUNC implementations.
68839 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68840 Optimization by using IFUNC.
68841
68842 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68843 Richard Henderson <rth@redhat.com>
68844 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68845
68846 * Makefile.in (bench): New target.
68847 * NEWS: Mention the benchmark framework.
68848 * Rules (bench): Likewise.
68849 (binaries-bench): Generate binaries for functions to
68850 benchmark.
68851 * benchtests/Makefile: New makefile for benchmark tests.
68852 * benchtests/bench-skeleton.c: New skeleton file for benchmark
68853 programs.
68854 * benchtests/exp-inputs: New input file for EXP function.
68855 * benchtests/pow-inputs: New input file for POW function.
68856 * scripts/bench.pl: New script to generate source files for
68857 benchmark programs.
68858
68859 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68860
68861 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68863 computations on mantissa. Use macros for rounding and
68864 division.
68865 (denorm): Likewise.
68866 (__dbl_mp): Likewise.
68867 (add_magnitudes): Likewise.
68868 (sub_magnitudes): Likewise.
68869 (__mul): Likewise.
68870 (__sqr): Likewise.
68871 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68872 powers of two in terms of TWOPOW macro.
68873 (mp_no): Make type of mantissa as MANTISSA_T.
68874 [!RADIXI]: Define RADIXI.
68875 [!TWO52]: Define TWO52.
68876 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68877
68878 * manual/nptl.texi (cindex): Modify threads to pthreads.
68879
68880 2013-03-15 Joseph Myers <joseph@codesourcery.com>
68881
68882 * sysdeps/x86_64/preconfigure: Regenerated.
68883
68884 2013-03-14 Joseph Myers <joseph@codesourcery.com>
68885
68886 [BZ #14155]
68887 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68888 0x1p28 and above.
68889 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68890 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68891 0x1p28 and above.
68892 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68893 * math/libm-test.inc (j0_test): Do not allow one spurious
68894 underflow exception.
68895 (y1_test): Likewise.
68896
68897 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
68898
68899 * manual/Makefile (chapters): Add nptl.
68900 * manual/debug.texi (Debugging Support): Add link to Threads
68901 chapter.
68902 * manual/nptl.texi: New file.
68903
68904 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68905
68906 2013-03-14 Petr Baudis <pasky@ucw.cz>
68907
68908 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68909 for non-NULL pointer before the memory validity test. Pointed
68910 out by Holger Brunck <holger.brunck@keymile.com>.
68911
68912 2013-03-13 Andreas Schwab <schwab@suse.de>
68913
68914 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68915 instead of .os.
68916
68917 2013-03-13 Joseph Myers <joseph@codesourcery.com>
68918
68919 * timezone/zic.c: Update from tzcode 2013b.
68920
68921 2013-03-12 Carlos O'Donell <carlos@redhat.com>
68922
68923 * manual/install.texi (Configuring and compiling):
68924 Mention i686 and i586.
68925 * INSTALL: Regenerate.
68926
68927 2013-03-12 Roland McGrath <roland@hack.frob.com>
68928
68929 * sysdeps/init_array/elf-init.c: New file.
68930 * csu/elf-init.c
68931 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68932 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68933
68934 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68935 __gmon_start__ as global, but as static with a .preinit_array pointer.
68936 * sysdeps/init_array/gmon-start.c: New file. Use that.
68937 * sysdeps/init_array/crti.S: New file, empty except for comments.
68938 * sysdeps/init_array/crtn.S: Likewise.
68939
68940 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
68941
68942 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68943 definining bcopy.
68944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68945 Remove Prefer_SSE_for_memop.
68946 * sysdeps/x86_64/multiarch/init-arch.h: Remove
68947 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68948 HAS_PREFER_SSE_FOR_MEMOP.
68949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68950 memset-x86-64.
68951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68952 Remove bzero, memset ifunc support.
68953 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68954 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68955 * sysdeps/x86_64/multiarch/memset.S: Likewise.
68956 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68957
68958 2013-03-11 Andreas Schwab <schwab@suse.de>
68959
68960 [BZ #15234]
68961 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68962 by SHLIB_COMPAT.
68963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68964 (GLIBC_2.16): Remove pthread_atfork.
68965
68966 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
68967
68968 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68969 (ptestcases.h): Likewise.
68970
68971 2013-03-08 Roland McGrath <roland@hack.frob.com>
68972
68973 * Makeconfig ($(common-objpfx)config.status): Depend on
68974 sysdeps/*/preconfigure{,.in} too.
68975
68976 2013-03-08 Joseph Myers <joseph@codesourcery.com>
68977
68978 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68979 (__free_hook): Use void * instead of __malloc_ptr_t.
68980 (__malloc_hook): Likewise.
68981 (__realloc_hook): Likewise.
68982 (__memalign_hook): Likewise.
68983 (__after_morecore_hook): Likewise.
68984 * malloc/arena.c (save_malloc_hook): Likewise.
68985 (save_free_hook): Likewise.
68986 * malloc/hooks.c (malloc_hook_ini): Likewise.
68987 (realloc_hook_ini): Likewise.
68988 (memalign_hook_ini): Likewise.
68989 * malloc/malloc.c (malloc_hook_ini): Likewise.
68990 (realloc_hook_ini): Likewise.
68991 (memalign_hook_ini): Likewise.
68992 (__free_hook): Likewise.
68993 (__malloc_hook): Likewise.
68994 (__realloc_hook): Likewise.
68995 (__memalign_hook): Likewise.
68996 (__libc_malloc): Likewise.
68997 (__libc_free): Likewise.
68998 (__libc_realloc): Likewise.
68999 (__libc_memalign): Likewise.
69000 (__libc_valloc): Likewise.
69001 (__libc_pvalloc): Likewise.
69002 (__libc_calloc): Likewise.
69003 (__posix_memalign): Likewise.
69004 * malloc/morecore.c (__sbrk): Likewise.
69005 (__default_morecore): Likewise.
69006
69007 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69008
69009 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69010 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69011 __malloc_ptrdiff_t.
69012
69013 * malloc/malloc.h (__malloc_size_t): Remove macro.
69014 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69015 __malloc_size_t.
69016 (old_memalign_hook): Likewise.
69017 (old_realloc_hook): Likewise.
69018 (struct hdr): Likewise.
69019 (flood): Likewise.
69020 (mallochook): Likewise.
69021 (memalignhook): Likewise.
69022 (reallochook): Likewise.
69023 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69024 (tr_old_realloc_hook): Likewise.
69025 (tr_old_memalign_hook): Likewise.
69026 (tr_mallochook): Likewise.
69027 (tr_reallochook): Likewise.
69028 (tr_memalignhook): Likewise.
69029
69030 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69031
69032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69033 default_ldbl_pack and using as default implementation.
69034 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69035 implementation.
69036 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69037 redundant definition.
69038 (ldbl_insert_mantissa): Likewise.
69039 (ldbl_canonicalize): Likewise.
69040 (ldbl_nearbyint): Likewise.
69041 (ldbl_pack): Rename to ldbl_pack_ppc.
69042 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69043 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69044 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69045
69046 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69047
69048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69049 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69050 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69051 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69053 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69054 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69055 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69056
69057 2013-03-07 Andreas Jaeger <aj@suse.de>
69058
69059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69060 bits/mman-linux.h.
69061
69062 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69063
69064 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69065 Include mpa.h and declare __MPEXP.
69066 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69067 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69068 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69069 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69070 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69071 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69072 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69073
69074 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69075 (__slowpow): Use long double EXPL and LOGL functions to
69076 compute POW.
69077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69078 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69080 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69081 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69082 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69083
69084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69085 intermediate variable to calculate exponent.
69086 (__sqr): Likewise.
69087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69088 Likewise.
69089 (__sqr): Likewise.
69090
69091 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69092 [!NO__SQR]: Define __sqr.
69093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69094 and NO__SQR. Remove all code except __mul and __sqr. Include
69095 sysdeps/ieee754/dbl-64/mpa.c.
69096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69097
69098 [BZ #12723]
69099 * posix/Makefile (tests): Add tst-pathconf.
69100 * posix/tst-pathconf.c: New test case.
69101 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69102 _PC_PIPE_BUF.
69103 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69104
69105 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69106
69107 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69108
69109 2013-03-06 Andreas Jaeger <aj@suse.de>
69110
69111 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69112 definition via __MAP_ANONYMOUS.
69113
69114 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69115 it's not part of Linux headers.
69116
69117 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69118 (MAP_HUGE_MASK): Define.
69119
69120 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69121 Define.
69122 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69124 Define.
69125 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69126 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69127 Define.
69128 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69129 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69130 Define.
69131 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69132
69133 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69134 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69135 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69136 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69137 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69138 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69139
69140 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69141 Handle f2fs.
69142
69143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69144 Handle f2fs and efivarfs.
69145
69146 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69147 f2fs.
69148
69149 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69150 (EFIVARFS_MAGIC): Add.
69151 (F2FS_LINK_MAX): Add.
69152
69153 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69154
69155 * stdio-common/vfprintf.c: Replace __builtin_expect with
69156 __glibc_unlikely.
69157
69158 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69159
69160 [BZ #13550]
69161 * sysdeps/generic/bp-sym.h: Remove file.
69162 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69163 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69164 <bp-sym.h> and <bp-asm.h>.
69165 (__longjmp): Don't use BP_SYM.
69166 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69167 and <bp-asm.h>.
69168 (memcpy): Don't use BP_SYM.
69169 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69170 <bp-sym.h> and <bp-asm.h>.
69171 (memcpy): Don't use BP_SYM.
69172 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69173 <bp-asm.h>.
69174 (memcpy): Don't use BP_SYM.
69175 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69176 <bp-asm.h>.
69177 (memset): Don't use BP_SYM.
69178 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69179 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69180 (__bzero): Don't use BP_SYM.
69181 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69182 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69183 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69184 <bp-sym.h> and <bp-asm.h>.
69185 (memcmp): Don't use BP_SYM. Remove comment about bounded
69186 pointers.
69187 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69188 <bp-sym.h> and <bp-asm.h>.
69189 (memcpy): Don't use BP_SYM.
69190 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69191 <bp-sym.h> and <bp-asm.h>.
69192 (memset): Don't use BP_SYM.
69193 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69194 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69195 (__bzero): Don't use BP_SYM.
69196 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69197 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69198 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69199 <bp-sym.h> and <bp-asm.h>.
69200 (strncmp): Don't use BP_SYM. Remove comment about bounded
69201 pointers.
69202 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69203 <bp-sym.h> and <bp-asm.h>.
69204 (memcpy): Don't use BP_SYM.
69205 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69206 <bp-sym.h> and <bp-asm.h>.
69207 (memset): Don't use BP_SYM.
69208 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69209 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69210 (__bzero): Don't use BP_SYM.
69211 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69212 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69213 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69214 <bp-sym.h> and <bp-asm.h>.
69215 (__memchr): Don't use BP_SYM.
69216 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69217 <bp-sym.h> and <bp-asm.h>.
69218 (memcmp): Don't use BP_SYM. Remove comment about bounded
69219 pointers.
69220 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69221 <bp-sym.h> and <bp-asm.h>.
69222 (memcpy): Don't use BP_SYM.
69223 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69224 <bp-sym.h> and <bp-asm.h>.
69225 (__mempcpy): Don't use BP_SYM.
69226 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69227 <bp-sym.h> and <bp-asm.h>.
69228 (__memrchr): Don't use BP_SYM.
69229 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69230 <bp-sym.h> and <bp-asm.h>.
69231 (memset): Don't use BP_SYM.
69232 (__bzero): Likewise.
69233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69234 <bp-sym.h> and <bp-asm.h>.
69235 (__rawmemchr): Don't use BP_SYM.
69236 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69237 <bp-sym.h> and <bp-asm.h>.
69238 (__STRCMP): Don't use BP_SYM.
69239 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69240 <bp-sym.h> and <bp-asm.h>.
69241 (strchr): Don't use BP_SYM.
69242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69243 <bp-sym.h> and <bp-asm.h>.
69244 (__strchrnul): Don't use BP_SYM.
69245 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69246 <bp-sym.h> and <bp-asm.h>.
69247 (strlen): Don't use BP_SYM.
69248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69249 <bp-sym.h> and <bp-asm.h>.
69250 (strncmp): Don't use BP_SYM. Remove comment about bounded
69251 pointers.
69252 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69253 <bp-sym.h> and <bp-asm.h>.
69254 (__strnlen): Don't use BP_SYM.
69255 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69256 <bp-sym.h> and <bp-asm.h>.
69257 (__GI__setjmp): Don't use BP_SYM.
69258 (_setjmp): Likewise.
69259 (__sigsetjmp): Likewise.
69260 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69261 (L(start_addresses)): Don't use BP_SYM.
69262 (_start): Likewise.
69263 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69264 <bp-asm.h>.
69265 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69266 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69267 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69268 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69269 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69270 <bp-asm.h>.
69271 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69272 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69273 about bounded pointers.
69274 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69275 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69276 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69277 <bp-asm.h>.
69278 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69279 about bounded pointers. Remove GKM FIXME comments.
69280 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69281 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69282 <bp-asm.h>.
69283 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69284 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69285 Remove GKM FIXME comments.
69286 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69287 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69288 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69289 <bp-asm.h>.
69290 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69291 about bounded pointers. Remove GKM FIXME comment.
69292 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69293 and <bp-asm.h>.
69294 (strncmp): Don't use BP_SYM. Remove comment about bounded
69295 pointers.
69296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69297 <bp-sym.h> and <bp-asm.h>.
69298 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69300 <bp-sym.h> and <bp-asm.h>.
69301 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69302 comment.
69303
69304 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69305
69306 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69307 call free(NULL).
69308
69309 2013-03-05 David S. Miller <davem@davemloft.net>
69310
69311 * po/es.po: Update from translation team.
69312
69313 2013-03-05 Andreas Jaeger <aj@suse.de>
69314
69315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69316 <bits/mman-linux.h>.
69317 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69318 is fine.
69319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69320 <bits/mman-linux.h> to end of file.
69321 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69322 is fine.
69323 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69324 <bits/mman-linux.h> to end of file.
69325 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69326 is fine.
69327 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69328 <bits/mman-linux.h> to end of file.
69329
69330 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69331 (MCL_CURRENT, MCL_FUTURE): Define here.
69332
69333 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69334
69335 [BZ #15232]
69336 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69337 attribute_hidden.
69338 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69339
69340 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69341
69342 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69343 fourth parameter needed for rt_sigprocmask syscall.
69344 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69345 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69346 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69347 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69348 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69349 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69350
69351 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69352
69353 [BZ #13550]
69354 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69355 comment about bounded pointers.
69356 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69357 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69358
69359 2013-03-04 Andreas Jaeger <aj@suse.de>
69360
69361 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69362 common definitions.
69363
69364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69365 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69366 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69367 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69369 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69370
69371 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69372
69373 [BZ #15055]
69374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69375 __ieee754_sqrl instead of __sqrl.
69376
69377 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69378
69379 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69380 * sysdeps/powerpc/fpu_control.h: ... here.
69381 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69382 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69383 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69384 * sysdeps/powerpc/bits/mathinline.h: ... here.
69385
69386 2013-03-01 Roland McGrath <roland@hack.frob.com>
69387
69388 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69389 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69390 to just [NEED_DL_SYSINFO_DSO].
69391 * elf/dl-support.c: Likewise.
69392 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69393 * elf/rtld.c (dl_main): Likewise.
69394 * elf/setup-vdso.h (setup_vdso): Likewise.
69395 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69396 * sysdeps/unix/sysv/linux/dl-sysdep.c
69397 (_dl_discover_osversion): Likewise.
69398
69399 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69400
69401 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69402 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69403
69404 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69405
69406 * NEWS: Mention libm performance improvements and non-x86 PI
69407 futex support.
69408
69409 * csu/libc-start.c (__pthread_initialize_minimal): Change
69410 function arguments.
69411 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69412
69413 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69414
69415 [BZ #13550]
69416 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69417 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69418 <bp-sym.h> and <bp-asm.h>.
69419 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69420 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69421 and <bp-asm.h>.
69422 (memcpy): Don't use BP_SYM.
69423 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69424 <bp-asm.h>.
69425 (__mpn_add_n): Don't use BP_SYM.
69426 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69427 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69428 and <bp-asm.h>.
69429 (__mpn_addmul_1): Don't use BP_SYM.
69430 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69431 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69432 <bp-sym.h>.
69433 (_setjmp): Don't use BP_SYM.
69434 (__novmx_setjmp): Likewise.
69435 (__GI__setjmp): Likewise.
69436 (__vmx_setjmp): Likewise.
69437 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69438 <bp-sym.h>.
69439 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69440 (__bzero): Don't use BP_SYM.
69441 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69442 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69443 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69444 <bp-sym.h> and <bp-asm.h>.
69445 (memcpy): Don't use BP_SYM.
69446 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69447 <bp-sym.h> and <bp-asm.h>.
69448 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69450 <bp-sym.h> and <bp-asm.h>.
69451 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69452 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69453 <bp-asm.h>.
69454 (__mpn_lshift): Don't use BP_SYM.
69455 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69456 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69457 <bp-asm.h>.
69458 (memset): Don't use BP_SYM.
69459 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69460 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69461 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69462 <bp-asm.h>.
69463 (__mpn_mul_1): Don't use BP_SYM.
69464 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69465 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69466 <bp-sym.h> and <bp-asm.h>.
69467 (memcmp): Don't use BP_SYM.
69468 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69469 <bp-sym.h> and <bp-asm.h>.
69470 (memcpy): Don't use BP_SYM.
69471 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69472 <bp-sym.h> and <bp-asm.h>.
69473 (memset): Don't use BP_SYM.
69474 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69475 <bp-sym.h> and <bp-asm.h>.
69476 (strncmp): Don't use BP_SYM.
69477 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69478 <bp-sym.h> and <bp-asm.h>.
69479 (memcpy): Don't use BP_SYM.
69480 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69481 <bp-sym.h> and <bp-asm.h>.
69482 (memset): Don't use BP_SYM.
69483 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69484 <bp-sym.h> and <bp-asm.h>.
69485 (__memchr): Don't use BP_SYM.
69486 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69487 <bp-sym.h> and <bp-asm.h>.
69488 (memcmp): Don't use BP_SYM.
69489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69490 <bp-sym.h> and <bp-asm.h>.
69491 (memcpy): Don't use BP_SYM.
69492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69493 <bp-sym.h> and <bp-asm.h>.
69494 (__mempcpy): Don't use BP_SYM.
69495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69496 <bp-sym.h> and <bp-asm.h>.
69497 (__memrchr): Don't use BP_SYM.
69498 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69499 <bp-sym.h> and <bp-asm.h>.
69500 (memset): Don't use BP_SYM.
69501 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69502 <bp-sym.h> and <bp-asm.h>.
69503 (__rawmemchr): Don't use BP_SYM.
69504 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69505 <bp-sym.h> and <bp-asm.h>.
69506 (__STRCMP): Don't use BP_SYM.
69507 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69508 <bp-sym.h> and <bp-asm.h>.
69509 (strchr): Don't use BP_SYM.
69510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69511 <bp-sym.h> and <bp-asm.h>.
69512 (__strchrnul): Don't use BP_SYM.
69513 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69514 <bp-sym.h> and <bp-asm.h>.
69515 (strlen): Don't use BP_SYM.
69516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69517 <bp-sym.h> and <bp-asm.h>.
69518 (strncmp): Don't use BP_SYM.
69519 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69520 <bp-sym.h> and <bp-asm.h>.
69521 (__strnlen): Don't use BP_SYM.
69522 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69523 <bp-asm.h>.
69524 (__mpn_rshift): Don't use BP_SYM.
69525 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69526 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69527 <bp-sym.h> and <bp-asm.h>.
69528 (__sigsetjmp): Don't use BP_SYM.
69529 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69530 (L(start_addresses)): Don't use BP_SYM.
69531 (_start): Likewise.
69532 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69533 <bp-asm.h>.
69534 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69535 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69536 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69537 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69538 <bp-asm.h>.
69539 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69540 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69541 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69542 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69543 <bp-asm.h>.
69544 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69545 comments.
69546 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69547 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69548 <bp-asm.h>.
69549 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69550 FIXME comments.
69551 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69552 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69553 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69554 <bp-asm.h>.
69555 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69556 comment.
69557 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69558 and <bp-asm.h>.
69559 (strncmp): Don't use BP_SYM,
69560 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69561 <bp-asm.h>.
69562 (__mpn_sub_n): Don't use BP_SYM.
69563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69564 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69565 and <bp-asm.h>.
69566 (__mpn_submul_1): Don't use BP_SYM.
69567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69569 <bp-sym.h> and <bp-asm.h>.
69570 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69572 <bp-sym.h> and <bp-asm.h>.
69573 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69574 comment.
69575
69576 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69577
69578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69579 Use ZK to minimize writes to Z.
69580 (sub_magnitudes): Simplify code a bit.
69581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69582 Use ZK to minimize writes to Z.
69583 (sub_magnitudes): Simplify code a bit.
69584
69585 2013-02-27 Roland McGrath <roland@hack.frob.com>
69586
69587 * csu/gmon-start.c: Add special exception to license text.
69588
69589 2013-02-27 Richard Henderson <rth@redhat.com>
69590
69591 * scripts/config.guess: Update from config.git.
69592 * scripts/config.sub: Likewise.
69593
69594 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69595
69596 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69597
69598 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69599
69600 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69601
69602 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69603
69604 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69605
69606 2013-02-26 Roland McGrath <roland@hack.frob.com>
69607
69608 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69609 [$(build-shared = yes].
69610
69611 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69612
69613 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69614 (__mul): Reduce iterations for calculating mantissa.
69615
69616 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69617 MPTWO.
69618 (__mpranred): Likewise.
69619
69620 [BZ #15160]
69621 * malloc/memusagestat.c (main): Draw graphs for heap and stack
69622 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69623
69624 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
69625
69626 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69627 Define __attribute__.
69628
69629 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69630
69631 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69632 unused.
69633 * posix/regex_internal.h (__attribute): Remove.
69634 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69635 (re_string_context_at): Likewise.
69636 (bitset_not): Use __attribute__ and mark function as possibly
69637 unused.
69638 (bitset_merge): Likewise.
69639 (bitset_mask): Likewise.
69640 (re_string_char_size_at): Likewise.
69641 (re_string_wchar_at): Likewise.
69642 (re_string_elem_size_at): Likewise.
69643
69644 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69645
69646 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69647 code.
69648 (cc32): Likewise.
69649
69650 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69651 (__acr): Likewise.
69652 (__cpy): Likewise.
69653 (norm): Likewise.
69654 (denorm): Likewise.
69655 (__dbl_mp): Likewise.
69656 (add_magnitudes): Likewise.
69657 (sub_magnitudes): Likewise.
69658 (__mul): Likewise.
69659 (__inv): Likewise.
69660
69661 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69662 style.
69663
69664 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69665 style.
69666
69667 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69668 code.
69669
69670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69671 up changes with default code.
69672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69673 Likewise.
69674
69675 2013-02-24 Allan McRae <allan@archlinux.org>
69676
69677 * manual/socket.texi (The Internet Namespace): Order menu items
69678 to match that in the file.
69679
69680 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69681 node listing of the info page menu.
69682
69683 2013-02-21 Joseph Myers <joseph@codesourcery.com>
69684
69685 [BZ #13550]
69686 * sysdeps/i386/bp-asm.h: Remove file.
69687 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69688 (PARMS): Do not use macros from bp-asm.h.
69689 (S1): Likewise.
69690 (S2): Likewise.
69691 (SIZE): Likewise.
69692 (__mpn_add_n): Do not use BP_SYM
69693 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
69694 "bp-asm.h".
69695 (PARMS): Do not use macros from bp-asm.h.
69696 (S1): Likewise.
69697 (SIZE): Likewise.
69698 (__mpn_addmul_1): Do not use BP_SYM
69699 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
69700 "bp-asm.h".
69701 (PARMS): Do not use macros from bp-asm.h.
69702 (SIGMSK): Likewise.
69703 (_setjmp): Likewise. Do not use BP_SYM.
69704 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69705 "bp-asm.h".
69706 (PARMS): Do not use macros from bp-asm.h.
69707 (SIGMSK): Likewise.
69708 (setjmp): Likewise. Do not use BP_SYM.
69709 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69710 "bp-asm.h".
69711 (PARMS): Do not use macros from bp-asm.h.
69712 (__frexp): Do not use BP_SYM.
69713 (frexp): Likewise.
69714 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69715 "bp-asm.h".
69716 (PARMS): Do not use macros from bp-asm.h.
69717 (__frexpf): Do not use BP_SYM.
69718 (frexpf): Likewise.
69719 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69720 "bp-asm.h".
69721 (PARMS): Do not use macros from bp-asm.h.
69722 (__frexpl): Do not use BP_SYM.
69723 (frexpl): Likewise.
69724 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69725 "bp-asm.h".
69726 (PARMS): Do not use macros from bp-asm.h.
69727 (__remquo): Do not use BP_SYM.
69728 (remquo): Likewise.
69729 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69730 "bp-asm.h".
69731 (PARMS): Do not use macros from bp-asm.h.
69732 (__remquof): Do not use BP_SYM.
69733 (remquof): Likewise.
69734 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69735 "bp-asm.h".
69736 (PARMS): Do not use macros from bp-asm.h.
69737 (__remquol): Do not use BP_SYM.
69738 (remquol): Likewise.
69739 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69740 "bp-asm.h".
69741 (PARMS): Do not use macros from bp-asm.h.
69742 (DEST): Likewise.
69743 (SRC): Likewise.
69744 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
69745 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69746 "bp-asm.h".
69747 (PARMS): Do not use macros from bp-asm.h.
69748 (strlen): Do not use BP_SYM.
69749 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69750 "bp-asm.h".
69751 (PARMS): Do not use macros from bp-asm.h.
69752 (S1): Likewise.
69753 (S2): Likewise.
69754 (SIZE): Likewise.
69755 (__mpn_add_n): Do not use BP_SYM.
69756 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69757 "bp-asm.h".
69758 (PARMS): Do not use macros from bp-asm.h.
69759 (S1): Likewise.
69760 (SIZE): Likewise.
69761 (__mpn_addmul_1): Do not use BP_SYM.
69762 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69763 weak_alias.
69764 (bzero): Likewise.
69765 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69766 "bp-asm.h".
69767 (PARMS): Do not use macros from bp-asm.h.
69768 (S): Likewise.
69769 (SIZE): Likewise.
69770 (__mpn_lshift): Do not use BP_SYM.
69771 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69772 "bp-asm.h".
69773 (PARMS): Do not use macros from bp-asm.h.
69774 (DEST): Likewise.
69775 (SRC): Likewise.
69776 (LEN): Likewise.
69777 (memcpy): Likewise. Do not use BP_SYM.
69778 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69779 libc_hidden_def and weak_alias.
69780 (mempcpy): Do not use BP_SYM in weak_alias.
69781 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69782 "bp-asm.h".
69783 (PARMS): Do not use macros from bp-asm.h.
69784 (DEST): Likewise.
69785 (LEN): Likewise.
69786 [!BZERO_P] (CHR): Likewise.
69787 (memset): Likewise. Do not use BP_SYM.
69788 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69789 "bp-asm.h".
69790 (PARMS): Do not use macros from bp-asm.h.
69791 (S1): Likewise.
69792 (SIZE): Likewise.
69793 (__mpn_mul_1): Do not use BP_SYM.
69794 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69795 "bp-asm.h".
69796 (PARMS): Do not use macros from bp-asm.h.
69797 (S): Likewise.
69798 (SIZE): Likewise.
69799 (__mpn_rshift): Do not use BP_SYM.
69800 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69801 "bp-asm.h".
69802 (PARMS): Do not use macros from bp-asm.h.
69803 (STR): Likewise.
69804 (CHR): Likewise.
69805 (strchr): Likewise. Do not use BP_SYM.
69806 (index): Do not use BP_SYM in weak_alias.
69807 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69808 "bp-asm.h".
69809 (PARMS): Do not use macros from bp-asm.h.
69810 (DEST): Likewise.
69811 (SRC): Likewise.
69812 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
69813 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69814 "bp-asm.h".
69815 (PARMS): Do not use macros from bp-asm.h.
69816 (strlen): Do not use BP_SYM.
69817 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69818 "bp-asm.h".
69819 (PARMS): Do not use macros from bp-asm.h.
69820 (S1): Likewise.
69821 (S2): Likewise.
69822 (SIZE): Likewise.
69823 (__mpn_sub_n): Do not use BP_SYM.
69824 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69825 "bp-asm.h".
69826 (PARMS): Do not use macros from bp-asm.h.
69827 (S1): Likewise.
69828 (SIZE): Likewise.
69829 (__mpn_submul_1): Do not use BP_SYM.
69830 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69831 "bp-asm.h".
69832 (PARMS): Do not use macros from bp-asm.h.
69833 (S1): Likewise.
69834 (S2): Likewise.
69835 (SIZE): Likewise.
69836 (__mpn_add_n): Do not use BP_SYM.
69837 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69838 weak_alias.
69839 (bzero): Likewise.
69840 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69841 "bp-asm.h".
69842 (PARMS): Do not use macros from bp-asm.h.
69843 (BLK2): Likewise.
69844 (LEN): Likewise.
69845 (memcmp): Do not use BP_SYM.
69846 (bcmp): Do not use BP_SYM in weak_alias.
69847 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69848 "bp-asm.h".
69849 (PARMS): Do not use macros from bp-asm.h.
69850 (DEST): Likewise.
69851 (SRC): Likewise.
69852 (LEN): Likewise.
69853 (memcpy): Likewise. Do not use BP_SYM.
69854 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69855 "bp-asm.h".
69856 (PARMS): Do not use macros from bp-asm.h.
69857 (DEST): Likewise.
69858 (SRC): Likewise.
69859 (LEN): Likewise.
69860 (memmove): Likewise. Do not use BP_SYM.
69861 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69862 "bp-asm.h".
69863 (PARMS): Do not use macros from bp-asm.h.
69864 (DEST): Likewise.
69865 (SRC): Likewise.
69866 (LEN): Likewise.
69867 (__mempcpy): Likewise. Do not use BP_SYM.
69868 (mempcpy): Do not use BP_SYM in weak_alias.
69869 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69870 "bp-asm.h".
69871 (PARMS): Do not use macros from bp-asm.h.
69872 (DEST): Likewise.
69873 (LEN): Likewise.
69874 [!BZERO_P] (CHR): Likewise.
69875 (memset): Likewise. Do not use BP_SYM.
69876 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69877 "bp-asm.h".
69878 (PARMS): Do not use macros from bp-asm.h.
69879 (STR2): Likewise.
69880 (strcmp): Do not use BP_SYM.
69881 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69882 "bp-asm.h".
69883 (PARMS): Do not use macros from bp-asm.h.
69884 (STR): Likewise.
69885 (DELIM): Likewise.
69886 [USE_AS_STRTOK_R] (SAVE): Likewise.
69887 (FUNCTION): Likewise. Do not use BP_SYM.
69888 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69889 aliases.
69890 (strtok_r): Likewise.
69891 (__GI___strtok_r): Likewise.
69892 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69893 (PARMS): Do not use macros from bp-asm.h.
69894 (S): Likewise.
69895 (SIZE): Likewise.
69896 (__mpn_lshift): Do not use BP_SYM.
69897 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69898 (PARMS): Do not use macros from bp-asm.h.
69899 (STR): Likewise.
69900 (CHR): Likewise.
69901 (__memchr): Do not use BP_SYM.
69902 (memchr): Do not use BP_SYM in weak_alias.
69903 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69904 (PARMS): Do not use macros from bp-asm.h.
69905 (BLK2): Likewise.
69906 (LEN): Likewise.
69907 (memcmp): Do not use BP_SYM.
69908 (bcmp): Do not use BP_SYM in weak_alias.
69909 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69910 (PARMS): Do not use macros from bp-asm.h.
69911 (S1): Likewise.
69912 (SIZE): Likewise.
69913 (__mpn_mul_1): Do not use BP_SYM.
69914 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69915 "bp-asm.h".
69916 (PARMS): Do not use macros from bp-asm.h.
69917 (STR): Likewise.
69918 (CHR): Likewise.
69919 (__rawmemchr): Do not use BP_SYM.
69920 (rawmemchr): Do not use BP_SYM in weak_alias.
69921 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69922 (PARMS): Do not use macros from bp-asm.h.
69923 (S): Likewise.
69924 (SIZE): Likewise.
69925 (__mpn_rshift): Do not use BP_SYM.
69926 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69927 (PARMS): Do not use macros from bp-asm.h.
69928 (SIGMSK): Likewise.
69929 (__sigsetjmp): Likewise. Do not use BP_SYM.
69930 * sysdeps/i386/start.S: Do not include "bp-sym.h".
69931 (_start): Do not use BP_SYM.
69932 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69933 (PARMS): Do not use macros from bp-asm.h.
69934 (DEST): Likewise.
69935 (SRC): Likewise.
69936 (__stpcpy): Likewise. Do not use BP_SYM.
69937 (stpcpy): Do not use BP_SYM in weak_alias.
69938 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69939 "bp-asm.h".
69940 (PARMS): Do not use macros from bp-asm.h.
69941 (DEST): Likewise.
69942 (SRC): Likewise.
69943 (LEN): Likewise.
69944 (__stpncpy): Likewise. Do not use BP_SYM.
69945 (stpncpy): Do not use BP_SYM in weak_alias.
69946 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69947 (PARMS): Do not use macros from bp-asm.h.
69948 (STR): Likewise.
69949 (CHR): Likewise.
69950 (strchr): Likewise. Do not use BP_SYM.
69951 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69952 "bp-asm.h".
69953 (PARMS): Do not use macros from bp-asm.h.
69954 (STR): Likewise.
69955 (CHR): Likewise.
69956 (__strchrnul): Likewise. Do not use BP_SYM.
69957 (strchrnul): Do not use BP_SYM in weak_alias.
69958 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69959 "bp-asm.h".
69960 (PARMS): Do not use macros from bp-asm.h.
69961 (STOP): Likewise.
69962 (strcspn): Do not use BP_SYM.
69963 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69964 "bp-asm.h".
69965 (PARMS): Do not use macros from bp-asm.h.
69966 (STR): Likewise.
69967 (STOP): Likewise.
69968 (strpbrk): Likewise. Do not use BP_SYM.
69969 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69970 "bp-asm.h".
69971 (PARMS): Do not use macros from bp-asm.h.
69972 (STR): Likewise.
69973 (CHR): Likewise.
69974 (strrchr): Likewise. Do not use BP_SYM.
69975 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69976 (PARMS): Do not use macros from bp-asm.h.
69977 (SKIP): Likewise.
69978 (strspn): Do not use BP_SYM.
69979 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69980 (PARMS): Do not use macros from bp-asm.h.
69981 (STR): Likewise.
69982 (DELIM): Likewise.
69983 (SAVE): Likewise.
69984 (FUNCTION): Likewise. Do not use BP_SYM.
69985 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69986 aliases.
69987 (strtok_r): Likewise.
69988 (__GI___strtok_r): Likewise.
69989 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69990 (PARMS): Do not use macros from bp-asm.h.
69991 (S1): Likewise.
69992 (S2): Likewise.
69993 (SIZE): Likewise.
69994 (__mpn_sub_n): Do not use BP_SYM.
69995 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69996 "bp-asm.h".
69997 (PARMS): Do not use macros from bp-asm.h.
69998 (S1): Likewise.
69999 (SIZE): Likewise.
70000 (__mpn_submul_1): Do not use BP_SYM.
70001 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70002 <bp-sym.h>.
70003 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70004 and <bp-asm.h>.
70005 (PARMS): Do not use macros from bp-asm.h.
70006 (FLAGS): Likewise.
70007 (PTID): Likewise.
70008 (TLS): Likewise.
70009 (CTID): Likewise.
70010 (__clone): Do not use BP_SYM.
70011 (clone): Do not use BP_SYM in weak_alias.
70012 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70013 and <bp-asm.h>.
70014 (PARMS): Do not use macros from bp-asm.h.
70015 (LEN): Likewise.
70016 (__mmap64): Do not use BP_SYM.
70017 (mmap64): Do not use BP_SYM in weak_alias.
70018 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70019 <bp-sym.h> and <bp-asm.h>.
70020 (PARMS): Do not use macros from bp-asm.h.
70021 (__posix_fadvise64_l64): Do not use BP_SYM.
70022 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70023 (PARMS): Do not use macros from bp-asm.h.
70024 (NSOPS): Likewise.
70025 (semtimedop): Do not use BP_SYM.
70026 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70027 and <bp-asm.h>.
70028
70029 2013-02-21 Allan McRae <allan@archlinux.org>
70030
70031 * manual/message.texi (Charset conversion in gettext):
70032 Move @end statement to beginning of line.
70033
70034 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70035
70036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70037 static.
70038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70039 Likewise.
70040
70041 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70042 (denorm): Likewise.
70043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70045
70046 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70047
70048 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70049 tail-call to the resolved function if pltexit isn't needed.
70050
70051 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70052
70053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70054 or Y being zero as being unlikely.
70055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70056 Likewise.
70057
70058 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70059
70060 * manual/nss.texi (System Databases and Name Service Switch):
70061 Remove frobnicate @pxref.
70062
70063 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70064
70065 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70066 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70067
70068 2013-02-20 Petr Machata <pmachata@redhat.com>
70069
70070 * elf/elf.h (R_ARM_TARGET1): New macro.
70071 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70072 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70073 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70074 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70075 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70076 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70077 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70078 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70079 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70080 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70081 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70082 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70083 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70084 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70085 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70086 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70087 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70088 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70089 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70090 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70091 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70092 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70093 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70094 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70095 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70096 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70097 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70098 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70099 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70100 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70101 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70102 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70103 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70104 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70105 (R_ARM_THM_GOT_BREL12): Likewise.
70106 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70107 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70108 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70109 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70110 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70111 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70112 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70113 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70114 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70115
70116 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70117
70118 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70119 __attribute_used__ to __attribute__ ((unused)).
70120
70121 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70122
70123 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70124 powerpc mpa.c.
70125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70126 comment formatting.
70127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70128
70129 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70130
70131 [BZ #13550]
70132 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70133 Remove macro.
70134 (ENTER): Remove both macro definitions.
70135 (LEAVE): Likewise.
70136 (CHECK_BOUNDS_LOW): Likewise.
70137 (CHECK_BOUNDS_HIGH): Likewise.
70138 (CHECK_BOUNDS_BOTH): Likewise.
70139 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70140 (RETURN_BOUNDED_POINTER): Likewise.
70141 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70142 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70143 (POP_ERRNO_LOCATION_RETURN): Likewise.
70144 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70145 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70146 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70147 macros.
70148 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70149 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70150 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70151 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70152 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70153 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70154 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70155 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70156 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70157 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70158 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70159 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70160 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70161 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70162 removed macros.
70163 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70164 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70165 macros.
70166 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70167 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70168 * sysdeps/i386/i586/memset.S (memset): Likewise.
70169 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70170 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70171 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70172 macros.
70173 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70174 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70175 Change uses of L(2) to L(out).
70176 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70177 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70178 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70179 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70180 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70181 removed macros.
70182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70183 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70184 macros.
70185 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70186 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70187 (RETURN): Do not use macro LEAVE.
70188 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70189 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70190 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70191 * sysdeps/i386/i686/memset.S (memset): Likewise.
70192 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70193 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70194 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70195 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70196 Likewise.
70197 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70198 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70199 L(1_2) and L(1_3) into L(1).
70200 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70201 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70202 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70203 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70204 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70205 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70206 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70207 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70208 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70209 macros.
70210 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70211 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70212 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70213 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70214 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70215 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70216 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70217 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70218 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70219 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70220 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70221 * sysdeps/i386/strspn.S (strspn): Likewise.
70222 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70223 conditional code.
70224 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70225 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70226 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70227 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70228 L(1_3) into L(1_1).
70229 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70230 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70231 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70232 macros.
70233 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70234
70235 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70236
70237 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70238 macro.
70239
70240 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70241
70242 * math/atest-exp.c (exp_mpn): Remove ROUND.
70243 * math/atest-exp2.c (exp_mpn): Likewise.
70244 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70245
70246 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70247 * stdlib/tst-tls-atexit-lib.c: Likewise.
70248 * stdlib/tst-tls-atexit.c: Likewise.
70249
70250 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70251
70252 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70253 and __attribute_alloc_size__.
70254
70255 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70256
70257 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70258 __attribute_alloc_size__.
70259 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70260 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70261
70262 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70263
70264 * include/programs/xmalloc.h: New file.
70265 * catgets/gencat.c: Include it.
70266 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70267 * elf/pldd.c: Likewise.
70268 * iconv/iconv_charmap.c: Likewise.
70269 * iconv/iconvconfig.c: Likewise.
70270 * iconv/strtab.c: Likewise.
70271 * locale/programs/locale.c: Likewise.
70272 * locale/programs/localedef.h: Likewise.
70273 * locale/programs/simple-hash.c: Likewise.
70274 * nscd/nscd.h: Likewise.
70275 * nss/makedb.c: Likewise.
70276 * sysdeps/generic/ldconfig.h: Likewise.
70277
70278 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70279
70280 * Versions.def: Add GLIBC_2.18.
70281 * include/link.h (struct link_map): New member l_tls_dtor_count.
70282 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70283 (__call_tls_dtors): Likewise.
70284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70285 __cxa_thread_atexit_impl.
70286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70287 Likewise.
70288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70289 Likewise.
70290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70291 Likewise.
70292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70293 Likewise.
70294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70296 Likewise.
70297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70298 Likewise.
70299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70301 Likewise.
70302 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70303 (tests): Add test case tst-tls-atexit.
70304 (modules-names): Add shared library for tst-tls-atexit.
70305 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70306 (GLIBC_PRIVATE): Add __call_tls_dtors.
70307 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70308 for libstdc++.
70309 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70310 * stdlib/tst-tls-atexit.c: New test case.
70311 * stdlib/tst-tls-atexit-lib.c: New test case.
70312
70313 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70314
70315 * elf/Versions (ld): Add _dl_find_dso_for_object.
70316 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70317 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70318 (dl_open_worker): Use _dl_find_dso_for_object.
70319 * elf/dl-sym.c (do_sym): Likewise.
70320 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70321
70322 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70323
70324 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70325 Syntactic changes only.
70326 (_dl_runtime_profile): Do a tail-call to the resolved function.
70327
70328 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70329
70330 [BZ #13550]
70331 * sysdeps/x86_64/bp-asm.h: Remove file.
70332 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70333 <bp-sym.h> and <bp-asm.h>.
70334 (__clone): Do not use BP_SYM.
70335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70336 <bp-sym.h> and <bp-asm.h>.
70337 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70338 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70339 "bp-asm.h".
70340 (_setjmp): Do not use BP_SYM.
70341 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70342 "bp-asm.h".
70343 (setjmp): Do not use BP_SYM.
70344 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70345 libc_hidden_def.
70346 (mempcpy): Do not use BP_SYM in weak_alias.
70347 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70348 "bp-asm.h".
70349 (strchr): Do not use BP_SYM.
70350 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70351 "bp-asm.h".
70352 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70353 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70354 (_start): Do not use BP_SYM.
70355 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70356 "bp-asm.h".
70357 (strcat): Do not use BP_SYM.
70358 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70359 "bp-asm.h".
70360 (STRCMP): Do not use BP_SYM.
70361 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70362 "bp-asm.h".
70363 (STRCPY): Do not use BP_SYM.
70364 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70365 "bp-asm.h".
70366 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70367 "bp-asm.h".
70368 (FUNCTION): Do not use BP_SYM.
70369 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70370 weak_alias.
70371 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70372
70373 2013-02-17 Andreas Jaeger <aj@suse.de>
70374
70375 * time/Versions: Sort entries.
70376 * string/Versions: Likewise.
70377 * resolv/Versions: Likewise.
70378 * posix/Versions: Likewise.
70379 * iconv/Versions: Likewise.
70380 * elf/Versions: Likewise.
70381 * wcsmbs/Versions: Likewise.
70382
70383 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70384
70385 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70386 loop termination condition.
70387
70388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70389 variable to calculate EZ.
70390 (__sqr): Likewise.
70391
70392 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70393 the lower precision input.
70394
70395 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70396
70397 [BZ #13550]
70398 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70399 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70400 (run-via-rtld-prefix): Do not handle %-bp tests.
70401 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70402 (all-object-suffixes): Remove .ob.
70403 (bppfx): Remove variable.
70404 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70405 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70406 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70407 [$(build-bounded) = yes] (libtype.ob): Likewise.
70408 * Makerules (elide-routines.ob): Remove variable.
70409 (do-tests-clean): Do not handle *-bp.out.
70410 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70411 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70412 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70413 (tests): Do not include $(tests-bp.out).
70414 (xtests): Do not include $(xtests-bp.out).
70415 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70416 [$(build-bounded) = yes] ($(addprefix
70417 $(objpfx),$(binaries-bounded))): Remove rule.
70418 ($(objpfx)%-bp.out): Remove rule.
70419 * config.make.in (build-bounded): Remove variable.
70420 * crypt/Makefile [$(build-bounded) = yes]
70421 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70422 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70423 append to variable.
70424 [$(build-bounded) = yes] (install-lib): Likewise.
70425 [$(build-bounded) = yes] (generated): Likewise.
70426 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70427 Remove rule.
70428 * intl/Makefile [$(build-bounded) = yes]
70429 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70430 * math/Makefile [$(build-bounded) = yes]
70431 ($(tests:%=$(objpfx)%-bp): Likewise.
70432 * misc/Makefile [$(build-bounded) = yes]
70433 ($(objpfx)tst-tsearch-bp): Likewise.
70434 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70435 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70436 Remove dependency.
70437 * string/Makefile (o-objects.ob): Remove variable.
70438 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70439 (CFLAGS-.ob): Remove variable.
70440 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70441 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70442 both definitions of variable.
70443 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70444 (ASFLAGS-.ob): Remove variable.
70445
70446 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70447
70448 [BZ #13550]
70449 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70450 Remove __BOUNDED_POINTERS__ from condition.
70451 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70452 * string/bits/string2.h [!__NO_STRING_INLINES &&
70453 !__BOUNDED_POINTERS__]: Likewise.
70454 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70455 Likewise.
70456 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70457 Remove conditional code.
70458 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70459 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70460 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70461 condition.
70462
70463 [BZ #13550]
70464 * csu/libc-start.c: Do not include <bp-sym.h>.
70465 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70466 * elf/dl-open.c: Do not include <bp-sym.h>.
70467 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70468 * math/fegetenv.c: Do not include <bp-sym.h>.
70469 (fegetenv): Do not use BP_SYM in versioned symbols.
70470 * nptl/sysdeps/pthread/bits/libc-lockP.h
70471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70472 <bp-sym.h>.
70473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70474 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70476 (__pthread_mutex_destroy): Likewise.
70477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70478 (__pthread_mutex_lock): Likewise.
70479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70480 (__pthread_mutex_trylock): Likewise.
70481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70482 (__pthread_mutex_unlock): Likewise.
70483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70484 (__pthread_mutexattr_init): Likewise.
70485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70486 (__pthread_mutexattr_destroy): Likewise.
70487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70488 (__pthread_mutexattr_settype): Likewise.
70489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70490 (__pthread_rwlock_init): Likewise.
70491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70492 (__pthread_rwlock_destroy): Likewise.
70493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70494 (__pthread_rwlock_rdlock): Likewise.
70495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70496 (__pthread_rwlock_tryrdlock): Likewise.
70497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70498 (__pthread_rwlock_wrlock): Likewise.
70499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70500 (__pthread_rwlock_trywrlock): Likewise.
70501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70502 (__pthread_rwlock_unlock): Likewise.
70503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70504 (__pthread_key_create): Likewise.
70505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70506 (__pthread_setspecific): Likewise.
70507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70508 (__pthread_getspecific): Likewise.
70509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70510 Likewise.
70511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70512 (_pthread_cleanup_push_defer): Likewise.
70513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70514 (_pthread_cleanup_pop_restore): Likewise.
70515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70516 (pthread_setcancelstate): Likewise.
70517 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70518 <bp-sym.h>.
70519 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70520 (memchr): Do not use BP_SYM in weak_alias.
70521 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70522 (fegetenv): Do not use BP_SYM in versioned symbols.
70523 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70524 (fesetenv): Do not use BP_SYM in versioned symbols.
70525 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70526 (feupdateenv): Do not use BP_SYM in versioned symbols.
70527 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70528 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70529 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70530 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70531 (open64): Do not use BP_SYM in weak_alias.
70532 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70533 (fegetenv): Do not use BP_SYM in versioned symbols.
70534 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70535 (fesetenv): Do not use BP_SYM in versioned symbols.
70536 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70537 (feupdateenv): Do not use BP_SYM in versioned symbols.
70538 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70539 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70540 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70541 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70542 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70543 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70545 <bp-sym.h>.
70546 (__libc_start_main): Do not use BP_SYM.
70547
70548 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70549
70550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70551 redundant return line.
70552 (norm): Likewise.
70553 (denorm): Likewise.
70554 (dbl_mp): Likewise.
70555 (sub_magnitudes): Likewise.
70556 (__add): Likewise.
70557 (__sub): Likewise.
70558 (__mul): Likewise.
70559 (__inv): Likewise.
70560 (__dvd): Likewise.
70561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70562 (norm): Likewise.
70563 (denorm): Likewise.
70564 (dbl_mp): Likewise.
70565 (sub_magnitudes): Likewise.
70566 (__add): Likewise.
70567 (__sub): Likewise.
70568 (__mul): Likewise.
70569 (__inv): Likewise.
70570 (__dvd): Likewise.
70571
70572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70573 instead of __mul.
70574 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70575 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70576 (cc32): Likewise.
70577
70578 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70579 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70581 of __mul for squares.
70582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70583 function
70584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70585 Likewise.
70586 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70587 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70588
70589 2013-02-13 Joseph Myers <joseph@codesourcery.com>
70590
70591 [BZ #13550]
70592 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70593 code.
70594 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70595 prototype or function definition. Rename ubp_* variables and
70596 parameters. Remove argv definitions conditional on
70597 [__BOUNDED_POINTERS__].
70598 * debug/backtrace.c (__backtrace): Do not use __unbounded.
70599 * elf/dl-runtime.c (_dl_fixup): Likewise.
70600 * include/set-hooks.h (RUN_HOOK): Likewise.
70601 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70602 definition.
70603 * string/strcpy.c (strcpy): Do not use __unbounded.
70604 * sysdeps/generic/frame.h (struct layout): Likewise.
70605 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70606 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70607 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70608 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70609 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70610 (__backtrace): Likewise.
70611 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70612 use __ptrvalue.
70613 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70614 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70615 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70616 Likewise.
70617 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70618 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70619 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70620 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70621 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70622 Do not use __unbounded.
70623 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70624 Rename __unboundedrlimits parameter to rlimits in prototype.
70625 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70626 Do not use __unbounded.
70627 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70628 not use __ptrvalue.
70629 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70630 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70631 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70632 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70633 __ptrvalue or __unbounded.
70634 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70635 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70636 use __unbounded.
70637 (__new_msgctl): Do not use __ptrvalue.
70638 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70639 __unbounded.
70640 (__libc_msgrcv): Do not use __ptrvalue.
70641 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70642 startup_info): Do not use __unbounded.
70643 (__libc_start_main): Likewise. Rename ubp_* variables and
70644 parameters. Remove argv definitions conditional on
70645 [__BOUNDED_POINTERS__].
70646 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70647 __ptrvalue.
70648 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70649 use __unbounded.
70650 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70651 or __ptrvalue.
70652 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70653 use __unbounded.
70654 (__new_shmctl): Do not use __ptrvalue.
70655 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70656 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70657 Likewise.
70658 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70659 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70660 (__libc_sigaction): Likewise.
70661 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70662 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70663 Likewise.
70664 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70665
70666 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
70667
70668 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70669
70670 * string/mempcpy.c: Implement by calling memcpy.
70671
70672 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
70673
70674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70675
70676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70677 evaluation.
70678
70679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70680 values in the mantissa.
70681
70682 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70683 minimize writes to Z.
70684 (sub_magnitudes): Simplify code a bit.
70685
70686 2013-02-12 Roland McGrath <roland@hack.frob.com>
70687
70688 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70689 from the message. The linker prefixes all warnings with that already.
70690
70691 2013-02-12 Andreas Schwab <schwab@suse.de>
70692
70693 [BZ #15078]
70694 * posix/regexec.c (extend_buffers): Add parameter min_len.
70695 (check_matching): Pass minimum needed length.
70696 (clean_state_log_if_needed): Likewise.
70697 (get_subexp): Likewise.
70698 * posix/Makefile (tests): Add bug-regex34.
70699 (bug-regex34-ENV): Define.
70700 * posix/bug-regex34.c: New file.
70701
70702 [BZ #11561]
70703 * posix/regcomp.c (parse_bracket_exp): When looking up collating
70704 elements compare against the byte sequence of it, not its name.
70705 * posix/Makefile (tests): Add bug-regex35.
70706 (bug-regex35-ENV): Define.
70707 * posix/bug-regex35.c: New file.
70708
70709 2013-02-11 Tom de Vries <tom@codesourcery.com>
70710
70711 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
70712 comment.
70713 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70714 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70715 (CHECK_EOL): Add undef.
70716
70717 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
70718
70719 * bits/stdlib-bsearch.h: New file.
70720 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70721 * stdlib/stdlib.h: Likewise.
70722
70723 2013-02-11 Roland McGrath <roland@hack.frob.com>
70724
70725 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70726 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70727 declaration.
70728 * manual/search.texi (Array Search Function): Add missing const in
70729 lfind prototype.
70730 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70731 declaration to use rlim_t.
70732 (Basic Scheduling Functions): Remove erroneous const from
70733 sched_getparam prototype. Remove erroneous * from
70734 sched_get_priority_max and sched_get_priority_min prototypes.
70735 (Resource Usage): Fix summary @comment on vtimes to refer to
70736 sys/vtimes.h rather than vtimes.h.
70737 Add missing *s in vtimes prototype.
70738 (Limits on Resources): Fix ulimit prototype to return long int.
70739 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70740 prototypes to use long int rather than double.
70741 (BSD Random): Fix initstate and setstate to use char *, not void *.
70742 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70743 prototype to make second argument 'struct aiocb64 *const[]'.
70744 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70745 (Status of AIO Operations): Remove erroneous const in aio_return and
70746 aio_return64 prototypes.
70747 (Synchronizing I/O): Fix sync prototype to return void.
70748 * manual/startup.texi (Suboptions): Remove an erroneous const in
70749 getsubopt prototype.
70750 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70751 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70752 use size_t rather than int.
70753 (Scanning All Users): Likewise for getpwent_r.
70754 (Setting Groups): Add missing const to setgroups prototype.
70755 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70756 * manual/socket.texi (Host Names): Fix gethostbyaddr and
70757 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70758 'const void *' rather than 'const char *'.
70759 (Host Address Functions): Likewise for inet_ntop.
70760 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70761 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70762 ssize_t for return value.
70763 (Sending Data): Likewise for send, sendto, sendmsg.
70764 (Socket Option Functions): Add a missing const in setsockopt prototype.
70765 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70766 use wchar_t for the argument.
70767 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70768 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70769 take no arguments.
70770 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70771 double/float/long double for second argument.
70772 Fix return types of significand, significandf, significandl.
70773 * manual/filesys.texi (Setting Permissions): Use mode_t for second
70774 argument in fchmod prototype.
70775 (File Owner): Use uid_t and gid_t in fchown prototype.
70776 (File Times): Add const to utimes, futimes, and lutimes prototypes.
70777 (Making Special Files): Use mode_t and dev_t in mknod prototype.
70778 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70779 use 'const struct dirent **' as argument types to CMP function pointer
70780 argument.
70781 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70782 (File Times): Fix summary magic @comment for struct utimbuf and utime
70783 to refer to utime.h, not time.h.
70784 * manual/string.texi (Argz Functions): Add missing const in
70785 argz_extract and argz_next prototypes.
70786 (Finding Tokens in a String): Likewise for basename.
70787 (String/Array Comparison): Fix typo in wcscasecmp prototype.
70788 (Copying and Concatenation): Fix typo in wmemmove prototype.
70789 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70790 (Signal Stack): Remove erroneous const in sigstack prototype.
70791 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70792 prototype.
70793 (Simple Calendar Time): Likewise for stime.
70794 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70795 prototype.
70796 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70797 say sys/sysctl.h instead.
70798 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70799 and vsyslog prototypes.
70800
70801 2013-02-11 Tom de Vries <tom@codesourcery.com>
70802
70803 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70804 Remove.
70805
70806 2013-02-11 Roland McGrath <roland@hack.frob.com>
70807
70808 * misc/sys/mman.h: Fix typo in mremap comment.
70809
70810 2013-02-08 Roland McGrath <roland@hack.frob.com>
70811
70812 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70813 the '\0' terminator.
70814
70815 2013-02-08 Joseph Myers <joseph@codesourcery.com>
70816
70817 [BZ #13550]
70818 * debug/segfault.c: Don't include <bp-checks.h>.
70819 * sysdeps/generic/bp-checks.h: Remove file.
70820 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70821 (__GETDENTS): Don't use CHECK_N.
70822 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70823 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70824 (__getgroups): Don't use CHECK_N.
70825 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70826 (setgroups): Don't use CHECK_N.
70827 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70828 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70829 (__libc_msgrcv): Don't use CHECK_N.
70830 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70831 (__libc_msgsnd): Don't use CHECK_N.
70832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70833 <bp-checks.h>.
70834 (__libc_pread): Don't use CHECK_N.
70835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70836 include <bp-checks.h>.
70837 (__libc_pread64): Don't use CHECK_N.
70838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70839 include <bp-checks.h>.
70840 (__libc_pwrite): Don't use CHECK_N.
70841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70842 include <bp-checks.h>.
70843 (__libc_pwrite64): Don't use CHECK_N.
70844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70845 <bp-checks.h>.
70846 (__libc_pread): Don't use CHECK_N.
70847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70848 include <bp-checks.h>.
70849 (__libc_pread64): Don't use CHECK_N.
70850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70851 include <bp-checks.h>.
70852 (__libc_pwrite): Don't use CHECK_N.
70853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70854 include <bp-checks.h>.
70855 (__libc_pwrite64): Don't use CHECK_N.
70856 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70857 (do_pread): Don't use CHECK_N.
70858 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70859 (do_pread64): Don't use CHECK_N.
70860 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70861 (do_pwrite): Don't use CHECK_N.
70862 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70863 (do_pwrite64): Don't use CHECK_N.
70864 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70865 (__libc_readv): Don't use CHECK_N.
70866 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70867 (semop): Don't use CHECK_N.
70868 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70869 <bp-checks.h>.
70870 (semtimedop): Don't use CHECK_N.
70871 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70872 (__libc_pread): Don't use CHECK_N.
70873 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70874 <bp-checks.h>.
70875 (__libc_pread64): Don't use CHECK_N.
70876 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70877 <bp-checks.h>.
70878 (__libc_pwrite): Don't use CHECK_N.
70879 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70880 <bp-checks.h>.
70881 (__libc_pwrite64): Don't use CHECK_N.
70882 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70883 <bp-checks.h>.
70884 (__libc_msgrcv): Don't use CHECK_N.
70885 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70886 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
70887 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70888 (__libc_writev): Don't use CHECK_N.
70889
70890 2013-02-08 Roland McGrath <roland@hack.frob.com>
70891
70892 * string/strcpy.c: Removed unused variable.
70893
70894 * Makeconfig (+sysdep-includes): Define with := rather than =.
70895 Use an existing include/ subdir of each sysdeps dir before it.
70896
70897 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70898
70899 * nscd/connection.c (register_traced_file): Comment function.
70900 [HAVE_INOTIFY] (union __inev): Define.
70901 [HAVE_INOTIFY] (inotify_check_files): New function.
70902 [HAVE_INOTIFY] (clear_db_cache): Likewise.
70903 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70904 clear_db_cache.
70905 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70906
70907 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70908
70909 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70910 loaded if not already and that a failure is permanent.
70911
70912 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70913
70914 [BZ #15006]
70915 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70916 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70917
70918 2013-02-08 Joseph Myers <joseph@codesourcery.com>
70919
70920 [BZ #13550]
70921 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70922 (CHECK_1_NULL_OK): Likewise.
70923 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70924 (__fxstat): Do not use CHECK_1.
70925 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70926 <bp-checks.h>.
70927 (___fxstat64): Do not use CHECK_1.
70928 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70929 <bp-checks.h>.
70930 (__fxstatat): Do not use CHECK_1.
70931 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70932 <bp-checks.h>.
70933 (__fxstatat64): Do not use CHECK_1.
70934 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70935 <bp-checks.h>.
70936 (__fxstat): Do not use CHECK_1.
70937 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70938 <bp-checks.h>.
70939 (__fxstatat): Do not use CHECK_1.
70940 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70941 <bp-checks.h>.
70942 (__getresgid): Do not use CHECK_1.
70943 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70944 <bp-checks.h>.
70945 (__getresuid): Do not use CHECK_1.
70946 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70947 <bp-checks.h>.
70948 (__lxstat): Do not use CHECK_1.
70949 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70950 <bp-checks.h>.
70951 (__old_msgctl): Do not use CHECK_1.
70952 (__new_msgctl): Likewise.
70953 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70954 <bp-checks.h>.
70955 (__new_setrlimit): Do not use CHECK_1.
70956 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70957 <bp-checks.h>.
70958 (__old_shmctl): Do not use CHECK_1.
70959 (__new_shmctl): Likewise.
70960 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70961 <bp-checks.h>.
70962 (__xstat): Do not use CHECK_1.
70963 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70964 (__lxstat): Do not use CHECK_1.
70965 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70966 <bp-checks.h>.
70967 (___lxstat64): Do not use CHECK_1.
70968 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70969 (__old_msgctl): Do not use CHECK_1.
70970 (__new_msgctl): Likewise.
70971 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70972 <bp-checks.h>.
70973 (__gettimeofday): Do not use CHECK_1.
70974 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70975 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70976 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70977 <bp-checks.h>.
70978 (__gettimeofday): Do not use CHECK_1.
70979 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70980 (__old_shmctl): Do not use CHECK_1_NULL_OK.
70981 (__new_shmctl): Do not use CHECK_1.
70982 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70983 <bp-checks.h>.
70984 (do_sigtimedwait): Do not use CHECK_1.
70985 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70986 <bp-checks.h>.
70987 (do_sigwaitinfo): Do not use CHECK_1.
70988 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70989 <bp-checks.h>.
70990 (msgctl): Do not use CHECK_1.
70991 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70992 <bp-checks.h>.
70993 (shmctl): Do not use CHECK_1.
70994 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70995 (ustat): Do not use CHECK_1.
70996 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70997 <bp-checks.h>.
70998 (__fxstat): Do not use CHECK_1.
70999 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71000 <bp-checks.h>.
71001 (__fxstatat): Do not use CHECK_1.
71002 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71003 <bp-checks.h>.
71004 (__lxstat): Do not use CHECK_1.
71005 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71006 <bp-checks.h>.
71007 (__xstat): Do not use CHECK_1.
71008 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71009 (__xstat): Do not use CHECK_1.
71010 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71011 (___xstat64): Do not use CHECK_1.
71012
71013 [BZ #13550]
71014 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71015 definitions.
71016 (CHECK_BOUNDS_HIGH): Likewise.
71017 * string/strcpy.c: Do not include <bp-checks.h>.
71018 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71019
71020 2013-02-07 Roland McGrath <roland@hack.frob.com>
71021
71022 * nscd/nscd-client.h (__nscd_drop_map_ref):
71023 Add __attribute__ ((unused)).
71024 * nis/nss-nisplus.h (niserr2nss): Likewise.
71025
71026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71027 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71028
71029 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71030 Remove inline keyword.
71031 * include/rounding-mode.h (round_away): Likewise.
71032 * libio/wfileops.c (adjust_wide_data): Likewise.
71033 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71034 (__m128i_strloadu_tolower): Likewise.
71035 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71036 (__m128i_strloadu_tolower): Likewise.
71037 * time/mktime.c (ydhms_diff): Likewise.
71038 * locale/elem-hash.h (elem_hash): Likewise.
71039 * locale/setlocale.c (setdata): Likewise.
71040 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71041 (re_string_wchar_at): Likewise.
71042 (bitset_not, bitset_merge, bitset_mask): Likewise.
71043 [!(__GNUC__ > 3)] (inline): Remove macro.
71044 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71045 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71046 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71047 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71048 * string/memcmp.c (memcmp_bytes): Likewise.
71049 * locale/programs/locarchive.c (compute_hashval): Likewise.
71050 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71051 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71052 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71053 * nss/getent.c (print_rpc, print_protocols): Likewise.
71054 (print_passwd, print_group, print_aliases): Likewise.
71055 * nis/nss-nisplus.h (niserr2nss): Likewise.
71056 * nscd/connections.c (restart_p): Likewise.
71057 Change return type to bool.
71058
71059 2013-02-05 Roland McGrath <roland@hack.frob.com>
71060
71061 * Makeconfig (all-Depend-files): Add existing
71062 $(sorted-subdirs:=/Depend) files.
71063 (all-subdirs): Remove nss.
71064 * sysdeps/unix/inet/Subdirs: Add it here instead.
71065 * hesiod/Depend: New file.
71066
71067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71068 instead of calling alloca.
71069
71070 * io/lseek.c (__lseek): Rename to __libc_lseek.
71071 Define __lseek as an alias.
71072
71073 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71074
71075 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71076
71077 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71078 else clause and remove check for non-standard endianness.
71079
71080 2013-02-04 David S. Miller <davem@davemloft.net>
71081
71082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71083
71084 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71085
71086 [BZ #13550]
71087 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71088 (__ubp_memchr): Remove prototype.
71089 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71090 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71091 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71092 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71093 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71094 Remove alias.
71095 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71096 (__ubp_memchr): Likewise.
71097 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71098 (__ubp_memchr): Likewise.
71099 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71100 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71101 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71102 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71103 CHECK_STRING.
71104 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71105 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71106 (__getcwd): Do not use CHECK_STRING.
71107 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71108 <bp-checks.h>.
71109 (__real_chown): Do not use CHECK_STRING.
71110 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71111 <bp-checks.h>.
71112 (fchownat): Do not use CHECK_STRING.
71113 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71114 CHECK_STRING.
71115 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71116 <bp-checks.h>.
71117 (__lchown): Do not use CHECK_STRING.
71118 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71119 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71120 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71121 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71123 include <bp-checks.h>.
71124 (truncate64): Do not use CHECK_STRING.
71125 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71126 <bp-checks.h>.
71127 (__real_chown): Do not use CHECK_STRING.
71128 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71129 <bp-checks.h>.
71130 (__lchown): Do not use CHECK_STRING.
71131 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71132 <bp-checks.h>.
71133 (__chown): Do not use CHECK_STRING.
71134 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71135 <bp-checks.h>.
71136 (truncate64): Do not use CHECK_STRING.
71137 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71138 Likewise.
71139 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71140 (__xmknod): Do not use CHECK_STRING.
71141 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71142 <bp-checks.h>.
71143 (__xmknodat): Do not use CHECK_STRING.
71144 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71145 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71146
71147 2013-02-04 Andreas Schwab <schwab@suse.de>
71148
71149 [BZ #14142]
71150 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71151 * include/netdb.h: Likewise for h_errno.
71152 * elf/tst-stackguard1.c: Include <tls.h>.
71153
71154 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71155
71156 * elf/link.h (struct link_map): Extend the l_addr comment.
71157 * include/link.h (struct link_map): Likewise.
71158
71159 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71160
71161 [BZ #13550]
71162 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71163 (BOUNDED_1): Remove macro.
71164 * debug/backtrace.c: Don't include <bp-checks.h>.
71165 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71166 (__backtrace): Likewise.
71167 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71168 <bp-checks.h>.
71169 (__backtrace): Don't use BOUNDED_1.
71170 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71171 <bp-checks.h>.
71172 (__backtrace): Don't use BOUNDED_1.
71173 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71174 (__backtrace): Don't use BOUNDED_1.
71175 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71176 (shmat): Don't use BOUNDED_N.
71177
71178 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71179
71180 [BZ #13550]
71181 * sysdeps/generic/bp-start.h: Remove file.
71182 * csu/libc-start.c: Don't include <bp-start.h>.
71183 (LIBC_START_MAIN): Set up __environ directly instead of using
71184 INIT_ARGV_and_ENVIRON.
71185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71186 <bp-start.h>.
71187
71188 [BZ #13550]
71189 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71190 definitions.
71191 (CHECK_FCNTL): Likewise.
71192 (CHECK_N_PAGES): Likewise.
71193
71194 [BZ #13550]
71195 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71196 definitions.
71197 (CHECK_SIGSET_NULL_OK): Likewise.
71198 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71199 <bp-checks.h>.
71200 (sigpending): Don't use CHECK_SIGSET.
71201 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71202 <bp-checks.h>.
71203 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71204 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71205 <bp-checks.h>.
71206 (do_sigsuspend): Don't use CHECK_SIGSET.
71207 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71208 use CHECK_SIGSET.
71209 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71210 (do_sigwait): Don't use CHECK_SIGSET.
71211 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71212 use CHECK_SIGSET.
71213 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71214 include <bp-checks.h>.
71215 (sigpending): Don't use CHECK_SIGSET.
71216 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71217 include <bp-checks.h>.
71218 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71219 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71220 <bp-checks.h>.
71221 (sigpending): Don't use CHECK_SIGSET.
71222 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71223 <bp-checks.h>.
71224 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71225
71226 [BZ #13550]
71227 * sysdeps/generic/bp-semctl.h: Remove file.
71228 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71229 <bp-checks.h> and <bp-semctl.h>.
71230 (__old_semctl): Don't use CHECK_SEMCTL.
71231 (__new_semctl): Likewise.
71232 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71233 and <bp-semctl.h>.
71234 (__old_semctl): Don't use CHECK_SEMCTL.
71235 (__new_semctl): Likewise.
71236 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71237 <bp-checks.h> and <bp-semctl.h>.
71238 (__old_semctl): Don't use CHECK_SEMCTL.
71239 (__new_semctl): Likewise.
71240 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71241 <bp-checks.h> and <bp-semctl.h>.
71242 (semctl): Don't use CHECK_SEMCTL.
71243
71244 [BZ #13550]
71245 * Makerules (elide-bp-thunks): Remove variable.
71246 (elide-routines.oS): Don't use $(elide-bp-thunks).
71247 (elide-routines.os): Likewise.
71248 (elide-routines.o): Likewise.
71249 (elide-routines.op): Likewise.
71250 (elide-routines.og): Likewise.
71251 (objects): Don't use $(bp-thunks).
71252 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71253 include.
71254 (common-generated): Do not add s-proto-bp.d.
71255 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71256 (int): Likewise.
71257 (typ): Likewise.
71258 Do not generate makefile rules for bounded-pointer thunks.
71259 * sysdeps/generic/bp-thunks.h: Remove file.
71260 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71261 * sysdeps/unix/s-proto-bp.S: Likewise.
71262
71263 [BZ #15062]
71264 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71265 parts of result separately when argument is not close to line from
71266 -i to i and one part of argument is small.
71267 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71268 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71269 * math/libm-test.inc (cacos_test): Add more tests.
71270 (casin_test): Likewise.
71271 (casinh_test): Likewise.
71272 * sysdeps/i386/fpu/libm-test-ulps: Update.
71273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71274
71275 2013-01-31 David S. Miller <davem@davemloft.net>
71276
71277 * po/de.po: Update from translation team.
71278
71279 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71280
71281 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71282
71283 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71284
71285 * configure.in (_AC_PROG_CC_C89): New definition.
71286 * configure: Regenerate.
71287
71288 * configure.in (AC_PROG_CPP): New definition.
71289 * configure: Regenerate.
71290
71291 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71292
71293 * debug/tst-backtrace.h: New file.
71294 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71295 (ret): Remove variable.
71296 (x): Likewise.
71297 (FAIL): Remove macro.
71298 (NO_INLINE): Likewise.
71299 (fn1): Use match function instead of strstr.
71300 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71301 (ret): Remove variable.
71302 (x): Likewise.
71303 (FAIL): Remove macro.
71304 (NO_INLINE): Likewise.
71305 (fn): Use match function instead of strstr.
71306 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71307 (ret): Remove variable.
71308 (x): Likewise.
71309 (FAIL): Remove macro.
71310 (NO_INLINE): Likewise.
71311 (handle_signal): Use match function instead of strstr.
71312 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71313 (ret): Remove variable.
71314 (x): Likewise.
71315 (FAIL): Remove macro.
71316 (NO_INLINE): Likewise.
71317 (handle_signal): Use match function instead of strstr.
71318
71319 2013-01-23 Roland McGrath <roland@hack.frob.com>
71320
71321 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71322
71323 2013-01-23 David S. Miller <davem@davemloft.net>
71324
71325 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71326 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71327 argument of CAS if possible.
71328 * sysdeps/sparc/sparc64/bits/atomic.h
71329 (__arch_compare_and_exchange_val_32_acq): Likewise.
71330 (__arch_compare_and_exchange_val_64_acq): Likewise.
71331
71332 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71333
71334 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71335 * sysdeps/posix/ulimit.c: ... this.
71336 Include <limits.h>.
71337 * sysdeps/unix/bsd/ulimit.c: Remove file.
71338
71339 2013-01-23 Adam Conrad <adconrad@0c3.net>
71340
71341 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71342 (LDFLAGS-tst-array5): Likewise.
71343
71344 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71345
71346 [BZ #15036]
71347 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71348 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71349 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71350 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71351
71352 2013-01-21 David S. Miller <davem@davemloft.net>
71353
71354 * sysdeps/sparc/backtrace.c: New file.
71355 * sysdeps/sparc/sparc32/backtrace.h: New file.
71356 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71357 * sysdeps/sparc/sparc64/backtrace.h: New file.
71358 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71359 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71360 -funwind-tables.
71361
71362 2013-01-21 Andreas Schwab <schwab@suse.de>
71363
71364 [BZ #15020]
71365 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71366 closed its stdout.
71367
71368 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71369
71370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71371 "mpa2.h".
71372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71373
71374 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71375 Mark Mitchell <mark@codesourcery.com>
71376 Tom de Vries <tom@codesourcery.com>
71377 Paul Pluzhnikov <ppluzhnikov@google.com>
71378
71379 * debug/tst-backtrace2.c: New file.
71380 * debug/tst-backtrace3.c: Likewise.
71381 * debug/tst-backtrace4.c: Likewise.
71382 * debug/tst-backtrace5.c: Likewise.
71383 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71384 (CFLAGS-tst-backtrace3.c): Likewise.
71385 (CFLAGS-tst-backtrace4.c): Likewise.
71386 (CFLAGS-tst-backtrace5.c): Likewise.
71387 (LDFLAGS-tst-backtrace2): Likewise.
71388 (LDFLAGS-tst-backtrace3): Likewise.
71389 (LDFLAGS-tst-backtrace4): Likewise.
71390 (LDFLAGS-tst-backtrace5): Likewise.
71391 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71392 tst-backtrace4 and tst-backtrace5.
71393
71394 2013-01-18 Anton Blanchard <anton@samba.org>
71395 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71396
71397 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71398 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71399 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71400 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71402 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71403 "+r" and remove output regs list as redundant. Add explicit inline
71404 asm to specify register of return val to work around compiler codegen
71405 bug. Remove (int) cast on return value. Add return type parameter to
71406 use in macro so that this macro does not truncate return value for
71407 64-bit values.
71408 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71409 pass to INTERNAL_VSYSCALL_NCS.
71410 (INLINE_VSYSCALL): Add 'long int' as return type to
71411 INTERNAL_VSYSCALL_NCS macro invocation.
71412 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71413 INTERNAL_VSYSCALL_NCS macro invocation.
71414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71415
71416 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71417
71418 [BZ #14496]
71419 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71420 Fix application of SIMD FP exception mask.
71421
71422 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71423 mp_no from a power of two.
71424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71425 __mpexp_twomm1. Use __pow_mp.
71426
71427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71428 multiplication.
71429
71430 2013-01-17 David S. Miller <davem@davemloft.net>
71431
71432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71433
71434 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71435
71436 [BZ #15023]
71437 * include/complex.h: Condition contents on [!_COMPLEX_H].
71438 (__kernel_casinhf): New prototype.
71439 (__kernel_casinh): Likewise.
71440 (__kernel_casinhl): Likewise.
71441 * math/Makefile (libm_calls): Add k_casinh.
71442 * math/k_casinh.c: New file.
71443 * math/k_casinhf.c: Likewise.
71444 * math/k_casinhl.c: Likewise.
71445 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71446 finite nonzero arguments.
71447 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71448 finite nonzero arguments.
71449 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71450 finite nonzero arguments.
71451 * math/s_casinh.c: Do not include <float.h>.
71452 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71453 * math/s_casinhf.c: Do not include <float.h>.
71454 (__casinhf): Move code for finite nonzero arguments to
71455 k_casinhf.c.
71456 * math/s_casinhl.c: Do not include <float.h>.
71457 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71458 redefine.
71459 (__casinhl): Move code for finite nonzero arguments to
71460 k_casinhl.c.
71461 * math/libm-test.inc (cacos_test): Add more tests.
71462 * sysdeps/i386/fpu/libm-test-ulps: Update.
71463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71464
71465 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71466
71467 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71468 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71469 [!HAVE_MREMAP]: Remove [defined linux] case.
71470 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71471
71472 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71473
71474 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71475
71476 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71477
71478 * elf/elf.h (R_386_SIZE32): New relocation.
71479 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71480 R_386_SIZE32.
71481 (elf_machine_rela): Likewise.
71482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71483 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71484
71485 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71486
71487 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71488 (FP_FAST_FMA): Do not define.
71489 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71490 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71491 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71492 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71493 !_SOFT_FLOAT]: Likewise.
71494 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71496 value.
71497 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71498 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71500 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71501 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71502 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71503 file.
71504
71505 2013-01-16 Andreas Schwab <schwab@suse.de>
71506
71507 [BZ #14327]
71508 * include/stdlib.h (__mktemp): Add declaration.
71509 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71510 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71511
71512 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71513
71514 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71515 definitions.
71516 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71517 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71518 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71519 definitions here.
71520 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71521 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71522 definitions.
71523 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71524 and ONE.
71525 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71526 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71527 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71528 definitions.
71529 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71530 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71531 definitions.
71532 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71533
71534 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71535
71536 2013-01-15 David S. Miller <davem@davemloft.net>
71537
71538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71539 trunc{,f} to libm-sysdep_routes.
71540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71542 file.
71543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71545 file.
71546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71547 file.
71548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71550 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71551 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71552 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71553 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71554 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71555 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71556
71557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71558 nearbyint{,f} to libm-sysdep_routes.
71559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71561 New file.
71562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71563 file.
71564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71565 New file.
71566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71567 file.
71568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71571 file.
71572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71573 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71574 file.
71575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71576 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71577 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71578
71579 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71580 libc_feholdexcept and libc_fesetenv.
71581
71582 2013-01-15 Mike Frysinger <vapier@gentoo.org>
71583
71584 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71585
71586 2013-01-14 David S. Miller <davem@davemloft.net>
71587
71588 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71589 (SPARC_ASM_VIS2_IFUNC): Likewise.
71590 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71592 use of 'siam' instruction.
71593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71594 Likewise.
71595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71596 Likewise.
71597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71598 Likewise.
71599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71604 file.
71605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71606 file.
71607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71608 file.
71609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71610 file.
71611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71616 new VIS2 routines.
71617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71620 Likewise.
71621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71626 routines to libm-sysdep_routines.
71627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71628
71629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71630 fdim/fdimf to libm-sysdep_routines.
71631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71632 file.
71633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71635 file.
71636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71639 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71640 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71641 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71642 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71643
71644 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71645
71646 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71647 to optimize copies.
71648
71649 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71652
71653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71654 local variable MPTWO.
71655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71656 Likewise.
71657
71658 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71659
71660 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71661 GLOB_NOESCAPE.
71662
71663 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71664
71665 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71666
71667 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71668
71669 * manual/pattern.texi (glob_t): Document gl_flags.
71670 (glob64_t): Likewise.
71671
71672 2013-01-11 David S. Miller <davem@davemloft.net>
71673
71674 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71675 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71676 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
71677 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71678 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71679 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71680 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71681 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71682 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71683 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71684 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71685 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71686 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71687
71688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71689 sparc V9 rather than using V8 code.
71690 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71691 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71692
71693 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71694 Move to...
71695 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
71696 Here.
71697
71698 2013-01-11 Roland McGrath <roland@hack.frob.com>
71699
71700 [BZ #14941]
71701 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71702 not in the main loop.
71703 * configure: Regenerated.
71704
71705 2013-01-11 Joseph Myers <joseph@codesourcery.com>
71706
71707 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71708 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71709 to just #else.
71710 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
71711 [!__GLIBC_HAVE_LONG_LONG] case.
71712 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71713 condition to just #else.
71714 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71715 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71716 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71717 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71718 unconditional.
71719 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71720 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71721 #elif condition to just #else.
71722 * sysdeps/unix/sysv/linux/sys/sysmacros.h
71723 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71724 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71725 #elif condition to just #else.
71726
71727 2013-01-11 Steve Ellcey <sellcey@mips.com>
71728
71729 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71730 (EF_MIPS_ARCH_64): Fix value.
71731 (EF_MIPS_ARCH_32R2): New.
71732 (EF_MIPS_ARCH_64R2): New.
71733
71734 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
71735
71736 * Makeconfig (+link-pie-before-libc): New.
71737 (+link-pie-after-libc): Likewise.
71738 (+link-pie-tests): Likewise.
71739 (+link-pie): Rewritten.
71740 (link-before-libc): Remove $(config-LDFLAGS).
71741 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71742 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71743 (config-LDFLAGS): Renamed to ...
71744 (rtld-LDFLAGS): This.
71745 (rtld-tests-LDFLAGS): New macro.
71746 (link-libc-rpath-link): Likewise.
71747 (link-libc-tests-rpath-link): Likewise.
71748 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71749 (link-libc): Prepand $(link-libc-rpath-link).
71750 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71751 (test-program-prefix): New macro.
71752 (test-via-rtld-prefix): Likewise.
71753 (test-program-cmd): Likewise.
71754 (host-test-program-cmd): Likewise.
71755 * Makefile ($(common-objpfx)testrun.sh): Replace
71756 $(run-program-prefix) with $(test-program-prefix).
71757 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71758 $(rtld-LDFLAGS).
71759 ($(common-objpfx)shlib.lds): Likewise.
71760 (build-module-helper): Likewise.
71761 ($(common-objpfx)format.lds): Likewise.
71762 * Rules (binaries-pie-tests): New.
71763 (binaries-pie-notests): Likewise.
71764 (binaries-pie): Rewritten.
71765 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71766 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71767 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71768 (make-test-out): Replace $(host-built-program-cmd) with
71769 $(host-test-program-cmd).
71770 * config.make.in (build-hardcoded-path-in-tests): New variable.
71771 * configure.in (--enable-hardcoded-path-in-tests): New configure
71772 option.
71773 (hardcoded_path_in_tests): New AC_SUBST.
71774 * configure: Regenerated.
71775 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71776 $(built-program-cmd) with $(test-program-cmd).
71777 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71778 (test_program_cmd): This.
71779 * elf/Makefile ($(objpfx)order.out): Run test with
71780 $(test-program-prefix).
71781 ($(objpfx)order2.out): Likewise.
71782 ($(objpfx)tst-initorder.out): Likewise.
71783 ($(objpfx)tst-initorder2.out): Likewise.
71784 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71785 $(test-program-cmd).
71786 ($(objpfx)tst-array1-static.out): Likewise.
71787 ($(objpfx)tst-array2.out): Likewise.
71788 ($(objpfx)tst-array3.out): Likewise.
71789 ($(objpfx)tst-array4.out): Likewise.
71790 ($(objpfx)tst-array5.out): Likewise.
71791 ($(objpfx)tst-array5-static.out): Likewise.
71792 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71793 $(test-program-cmd).
71794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71795 $(run-program-prefix) with $(test-program-prefix).
71796 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71797 (test_program_prefix): This.
71798 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71799 $(run-program-prefix) with $(test-program-prefix).
71800 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71801 (test_program_prefix): This.
71802 * iconvdata/tst-tables.sh: Likewise.
71803 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71804 $(run-program-prefix) with $(test-program-prefix).
71805 ($(objpfx)tst-translit.out): Likewise.
71806 ($(objpfx)tst-gettext2.out): Likewise.
71807 ($(objpfx)tst-gettext4.out): Likewise.
71808 ($(objpfx)tst-gettext6.out): Likewise.
71809 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71810 (test_program_prefix): This.
71811 * intl/tst-gettext2.sh: Likewise.
71812 * intl/tst-gettext4.sh Likewise.
71813 * intl/tst-gettext6.sh: Likewise.
71814 * intl/tst-translit.sh: Likewise.
71815 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71816 with $(test-program-cmd).
71817 * libio/Makefile ($(objpfx)test-freopen.out): Replace
71818 $(run-program-prefix) with $(test-program-prefix).
71819 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71820 (test_program_prefix): This.
71821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71822 $(run-program-prefix) with $(test-program-prefix).
71823 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71824 (test_program_prefix): This.
71825 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71826 * posix/Makefile ($(objpfx)globtest.out): Replace
71827 $(run-via-rtld-prefix) and $(test-wrapper) with
71828 $(test-program-prefix) and $(test-via-rtld-prefix).
71829 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71830 $(test-program-prefix).
71831 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71832 $(host-test-program-cmd).
71833 (tst-spawn-ARGS): Likewise.
71834 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71835 $(test-program-prefix).
71836 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71837 (test_via_rtld_prefix): This.
71838 (test_wrapper): Renamed to ...
71839 (test_program_prefix): This.
71840 (run_program_prefix): Replaced by test_program_prefix.
71841 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71842 (test_program_prefix): This.
71843 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71844 with $(host-test-program-cmd).
71845 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71846 $(run-program-prefix) with $(test-program-prefix).
71847 ($(objpfx)tst-printf.out): Likewise.
71848 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71849 $(test-program-cmd).
71850 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71851 (test_program_prefix): This.
71852 * stdio-common/tst-unbputc.sh: Likewise.
71853 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71854 $(run-program-prefix) with $(test-program-prefix).
71855 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71856 (test_program_prefix): This.
71857 * string/Makefile ($(objpfx)tst-svc.out): Replace
71858 $(built-program-cmd) with $(test-program-cmd).
71859
71860 2013-01-11 Andreas Jaeger <aj@suse.de>
71861
71862 [BZ #15003]
71863 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71864 value. Sync with Linux 3.7.
71865
71866 2013-01-10 David S. Miller <davem@davemloft.net>
71867
71868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71869 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71870 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71871
71872 2013-01-10 Roland McGrath <roland@hack.frob.com>
71873
71874 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71875 never set.
71876 * configure: Regenerated.
71877
71878 2013-01-10 David S. Miller <davem@davemloft.net>
71879
71880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71881 sparc V9 rather than using V8 code.
71882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71884
71885 2013-01-10 Roland McGrath <roland@hack.frob.com>
71886
71887 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71888 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71889 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71890 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71891 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71892 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71893 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71894 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71895 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71896 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71897 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71898 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71899 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71900 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71901 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71902 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71903 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71904 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71905 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71906 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71907 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71908 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71909 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71910 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71911 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71912 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71913 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71914
71915 2013-01-10 David S. Miller <davem@davemloft.net>
71916
71917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71918
71919 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
71920
71921 * posix/Makefile (tests-static): New variable.
71922 (tests): Add $(tests-static).
71923 (tst-exec-static-ARGS): New variable.
71924 (tst-spawn-static-ARGS): Likewise.
71925 * posix/tst-exec-static.c: New file.
71926 * posix/tst-spawn-static.c: Likewise.
71927 * posix/tst-exec.c: Support run directly.
71928 * posix/tst-spawn.c: Likewise.
71929
71930 2013-01-10 Joseph Myers <joseph@codesourcery.com>
71931
71932 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71933 long.
71934 * math/bits/mathcalls.h (llrint): Likewise.
71935 (llround): Likewise.
71936 * stdlib/stdlib.h (struct drand48_data): Likewise.
71937 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71938 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71939 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71940 Likewise.
71941 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71942 Likewise.
71943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71944 (elf_greg_t): Likewise.
71945 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71946 (__jmp_buf): Likewise.
71947 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71948 definitions.
71949 (llrint): Likewise, for all definitions.
71950 (llrintl): Likewise.
71951
71952 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71953 Remove [__GNUC__] condition.
71954 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71955 condition to just [__USE_ISOC99].
71956 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71957
71958 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
71959
71960 [BZ #14200]
71961 * sysdeps/unix/sysv/linux/x86/bits/environments.h
71962 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71963 defined.
71964 (_POSIX_V6_ILP32_OFF32): Likewise.
71965 (_XBS5_ILP32_OFF32): Likewise.
71966 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71967 (__ILP32_OFFBIG_LDFLAGS): Likewise.
71968
71969 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
71970
71971 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71972
71973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71974 doubles __mpexp_twomm1. Adjust usage.
71975 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71976 Remove.
71977
71978 2013-01-10 Andreas Schwab <schwab@suse.de>
71979
71980 [BZ #14964]
71981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71982 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71983
71984 2013-01-09 David S. Miller <davem@davemloft.net>
71985
71986 [BZ #15003]
71987 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71988 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71989 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71990 (TCP_FASTOPEN): Define.
71991 (tcp_repair_opt): New structure.
71992 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71993 enum values.
71994 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71995 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71996 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71997 (tcp_cookie_transactions): New structure.
71998
71999 2013-01-09 Anton Blanchard <anton@samba.org>
72000
72001 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72002 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72005
72006 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72007
72008 * include/features.h (__USE_ANSI): Remove.
72009
72010 2013-01-09 Roland McGrath <roland@hack.frob.com>
72011
72012 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72013
72014 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72015
72016 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72017
72018 * sysdeps/s390/fpu/libm-test-ulps: Update.
72019
72020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72021
72022 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72023 (__acr): Likewise.
72024 (__cpy): Likewise.
72025 (norm): Likewise.
72026 (denorm): Likewise.
72027 (__mp_dbl): Likewise.
72028 (__dbl_mp): Likewise.
72029 (add_magnitudes): Likewise.
72030 (sub_magnitudes): Likewise.
72031 (__add): Likewise.
72032 (__sub): Likewise.
72033 (__mul): Likewise.
72034 (__inv): Likewise.
72035 (__dvd): Likewise.
72036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72037 (__acr): Likewise.
72038 (__cpy): Likewise.
72039 (norm): Likewise.
72040 (denorm): Likewise.
72041 (__mp_dbl): Likewise.
72042 (__dbl_mp): Likewise.
72043 (add_magnitudes): Likewise.
72044 (sub_magnitudes): Likewise.
72045 (__add): Likewise.
72046 (__sub): Likewise.
72047 (__mul): Likewise.
72048 (__inv): Likewise.
72049 (__dvd): Likewise.
72050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72051 (__acr): Likewise.
72052 (__cpy): Likewise.
72053 (norm): Likewise.
72054 (denorm): Likewise.
72055 (__mp_dbl): Likewise.
72056 (__dbl_mp): Likewise.
72057 (add_magnitudes): Likewise.
72058 (sub_magnitudes): Likewise.
72059 (__add): Likewise.
72060 (__sub): Likewise.
72061 (__mul): Likewise.
72062 (__inv): Likewise.
72063 (__dvd): Likewise.
72064
72065 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72066
72067 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72068 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72069 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72070 2 && __USE_EXTERN_INLINES]: Likewise.
72071
72072 2013-01-08 Andreas Jaeger <aj@suse.de>
72073
72074 [BZ #14985]
72075 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72076 Remove.
72077 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72078 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72079
72080 2013-01-07 Anton Blanchard <anton@samba.org>
72081
72082 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72083 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72084 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72085 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72087 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72088 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72092 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72099 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72100 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72105 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72106 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72108 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72109 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72112 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72115 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72116 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72124 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72125
72126 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72127
72128 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72129 (__MALLOC_PMT): Likewise.
72130 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72131 [__GNUC__], only on [_LIBC].
72132 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72133 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72134 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72135 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72136 forward declaration.
72137 (realloc_hook_ini): Likewise.
72138 (memalign_hook_ini): Likewise.
72139 (__libc_memalign): Do not use __MALLOC_PMT in variable
72140 declaration.
72141 (__libc_valloc): Likewise.
72142 (__libc_pvalloc): Likewise.
72143 (__libc_calloc): Likewise.
72144 (__posix_memalign): Likewise.
72145
72146 [BZ #14996]
72147 * math/s_casinh.c: Include <float.h>.
72148 (__casinh): Do not do computation with squaring and square root
72149 for large arguments.
72150 * math/s_casinhf.c: Include <float.h>.
72151 (__casinhf): Do not do computation with squaring and square root
72152 for large arguments.
72153 * math/s_casinhl.c: Include <float.h>.
72154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72155 (__casinhl): Do not do computation with squaring and square root
72156 for large arguments.
72157 * math/libm-test.inc (casin_test): Add more tests.
72158 (casinh_test): Likewise.
72159 * sysdeps/i386/fpu/libm-test-ulps: Update.
72160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72161
72162 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72163
72164 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72165 (__x86_64_raw_data_cache_size): Likewise.
72166 (__x86_64_data_cache_size_half): Likewise.
72167 (__x86_64_raw_data_cache_size_half): Likewise.
72168 (__x86_64_shared_cache_size): Likewise.
72169 (__x86_64_raw_shared_cache_size): Likewise.
72170 (__x86_64_shared_cache_size_half): Likewise.
72171 (__x86_64_raw_shared_cache_size_half): Likewise.
72172 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72173 to ...
72174 (__x86_data_cache_size): This.
72175 (__x86_64_raw_data_cache_size): Renamed to ...
72176 (__x86_raw_data_cache_size): This.
72177 (__x86_64_data_cache_size_half): Renamed to ...
72178 (__x86_data_cache_size_half): This.
72179 (__x86_64_raw_data_cache_size_half): Renamed to ...
72180 (__x86_raw_data_cache_size_half): This.
72181 (__x86_64_shared_cache_size): Renamed to ...
72182 (__x86_shared_cache_size): This.
72183 (__x86_64_raw_shared_cache_size): Renamed to ...
72184 (__x86_raw_shared_cache_size): This.
72185 (__x86_64_shared_cache_size_half): Renamed to ...
72186 (__x86_shared_cache_size_half): This.
72187 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72188 (__x86_raw_shared_cache_size_half): This.
72189 * sysdeps/x86_64/memcpy.S: Updated.
72190 * sysdeps/x86_64/memset.S: Likewise.
72191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72194
72195 2013-01-04 David S. Miller <davem@davemloft.net>
72196
72197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72198
72199 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72200
72201 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72202 1 to avoid redefinition warning.
72203 (__USE_GNU): Don't define.
72204 (init_signaling_nan): Protoize.
72205
72206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72207
72208 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72209
72210 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72212 (__cpymn): Likewise.
72213 (norm): Remove commented code.
72214 (denorm): Likewise.
72215 (__mp_dbl): Likewise.
72216 (__inv): Likewise.
72217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72218 (__cpymn): Likewise.
72219 (norm): Remove commented code.
72220 (denorm): Likewise.
72221 (__mp_dbl): Likewise.
72222 (__inv): Likewise.
72223
72224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72225 mp_no value for 1.0 and 2.0.
72226 (norm): Use RADIXI instead of radixi.d.
72227 (denorm): Likewise.
72228 (__mul): Use 0.0 instead of zero.d.
72229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72230 mp_no value for 1.0 and 2.0.
72231 (norm): Use RADIXI instead of radixi.d.
72232 (denorm): Likewise.
72233 (__mul): Use 0.0 instead of zero.d.
72234
72235 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72236
72237 [BZ #14994]
72238 * math/s_casinh.c (__casinh): Reduce finite argument to first
72239 quadrant then set signs of results at the end.
72240 * math/s_casinhf.c (__casinhf): Likewise.
72241 * math/s_casinhl.c (__casinhl): Likewise.
72242 * math/libm-test.inc (casin_test): Add more tests.
72243 (casinh_test): Likewise.
72244 * sysdeps/i386/fpu/libm-test-ulps: Update.
72245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72246
72247 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72248
72249 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72250
72251 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72252
72253 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72254 declarations.
72255 (denorm): Likewise.
72256 (__mp_dbl): Likewise.
72257 (__inv): Likewise.
72258
72259 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72260 and adjust the header comment.
72261
72262 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72263 variable name from declaration.
72264
72265 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72266
72267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72268 Initialize COMMON_CPUID_INDEX_7 element.
72269 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72270 (CPUID_RTM): Likewise.
72271 (HAS_RTM): Likewise.
72272 (COMMON_CPUID_INDEX_7): New enum.
72273
72274 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72275
72276 [BZ #14981]
72277 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72278 size is zero, record memory as freed.
72279
72280 2013-01-03 Andreas Jaeger <aj@suse.de>
72281
72282 * po/ia.po: Add new Interlingua translation.
72283
72284 2012-01-03 Allan McRae <allan@archlinux.org>
72285
72286 * locale/programs/localedef.c: Fix description of '--posix' flag.
72287
72288 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72289
72290 * NEWS: Update dates in second copyright notice.
72291 * README: Update copyright dates in example.
72292 * manual/libc.texinfo: Update copyright dates.
72293 * scripts/test-installation.pl: Update copyright date in --version
72294 output.
72295
72296 * hurd/ctty-input.c: Fix copyright notice formatting.
72297 * hurd/ctty-output.c: Likewise.
72298 * hurd/dtable.c: Likewise.
72299 * hurd/hurd-raise.c: Likewise.
72300 * hurd/hurdprio.c: Likewise.
72301 * hurd/msgportdemux.c: Likewise.
72302 * misc/sys/file.h: Likewise.
72303 * misc/sys/ioctl.h: Likewise.
72304 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72305 * sysdeps/mach/hurd/chdir.c: Likewise.
72306 * sysdeps/mach/hurd/fchdir.c: Likewise.
72307 * sysdeps/mach/hurd/rename.c: Likewise.
72308 * sysdeps/mach/hurd/rmdir.c: Likewise.
72309 * sysdeps/mach/hurd/seekdir.c: Likewise.
72310 * sysdeps/mach/hurd/setsid.c: Likewise.
72311 * sysdeps/posix/wait3.c: Likewise.
72312
72313 * All files with FSF copyright notices: Update copyright dates
72314 using scripts/update-copyrights.
72315 * intl/plural.c: Regenerated.
72316 * locale/programs/charmap-kw.h: Likewise.
72317 * locale/programs/locfile-kw.h: Likewise.
72318
72319 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72320
72321 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72322 four values.
72323
72324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72325 calculation loop and add branch prediction.
72326
72327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72328 check access beyond bounds of m1np.
72329
72330 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72331 MPTWO.
72332 (__inv): Remove local variable MPTWO to use the global
72333 constant.
72334 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72336 variable MPTWO.
72337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72338 MP3HALFS static const.
72339
72340 2013-01-01 David S. Miller <davem@davemloft.net>
72341
72342 * po/ca.po: Update from translation team.
72343
72344 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72345
72346 * scripts/update-copyrights: New file.
72347 * Makeconfig: Reformat copyright notice.
72348 * ctype/ctype.h: Likewise.
72349 * debug/swprintf_chk.c: Likewise.
72350 * elf/dl-cache.c: Likewise.
72351 * elf/dl-debug.c: Likewise.
72352 * elf/dl-object.c: Likewise.
72353 * grp/initgroups.c: Likewise.
72354 * hurd/Makefile: Likewise.
72355 * hurd/hurd/signal.h: Likewise.
72356 * hurd/hurdfault.c: Likewise.
72357 * hurd/hurdioctl.c: Likewise.
72358 * hurd/hurdlookup.c: Likewise.
72359 * hurd/intr-msg.c: Likewise.
72360 * iconv/gconv_open.c: Likewise.
72361 * libio/swprintf.c: Likewise.
72362 * locale/lc-ctype.c: Likewise.
72363 * locale/nl_langinfo.c: Likewise.
72364 * mach/Machrules: Likewise.
72365 * mach/Makefile: Likewise.
72366 * malloc/obstack.h: Likewise.
72367 * manual/Makefile: Likewise.
72368 * manual/tsort.awk: Likewise.
72369 * misc/bits/stab.def: Likewise.
72370 * nis/nis_print_group_entry.c: Likewise.
72371 * nis/nis_table.c: Likewise.
72372 * nis/nss_compat/compat-pwd.c: Likewise.
72373 * nis/nss_compat/compat-spwd.c: Likewise.
72374 * po/Makefile: Likewise.
72375 * posix/fnmatch.c: Likewise.
72376 * posix/regex.h: Likewise.
72377 * resolv/Makefile: Likewise.
72378 * resolv/nss_dns/dns-network.c: Likewise.
72379 * resolv/res_hconf.c: Likewise.
72380 * scripts/gen-sorted.awk: Likewise.
72381 * soft-fp/soft-fp.h: Likewise.
72382 * stdio-common/printf.h: Likewise.
72383 * stdlib/monetary.h: Likewise.
72384 * stdlib/random.c: Likewise.
72385 * stdlib/random_r.c: Likewise.
72386 * sysdeps/generic/Makefile: Likewise.
72387 * sysdeps/gnu/Makefile: Likewise.
72388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72395 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72399 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72402 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72411 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72412 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72414 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72416 * sysdeps/mach/hurd/errnos.awk: Likewise.
72417 * sysdeps/mach/hurd/fork.c: Likewise.
72418 * sysdeps/mach/hurd/getcwd.c: Likewise.
72419 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72420 * sysdeps/mach/hurd/mmap.c: Likewise.
72421 * sysdeps/mach/hurd/utimes.c: Likewise.
72422 * sysdeps/mach/hurd/xmknod.c: Likewise.
72423 * sysdeps/posix/profil.c: Likewise.
72424 * sysdeps/posix/readdir_r.c: Likewise.
72425 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72426 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72427 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72428 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72430 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72431 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72436 * sysdeps/pthread/lio_listio.c: Likewise.
72437 * sysdeps/sparc/dl-procinfo.h: Likewise.
72438 * sysdeps/unix/i386/sysdep.S: Likewise.
72439 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72440 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72441 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72442 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72444 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72445 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72446 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72447 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72448 * sysdeps/wordsize-32/divdi3.c: Likewise.
72449 * time/sys/time.h: Likewise.
72450 * wcsmbs/Makefile: Likewise.
72451
72452 2013-01-01 David S. Miller <davem@davemloft.net>
72453
72454 * po/fr.po: Update from translation team.
72455
72456 * catgets/gencat.c: Update copyright year.
72457 * csu/version.c: Likewise.
72458 * debug/catchsegv.sh: Likewise.
72459 * debug/pcprofiledump.c: Likewise.
72460 * debug/xtrace.sh: Likewise.
72461 * elf/ldconfig.c: Likewise.
72462 * elf/ldd.bash.in: Likewise.
72463 * elf/pldd.c: Likewise.
72464 * elf/sotruss.ksh: Likewise.
72465 * elf/sprof.c: Likewise.
72466 * iconv/iconv_prog.c: Likewise.
72467 * iconv/iconvconfig.c: Likewise.
72468 * locale/programs/locale.c: Likewise.
72469 * locale/programs/localedef.c: Likewise.
72470 * login/programs/pt_chown.c: Likewise.
72471 * malloc/memusage.sh: Likewise.
72472 * malloc/memusagestat.c: Likewise.
72473 * malloc/mtrace.pl: Likewise.
72474 * nscd/nscd.c: Likewise.
72475 * nss/getent.c: Likewise.
72476 * nss/makedb.c: Likewise.
72477 * posix/getconf.c: Likewise.
72478
72479 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72480
72481 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72482 numbers.
72483
72484 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72485
72486 * math/bits/mathcalls.h (modf): Use __nonnull.
72487
72488 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72489
72490 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72491 (split): Use macro CN instead of the bare value.
72492 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72493 could be used.
72494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72495 instead of the bare value.
72496 (power1): Likewise.
72497
72498 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72499
72500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72501 __ATAN_TWOM.
72502 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72503
72504 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72505 their values.
72506 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72508 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72509 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72510
72511 2012-12-28 Andreas Jaeger <aj@suse.de>
72512
72513 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72514 values are from Linux 3.7.
72515
72516 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72517 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72518
72519 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72520
72521 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72522 TRUE case.
72523
72524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72525 (norm): Likewise.
72526 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72527 variables with preprocessor constants.
72528 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72531
72532 2012-12-27 Bruno Haible <bruno@clisp.org>
72533
72534 [BZ #14317]
72535 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72536 only if needed.
72537
72538 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72539
72540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72541 and use variable directly.
72542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72543
72544 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72545 MPONE.
72546 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72548 variable MPONE.
72549 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72551 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72552 include directive. Remove local variable MPONE.
72553 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72554 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72556
72557 2012-12-25 David S. Miller <davem@davemloft.net>
72558
72559 * version.h (RELEASE): Set to "development".
72560 (VERSION): Set to "2.17.90".
72561 * NEWS: Add 2.18 section.
72562
72563 2012-12-21 David S. Miller <davem@davemloft.net>
72564
72565 * po/hr.po: Update from translation team.
72566
72567 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72568
72569 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72570
72571 2012-12-19 Steve Ellcey <sellcey@mips.com>
72572
72573 * NEWS: Mention new memcpy for MIPS.
72574
72575 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72576
72577 * manual/contrib.texi (Contributors): Spelling correction.
72578
72579 2012-12-15 David S. Miller <davem@davemloft.net>
72580
72581 * po/ru.po: Update from translation team.
72582
72583 2012-12-13 David S. Miller <davem@davemloft.net>
72584
72585 * NEWS: Mention IFUNC testsuite enhancements.
72586
72587 * po/pl.po: Update from translation team.
72588 * po/bg.po: Likewise.
72589
72590 * manual/contrib.texi (Contributors): Update entries for Hongjiu
72591 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
72592
72593 2012-12-11 David S. Miller <davem@davemloft.net>
72594
72595 * po/sv.po: Update from translation team.
72596
72597 * po/vi.po: Update from translation team.
72598
72599 * po/cs.po: Update from translation team.
72600
72601 * po/de.po: Update from translation team.
72602 * po/eo.po: Likewise.
72603 * po/nl.po: Likewise.
72604
72605 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
72606
72607 [BZ #14246]
72608 * manual/argp.texi (Argp Helper Functions): Move node to follow
72609 Argp Parsing State.
72610
72611 [BZ #14872]
72612 * manual/conf.texi (Limits on File System Capacity): Mention if
72613 terminating null is included in the max size.
72614
72615 2012-12-10 Andreas Jaeger <aj@suse.de>
72616
72617 * po/cs.po: Update from translation team.
72618
72619 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72620
72621 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72622 void pointer and cast to uintptr_t.
72623 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72624 path.
72625 * sysdeps/s390/s390-64/memcpy.S: Likewise.
72626 * sysdeps/s390/s390-64/memset.S: Likewise.
72627
72628 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
72629
72630 [BZ #14833]
72631 * menual/message.texi (Message Translation): Fix typos.
72632 (Helper programs for gettext): Likewise.
72633
72634 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
72635
72636 [BZ #14898]
72637 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72638 Change to -1.
72639
72640 2012-12-07 David S. Miller <davem@davemloft.net>
72641
72642 * po/libc.pot: Update.
72643
72644 2012-12-07 Richard Henderson <rth@redhat.com>
72645
72646 [BZ #10114]
72647 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72648 normal/normal case to before the switch.
72649 (_FP_DIV): Likewise.
72650
72651 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
72652 Mike Frysinger <vapier@gentoo.org>
72653
72654 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72655 check for __NR_fadvise64_64.
72656
72657 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
72658
72659 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72660 0, not just to plain "0" as a statement.
72661 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72662 with cw.
72663
72664 2012-12-06 Joseph Myers <joseph@codesourcery.com>
72665
72666 * NEWS: Use sourceware.org in Bugzilla URL.
72667
72668 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
72669
72670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72671 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72672
72673 * stdio-common/tst-put-error.c (do_test): Add newline to the
72674 padded test to ensure flush.
72675
72676 2012-12-05 Jeff Law <law@redhat.com>
72677
72678 * sunrpc/etc.rpc (fedfs_admin): Add entry.
72679
72680 2012-12-05 Joseph Myers <joseph@codesourcery.com>
72681
72682 * README: Don't refer to ports add-on as distributed separately.
72683 Mention AArch64 in list of systems supported in the ports add-on.
72684
72685 * LICENSES: Add more non-FSF copyright and license notices.
72686
72687 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72688 ((unused)).
72689
72690 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72691
72692 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
72693 10000 as width of padded output.
72694
72695 2012-12-04 Joseph Myers <joseph@codesourcery.com>
72696
72697 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
72698
72699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72700 variable LX with __attribute__ ((unused)).
72701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72702 Likewise.
72703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72706 with __attribute__ ((unused)).
72707
72708 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
72709
72710 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72711
72712 2012-12-04 Joseph Myers <joseph@codesourcery.com>
72713
72714 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72715 (CFLAGS-nldbl-acos.c): New variable.
72716 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72717 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72718 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72719 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72720 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72721 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72722 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72723 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72724 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72725 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72726 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72727 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72728 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72729 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72730 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72731 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72732 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72733 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72734 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72735 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72736 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72737 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72738 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72739 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72740 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72741 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72742 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72743 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72744 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72745 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72746 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72747 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72748 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72749 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72750 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72751 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72752 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72753 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72754 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72755 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72756 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72757 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72758 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72759 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72760 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72761 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72762 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72763 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72764 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72765 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72766 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72767 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72768 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72769 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72770 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72771 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72772 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72773 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72774 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72775 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72776 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72777 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72778 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72779 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72780 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72781 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72782 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72783 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72784 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72785 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72786 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72787 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72788 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72789 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72790 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72791 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72792 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72793 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72794 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72795 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72796 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72797 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72798 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72799 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72800 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72801 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72802 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72803 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72804 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72805 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72806 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72807 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72808 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72809 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72810 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72811 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72812 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72813
72814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72815 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72816
72817 [BZ #14914]
72818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72819 whole low double instead of just low 47 bits when splitting values
72820 into two parts.
72821
72822 2012-12-03 Allan McRae <allan@archlinux.org>
72823
72824 * manual/stdio.texi (Predefined Printf Handlers): Remove
72825 @hsep and @vsep usage.
72826
72827 2012-12-03 Mike Frysinger <vapier@gentoo.org>
72828
72829 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72830 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72831
72832 2012-12-03 Jeff Law <law@redhat.com>
72833
72834 * time/sys/time.h (settimeofday): Do not mark TV argument
72835 as __nonnull.
72836
72837 2012-12-01 Mike Frysinger <vapier@gentoo.org>
72838
72839 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72840 when currently writing and seek to current position when not.
72841 * libio/Makefile (tests): Remove bug-fclose1.
72842 * libio/bug-fclose1.c: Delete.
72843
72844 2012-12-01 Joseph Myers <joseph@codesourcery.com>
72845
72846 * manual/arith.texi (feenableexcept): Fix typo.
72847 (fedisableexcept): Likewise.
72848
72849 2012-11-30 Roland McGrath <roland@hack.frob.com>
72850
72851 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72852 second, differently-typed declaration, rather than a cast.
72853
72854 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
72855
72856 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72857 * include/rpc/svc.h: ... here.
72858
72859 2012-11-30 Aurelien Jarno <aurel32@debian.org>
72860
72861 [BZ #13013]
72862 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72863 depending n and resplen2 to catch cases where answer
72864 equals answerp2.
72865
72866 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
72867
72868 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72869 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72870
72871 2012-11-29 Mike Frysinger <vapier@gentoo.org>
72872
72873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72874
72875 2012-11-29 Roland McGrath <roland@hack.frob.com>
72876
72877 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72878
72879 2012-11-28 Jeff Law <law@redhat.com>
72880
72881 [BZ #13761]
72882 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72883 dataset_temporary. Track alloca usage into alloca_used.
72884 If dataset is large allocate and release it via malloc/free.
72885
72886 2012-06-04 Florian Weimer <fweimer@redhat.com>
72887
72888 [BZ #14197]
72889 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72890
72891 2012-11-28 David S. Miller <davem@davemloft.net>
72892
72893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72894
72895 2012-11-28 Joseph Myers <joseph@codesourcery.com>
72896
72897 [BZ #14803]
72898 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72899 of pi/2 rounded to nearest to 64 bits.
72900 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72901 nearest to 64 bits.
72902 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72903 bits.
72904
72905 2012-11-28 Jeff Law <law@redhat.com>
72906 Martin Osvald <mosvald@redhat.com>
72907
72908 [BZ #14889]
72909 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72910 * sunrpc/svc.c: Include time.h.
72911 (__svc_accept_failed): New function.
72912 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72913 any reason other than EINTR, call __svc_accept_failed.
72914 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72915 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72916
72917 2012-11-28 Andreas Schwab <schwab@suse.de>
72918
72919 * scripts/abilist.awk: Also handle indirect functions in .opd
72920 section.
72921
72922 2012-11-28 Joseph Myers <joseph@codesourcery.com>
72923
72924 [BZ #13881]
72925 * sysdeps/x86/fpu/powl_helper.c: New file.
72926 * sysdeps/x86/fpu/Makefile: Likewise.
72927 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72928 (p3): New object.
72929 (__ieee754_powl): Use __powl_helper for finite arguments except
72930 integer exponents below 8.
72931 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72932 (p3): New object.
72933 (__ieee754_powl): Use __powl_helper for finite arguments except
72934 integer exponents below 8.
72935 * math/libm-test.inc (pow_test): Add more tests and enable some
72936 previously disabled tests.
72937 * sysdeps/i386/fpu/libm-test-ulps: Update.
72938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72939
72940 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72941 Carlos O'Donell <carlos_odonell@mentor.com>
72942
72943 * nss/makedb.c (is_prime): Assert that input is odd and greater
72944 than 4. Note that fact in a comment too.
72945 (next_prime): Add 4 to input.
72946
72947 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72948
72949 [BZ #11741]
72950 * libio/Makefile (tests): Add test case tst-fwrite-error.
72951 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72952 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72953 * libio/tst-fwrite-error.c: New test case.
72954
72955 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
72956
72957 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72958 before casting to void *.
72959 * include/libc-internal.h (__pointer_type): New macro.
72960 (__integer_if_pointer_type_sub): Likewise.
72961 (__integer_if_pointer_type): Likewise.
72962 (cast_to_integer): Likewise.
72963 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72964 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72965 before casting to atomic64_t.
72966 (atomic_exchange_acq): Likewise.
72967 (__arch_exchange_and_add_body): Likewise.
72968 (__arch_add_body): Likewise.
72969 (atomic_add_negative): Likewise.
72970 (atomic_add_zero): Likewise.
72971
72972 2012-11-26 Joseph Myers <joseph@codesourcery.com>
72973
72974 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72975 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72976 (add_fdes): Likewise.
72977 (linear_search_fdes): Likewise.
72978 (binary_search_unencoded_fdes): Likewise.
72979
72980 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
72981
72982 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72983
72984 2012-11-24 Adam Conrad <adconrad@0c3.net>
72985
72986 * configure.in: Autodetect C++ header directories.
72987 * configure: Regenerated.
72988
72989 2012-11-23 Mike Frysinger <vapier@gentoo.org>
72990
72991 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72992
72993 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
72994
72995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72996
72997 2012-11-22 Joseph Myers <joseph@codesourcery.com>
72998
72999 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73000 LDBL_MANT_DIG == 106]: Disable some tests.
73001 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73002 Likewise.
73003 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73004 Likewise.
73005
73006 [BZ #14871]
73007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73008 input for small inputs. Return +/- pi/2 for large inputs.
73009 * math/libm-test.inc (atan_test): Add more tests.
73010
73011 * sysdeps/generic/unwind-dw2-fde-glibc.c
73012 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73013 __attribute__ ((unused)).
73014
73015 [BZ #14645]
73016 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73017 x * y if x and y are nonzero and z is zero.
73018
73019 [BZ #14811]
73020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73021 nonzero exponents with absolute value below 0x1p-117 to +/-
73022 0x1p-117.
73023
73024 [BZ #14869]
73025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73026 up arguments below 2**-450, not just those below 2**-500.
73027 * math/libm-test.inc (hypot_test): Add another test.
73028
73029 [BZ #14868]
73030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73031 Return a+b for ratio over 2**120, not 2**60.
73032 * math/libm-test.inc (hypot_test): Add another test.
73033
73034 * math/libm-test.inc (clog_test): Use
73035 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73036 (clog10_test): Likewise.
73037
73038 [BZ #6778]
73039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73040
73041 2012-11-22 Andreas Schwab <schwab@suse.de>
73042
73043 * sysdeps/i386/fpu/libm-test-ulps: Update.
73044
73045 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73046
73047 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73048 printf output with newline.
73049
73050 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73051
73052 [BZ #14865]
73053 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73054 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73055 -z nodlopen, -z initfirst and -z execstack support.
73056 * configure: Regenerated.
73057
73058 * elf/elf.h (DF_1_NODIRECT): New macro.
73059 (DF_1_IGNMULDEF): Likewise.
73060 (DF_1_NOKSYMS): Likewise.
73061 (DF_1_NOHDR): Likewise.
73062 (DF_1_EDITED): Likewise.
73063 (DF_1_NORELOC): Likewise.
73064 (DF_1_SYMINTPOSE): Likewise.
73065 (DF_1_GLOBAUDIT): Likewise.
73066 (DF_1_SINGLETON): Likewise.
73067 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73068 DT_1_SUPPORTED_MASK bits.
73069 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73070
73071 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73072
73073 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73074
73075 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73076
73077 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73078 macro.
73079
73080 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73081 (sendmmsg): Move declarations...
73082 * socket/sys/socket.h: ... here.
73083 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73084 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73085 include it from...
73086 * socket/recvmmsg.c: ... this new file.
73087 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73088 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73089 definition of __sendmmsg hidden.
73090 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73091 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73092 Move ENOSYS stub into and include it from...
73093 * socket/sendmmsg.c: ... this new file.
73094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73095 (sysdep_routines): Move recvmmsg and sendmmsg...
73096 * socket/Makefile (routines): ... here.
73097 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73098 (GLIBC_PRIVATE): Add __sendmmsg.
73099 * include/sys/socket.h (__sendmmsg): Add declarations.
73100 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73101 sendmmsg.
73102
73103 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73104
73105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73106 variable I1 with __attribute__ ((unused)).
73107 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73108
73109 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73110
73111 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73112 DUMMY variables with __attribute__ ((unused)).
73113
73114 * bits/byteswap.h: Include <bits/types.h>.
73115 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73116
73117 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73118
73119 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73120 string_t. Do not manually set errno.
73121 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73122 length with __strnlen. Make sure to both set errno and return it on
73123 failure.
73124
73125 2012-11-19 David S. Miller <davem@davemloft.net>
73126
73127 With help from Joseph Myers.
73128 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73129 very large arguments properly.
73130 * math/libm-test.inc (atan_test): New tests.
73131 (atan2_test): New tests.
73132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73134
73135 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73136
73137 [BZ #14856]
73138 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73139 Define to 3.
73140
73141 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73142 [POSIX] (EADDRNOTAVAIL): Likewise.
73143 [POSIX] (EAFNOSUPPORT): Likewise.
73144 [POSIX] (EALREADY): Likewise.
73145 [POSIX] (ECONNABORTED): Likewise.
73146 [POSIX] (ECONNREFUSED): Likewise.
73147 [POSIX] (ECONNRESET): Likewise.
73148 [POSIX] (EDESTADDRREQ): Likewise.
73149 [POSIX] (EDQUOT): Likewise.
73150 [POSIX] (EHOSTUNREACH): Likewise.
73151 [POSIX] (EIDRM): Likewise.
73152 [POSIX] (EISCONN): Likewise.
73153 [POSIX] (ELOOP): Likewise.
73154 [POSIX] (EMULTIHOP): Likewise.
73155 [POSIX] (ENETDOWN): Likewise.
73156 [POSIX] (ENETUNREACH): Likewise.
73157 [POSIX] (ENOBUFS): Likewise.
73158 [POSIX] (ENODATA): Likewise.
73159 [POSIX] (ENOLINK): Likewise.
73160 [POSIX] (ENOMSG): Likewise.
73161 [POSIX] (ENOPROTOOPT): Likewise.
73162 [POSIX] (ENOSR): Likewise.
73163 [POSIX] (ENOSTR): Likewise.
73164 [POSIX] (ENOTCONN): Likewise.
73165 [POSIX] (ENOTSOCK): Likewise.
73166 [POSIX] (EOPNOTSUPP): Likewise.
73167 [POSIX] (EOVERFLOW): Likewise.
73168 [POSIX] (EPROTO): Likewise.
73169 [POSIX] (EPROTONOSUPPORT): Likewise.
73170 [POSIX] (EPROTOTYPE): Likewise.
73171 [POSIX] (ESTALE): Likewise.
73172 [POSIX] (ETIME): Likewise.
73173 [POSIX] (ETXTBSY): Likewise.
73174 [POSIX] (EWOULDBLOCK): Likewise.
73175 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73176 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73177 [POSIX] (SEEK_CUR): Likewise.
73178 [POSIX] (SEEK_END): Likewise.
73179 [POSIX || UNIX98] (mode_t): Do not require.
73180 [POSIX] (off_t): Likewise.
73181 [POSIX] (pid_t): Likewise.
73182 [POSIX] (sys/stat.h): Do not allow header.
73183 [POSIX] (unistd.h): Likewise.
73184 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73185 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73186 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73187 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73188 require.
73189 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73190 sigevent): Specify elements.
73191 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73192 entry.
73193 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73194 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73195
73196 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73197 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73198 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73199 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73200 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73201 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73202 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73204 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73205 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73206 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73207 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73208 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73210 Likewise.
73211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73212 Likewise.
73213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73214 Likewise.
73215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73216 Likewise.
73217 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73219 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73220 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73221 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73222 Specify lower bound on value.
73223 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73224 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73225 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73226 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73227 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73228 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73229 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73230 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73231 value.
73232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73233 as optional.
73234 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73235 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73236 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73237 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73238 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73239 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73240 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73241 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73242 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73243 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73244 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73245 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73246 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73247 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73248 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73249 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73250 entry.
73251 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73252 optional.
73253 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73254 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73255 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73256 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73257 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73259 Likewise.
73260 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73261 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73262 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73263 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73264 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73265 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73267 as optional.
73268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73269 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73271 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73272 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73273 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73274 specify as optional.
73275 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73276 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73277 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73278 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73279 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73280 [XPG3] (NL_LANGMAX): Likewise.
73281 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73282 [POSIX || XPG3] (NL_NMAX): Likewise.
73283 [POSIX || XPG3] (NL_SETMAX): Likewise.
73284 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73285 [XPG3] (NZERO): Likewise.
73286 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73287 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73288 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73289 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73290 (REG_ERANGE): Expect.
73291 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73292 optional-constant.
73293 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73294 Use (void) in prototype.
73295 [POSIX] (*_t): Allow.
73296 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73297 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73298 (WRDE_BADVAL): Expect.
73299
73300 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73301 expect.
73302 [XPG3 || XPG4] (O_RSYNC): Likewise.
73303 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73304 Likewise.
73305 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73306 [XPG3 || XPG4] (sigqueue): Likewise.
73307 [XPG3 || XPG4] (sigtimedwait): Likewise.
73308 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73309 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73310 [XPG3 || XPG4] (vsnprintf): Likewise.
73311 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73312 Likewise.
73313 [XPG3 || XPG4] (blksize_t): Likewise.
73314 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73315 Likewise.
73316 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73317 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73318 [XPG3 || XPG4] (struct itimerspec): Likewise.
73319 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73320 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73321 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73322 [XPG3 || XPG4] (clockid_t): Likewise.
73323 [XPG3 || XPG4] (timer_t): Likewise.
73324 [XPG3 || XPG4] (clock_getres): Likewise.
73325 [XPG3 || XPG4] (clock_gettime): Likewise.
73326 [XPG3 || XPG4] (clock_settime): Likewise.
73327 [XPG3 || XPG4] (nanosleep): Likewise.
73328 [XPG3 || XPG4] (timer_create): Likewise.
73329 [XPG3 || XPG4] (timer_delete): Likewise.
73330 [XPG3 || XPG4] (timer_gettime): Likewise.
73331 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73332 [XPG3 || XPG4] (timer_settime): Likewise.
73333 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73334 [XPG3 || XPG4] (getlogin_r): Likewise.
73335 [XPG3 || XPG4] (pread): Likewise.
73336 [XPG3 || XPG4] (pthread_atfork): Likewise.
73337 [XPG3 || XPG4] (pwrite): Likewise.
73338
73339 [BZ #14835]
73340 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73341 <bits/siginfo.h>.
73342
73343 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73344
73345 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73346 finalizing MALLSTREAM.
73347
73348 * sysdeps/mach/hurd/syncfs.c: New file.
73349
73350 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73351
73352 [BZ #14719]
73353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73354 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73355 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73356 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73357 (_nss_dns_gethostbyname4_r): Likewise.
73358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73359 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73360
73361 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73362
73363 [BZ #13763]
73364 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73365
73366 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73367
73368 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73369 * elf/cache.c (print_entry): Print ",AArch64" for
73370 FLAG_AARCH64_LIB64
73371
73372 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73373 * elf/cache.c (print_entry): Print ",hard-float" for
73374 FLAG_ARM_LIBHF.
73375
73376 2012-11-18 David S. Miller <davem@davemloft.net>
73377
73378 With help from Joseph Myers.
73379 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73380 cutoff to 2**-13.
73381 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73382 cutoff to 2**-25.
73383 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73384 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73385 small.
73386 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73387 * math/libm-test.inc (y0_test): New tests.
73388 (y1_test): New tests.
73389 * sysdeps/i386/fpu/libm-test-ulps: Update.
73390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73392
73393 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73394
73395 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73396 64-bit targets.
73397 * configure: Regenerated.
73398
73399 2012-11-17 David S. Miller <davem@davemloft.net>
73400
73401 [BZ #14811]
73402 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73403 nonzero exponents with absolute value below 0x1p-128 to +/-
73404 0x1p-128.
73405
73406 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73407
73408 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73409
73410 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73411
73412 * posix/getconf-speclist.c: New file.
73413 * posix/posix-envs.def: Likewise.
73414 * posix/confstr.c (START_ENV_GROUP): New macro.
73415 (END_ENV_GROUP): Likewise.
73416 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73417 (KNOWN_PRESENT_ENV_STRING): Likewise.
73418 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73419 (UNKNOWN_ENVIRONMENT): Likewise.
73420 (confstr): Include posix-envs.def instead of handling
73421 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73422 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73423 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73424 (END_ENV_GROUP): Likewise.
73425 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73426 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73427 (UNKNOWN_ENVIRONMENT): Likewise.
73428 (__sysconf): Include posix-envs.def instead of handling associated
73429 cases directly here.
73430 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73431 preprocessing getconf-speclist.c rather than running getconf or
73432 generating empty file.
73433
73434 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73435
73436 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73437
73438 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73439
73440 [BZ #14672]
73441 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73442
73443 2012-11-16 David S. Miller <davem@davemloft.net>
73444
73445 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73446 smaller than LDBL_EPSILON/2.0L, just return xm1.
73447
73448 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73449
73450 * elf/tst-array1.c (init): Set constructor priority to 1000.
73451 (fini): Set destructor priority to 1000.
73452 * elf/tst-array2dep.c: Likewise.
73453
73454 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73455
73456 [BZ #11741]
73457 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73458 (_IO_new_file_xsputn): Also return EOF if none of the input
73459 data was written when overflow failed.
73460 * libio/iopadn.c (_IO_padn): Likewise.
73461 * libio/iowpadn.c (_IO_wpadn): Likewise.
73462 * stdio-common/tst-put-error.c: Add copyright notice.
73463 (do_test): Add case for printing padded string.
73464 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73465 _IO_padn returned error.
73466 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73467 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73468 return EOF.
73469
73470 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73471
73472 * libio/libioP.h: Add comment note that the references to C++
73473 bits are now obsolete.
73474
73475 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73476
73477 * math/libm-test.inc (check_complex): Use asprintf.
73478
73479 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73480
73481 * debug/pcprofiledump.c (print_version): Update copyright year.
73482 * malloc/memusagestat.c (print_version): Likewise.
73483
73484 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73485
73486 [BZ #14831]
73487 * elf/Makefile (tests): Add tst-audit8.
73488 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73489 ($(objpfx)tst-audit8.out): New target.
73490 (tst-audit8-ENV): New variable.
73491 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73492 audit if l_reloc_result is NULL.
73493 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73494 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73495 * elf/tst-audit8.c: New file.
73496
73497 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73498
73499 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73500 * misc/Makefile (CFLAGS-select.c): Define.
73501 * posix/Makefile (CFLAGS-pause.c): Define.
73502
73503 2012-11-13 David S. Miller <davem@davemloft.net>
73504
73505 * crypt/Makefile: Move test targets after toplevel Rules
73506 inclusion. Grab any necessary sysdep routines when linking.
73507 * crypt/md5.c (md5_process_block): Remove define, we will always
73508 name it __md5_process_block.
73509 (md5_finish_ctx): Update md5_process_block call.
73510 (md5_stream): Likewise.
73511 (md5_process_bytes): Likewise.
73512 (md5_process_block): Rename to __md5_process_block and move to ...
73513 * crypt/md5-block.c: ... here.
73514 * crypt/sha256.c (sha256_process_block): Move to ...
73515 * crypt/sha256-block.c: ... here.
73516 * crypt/sha512.c (sha512_process_block): Move to ...
73517 * crypt/sha512-block.c: ... here.
73518 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73519 path.
73520 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73521 * sysdeps/sparc/sparc64/multiarch/Makefile
73522 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73523 crypt subdir.
73524 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73525 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73526 multiarch changes.
73527 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73528 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73529 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73530 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73531 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73532 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73533 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73534 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73536 file.
73537 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73539 file.
73540 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73541
73542 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73543
73544 * timezone/tzselect.ksh: Update from tzcode git revision
73545 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73546 * timezone/zdump.c: Likewise.
73547 * timezone/zic.c: Likewise.
73548 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73549 in TZVERSION setting, not $(PKGVERSION).
73550 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73551 REPORT_BUGS_TO settings.
73552
73553 [BZ #14838]
73554 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73555 macro.
73556
73557 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73558
73559 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73560 detection to immediately after _FP_ROUND().
73561 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73562 bits are 0.
73563
73564 2012-11-11 David S. Miller <davem@davemloft.net>
73565
73566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73567 inttypes.h
73568 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73569 __close rather than their public counterparts.
73570
73571 2012-11-10 Joseph Myers <joseph@codesourcery.com>
73572
73573 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73574 file.
73575 [UNIX98] (sem_timedwait): Do not expect.
73576 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73577 [XPG4 || UNIX98] (sockatmark): Do not expect.
73578 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73579 (clock_getcpuclockid): Do not expect.
73580 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73581 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73582 Do not expect.
73583 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73584 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73585 [UNIX98] (vwscanf): Likewise.
73586 [UNIX98] (vswscanf): Likewise.
73587
73588 2012-11-09 Joseph Myers <joseph@codesourcery.com>
73589
73590 * timezone/version.h: Remove file.
73591 * timezone/README: Do not refer to version.h.
73592 * timezone/Makefile ($(objpfx)zic.o): New dependency on
73593 $(objpfx)version.h.
73594 ($(objpfx)zdump.o): Likewise.
73595 ($(objpfx)version.h): New target.
73596
73597 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73598 2012i.
73599 * timezone/README: Don't mention modification to tzselect.ksh.
73600 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73601 work on unmodified tzselect.ksh. Substitute version numbers in
73602 tzselect.ksh.
73603
73604 * Makefile (format-me): Remove.
73605 (INSTALL): Adjust indentation. Use commands directly instead of
73606 using $(format-me).
73607
73608 * aclocal.m4 (ACX_PKGVERSION): New macro.
73609 (ACX_BUGURL): Likewise.
73610 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73611 (PKGVERSION): New AC_DEFINE_UNQUOTED.
73612 (REPORT_BUGS_TO): Likewise.
73613 * configure: Regenerated.
73614 * config.h.in (PKGVERSION): New macro.
73615 (REPORT_BUGS_TO): Likewise.
73616 * config.make.in (PKGVERSION): New variable.
73617 (PKGVERSION_TEXI): Likewise.
73618 (REPORT_BUGS_TO): Likewise.
73619 (REPORT_BUGS_TEXI): Likewise.
73620 * Makefile (format-me): Use -I$(common-objpfx)manual.
73621 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73622 ($(common-objpfx)manual/%): New target.
73623 (manual/%): Remove target.
73624 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73625 (print_version): Use PKGVERSION.
73626 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73627 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73628 and REPORT_BUGS_TO.
73629 ($(objpfx)xtrace): Likewise.
73630 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73631 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73632 (print_version): Use PKGVERSION.
73633 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73634 (do_version): Use PKGVERSION.
73635 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73636 REPORT_BUGS_TO.
73637 (common-ldd-rewrite): Likewise.
73638 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73639 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73640 (print_version): Use PKGVERSION.
73641 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73642 * elf/pldd.c (argp_program_bug_address): Remove variable.
73643 (more_help): New function.
73644 (argp): Use more_help.
73645 (print_version): Use PKGVERSION.
73646 * elf/sln.c (main): Use PKGVERSION.
73647 (usage): Use REPORT_BUGS_TO.
73648 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73649 (top level): Use PKGVERSION.
73650 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73651 (print_version): Use PKGVERSION.
73652 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73653 (print_version): Use PKGVERSION.
73654 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73655 (print_version): Use PKGVERSION.
73656 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73657 (print_version): Use PKGVERSION.
73658 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73659 (print_version): Use PKGVERSION.
73660 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73661 (print_version): Use PKGVERSION.
73662 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73663 and BUGURL.
73664 ($(objpfx)memusage): Likewise.
73665 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73666 (do_version): Use PKGVERSION.
73667 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73668 (print_version): Use PKGVERSION.
73669 * malloc/mtrace.pl ($PACKAGE): Remove variable.
73670 ($PKGVERSION): New variable.
73671 ($REPORT_BUGS_TO): Likewise.
73672 (usage): Use $REPORT_BUGS_TO.
73673 (top level): Use $PKGVERSION.
73674 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73675 ($(objpfx)pkgvers.texi): New rule.
73676 ($(objpfx)stamp-pkgvers): Likewise.
73677 * manual/install.texi: Include pkgvers.texi.
73678 (--with-pkgversion): Document new configure option.
73679 (--with-bugurl): Likewise.
73680 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73681 than necessarily for this particular distribution. Use
73682 REPORT_BUGS_TO for where to report bugs.
73683 * INSTALL: Regenerated.
73684 * manual/libc.texinfo: Include pkgvers.texi.
73685 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73686 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73687 (print_version): Use PKGVERSION.
73688 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73689 (print_version): Use PKGVERSION.
73690 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
73691 (print_version): Use PKGVERSION.
73692 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
73693 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
73694 macro.
73695 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
73696 (print_version): Use PKGVERSION.
73697 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
73698 (print_version): Use PKGVERSION.
73699 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
73700 and PKGVERSION.
73701
73702 * timezone/checktab.awk: Update from tzcode 2012i.
73703 * timezone/ialloc.c: Likewise.
73704 * timezone/private.h: Likewise.
73705 * timezone/scheck.c: Likewise.
73706 * timezone/tzfile.h: Likewise.
73707 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73708 (TZVERSION): Hardcode tzcode version number.
73709 * timezone/zdump.c: Update from tzcode 2012i.
73710 * timezone/zic.c: Likewise.
73711 * timezone/version.h: New file.
73712 * timezone/README: Describe version.h. Update upstream location.
73713
73714 [BZ #14824]
73715 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73716 (mktemp): Enable declaration.
73717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73721 Likewise.
73722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73723 Likewise.
73724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73725 Likewise.
73726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73727 Likewise.
73728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73729 Likewise.
73730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73731 Likewise.
73732
73733 [BZ #14821]
73734 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73735 offset in buffer as u_int32_t not u_long. Consistently use memcpy
73736 for copies of such integer values.
73737 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73738 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73739
73740 2012-11-09 Andreas Jaeger <aj@suse.de>
73741
73742 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73743 definitions and declarations that are provided by
73744 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73745
73746 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73747
73748 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73749 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73750 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73751 definition.
73752
73753 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73754
73755 * elf/elf.h: Update comment before AArch64 relocations.
73756
73757 2012-11-07 David S. Miller <davem@davemloft.net>
73758
73759 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73761 (__start_context): Declare.
73762 (__makecontext_ret): Delete.
73763 (__makecontext): Hook up __start_context instead of
73764 __makecontext_ret.
73765 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73766 (sysdep_routines): Add __start_context when in stdlib.
73767
73768 2012-11-07 Joseph Myers <joseph@codesourcery.com>
73769
73770 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73771 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73772 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
73773 hardcoded "nm".
73774 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
73775 (READELF): New variable. Use it instead of hardcoded "readelf".
73776
73777 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
73778
73779 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73780 * sysdeps/x86/Makefile: Here.
73781 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73782 * sysdeps/x86/tst-xmmymm.sh: This.
73783
73784 2012-11-07 Joseph Myers <joseph@codesourcery.com>
73785
73786 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73787 expectations.
73788 [UNIX98] (pthread_barrier_t): Do not expect.
73789 [UNIX98] (pthread_barrierattr_t): Likewise.
73790 [UNIX98] (pthread_spinlock_t): Likewise.
73791 [UNIX98] (pthread_barrier_destroy): Likewise.
73792 [UNIX98] (pthread_barrier_init): Likewise.
73793 [UNIX98] (pthread_barrier_wait): Likewise.
73794 [UNIX98] (pthread_barrierattr_destroy): Likewise.
73795 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73796 [UNIX98] (pthread_barrierattr_init): Likewise.
73797 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73798 [UNIX98] (pthread_getcpuclockid): Likewise.
73799 [UNIX98] (pthread_mutex_timedlock): Likewise.
73800 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73801 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73802 [UNIX98] (pthread_sigmask): Likewise.
73803 [UNIX98] (pthread_spin_destroy): Likewise.
73804 [UNIX98] (pthread_spin_init): Likewise.
73805 [UNIX98] (pthread_spin_lock): Likewise.
73806 [UNIX98] (pthread_spin_trylock): Likewise.
73807 [UNIX98] (pthread_spin_unlock): Likewise.
73808 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73809 Do not expect.
73810 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73811 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73812 [XPG3 || XPG4] (pthread_cond_t): Likewise.
73813 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73814 [XPG3 || XPG4] (pthread_key_t): Likewise.
73815 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73816 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73817 [XPG3 || XPG4] (pthread_once_t): Likewise.
73818 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73819 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73820 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73821 [XPG3 || XPG4] (pthread_t): Likewise.
73822
73823 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73824 not expect.
73825 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73826
73827 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73828 Change function return type to int.
73829
73830 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73831 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73832 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73833 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73834 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73835 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73836 [!POSIX] (posix_madvise): Likewise.
73837 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73838 && !UNIX98].
73839 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73840 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73841 (mode_t): Likewise.
73842 (posix_mem_offset): Likewise.
73843 (posix_typed_mem_get_info): Likewise.
73844 (posix_typed_mem_open): Likewise.
73845
73846 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73847 Change condition to [XOPEN2K8].
73848
73849 * conform/conformtest.pl: Preprocess allow-header data with -x c
73850 instead of from stdin.
73851 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73852 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73853 [C99-based standards] (cerfc): Likewise.
73854 [C99-based standards] (cexp2): Likewise.
73855 [C99-based standards] (cexpm1): Likewise.
73856 [C99-based standards] (clog10): Likewise.
73857 [C99-based standards] (clog1p): Likewise.
73858 [C99-based standards] (clog2): Likewise.
73859 [C99-based standards] (clgamma): Likewise.
73860 [C99-based standards] (ctgamma): Likewise.
73861 [C99-based standards] (cerff): Likewise.
73862 [C99-based standards] (cerfcf): Likewise.
73863 [C99-based standards] (cexp2f): Likewise.
73864 [C99-based standards] (cexpm1f): Likewise.
73865 [C99-based standards] (clog10f): Likewise.
73866 [C99-based standards] (clog1pf): Likewise.
73867 [C99-based standards] (clog2f): Likewise.
73868 [C99-based standards] (clgammaf): Likewise.
73869 [C99-based standards] (ctgammaf): Likewise.
73870 [C99-based standards] (cerfl): Likewise.
73871 [C99-based standards] (cerfcl): Likewise.
73872 [C99-based standards] (cexp2l): Likewise.
73873 [C99-based standards] (cexpm1l): Likewise.
73874 [C99-based standards] (clog10l): Likewise.
73875 [C99-based standards] (clog1pl): Likewise.
73876 [C99-based standards] (clog2l): Likewise.
73877 [C99-based standards] (clgammal): Likewise.
73878 [C99-based standards] (ctgammal): Likewise.
73879 * conform/data/inttypes.h-data [C99-based standards]: Include
73880 stdint.h-data. Remove all expectations for stdint.h contents.
73881 [C99-based standards] (PRI*): Do not allow.
73882 [C99-based standards] (SCN*): Likewise.
73883 [C99-based standards] (*_t): Likewise.
73884 [C99-based-standards] (PRId8): Expect macro.
73885 [C99-based-standards] (PRIi8): Likewise.
73886 [C99-based-standards] (PRIo8): Likewise.
73887 [C99-based-standards] (PRIu8): Likewise.
73888 [C99-based-standards] (PRIx8): Likewise.
73889 [C99-based-standards] (PRIX8): Likewise.
73890 [C99-based-standards] (SCNd8): Likewise.
73891 [C99-based-standards] (SCNi8): Likewise.
73892 [C99-based-standards] (SCNo8): Likewise.
73893 [C99-based-standards] (SCNu8): Likewise.
73894 [C99-based-standards] (SCNx8): Likewise.
73895 [C99-based-standards] (PRIdLEAST8): Likewise.
73896 [C99-based-standards] (PRIiLEAST8): Likewise.
73897 [C99-based-standards] (PRIoLEAST8): Likewise.
73898 [C99-based-standards] (PRIuLEAST8): Likewise.
73899 [C99-based-standards] (PRIxLEAST8): Likewise.
73900 [C99-based-standards] (PRIXLEAST8): Likewise.
73901 [C99-based-standards] (SCNdLEAST8): Likewise.
73902 [C99-based-standards] (SCNiLEAST8): Likewise.
73903 [C99-based-standards] (SCNoLEAST8): Likewise.
73904 [C99-based-standards] (SCNuLEAST8): Likewise.
73905 [C99-based-standards] (SCNxLEAST8): Likewise.
73906 [C99-based-standards] (PRIdFAST8): Likewise.
73907 [C99-based-standards] (PRIiFAST8): Likewise.
73908 [C99-based-standards] (PRIoFAST8): Likewise.
73909 [C99-based-standards] (PRIuFAST8): Likewise.
73910 [C99-based-standards] (PRIxFAST8): Likewise.
73911 [C99-based-standards] (PRIXFAST8): Likewise.
73912 [C99-based-standards] (SCNdFAST8): Likewise.
73913 [C99-based-standards] (SCNiFAST8): Likewise.
73914 [C99-based-standards] (SCNoFAST8): Likewise.
73915 [C99-based-standards] (SCNuFAST8): Likewise.
73916 [C99-based-standards] (SCNxFAST8): Likewise.
73917 [C99-based-standards] (PRId16): Likewise.
73918 [C99-based-standards] (PRIi16): Likewise.
73919 [C99-based-standards] (PRIo16): Likewise.
73920 [C99-based-standards] (PRIu16): Likewise.
73921 [C99-based-standards] (PRIx16): Likewise.
73922 [C99-based-standards] (PRIX16): Likewise.
73923 [C99-based-standards] (SCNd16): Likewise.
73924 [C99-based-standards] (SCNi16): Likewise.
73925 [C99-based-standards] (SCNo16): Likewise.
73926 [C99-based-standards] (SCNu16): Likewise.
73927 [C99-based-standards] (SCNx16): Likewise.
73928 [C99-based-standards] (PRIdLEAST16): Likewise.
73929 [C99-based-standards] (PRIiLEAST16): Likewise.
73930 [C99-based-standards] (PRIoLEAST16): Likewise.
73931 [C99-based-standards] (PRIuLEAST16): Likewise.
73932 [C99-based-standards] (PRIxLEAST16): Likewise.
73933 [C99-based-standards] (PRIXLEAST16): Likewise.
73934 [C99-based-standards] (SCNdLEAST16): Likewise.
73935 [C99-based-standards] (SCNiLEAST16): Likewise.
73936 [C99-based-standards] (SCNoLEAST16): Likewise.
73937 [C99-based-standards] (SCNuLEAST16): Likewise.
73938 [C99-based-standards] (SCNxLEAST16): Likewise.
73939 [C99-based-standards] (PRIdFAST16): Likewise.
73940 [C99-based-standards] (PRIiFAST16): Likewise.
73941 [C99-based-standards] (PRIoFAST16): Likewise.
73942 [C99-based-standards] (PRIuFAST16): Likewise.
73943 [C99-based-standards] (PRIxFAST16): Likewise.
73944 [C99-based-standards] (PRIXFAST16): Likewise.
73945 [C99-based-standards] (SCNdFAST16): Likewise.
73946 [C99-based-standards] (SCNiFAST16): Likewise.
73947 [C99-based-standards] (SCNoFAST16): Likewise.
73948 [C99-based-standards] (SCNuFAST16): Likewise.
73949 [C99-based-standards] (SCNxFAST16): Likewise.
73950 [C99-based-standards] (PRId32): Likewise.
73951 [C99-based-standards] (PRIi32): Likewise.
73952 [C99-based-standards] (PRIo32): Likewise.
73953 [C99-based-standards] (PRIu32): Likewise.
73954 [C99-based-standards] (PRIx32): Likewise.
73955 [C99-based-standards] (PRIX32): Likewise.
73956 [C99-based-standards] (SCNd32): Likewise.
73957 [C99-based-standards] (SCNi32): Likewise.
73958 [C99-based-standards] (SCNo32): Likewise.
73959 [C99-based-standards] (SCNu32): Likewise.
73960 [C99-based-standards] (SCNx32): Likewise.
73961 [C99-based-standards] (PRIdLEAST32): Likewise.
73962 [C99-based-standards] (PRIiLEAST32): Likewise.
73963 [C99-based-standards] (PRIoLEAST32): Likewise.
73964 [C99-based-standards] (PRIuLEAST32): Likewise.
73965 [C99-based-standards] (PRIxLEAST32): Likewise.
73966 [C99-based-standards] (PRIXLEAST32): Likewise.
73967 [C99-based-standards] (SCNdLEAST32): Likewise.
73968 [C99-based-standards] (SCNiLEAST32): Likewise.
73969 [C99-based-standards] (SCNoLEAST32): Likewise.
73970 [C99-based-standards] (SCNuLEAST32): Likewise.
73971 [C99-based-standards] (SCNxLEAST32): Likewise.
73972 [C99-based-standards] (PRIdFAST32): Likewise.
73973 [C99-based-standards] (PRIiFAST32): Likewise.
73974 [C99-based-standards] (PRIoFAST32): Likewise.
73975 [C99-based-standards] (PRIuFAST32): Likewise.
73976 [C99-based-standards] (PRIxFAST32): Likewise.
73977 [C99-based-standards] (PRIXFAST32): Likewise.
73978 [C99-based-standards] (SCNdFAST32): Likewise.
73979 [C99-based-standards] (SCNiFAST32): Likewise.
73980 [C99-based-standards] (SCNoFAST32): Likewise.
73981 [C99-based-standards] (SCNuFAST32): Likewise.
73982 [C99-based-standards] (SCNxFAST32): Likewise.
73983 [C99-based-standards] (PRId64): Likewise.
73984 [C99-based-standards] (PRIi64): Likewise.
73985 [C99-based-standards] (PRIo64): Likewise.
73986 [C99-based-standards] (PRIu64): Likewise.
73987 [C99-based-standards] (PRIx64): Likewise.
73988 [C99-based-standards] (PRIX64): Likewise.
73989 [C99-based-standards] (SCNd64): Likewise.
73990 [C99-based-standards] (SCNi64): Likewise.
73991 [C99-based-standards] (SCNo64): Likewise.
73992 [C99-based-standards] (SCNu64): Likewise.
73993 [C99-based-standards] (SCNx64): Likewise.
73994 [C99-based-standards] (PRIdLEAST64): Likewise.
73995 [C99-based-standards] (PRIiLEAST64): Likewise.
73996 [C99-based-standards] (PRIoLEAST64): Likewise.
73997 [C99-based-standards] (PRIuLEAST64): Likewise.
73998 [C99-based-standards] (PRIxLEAST64): Likewise.
73999 [C99-based-standards] (PRIXLEAST64): Likewise.
74000 [C99-based-standards] (SCNdLEAST64): Likewise.
74001 [C99-based-standards] (SCNiLEAST64): Likewise.
74002 [C99-based-standards] (SCNoLEAST64): Likewise.
74003 [C99-based-standards] (SCNuLEAST64): Likewise.
74004 [C99-based-standards] (SCNxLEAST64): Likewise.
74005 [C99-based-standards] (PRIdFAST64): Likewise.
74006 [C99-based-standards] (PRIiFAST64): Likewise.
74007 [C99-based-standards] (PRIoFAST64): Likewise.
74008 [C99-based-standards] (PRIuFAST64): Likewise.
74009 [C99-based-standards] (PRIxFAST64): Likewise.
74010 [C99-based-standards] (PRIXFAST64): Likewise.
74011 [C99-based-standards] (SCNdFAST64): Likewise.
74012 [C99-based-standards] (SCNiFAST64): Likewise.
74013 [C99-based-standards] (SCNoFAST64): Likewise.
74014 [C99-based-standards] (SCNuFAST64): Likewise.
74015 [C99-based-standards] (SCNxFAST64): Likewise.
74016 [C99-based-standards] (PRIdMAX): Likewise.
74017 [C99-based-standards] (PRIiMAX): Likewise.
74018 [C99-based-standards] (PRIoMAX): Likewise.
74019 [C99-based-standards] (PRIuMAX): Likewise.
74020 [C99-based-standards] (PRIxMAX): Likewise.
74021 [C99-based-standards] (PRIXMAX): Likewise.
74022 [C99-based-standards] (SCNdMAX): Likewise.
74023 [C99-based-standards] (SCNiMAX): Likewise.
74024 [C99-based-standards] (SCNoMAX): Likewise.
74025 [C99-based-standards] (SCNuMAX): Likewise.
74026 [C99-based-standards] (SCNxMAX): Likewise.
74027 [C99-based-standards] (PRIdPTR): Likewise.
74028 [C99-based-standards] (PRIiPTR): Likewise.
74029 [C99-based-standards] (PRIoPTR): Likewise.
74030 [C99-based-standards] (PRIuPTR): Likewise.
74031 [C99-based-standards] (PRIxPTR): Likewise.
74032 [C99-based-standards] (PRIXPTR): Likewise.
74033 [C99-based-standards] (SCNdPTR): Likewise.
74034 [C99-based-standards] (SCNiPTR): Likewise.
74035 [C99-based-standards] (SCNoPTR): Likewise.
74036 [C99-based-standards] (SCNuPTR): Likewise.
74037 [C99-based-standards] (SCNxPTR): Likewise.
74038 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74039 allow.
74040 * conform/data/stdint.h-data: Update comments to clarify
74041 requirements.
74042 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74043 type.
74044 [C99-based standards] (INT8_MAX): Likewise.
74045 [C99-based standards] (INT16_MIN): Likewise.
74046 [C99-based standards] (INT16_MAX): Likewise.
74047 [C99-based standards] (INT32_MIN): Likewise.
74048 [C99-based standards] (INT32_MAX): Likewise.
74049 [C99-based standards] (INT64_MIN): Likewise.
74050 [C99-based standards] (INT64_MAX): Likewise.
74051 [C99-based standards] (UINT8_MAX): Likewise.
74052 [C99-based standards] (UINT16_MAX): Likewise.
74053 [C99-based standards] (UINT32_MAX): Likewise.
74054 [C99-based standards] (UINT64_MAX): Likewise.
74055 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74056 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74057 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74058 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74059 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74060 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74061 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74062 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74063 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74064 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74065 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74066 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74067 [C99-based standards] (INT_FAST8_MIN): Likewise.
74068 [C99-based standards] (INT_FAST8_MAX): Likewise.
74069 [C99-based standards] (INT_FAST16_MIN): Likewise.
74070 [C99-based standards] (INT_FAST16_MAX): Likewise.
74071 [C99-based standards] (INT_FAST32_MIN): Likewise.
74072 [C99-based standards] (INT_FAST32_MAX): Likewise.
74073 [C99-based standards] (INT_FAST64_MIN): Likewise.
74074 [C99-based standards] (INT_FAST64_MAX): Likewise.
74075 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74076 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74077 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74078 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74079 [C99-based standards] (INTPTR_MIN): Likewise.
74080 [C99-based standards] (INTPTR_MAX): Likewise.
74081 [C99-based standards] (UINTPTR_MAX): Likewise.
74082 [C99-based standards] (INTMAX_MIN): Likewise.
74083 [C99-based standards] (INTMAX_MAX): Likewise.
74084 [C99-based standards] (UINTMAX_MAX): Likewise.
74085 [C99-based standards] (PTRDIFF_MIN): Likewise.
74086 [C99-based standards] (PTRDIFF_MAX): Likewise.
74087 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74088 [C99-based standards] (SIZE_MAX): Likewise.
74089 [C99-based standards] (WCHAR_MAX): Likewise.
74090 [C99-based standards] (WINT_MAX): Likewise.
74091 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74092 constraint on value.
74093 [C99-based standards] (WCHAR_MIN): Likewise.
74094 [C99-based standards] (WINT_MIN): Likewise.
74095 [C99-based standards] (*_t): Allow.
74096 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74097 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74098 Include math.h-data and complex.h-data. Remove all expectations
74099 of math.h and complex.h contents.
74100 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74101 at end of line.
74102 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74103 (struct tm): Expect tag.
74104 [C99-based-standards] (wcstof): Expect function.
74105 [C99-based-standards] (wcstold): Likewise.
74106 [C99-based-standards] (wcstoll): Likewise.
74107 [C99-based-standards] (wcstoull): Likewise.
74108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74109 macro-int-constant. Specify type.
74110 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74111 constraint on value.
74112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74113 Specify type.
74114 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74115 Specify value.
74116 [ISO C standards]: Do not allow headers.
74117 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74118 wcs[abcdefghijklmnopqrstuvwxyz]*.
74119 [ISO C standards] (*_t): Do not allow.
74120 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74121 Expect function.
74122 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74123 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74124 Specify type.
74125 [ISO C standards]: Do not allow headers.
74126 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74127 is[abcdefghijklmnopqrstuvwxyz]*.
74128 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74129 to[abcdefghijklmnopqrstuvwxyz]*.
74130 [ISO C standards] (*_t): Do not allow.
74131 * conform/data/stdalign.h-data: New file.
74132 * conform/data/stdbool.h-data: Likewise.
74133 * conform/data/stdnoreturn.h-data: Likewise.
74134
74135 2012-11-07 Roland McGrath <roland@hack.frob.com>
74136
74137 [BZ #14815]
74138 * manual/filesys.texi (Directory Entries): Typo fix.
74139 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74140
74141 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74142
74143 * elf/elf.h (EM_AARCH64): New macro.
74144 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74145 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74146 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74147 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74148 (R_AARCH64_TLSDESC): Likewise.
74149 (NT_ARM_TLS): Likewise.
74150 (NT_ARM_HW_BREAK): Likewise.
74151 (NT_ARM_HW_WATCH): Likewise.
74152
74153 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74154
74155 [BZ #14811]
74156 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74157 (__ieee754_powl): Saturate nonzero exponents with absolute value
74158 below 0x1p-79 to +/- 0x1p-79.
74159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74160 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74161 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74162 nonzero exponents with absolute value below 0x1p-32 to +/-
74163 0x1p-32.
74164 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74165 (__ieee754_powl): Saturate nonzero exponents with absolute value
74166 below 0x1p-79 to +/- 0x1p-79.
74167 * math/libm-test.inc (pow_test): Add more tests.
74168
74169 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74170
74171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74172 _dl_s390_cap_flags with kernel. Increase string length.
74173 (_dl_s390_platforms): Add z196 and zEC12.
74174
74175 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74176
74177 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74178 Change XOPEN21K to XOPEN2K.
74179
74180 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74181
74182 * string/memmove.c: Use memcpy when possible.
74183
74184 2012-11-06 Andreas Jaeger <aj@suse.de>
74185
74186 * po/eo.po: Update from translation team.
74187
74188 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74189
74190 [BZ #14793]
74191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74192 exponent and small x and y exponents, scale x or y up. Increase
74193 by 2 the exponent used in scaling up.
74194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74196 * math/libm-test.inc (fma_test): Add more tests.
74197 (fma_test_towardzero): Likewise.
74198 (fma_test_downward): Likewise.
74199 (fma_test_upward): Likewise.
74200
74201 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74202
74203 [BZ #14805]
74204 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74205 fenv_t *.
74206
74207 [BZ #14801]
74208 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74209 namespace for names of struct fields.
74210 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74211 fenv_t fields.
74212 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74213 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74214
74215 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74216
74217 [BZ #3665]
74218 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74219
74220 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74221
74222 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74223 PTR_DEMANGLE.
74224
74225 [BZ #5246]
74226 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74227 PTR_DEMANGLE.
74228
74229 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74230
74231 [BZ #14797]
74232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74233 definitely overflow as x * y not x * y + z.
74234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74236 * math/libm-test.inc (fma_test): Add more tests.
74237 (fma_test_towardzero): Likewise.
74238 (fma_test_downward): Likewise.
74239 (fma_test_upward): Likewise.
74240
74241 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74242
74243 [BZ #157]
74244
74245 * include/stub-tag.h: Remove file.
74246 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74247 '#include' of it.
74248 * manual/maint.texi (Porting): Don't reference it.
74249 * Makerules ($(objpfx)stubs): Likewise.
74250 * dirent/closedir.c: Don't include <stub-tag.h>.
74251 * dirent/dirfd.c: Likewise.
74252 * dirent/fdopendir.c: Likewise.
74253 * dirent/getdents.c: Likewise.
74254 * dirent/getdents64.c: Likewise.
74255 * dirent/opendir.c: Likewise.
74256 * dirent/readdir.c: Likewise.
74257 * dirent/readdir64.c: Likewise.
74258 * dirent/readdir64_r.c: Likewise.
74259 * dirent/readdir_r.c: Likewise.
74260 * dirent/rewinddir.c: Likewise.
74261 * dirent/seekdir.c: Likewise.
74262 * dirent/telldir.c: Likewise.
74263 * gmon/profil.c: Likewise.
74264 * grp/setgroups.c: Likewise.
74265 * inet/if_index.c: Likewise.
74266 * io/access.c: Likewise.
74267 * io/chdir.c: Likewise.
74268 * io/chmod.c: Likewise.
74269 * io/chown.c: Likewise.
74270 * io/close.c: Likewise.
74271 * io/dup.c: Likewise.
74272 * io/dup2.c: Likewise.
74273 * io/dup3.c: Likewise.
74274 * io/euidaccess.c: Likewise.
74275 * io/faccessat.c: Likewise.
74276 * io/fchdir.c: Likewise.
74277 * io/fchmod.c: Likewise.
74278 * io/fchmodat.c: Likewise.
74279 * io/fchown.c: Likewise.
74280 * io/fchownat.c: Likewise.
74281 * io/fcntl.c: Likewise.
74282 * io/flock.c: Likewise.
74283 * io/fstatfs.c: Likewise.
74284 * io/fstatfs64.c: Likewise.
74285 * io/fstatvfs.c: Likewise.
74286 * io/fstatvfs64.c: Likewise.
74287 * io/futimens.c: Likewise.
74288 * io/fxstat.c: Likewise.
74289 * io/fxstat64.c: Likewise.
74290 * io/fxstatat.c: Likewise.
74291 * io/fxstatat64.c: Likewise.
74292 * io/getcwd.c: Likewise.
74293 * io/isatty.c: Likewise.
74294 * io/lchmod.c: Likewise.
74295 * io/lchown.c: Likewise.
74296 * io/link.c: Likewise.
74297 * io/linkat.c: Likewise.
74298 * io/lseek.c: Likewise.
74299 * io/lseek64.c: Likewise.
74300 * io/lxstat64.c: Likewise.
74301 * io/mkdir.c: Likewise.
74302 * io/mkdirat.c: Likewise.
74303 * io/mkfifo.c: Likewise.
74304 * io/mkfifoat.c: Likewise.
74305 * io/open.c: Likewise.
74306 * io/open64.c: Likewise.
74307 * io/openat.c: Likewise.
74308 * io/openat64.c: Likewise.
74309 * io/pipe.c: Likewise.
74310 * io/pipe2.c: Likewise.
74311 * io/poll.c: Likewise.
74312 * io/posix_fadvise.c: Likewise.
74313 * io/posix_fadvise64.c: Likewise.
74314 * io/posix_fallocate.c: Likewise.
74315 * io/posix_fallocate64.c: Likewise.
74316 * io/read.c: Likewise.
74317 * io/readlink.c: Likewise.
74318 * io/readlinkat.c: Likewise.
74319 * io/rmdir.c: Likewise.
74320 * io/sendfile.c: Likewise.
74321 * io/sendfile64.c: Likewise.
74322 * io/statfs.c: Likewise.
74323 * io/statfs64.c: Likewise.
74324 * io/statvfs.c: Likewise.
74325 * io/statvfs64.c: Likewise.
74326 * io/symlink.c: Likewise.
74327 * io/symlinkat.c: Likewise.
74328 * io/ttyname.c: Likewise.
74329 * io/ttyname_r.c: Likewise.
74330 * io/umask.c: Likewise.
74331 * io/unlink.c: Likewise.
74332 * io/unlinkat.c: Likewise.
74333 * io/utime.c: Likewise.
74334 * io/utimensat.c: Likewise.
74335 * io/write.c: Likewise.
74336 * io/xmknod.c: Likewise.
74337 * io/xmknodat.c: Likewise.
74338 * io/xstat.c: Likewise.
74339 * io/xstat64.c: Likewise.
74340 * login/getpt.c: Likewise.
74341 * login/grantpt.c: Likewise.
74342 * login/unlockpt.c: Likewise.
74343 * math/e_acoshl.c: Likewise.
74344 * math/e_acosl.c: Likewise.
74345 * math/e_asinl.c: Likewise.
74346 * math/e_atan2l.c: Likewise.
74347 * math/e_atanhl.c: Likewise.
74348 * math/e_coshl.c: Likewise.
74349 * math/e_expl.c: Likewise.
74350 * math/e_fmodl.c: Likewise.
74351 * math/e_gammal_r.c: Likewise.
74352 * math/e_hypotl.c: Likewise.
74353 * math/e_j0l.c: Likewise.
74354 * math/e_j1l.c: Likewise.
74355 * math/e_jnl.c: Likewise.
74356 * math/e_lgammal_r.c: Likewise.
74357 * math/e_log10l.c: Likewise.
74358 * math/e_log2l.c: Likewise.
74359 * math/e_logl.c: Likewise.
74360 * math/e_powl.c: Likewise.
74361 * math/e_rem_pio2l.c: Likewise.
74362 * math/e_sinhl.c: Likewise.
74363 * math/e_sqrtl.c: Likewise.
74364 * math/fclrexcpt.c: Likewise.
74365 * math/fedisblxcpt.c: Likewise.
74366 * math/feenablxcpt.c: Likewise.
74367 * math/fegetenv.c: Likewise.
74368 * math/fegetexcept.c: Likewise.
74369 * math/fegetround.c: Likewise.
74370 * math/feholdexcpt.c: Likewise.
74371 * math/fesetenv.c: Likewise.
74372 * math/fesetround.c: Likewise.
74373 * math/feupdateenv.c: Likewise.
74374 * math/fgetexcptflg.c: Likewise.
74375 * math/fraiseexcpt.c: Likewise.
74376 * math/fsetexcptflg.c: Likewise.
74377 * math/ftestexcept.c: Likewise.
74378 * math/k_cosl.c: Likewise.
74379 * math/k_rem_pio2l.c: Likewise.
74380 * math/k_sinl.c: Likewise.
74381 * math/k_tanl.c: Likewise.
74382 * math/s_asinhl.c: Likewise.
74383 * math/s_atanl.c: Likewise.
74384 * math/s_cbrtl.c: Likewise.
74385 * math/s_erfl.c: Likewise.
74386 * math/s_expm1l.c: Likewise.
74387 * math/s_log1pl.c: Likewise.
74388 * math/s_tanhl.c: Likewise.
74389 * misc/acct.c: Likewise.
74390 * misc/brk.c: Likewise.
74391 * misc/chflags.c: Likewise.
74392 * misc/chroot.c: Likewise.
74393 * misc/fchflags.c: Likewise.
74394 * misc/fgetxattr.c: Likewise.
74395 * misc/flistxattr.c: Likewise.
74396 * misc/fremovexattr.c: Likewise.
74397 * misc/fsetxattr.c: Likewise.
74398 * misc/fsync.c: Likewise.
74399 * misc/ftruncate.c: Likewise.
74400 * misc/futimes.c: Likewise.
74401 * misc/futimesat.c: Likewise.
74402 * misc/getdomain.c: Likewise.
74403 * misc/getdtsz.c: Likewise.
74404 * misc/gethostid.c: Likewise.
74405 * misc/gethostname.c: Likewise.
74406 * misc/getloadavg.c: Likewise.
74407 * misc/getpagesize.c: Likewise.
74408 * misc/getsysstats.c: Likewise.
74409 * misc/getxattr.c: Likewise.
74410 * misc/gtty.c: Likewise.
74411 * misc/ioctl.c: Likewise.
74412 * misc/lgetxattr.c: Likewise.
74413 * misc/listxattr.c: Likewise.
74414 * misc/llistxattr.c: Likewise.
74415 * misc/lremovexattr.c: Likewise.
74416 * misc/lsetxattr.c: Likewise.
74417 * misc/lutimes.c: Likewise.
74418 * misc/madvise.c: Likewise.
74419 * misc/mincore.c: Likewise.
74420 * misc/mlock.c: Likewise.
74421 * misc/mlockall.c: Likewise.
74422 * misc/mmap.c: Likewise.
74423 * misc/mprotect.c: Likewise.
74424 * misc/msync.c: Likewise.
74425 * misc/munlock.c: Likewise.
74426 * misc/munlockall.c: Likewise.
74427 * misc/munmap.c: Likewise.
74428 * misc/preadv.c: Likewise.
74429 * misc/preadv64.c: Likewise.
74430 * misc/ptrace.c: Likewise.
74431 * misc/pwritev.c: Likewise.
74432 * misc/pwritev64.c: Likewise.
74433 * misc/readv.c: Likewise.
74434 * misc/reboot.c: Likewise.
74435 * misc/remap_file_pages.c: Likewise.
74436 * misc/removexattr.c: Likewise.
74437 * misc/revoke.c: Likewise.
74438 * misc/select.c: Likewise.
74439 * misc/setdomain.c: Likewise.
74440 * misc/setegid.c: Likewise.
74441 * misc/seteuid.c: Likewise.
74442 * misc/sethostid.c: Likewise.
74443 * misc/sethostname.c: Likewise.
74444 * misc/setregid.c: Likewise.
74445 * misc/setreuid.c: Likewise.
74446 * misc/setxattr.c: Likewise.
74447 * misc/sstk.c: Likewise.
74448 * misc/stty.c: Likewise.
74449 * misc/swapoff.c: Likewise.
74450 * misc/swapon.c: Likewise.
74451 * misc/sync.c: Likewise.
74452 * misc/syncfs.c: Likewise.
74453 * misc/syscall.c: Likewise.
74454 * misc/truncate.c: Likewise.
74455 * misc/ualarm.c: Likewise.
74456 * misc/usleep.c: Likewise.
74457 * misc/ustat.c: Likewise.
74458 * misc/utimes.c: Likewise.
74459 * misc/vhangup.c: Likewise.
74460 * misc/writev.c: Likewise.
74461 * posix/_exit.c: Likewise.
74462 * posix/alarm.c: Likewise.
74463 * posix/execve.c: Likewise.
74464 * posix/fexecve.c: Likewise.
74465 * posix/fork.c: Likewise.
74466 * posix/fpathconf.c: Likewise.
74467 * posix/getaddrinfo.c: Likewise.
74468 * posix/getegid.c: Likewise.
74469 * posix/geteuid.c: Likewise.
74470 * posix/getgid.c: Likewise.
74471 * posix/getgroups.c: Likewise.
74472 * posix/getlogin.c: Likewise.
74473 * posix/getlogin_r.c: Likewise.
74474 * posix/getpgid.c: Likewise.
74475 * posix/getpid.c: Likewise.
74476 * posix/getppid.c: Likewise.
74477 * posix/getresgid.c: Likewise.
74478 * posix/getresuid.c: Likewise.
74479 * posix/getsid.c: Likewise.
74480 * posix/getuid.c: Likewise.
74481 * posix/glob64.c: Likewise.
74482 * posix/nanosleep.c: Likewise.
74483 * posix/pathconf.c: Likewise.
74484 * posix/pause.c: Likewise.
74485 * posix/posix_madvise.c: Likewise.
74486 * posix/pread.c: Likewise.
74487 * posix/pread64.c: Likewise.
74488 * posix/pwrite.c: Likewise.
74489 * posix/pwrite64.c: Likewise.
74490 * posix/sched_getaffinity.c: Likewise.
74491 * posix/sched_getp.c: Likewise.
74492 * posix/sched_gets.c: Likewise.
74493 * posix/sched_primax.c: Likewise.
74494 * posix/sched_primin.c: Likewise.
74495 * posix/sched_rr_gi.c: Likewise.
74496 * posix/sched_setaffinity.c: Likewise.
74497 * posix/sched_setp.c: Likewise.
74498 * posix/sched_sets.c: Likewise.
74499 * posix/sched_yield.c: Likewise.
74500 * posix/setgid.c: Likewise.
74501 * posix/setlogin.c: Likewise.
74502 * posix/setpgid.c: Likewise.
74503 * posix/setresgid.c: Likewise.
74504 * posix/setresuid.c: Likewise.
74505 * posix/setsid.c: Likewise.
74506 * posix/setuid.c: Likewise.
74507 * posix/sleep.c: Likewise.
74508 * posix/spawni.c: Likewise.
74509 * posix/sysconf.c: Likewise.
74510 * posix/times.c: Likewise.
74511 * posix/wait.c: Likewise.
74512 * posix/wait3.c: Likewise.
74513 * posix/wait4.c: Likewise.
74514 * posix/waitpid.c: Likewise.
74515 * resolv/gai_sigqueue.c: Likewise.
74516 * resource/getpriority.c: Likewise.
74517 * resource/getrlimit.c: Likewise.
74518 * resource/getrusage.c: Likewise.
74519 * resource/nice.c: Likewise.
74520 * resource/setpriority.c: Likewise.
74521 * resource/setrlimit.c: Likewise.
74522 * resource/ulimit.c: Likewise.
74523 * rt/aio_cancel.c: Likewise.
74524 * rt/aio_fsync.c: Likewise.
74525 * rt/aio_read.c: Likewise.
74526 * rt/aio_sigqueue.c: Likewise.
74527 * rt/aio_suspend.c: Likewise.
74528 * rt/aio_write.c: Likewise.
74529 * rt/clock_getres.c: Likewise.
74530 * rt/clock_gettime.c: Likewise.
74531 * rt/clock_nanosleep.c: Likewise.
74532 * rt/clock_settime.c: Likewise.
74533 * rt/lio_listio.c: Likewise.
74534 * rt/mq_close.c: Likewise.
74535 * rt/mq_getattr.c: Likewise.
74536 * rt/mq_notify.c: Likewise.
74537 * rt/mq_open.c: Likewise.
74538 * rt/mq_receive.c: Likewise.
74539 * rt/mq_send.c: Likewise.
74540 * rt/mq_setattr.c: Likewise.
74541 * rt/mq_timedreceive.c: Likewise.
74542 * rt/mq_timedsend.c: Likewise.
74543 * rt/mq_unlink.c: Likewise.
74544 * rt/shm_open.c: Likewise.
74545 * rt/shm_unlink.c: Likewise.
74546 * rt/timer_create.c: Likewise.
74547 * rt/timer_delete.c: Likewise.
74548 * rt/timer_getoverr.c: Likewise.
74549 * rt/timer_gettime.c: Likewise.
74550 * rt/timer_settime.c: Likewise.
74551 * setjmp/__longjmp.c: Likewise.
74552 * setjmp/setjmp.c: Likewise.
74553 * signal/kill.c: Likewise.
74554 * signal/killpg.c: Likewise.
74555 * signal/raise.c: Likewise.
74556 * signal/sigaction.c: Likewise.
74557 * signal/sigaltstack.c: Likewise.
74558 * signal/sigblock.c: Likewise.
74559 * signal/sigignore.c: Likewise.
74560 * signal/sigintr.c: Likewise.
74561 * signal/signal.c: Likewise.
74562 * signal/sigpause.c: Likewise.
74563 * signal/sigpending.c: Likewise.
74564 * signal/sigqueue.c: Likewise.
74565 * signal/sigreturn.c: Likewise.
74566 * signal/sigset.c: Likewise.
74567 * signal/sigsetmask.c: Likewise.
74568 * signal/sigstack.c: Likewise.
74569 * signal/sigsuspend.c: Likewise.
74570 * signal/sigtimedwait.c: Likewise.
74571 * signal/sigvec.c: Likewise.
74572 * signal/sigwait.c: Likewise.
74573 * signal/sigwaitinfo.c: Likewise.
74574 * signal/sysv_signal.c: Likewise.
74575 * socket/accept.c: Likewise.
74576 * socket/accept4.c: Likewise.
74577 * socket/bind.c: Likewise.
74578 * socket/connect.c: Likewise.
74579 * socket/getpeername.c: Likewise.
74580 * socket/getsockname.c: Likewise.
74581 * socket/getsockopt.c: Likewise.
74582 * socket/isfdtype.c: Likewise.
74583 * socket/listen.c: Likewise.
74584 * socket/recv.c: Likewise.
74585 * socket/recvfrom.c: Likewise.
74586 * socket/recvmsg.c: Likewise.
74587 * socket/send.c: Likewise.
74588 * socket/sendmsg.c: Likewise.
74589 * socket/sendto.c: Likewise.
74590 * socket/setsockopt.c: Likewise.
74591 * socket/shutdown.c: Likewise.
74592 * socket/sockatmark.c: Likewise.
74593 * socket/socket.c: Likewise.
74594 * socket/socketpair.c: Likewise.
74595 * stdio-common/ctermid.c: Likewise.
74596 * stdio-common/cuserid.c: Likewise.
74597 * stdio-common/remove.c: Likewise.
74598 * stdio-common/rename.c: Likewise.
74599 * stdio-common/renameat.c: Likewise.
74600 * stdio-common/tempname.c: Likewise.
74601 * stdlib/getcontext.c: Likewise.
74602 * stdlib/makecontext.c: Likewise.
74603 * stdlib/setcontext.c: Likewise.
74604 * stdlib/swapcontext.c: Likewise.
74605 * stdlib/system.c: Likewise.
74606 * streams/fattach.c: Likewise.
74607 * streams/fdetach.c: Likewise.
74608 * streams/getmsg.c: Likewise.
74609 * streams/getpmsg.c: Likewise.
74610 * streams/putmsg.c: Likewise.
74611 * streams/putpmsg.c: Likewise.
74612 * sysdeps/unix/bsd/getpt.c: Likewise.
74613 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74614 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74617 Likewise.
74618 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74619 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74620 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74621 * sysvipc/msgctl.c: Likewise.
74622 * sysvipc/msgget.c: Likewise.
74623 * sysvipc/msgrcv.c: Likewise.
74624 * sysvipc/msgsnd.c: Likewise.
74625 * sysvipc/semctl.c: Likewise.
74626 * sysvipc/semget.c: Likewise.
74627 * sysvipc/semop.c: Likewise.
74628 * sysvipc/semtimedop.c: Likewise.
74629 * sysvipc/shmat.c: Likewise.
74630 * sysvipc/shmctl.c: Likewise.
74631 * sysvipc/shmdt.c: Likewise.
74632 * sysvipc/shmget.c: Likewise.
74633 * termios/tcdrain.c: Likewise.
74634 * termios/tcflow.c: Likewise.
74635 * termios/tcflush.c: Likewise.
74636 * termios/tcgetattr.c: Likewise.
74637 * termios/tcgetpgrp.c: Likewise.
74638 * termios/tcsendbrk.c: Likewise.
74639 * termios/tcsetattr.c: Likewise.
74640 * termios/tcsetpgrp.c: Likewise.
74641 * time/adjtime.c: Likewise.
74642 * time/clock.c: Likewise.
74643 * time/getitimer.c: Likewise.
74644 * time/gettimeofday.c: Likewise.
74645 * time/setitimer.c: Likewise.
74646 * time/settimeofday.c: Likewise.
74647 * time/stime.c: Likewise.
74648 * time/time.c: Likewise.
74649
74650 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
74651
74652 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74653 /usr/old/bin.
74654
74655 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74656 instead of spaces.
74657 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74658
74659 2012-11-03 Joseph Myers <joseph@codesourcery.com>
74660
74661 [BZ #14796]
74662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74663 FE_TONEAREST before applying Dekker multiplication and Knuth
74664 addition. Clear inexact exceptions and check for exact zero
74665 results afterwards.
74666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74668 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74669 * math/libm-test.inc (fma_test): Add more tests.
74670 (fma_test_towardzero): Likewise.
74671 (fma_test_downward): Likewise.
74672 (fma_test_upward): Likewise.
74673 * sysdeps/generic/math_private.h (default_libc_fesetround): New
74674 function.
74675 (libc_fesetround): New macro.
74676 (libc_fesetroundf): Likewise.
74677 (libc_fesetroundl): Likewise.
74678 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74679 function.
74680 (libc_fesetround_387): Likewise.
74681 (libc_fesetroundf): New macro.
74682 (libc_fesetround): Likewise.
74683 (libc_fesetroundl): Likewise.
74684 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74685 function.
74686 (libc_fesetroundf): New macro.
74687 (libc_fesetround): Likewise.
74688 (libc_fesetroundl): Likewise.
74689 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
74690 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
74691 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
74692 libm_hidden_ver.
74693 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
74694 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
74695 libm_hidden_def.
74696 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
74697 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
74698 libm_hidden_ver.
74699 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
74700 libm_hidden_def.
74701
74702 [BZ #3439]
74703 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74704 integer constant usable in #if and use that to give value to enum
74705 constant.
74706 (FE_DIVBYZERO): Likewise.
74707 (FE_UNDERFLOW): Likewise.
74708 (FE_OVERFLOW): Likewise.
74709 (FE_INVALID): Likewise.
74710 (FE_INVALID_SNAN): Likewise.
74711 (FE_INVALID_ISI): Likewise.
74712 (FE_INVALID_IDI): Likewise.
74713 (FE_INVALID_ZDZ): Likewise.
74714 (FE_INVALID_IMZ): Likewise.
74715 (FE_INVALID_COMPARE): Likewise.
74716 (FE_INVALID_SOFTWARE): Likewise.
74717 (FE_INVALID_SQRT): Likewise.
74718 (FE_INVALID_INTEGER_CONVERSION): Likewise.
74719 (FE_TONEAREST): Likewise.
74720 (FE_TOWARDZERO): Likewise.
74721 (FE_UPWARD): Likewise.
74722 (FE_DOWNWARD): Likewise.
74723 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74724 (FE_DIVBYZERO): Likewise.
74725 (FE_OVERFLOW): Likewise.
74726 (FE_UNDERFLOW): Likewise.
74727 (FE_INEXACT): Likewise.
74728 (FE_TONEAREST): Likewise.
74729 (FE_DOWNWARD): Likewise.
74730 (FE_UPWARD): Likewise.
74731 (FE_TOWARDZERO): Likewise.
74732 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74733 (FE_UNDERFLOW): Likewise.
74734 (FE_OVERFLOW): Likewise.
74735 (FE_DIVBYZERO): Likewise.
74736 (FE_INVALID): Likewise.
74737 (FE_TONEAREST): Likewise.
74738 (FE_TOWARDZERO): Likewise.
74739 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74740 (FE_OVERFLOW): Likewise.
74741 (FE_UNDERFLOW): Likewise.
74742 (FE_DIVBYZERO): Likewise.
74743 (FE_INEXACT): Likewise.
74744 (FE_TONEAREST): Likewise.
74745 (FE_TOWARDZERO): Likewise.
74746 (FE_UPWARD): Likewise.
74747 (FE_DOWNWARD): Likewise.
74748 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74749 (FE_DIVBYZERO): Likewise.
74750 (FE_OVERFLOW): Likewise.
74751 (FE_UNDERFLOW): Likewise.
74752 (FE_INEXACT): Likewise.
74753 (FE_TONEAREST): Likewise.
74754 (FE_DOWNWARD): Likewise.
74755 (FE_UPWARD): Likewise.
74756 (FE_TOWARDZERO): Likewise.
74757
74758 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
74759
74760 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74761
74762 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
74763
74764 * scripts/cross-test-ssh.sh (command): Use newlines to separate
74765 commands. Quote $PWD.
74766 (blacklist_exports): Don't use remove_newlines. Replace "declare
74767 -x" by "export".
74768 (remove_newlines): Remove.
74769
74770 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
74771
74772 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74773 * stdlib/stdlib.h (atof): Moved to ...
74774 * include/bits/stdlib-float.h: Here. New file.
74775 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74776 * stdlib/bits/stdlib-float.h: New file.
74777 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74778 -mno-sse -mno-mmx.
74779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74780 <xmmintrin.h>.
74781
74782 2012-11-02 Joseph Myers <joseph@codesourcery.com>
74783
74784 * conform/conformtest.pl (@headers): Add fenv.h.
74785 * conform/data/fenv.h-data: New file.
74786 * include/fenv.h [_ISOMAC]: Disable all contents of file except
74787 include of <math/fenv.h>.
74788
74789 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74790 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74791 && !UNIX98]. Enables tests for XOPEN2K8.
74792 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74793 POSIX2008]: Likewise.
74794
74795 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74796 (struct rusage): Do not expect type or its members.
74797
74798 [BZ #3439]
74799 * math/math.h (FP_NAN): Define macro to integer constant usable in
74800 #if and use that to give value to enum constant.
74801 (FP_INFINITE): Likewise.
74802 (FP_ZERO): Likewise.
74803 (FP_SUBNORMAL): Likewise.
74804 (FP_NORMAL): Likewise.
74805
74806 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
74807
74808 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74809 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74810 arguments.
74811
74812 2012-11-02 Roland McGrath <roland@hack.frob.com>
74813
74814 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74815 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74816 autoconf-time if not.
74817 * configure.in: Remove AC_PREREQ.
74818
74819 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74820
74821 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74822 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74823 of the internal implementation.
74824
74825 2012-11-02 Joseph Myers <joseph@codesourcery.com>
74826
74827 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74828 except include of <misc/sys/syslog.h>.
74829
74830 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
74831
74832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74833 function returns with a NULL context exit with zero.
74834
74835 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74836
74837 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74838
74839 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
74840
74841 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74842 (run_program_cmd): This.
74843 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74844 (tst_langinfo): New variable. Use it.
74845
74846 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
74847
74848 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74849 floating point opcodes.
74850
74851 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74852
74853 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74854 variable.
74855
74856 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74857
74858 * sysdeps/mach/hurd/powerpc: Remove directory.
74859 * sysdeps/mach/powerpc: Likewise.
74860
74861 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
74862
74863 * scripts/check-local-headers.sh: Ignore c++ headers.
74864
74865 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74866
74867 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74868 __libc_cleanup_region_start argument.
74869
74870 2012-11-01 Joseph Myers <joseph@codesourcery.com>
74871
74872 [BZ #14784]
74873 [BZ #14785]
74874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74875 x * y using scaling, not as x * y + z.
74876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74878 * math/libm-test.inc (fma_test): Add more tests.
74879 (fma_test_towardzero): Likewise.
74880 (fma_test_downward): Likewise.
74881 (fma_test_upward): Likewise.
74882
74883 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74884
74885 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74886
74887 2012-10-31 Joseph Myers <joseph@codesourcery.com>
74888
74889 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74890 New variable.
74891
74892 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
74893
74894 * rt/tst-shm.c (worker): Correct checking for mmap failure.
74895
74896 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
74897
74898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74899 Fix sort order.
74900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74901 Likewise.
74902
74903 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74904
74905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74906 Fix the order of the list for glibc 2.17.
74907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74908 Likewise.
74909
74910 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
74911
74912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74913
74914 2012-10-31 Joseph Myers <joseph@codesourcery.com>
74915
74916 [BZ #14610]
74917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74918 for low part of x being zero before using __atanl (y).
74919 * math/libm-test.inc (atan2_test): Add another test.
74920
74921 * manual/install.texi (Configuring and compiling): Document
74922 general use of test-wrapper and test-wrapper-env.
74923 * INSTALL: Regenerated.
74924
74925 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74926 (__fma): Do not extract and scale down low bits on after-rounding
74927 systems when result rounded to normal precision would have normal
74928 exponent.
74929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74930 (__fmal): Do not extract and scale down low bits on after-rounding
74931 systems when result rounded to normal precision would have normal
74932 exponent.
74933 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74934 (__fmal): Do not extract and scale down low bits on after-rounding
74935 systems when result rounded to normal precision would have normal
74936 exponent.
74937 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74938 macro.
74939 (fma_test): Add more tests.
74940 (fma_test_towardzero): Likewise.
74941 (fma_test_downward): Likewise.
74942 (fma_test_upward): Likewise.
74943
74944 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
74945
74946 * sysdeps/i386/tininess.h: Renamed to ...
74947 * sysdeps/x86/tininess.h: This.
74948 * sysdeps/x86_64/tininess.h: Removed.
74949
74950 2012-10-30 Joseph Myers <joseph@codesourcery.com>
74951
74952 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74953 input. Use $(build-program-cmd).
74954 ($(objpfx)tst-array1-static.out): Likewise.
74955 ($(objpfx)tst-array2.out): Likewise.
74956 ($(objpfx)tst-array3.out): Likewise.
74957 ($(objpfx)tst-array4.out): Likewise.
74958 ($(objpfx)tst-array5.out): Likewise.
74959 ($(objpfx)tst-array5-static.out): Likewise.
74960
74961 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
74962
74963 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74964 if defined.
74965
74966 * nss/nsswitch.h (nss_interface_function): Provide new
74967 macro for use with NSS functions.
74968 * grp/initgroups.c: Use new macro.
74969 * nss/getXXbyYY.c: Likewise.
74970 * nss/getXXbyYY_r.c: Likewise.
74971 * nss/getXXent.c: Likewise.
74972 * nss/getXXent_r.c: Likewise.
74973 * sysdeps/posix/getaddrinfo.c: Likewise.
74974
74975 2012-10-30 Andreas Jaeger <aj@suse.de>
74976
74977 * po/ru.po: Update Russion translation from translation project.
74978
74979 2012-10-30 Joseph Myers <joseph@codesourcery.com>
74980
74981 [BZ #14152]
74982 [BZ #14783]
74983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74984 result and shift together with sticky bit instead of replicating
74985 round-to-nearest rounding.
74986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74988 * math/libm-test.inc (fma_test): Add more tests. Do not permit
74989 missing underflow exceptions.
74990 (fma_test_towardzero): Add more tests.
74991 (fma_test_downward): Likewise.
74992 (fma_test_upward): Likewise.
74993
74994 [BZ #14047]
74995 * sysdeps/generic/tininess.h: New file.
74996 * sysdeps/i386/tininess.h: Likewise.
74997 * sysdeps/sh/tininess.h: Likewise.
74998 * sysdeps/x86_64/tininess.h: Likewise.
74999 * stdlib/tst-strtod-underflow.c: Likewise.
75000 * stdlib/tst-tininess.c: Likewise.
75001 * stdlib/strtod_l.c: Include <tininess.h>.
75002 (round_and_return): Do not set errno for exact underflow cases.
75003 Force an underflow exception when setting errno for underflow.
75004 Determine underflow based on rounding to normal precision if
75005 TININESS_AFTER_ROUNDING.
75006 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75007 ERANGE for exact underflow cases.
75008 * stdlib/Makefile (tests): Add tst-tininess and
75009 tst-strtod-underflow.
75010 ($(objpfx)tst-tininess): Use $(link-libm).
75011 ($(objpfx)tst-strtod-underflow): Likewise.
75012
75013 2012-10-30 Andreas Jaeger <aj@suse.de>
75014
75015 [BZ #14767]
75016 * elf/Makefile (tests): Remove conditional for have-initfini-array
75017 since this is now always required and the variable does not exist
75018 anymore.
75019 (tests-static): Likewise.
75020 (modules-names): Likewise.
75021
75022 * po/eo.po: Add Esperanto translation from translation project.
75023
75024 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75025 merged with constructor/destructor.
75026 (init_array): Likewise.
75027 * elf/tst-array2dep.c (fini_array): Likewise.
75028 (init_array): Likewise.
75029
75030 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75031
75032 * manual/message.texi: Delete @cartouche tags.
75033
75034 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75035
75036 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75037 EOPNOTSUPP.
75038 * sysdeps/mach/hurd/fsync.c: Likewise.
75039
75040 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75041 [_POSIX_REALTIME_SIGNALS]: Change condition to
75042 [_POSIX_REALTIME_SIGNALS > 0].
75043
75044 2012-10-27 Andreas Jaeger <aj@suse.de>
75045
75046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75047 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75049 [__WORDSIZE != 64]: Likewise.
75050
75051 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75052
75053 * iconvdata/tst-table.sh: Remove ${SHELL}.
75054 * iconvdata/tst-tables.sh: Likewise.
75055
75056 2012-10-25 David S. Miller <davem@davemloft.net>
75057
75058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75059 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75060 of strtoull.
75061
75062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75063 ifunc-impl-list.c
75064 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75065 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75066 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75067 file.
75068
75069 2012-10-25 Roland McGrath <roland@hack.frob.com>
75070
75071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75072 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75073 __getdirentries.
75074
75075 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75076 Jim Blandy <jimb@codesourcery.com>
75077
75078 * scripts/cross-test-ssh.sh: New file.
75079 * manual/install.texi (Configuring and compiling): Document use of
75080 cross-test-ssh.sh.
75081 * INSTALL: Regenerated.
75082
75083 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75084
75085 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75086 EOPNOTSUPP.
75087
75088 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75089
75090 * Makeconfig (run-program-prefix): Fix comment.
75091
75092 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75093 Jim Blandy <jimb@codesourcery.com>
75094
75095 * Makeconfig (test-wrapper): New variable,
75096 (test-wrapper-env): Likewise.
75097 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75098 (run-built-tests): Define to yes.
75099 (run-program-prefix): Use $(test-wrapper).
75100 (built-program-cmd): Likewise.
75101 * Rules (make-test-out): Use $(test-wrapper-env) and
75102 $(host-built-program-cmd).
75103 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75104 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75105 tst-pathopt.sh.
75106 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75107 $(test-wrapper-env) to tst-rtld-load-self.sh.
75108 ($(objpfx)order2.out): Use $(test-wrapper).
75109 ($(objpfx)tst-initorder.out): Likewise.
75110 ($(objpfx)tst-initorder2.out): Likewise.
75111 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75112 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75113 (test_wrapper_env): New variable. Use it to run ld.so.
75114 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75115 Use it to run ld.so.
75116 (test_wrapper_env): Likewise.
75117 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75118 $(test-wrapper) to run-iconv-test.sh.
75119 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75120 (ICONV): Use $test_wrapper.
75121 * posix/Makefile ($(objpfx)globtest.out): Pass
75122 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75123 globtest.sh, not $(run-program-prefix).
75124 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75125 (test_wrapper): Likewise.
75126 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75127 set together with run_via_rtld_prefix.
75128 (run_program_prefix): Define in terms of test_wrapper and
75129 run_via_rtld_prefix.
75130
75131 2012-10-24 Roland McGrath <roland@hack.frob.com>
75132
75133 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75134 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75135 Targets removed.
75136
75137 [BZ #14743]
75138 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75139 Declare __clock_getres, __clock_gettime, __clock_settime,
75140 __clock_nanosleep, and __clock_getcpuclockid.
75141 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75142 Remove librt_hidden_def (clock_gettime).
75143 * sysdeps/unix/clock_gettime.c: Likewise.
75144 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75146 * rt/clock_getres.c: Define __clock_getres as an alias.
75147 * sysdeps/posix/clock_getres.c: Likewise.
75148 * rt/clock_settime.c: Define __clock_settime as an alias.
75149 * sysdeps/unix/clock_settime.c: Likewise.
75150 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75151 * sysdeps/unix/clock_nanosleep.c: Likewise.
75152 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75153 * rt/clock-compat.c: New file.
75154 * rt/Makefile (librt-routines): Add clock-compat and move
75155 $(clock-routines) to ...
75156 (routines): ... here, new variable.
75157 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75158 Don't add get_clockfreq here.
75159 * rt/Versions (libc: GLIBC_2.17): New version set.
75160 Add clock_* symbols here.
75161 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75163 (GLIBC_2.17): Add clock_* symbols.
75164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75168 Likewise.
75169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75170 Likewise.
75171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75175 * NEWS: Mention the move.
75176
75177 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75178 Use __open, __read, __close rather than their public counterparts.
75179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75180 (__get_clockfreq_via_cpuinfo): Likewise.
75181 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75182 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75183
75184 * config.h.in (HAVE_IFUNC): New #undef.
75185 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75186 was successful.
75187 * configure: Regenerated.
75188
75189 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75190
75191 * configure.in: Move READELF check to start of file.
75192 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75193 libc_cv_asm_gnu_indirect_function in the process.
75194 * configure: Regenerated.
75195
75196 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75197
75198 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75199 send the output to /dev/null.
75200 (libc_cv_cc_with_libunwind): Likewise.
75201 (libc_cv_as_noexecstack): Likewise.
75202 * configure: Regenerate.
75203
75204 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75205
75206 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75207
75208 * posix/globtest.sh (TMPDIR): Do not set.
75209 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75210 (testout): Likewise.
75211
75212 2012-10-24 Andreas Jaeger <aj@suse.de>
75213
75214 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75215 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75216 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75217 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75218 posix_fadvise64, posix_fallocate64.
75219
75220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75221 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75222 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75223 Likewise.
75224 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75225 Likewise.
75226 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75227
75228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75229 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75230 <bits/fcntl-linux.h>.
75231 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75232
75233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75234 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75235 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75236 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75237 [__WORDSIZE != 64]: Likewise.
75238
75239 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75240
75241 * Makeconfig (run-built-tests): New variable.
75242 * Rules [$(cross-compiling) = yes]: Change condition to
75243 [$(run-built-tests) = no].
75244 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75245 to [$(run-built-tests) = yes].
75246 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75247 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75248 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75249 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75250 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75251 * io/Makefile [$(cross-compiling) = no]: Likewise.
75252 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75253 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75254 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75255 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75256 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75257 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75258 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75259 * string/Makefile [$(cross-compiling) = no]: Likewise.
75260
75261 * posix/Makefile ($(objpfx)globtest.out): Pass
75262 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75263 $(rtld-installed-name).
75264 * posix/globtest.sh (elf_objpfx): Remove variable.
75265 (rtld_installed_name): Likewise.
75266 (library_path): Likewise.
75267 (run_program_prefix): New variable. Use for running globtest
75268 binary.
75269
75270 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75271 Joseph Myers <joseph@codesourcery.com>
75272
75273 * Makeconfig (host-built-program-cmd): New variable.
75274 * elf/Makefile (tst-stackguard1-ARGS): Use
75275 $(host-built-program-cmd).
75276 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75277 (tst-spawn-ARGS): Likewise.
75278 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75279
75280 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75281 Jim Blandy <jimb@codesourcery.com>
75282
75283 * Makeconfig (run-via-rtld-prefix): New variable.
75284 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75285 (built-program-cmd): Likewise.
75286
75287 2012-10-22 Andreas Jaeger <aj@suse.de>
75288
75289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75290 __O_RSYNC if it exists, otherwise to O_SYNC.
75291
75292 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75293 Joseph Myers <joseph@codesourcery.com>
75294
75295 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75296 /dev/null.
75297 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75298 from /dev/null
75299 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75300 /dev/null.
75301
75302 2012-10-22 Andreas Jaeger <aj@suse.de>
75303
75304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75305 Define always.
75306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75307
75308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75309 bits/fcntl-linux.h.
75310
75311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75312 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75313
75314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75315 to __O_LARGEFILE.
75316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75317 to __O_LARGEFILE.
75318
75319 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75320 Joseph Myers <joseph@codesourcery.com>
75321
75322 * config.make.in (NM): New variable.
75323
75324 2012-10-21 Andreas Jaeger <aj@suse.de>
75325
75326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75327 definitions and declarations that are provided by
75328 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75329
75330 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75331
75332 [BZ #14683]
75333 * elf/Makefile (tests-static): Add tst-leaks1-static.
75334 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75335 ($(objpfx)tst-leaks1-static): New rule.
75336 ($(objpfx)tst-leaks1-static-mem): Likewise.
75337 (tst-leaks1-static-ENV): New macro.
75338 * elf/dl-open.c (dl_open_worker): Check the main application
75339 only if SHARED is defined.
75340 * elf/tst-leaks1-static.c: New file.
75341
75342 2012-10-20 Andreas Jaeger <aj@suse.de>
75343
75344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75345 generic values for Linux.
75346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75347 and declarations that are provided by <bits/fcntl-linux.h> and
75348 include <bits/fcntl-linux.h>.
75349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75351
75352 2012-10-20 Roland McGrath <roland@hack.frob.com>
75353
75354 * io/fcntl.h: Move include of <bits/types.h> to the top and
75355 include it unconditionally.
75356
75357 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75358
75359 * wcsmbs/Makefile (tests-ifunc): New variable.
75360 (tests): Add $(tests-ifunc).
75361 * wcsmbs/test-wcschr-ifunc.c: New file.
75362 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75363 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75364 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75365 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75366 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75367
75368 * string/Makefile (tests-ifunc): New variable.
75369 (tests): Add $(tests-ifunc).
75370 * string/test-memccpy.c (TEST_NAME): New macro.
75371 * string/test-memchr.c (TEST_NAME): Likewise.
75372 * string/test-memcmp.c (TEST_NAME): Likewise.
75373 * string/test-memcpy.c (TEST_NAME): Likewise.
75374 * string/test-memmem.c (TEST_NAME): Likewise.
75375 * string/test-memmove.c (TEST_NAME): Likewise.
75376 * string/test-memset.c (TEST_NAME): Likewise.
75377 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75378 * string/test-stpcpy.c (TEST_NAME): Likewise.
75379 * string/test-stpncpy.c (TEST_NAME): Likewise.
75380 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75381 * string/test-strcasestr.c (TEST_NAME): Likewise.
75382 * string/test-strcat.c (TEST_NAME): Likewise.
75383 * string/test-strchr.c (TEST_NAME): Likewise.
75384 * string/test-strcmp.c(TEST_NAME): Likewise.
75385 * string/test-strcpy.c (TEST_NAME): Likewise.
75386 * string/test-strcspn.c (TEST_NAME): Likewise.
75387 * string/test-strlen.c (TEST_NAME): Likewise.
75388 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75389 * string/test-strncmp.c (TEST_NAME): Likewise.
75390 * string/test-strncpy.c (TEST_NAME): Likewise.
75391 * string/test-strnlen.c (TEST_NAME): Likewise.
75392 * string/test-strpbrk.c (TEST_NAME): Likewise.
75393 * string/test-strrchr.c (TEST_NAME): Likewise.
75394 * string/test-strspn.c (TEST_NAME): Likewise.
75395 * string/test-strstr.c (TEST_NAME): Likewise.
75396 * string/test-bcopy-ifunc.c: New file.
75397 * string/test-bzero-ifunc.c: Likewise.
75398 * string/test-memccpy-ifunc.c: Likewise.
75399 * string/test-memchr-ifunc.c: Likewise.
75400 * string/test-memcmp-ifunc.c: Likewise.
75401 * string/test-memcpy-ifunc.c: Likewise.
75402 * string/test-memmem-ifunc.c: Likewise.
75403 * string/test-memmove-ifunc.c: Likewise.
75404 * string/test-mempcpy-ifunc.c: Likewise.
75405 * string/test-memset-ifunc.c: Likewise.
75406 * string/test-rawmemchr-ifunc.c: Likewise.
75407 * string/test-stpcpy-ifunc.c: Likewise.
75408 * string/test-stpncpy-ifunc.c: Likewise.
75409 * string/test-strcasecmp-ifunc.c: Likewise.
75410 * string/test-strcasestr-ifunc.c: Likewise.
75411 * string/test-strcat-ifunc.c: Likewise.
75412 * string/test-strchr-ifunc.c: Likewise.
75413 * string/test-strchrnul-ifunc.c: Likewise.
75414 * string/test-strcmp-ifunc.c: Likewise.
75415 * string/test-strcpy-ifunc.c: Likewise.
75416 * string/test-strcspn-ifunc.c: Likewise.
75417 * string/test-strlen-ifunc.c: Likewise.
75418 * string/test-strncasecmp-ifunc.c: Likewise.
75419 * string/test-strncat-ifunc.c: Likewise.
75420 * string/test-strncmp-ifunc.c: Likewise.
75421 * string/test-strncpy-ifunc.c: Likewise.
75422 * string/test-strnlen-ifunc.c: Likewise.
75423 * string/test-strpbrk-ifunc.c: Likewise.
75424 * string/test-strrchr-ifunc.c: Likewise.
75425 * string/test-strspn-ifunc.c: Likewise.
75426 * string/test-strstr-ifunc.c: Likewise.
75427
75428 * debug/Makefile (tests-ifunc): New variable.
75429 (tests): Add $(tests-ifunc).
75430 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75431 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75432 * debug/test-stpcpy_chk-ifunc.c: New file.
75433 * debug/test-strcpy_chk-ifunc.c: Likewise.
75434
75435 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75436
75437 [BZ #13601]
75438 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75439 header is not read in.
75440
75441 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75442
75443 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75444 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75445 directly. Pass built executable to script as
75446 $(built-program-cmd).
75447 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75448 $testprogram without using LD_LIBRARY_PATH and $ldso.
75449
75450 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75451 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75452 $(rtld-installed-name).
75453 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75454 (rtld_installed_name): Likewise.
75455 (library_path): Likewise.
75456 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75457 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75458 $(run-program-prefix) to tst-tables.sh.
75459 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75460 it to run tst-table-from and tst-table-to.
75461 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75462 Pass it to tst-table.sh.
75463 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75464 $(run-program-prefix) to tst-gettext.sh.
75465 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75466 tst-translit.sh.
75467 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75468 tst-gettext2.sh.
75469 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75470 to run tst-gettext.
75471 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75472 to run tst-gettext2.
75473 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75474 to run tst-translit.
75475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75476 $(run-program-prefix) to tst-mtrace.sh.
75477 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75478 to run tst-mtrace.
75479 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75480 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75481 $(rtld-installed-name).
75482 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75483 (rtld_installed_name): Likewise.
75484 (run_program_prefix): New variable. Use it to run wordexp-test.
75485
75486 * Makeconfig (ARCH): Remove all definitions.
75487 (machine): Likewise.
75488 [ARCH]: Remove conditional code.
75489 [!objdir]: Give error.
75490 [!objdir] (objpfx): Remove.
75491 [!objdir] (common-objpfx): Likewise.
75492 [!objdir] (common-objdir): Likewise.
75493 * configure.in (config_makefile): Remove. Hardcode Makefile in
75494 AC_CONFIG_FILES call.
75495 * configure: Regenerated.
75496
75497 [BZ #13888]
75498 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75499 or TMPDIR.
75500 (testout): Likewise.
75501
75502 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75503 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75504 $(rtld-installed-name).
75505 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75506 (rtld_installed_name): Likewise.
75507 (runit): Remove function.
75508 (run_getconf): New variable, Use it for running getconf binary.
75509
75510 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75511
75512 [BZ #14716]
75513 * string/test-memmem.c (check_result): New function.
75514 (do_one_test): Use it.
75515 (check1): New function.
75516 (test_main): Use it.
75517
75518 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75519
75520 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75521
75522 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75523
75524 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75525 (_G_LSEEK64): Likewise.
75526 (_G_MMAP64): Likewise.
75527 (_G_FSTAT64): Likewise.
75528 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75529 (_G_LSEEK64): Likewise.
75530 (_G_MMAP64): Likewise.
75531 (_G_FSTAT64): Likewise.
75532 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75533 unconditional. Call __mmap64 directly.
75534 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75535 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75536 __lseek64 directly.
75537 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75538 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75539 __mmap64 directly.
75540 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75541 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75542 __lseek64 directly.
75543 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75544 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75545 __lseek64 directly.
75546 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75547 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75548 __lseek64 directly.
75549 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75550 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75551 __fxstat64 directly.
75552 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75553 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75554 unconditional.
75555 (freopen64) [!_G_OPEN64]: Remove conditional code.
75556 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75557 unconditional.
75558 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75559 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75560 unconditional.
75561 (ftello64) [!_G_LSEEK64]: Remove conditional code.
75562 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75563 unconditional.
75564 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75565 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75566 unconditional.
75567 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75568 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75569 unconditional.
75570 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75571 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75572 unconditional.
75573 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75574 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75575 unconditional.
75576 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75577
75578 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75579
75580 [BZ #12140]
75581 * manual/memory.texi (Malloc Tunable Parameters): Add note
75582 about free list pointers overwriting some perturb bytes.
75583 Wording suggested by Roland McGrath.
75584
75585 2012-10-17 Joseph Myers <joseph@codesourcery.com>
75586
75587 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75588 (lgamma_test): Likewise.
75589 (tgamma_test): Likewise.
75590
75591 2012-10-16 Florian Weimer <fweimer@redhat.com>
75592
75593 [BZ #14700]
75594 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75595 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75596
75597 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
75598
75599 * NEWS: Mention BZ #14716.
75600 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75601 when removing AVAILABLE1_USES_J macro.
75602
75603 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
75604
75605 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75606 (__bswap_64): __uint64_t for unsigned 64-bit int.
75607
75608 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
75609
75610 * include/string.h (memmem): Declare libc hidden alias.
75611 * string/memmem.c (memmem): Define libc hidden alias.
75612 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75613 __read, __close instead of open, read, close.
75614
75615 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
75616
75617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75618 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75619 global and hidden.
75620 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75621 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75622 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75623 Likewise.
75624 (__rawmemchr_sse2): Likewise.
75625 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75626 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75627 (__strchr_sse2): Likewise.
75628 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75629 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75630 (__strcasecmp_sse2): Likewise.
75631 (__strncasecmp_sse2): Likewise.
75632 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75633 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75634 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75635 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75636 (__strrchr_sse2): Likewise.
75637 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75638 ifunc-impl-list.c.
75639 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75640 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75641 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75642 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75643 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75644 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75645 * sysdeps/x86_64/multiarch/memset.S: Likewise.
75646 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75647 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75648 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75649 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75650 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75651 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75652 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75653 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75654 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75655 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75656 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75657 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75658 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75659 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75660 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75661 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75662 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75663 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75665 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75666 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75667 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75668 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75669
75670 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75671 global and hidden.
75672 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75673 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75674 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75675 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75676 Likewise.
75677 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75678 Likewise.
75679 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75680 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75681 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75682 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75683 ifunc-impl-list.c.
75684 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75685 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75686 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75693 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75694 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75695 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75696 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75697 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
75698 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
75699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75700 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
75701 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75705 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75706 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75707 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75709 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75710 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75711 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75712 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75713 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75714 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75715 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75716 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75717 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75718 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75719 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75720 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75721 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75722 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75723 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75724 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75725
75726 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75727 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75728 * include/ifunc-impl-list.h: New file.
75729 * misc/ifunc-impl-list.c: Likewise.
75730 * misc/Makefile (routines): Add ifunc-impl-list.
75731 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75732 * string/test-string.h: Include <ifunc-impl-list.h>.
75733 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75734 TEST_NAME]: New variables.
75735 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75736 are defined.
75737 (test_init): Call __libc_ifunc_impl_list to initialize
75738 func_list if TEST_IFUNC and TEST_NAME are defined.
75739
75740 * string/Makefile (strop-tests): Add bcopy and bzero.
75741 * string/test-bcopy.c: New file.
75742 * string/test-bzero.c: Likewise.
75743 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75744 defined.
75745 * string/test-memset.c: Support bzero test if TEST_BZERO is
75746 defined.
75747 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75748 __libc_memmove.
75749 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75750 __libc_memset.
75751 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75752 of memset.
75753
75754 2012-10-10 Joseph Myers <joseph@codesourcery.com>
75755
75756 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75757 * configure: Regenerated.
75758
75759 * Makeconfig (+link-static-before-libc): Don't include
75760 $(link-static-libc).
75761
75762 * libio/libio.h (_IO_pos_t): Remove.
75763
75764 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75765
75766 * NEWS: Add note about FIPS mode. Wording suggested by Roland
75767 McGrath.
75768
75769 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75770
75771 * crypt/crypt-entry.c: Include fips-private.h.
75772 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75773 * crypt/md5c-test.c (main): Tolerate disabled MD5.
75774 * sysdeps/unix/sysv/linux/fips-private.h: New file.
75775 * sysdeps/generic/fips-private.h: New file, dummy fallback.
75776
75777 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75778
75779 * crypt/crypt-private.h: Include stdbool.h.
75780 (_ufc_setup_salt_r): Return bool.
75781 * crypt/crypt-entry.c: Include errno.h.
75782 (__crypt_r): Return NULL with EINVAL for bad salt.
75783 * crypt/crypt_util.c (bad_for_salt): New.
75784 (_ufc_setup_salt_r): Check that salt is long enough and within
75785 the specified alphabet.
75786 * crypt/badsalttest.c: New file.
75787 * crypt/Makefile (tests): Add it.
75788 ($(objpfx)badsalttest): New.
75789
75790 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
75791
75792 * NEWS: Add entry for BZ #14602.
75793
75794 2012-10-09 Joseph Myers <joseph@codesourcery.com>
75795
75796 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75797 type-generic.
75798 * math/libm-test.inc: Update comment listing what functions and
75799 macros are tested.
75800 (isgreater_test): New function.
75801 (isgreaterequal_test): Likewise.
75802 (isless_test): Likewise.
75803 (islessequal_test): Likewise.
75804 (islessgreater_test): Likewise.
75805 (isunordered_test): Likewise.
75806 (main): Call the new functions.
75807
75808 2012-10-09 Roland McGrath <roland@hack.frob.com>
75809
75810 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75811 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75812 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75813 * sysdeps/i386/configure: Regenerated.
75814 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75815 * sysdeps/mach/configure: Regenerated.
75816 * sysdeps/mach/hurd/configure: Regenerated.
75817 * sysdeps/powerpc/configure: Regenerated.
75818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75820 * sysdeps/s390/s390-32/configure: Regenerated.
75821 * sysdeps/s390/s390-64/configure: Regenerated.
75822 * sysdeps/sh/configure: Regenerated.
75823 * sysdeps/sparc/configure: Regenerated.
75824 * sysdeps/unix/sysv/linux/configure: Regenerated.
75825 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75826 * sysdeps/x86_64/configure: Regenerated.
75827
75828 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75829 defined. Don't check if MAP is NULL.
75830
75831 2012-10-09 Joseph Myers <joseph@codesourcery.com>
75832
75833 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75834 (_G_stat64): Likewise.
75835 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75836 (_G_stat64): Likewise.
75837 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75838 instead of struct _G_stat64.
75839 * libio/fileops.c (mmap_remap_check): Likewise.
75840 (decide_maybe_mmap): Likewise.
75841 (_IO_new_file_seekoff): Likewise.
75842 (_IO_file_stat): Likewise.
75843 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75844 _G_off64_t.
75845 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75846 instead of struct _G_stat64.
75847 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75848
75849 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
75850
75851 [BZ #14602]
75852 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75853 Replace with ...
75854 (CHECK_EOL): New macro.
75855 (two_way_short_needle): Check beginning of haystack for EOL. Use
75856 CHECK_EOL.
75857 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75858 Replace with CHECK_EOL.
75859 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75860 Replace with CHECK_EOL.
75861
75862 2012-10-08 Joseph Myers <joseph@codesourcery.com>
75863
75864 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75865 type-generic.
75866 * math/libm-test.inc: Update comment listing what functions and
75867 macros are tested.
75868 (finite_test): New function.
75869 (isinf_test): Likewise.
75870 (isnan_test): Likewise.
75871 (fpclassify_test): Test subnormal input.
75872 (isfinite_test): Likewise.
75873 (isnormal_test): Likewise.
75874 (main): Call the new functions.
75875
75876 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
75877
75878 [BZ #14660]
75879 * Makerules (%.dynsym): Force C locale when running
75880 $(OBJDUMP) --dynamic-syms.
75881
75882 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
75883
75884 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75885 <stdint.h>.
75886
75887 2012-10-06 David S. Miller <davem@davemloft.net>
75888
75889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75890 upper 32-bits of the length value in %o2 since we use branch-on-register
75891 tests which consider the entire 64-bit register.
75892
75893 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
75894
75895 * string/test-strstr.c (check2): Add a test for page boundary.
75896
75897 2012-10-05 David S. Miller <davem@davemloft.net>
75898
75899 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75900 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75901 file.
75902 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75903 sysdep_routines.
75904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75905 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75906 and bzero when HWCAP_SPARC_CRYPTO is present.
75907
75908 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
75909
75910 [BZ #14602]
75911 * string/test-strstr.c (check2): New function.
75912 (test_main): Call check2.
75913
75914 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75915 and bug-strchr1.
75916 * string/bug-strcasestr1.c (do_test): Moved to ...
75917 * string/test-strcasestr.c (check1): Here. New function.
75918 (do_one_test): Break out result checking code into ...
75919 (check_result): This. New function.
75920 (do_one_test): Call check_result.
75921 (test_main): Call check1.
75922 * string/bug-strchr1.c (do_test): Moved to ...
75923 * string/test-strchr.c (check1): Here. New function.
75924 (do_one_test): Break out result checking code into ...
75925 (check_result): This. New function.
75926 (do_one_test): Call check_result.
75927 (test_main): Call check1.
75928 * string/bug-strstr1.c (main): Moved to ...
75929 * string/test-strstr.c (check1): Here. New function.
75930 (do_one_test): Break out result checking code into ...
75931 (check_result): This. New function.
75932 (do_one_test): Call check_result.
75933 (test_main): Call check1.
75934 * string/bug-strcasestr1.c: Removed.
75935 * string/bug-strchr1.c: Likewise.
75936 * string/bug-strstr1.c: Likewise.
75937
75938 * elf/Makefile (dl-routines): Add hwcaps.
75939 * elf/dl-support.c (_dl_important_hwcaps): Removed.
75940 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75941 (_dl_important_hwcaps): Moved to ...
75942 * elf/dl-hwcaps.c: Here. New file.
75943 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75944
75945 [BZ #14557]
75946 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75947 if IS_IN_rtld isn't defined.
75948
75949 * elf/dl-support.c (_dl_sysinfo_map): New.
75950 Include "get-dynamic-info.h" and "setup-vdso.h".
75951 (_dl_non_dynamic_init): Call setup_vdso.
75952 * elf/dynamic-link.h: Don't include <assert.h>.
75953 (elf_get_dynamic_info): Moved to ...
75954 * elf/get-dynamic-info.h: Here. New file.
75955 * elf/dynamic-link.h: Include "get-dynamic-info.h".
75956 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75957 * elf/setup-vdso.h: Here. New file.
75958 * elf/rtld.c: Include "setup-vdso.h".
75959 (dl_main): Call setup_vdso.
75960
75961 2012-10-05 Joseph Myers <joseph@codesourcery.com>
75962
75963 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75964 creal in comment listing functions tested. List finite, isinf,
75965 isnan, isless, islessequal, isgreater, isgreaterequal,
75966 islessgreater, isunordered, lgamma_r and pow10 as functions and
75967 macros not tested. Mention which functions not tested are aliases
75968 for other functions. Fix typo. Note that signs of NaNs are not
75969 tested.
75970
75971 * scripts/config.guess: Update from config.git.
75972 * scripts/config.sub: Likewise.
75973
75974 2012-10-04 Roland McGrath <roland@hack.frob.com>
75975
75976 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75977 * misc/madvise.c (madvise): Renamed to __madvise.
75978 Make madvise a weak alias.
75979 * include/sys/mman.h: Declare __madvise.
75980 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75981 * sysdeps/unix/syscalls.list
75982 (madvise): Make __madvise the strong name, and madvise a weak alias.
75983 * sysdeps/unix/sysv/linux/syscalls.list
75984 (madvise, mmap): Remove redundant entries.
75985 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75986 * malloc/malloc.c (mtrim): Likewise.
75987 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75988
75989 2012-10-03 Roland McGrath <roland@hack.frob.com>
75990
75991 * sysdeps/mach/hurd/dl-cache.c: File removed.
75992 * config.h.in (USE_LDCONFIG): New #undef.
75993 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75994 * configure: Regenerated.
75995 * elf/Makefile (dl-routines): Add dl-cache only under
75996 [$(use-ldconfig) = yes].
75997 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75998 cache on [USE_LDCONFIG].
75999 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76000 [USE_LDCONFIG].
76001 * elf/rtld.c (dl_main): Likewise.
76002
76003 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76004
76005 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76006 _SC_LEVEL4_CACHE_LINESIZE.
76007
76008 2012-10-03 Roland McGrath <roland@hack.frob.com>
76009
76010 * sysdeps/unix/bsd/confstr.h: File removed.
76011
76012 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76013
76014 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76015 sys/sdt-config.h.
76016
76017 2012-10-02 Roland McGrath <roland@hack.frob.com>
76018
76019 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76020 Make 'mapoff' field ElfW(Off) rather than off_t.
76021
76022 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76023
76024 * nscd/Makefile: Remove nscd-cflags and all its users.
76025 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76026 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76027
76028 [BZ #10631]
76029 * malloc.c (malloc_printerr): Clarify error message.
76030
76031 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76032
76033 [BZ #14648]
76034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76035 Set bit_FMA_Usable if FMA is supported.
76036 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76037 macro.
76038 (bit_FMA4_Usable): Updated.
76039 (index_FMA_Usable): New macro.
76040 (CPUID_FMA): Likewise.
76041 (HAS_FMA): Defined with bit_FMA_Usable.
76042
76043 2012-10-01 Roland McGrath <roland@hack.frob.com>
76044
76045 * bits/types.h (__swblk_t): Type removed.
76046 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76047 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76049 (__SWBLK_T_TYPE): Likewise.
76050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76051 (__SWBLK_T_TYPE): Likewise.
76052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76053 (__SWBLK_T_TYPE): Likewise.
76054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76055 (__SWBLK_T_TYPE): Likewise.
76056
76057 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76058 Honza Horak <hhorak@redhat.com>
76059
76060 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76061 (xdr_mapname): Use YPMAXMAP as maxsize.
76062 (xdr_peername): Use YPMAXPEER as maxsize.
76063 (xdr_keydat): Use YPAXRECORD as maxsize.
76064 (xdr_valdat): Use YPMAXRECORD as maxsize.
76065
76066 2012-10-01 Roland McGrath <roland@hack.frob.com>
76067
76068 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76069
76070 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76071 * csu/init-first.c: ... here.
76072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76073 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76074 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76075 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76076 * sysdeps/i386/init-first.c: File removed.
76077 * sysdeps/sh/init-first.c: File removed.
76078
76079 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76080
76081 [BZ #14645]
76082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76083 if x * y might underflow to zero and z is zero.
76084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76086 * math/libm-test.inc (min_subnorm_value): New variable.
76087 (fma_test): Add more tests.
76088 (fma_test_towardzero): Likewise.
76089 (fma_test_downward): Likewise.
76090 (fma_test_upward): Likewise.
76091 (initialize): Set min_subnorm_value.
76092
76093 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76094
76095 [BZ #14638]
76096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76097 0 + 0.
76098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76099 mode for addition resulting in exact zero.
76100 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76102 exact 0 + 0.
76103 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76105 * math/libm-test.inc (fma_test): Add more tests.
76106 (fma_test_towardzero): New function.
76107 (fma_test_downward): Likewise.
76108 (fma_test_upward): Likewise.
76109 (main): Call the new functions.
76110
76111 2012-09-28 David S. Miller <davem@davemloft.net>
76112
76113 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76114
76115 2012-09-28 Roland McGrath <roland@hack.frob.com>
76116
76117 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76118 instead of SIGALRM.
76119
76120 * sysdeps/gnu/_G_config.h: Moved to ...
76121 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76122 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76123 * sysdeps/generic/_G_config.h: ... here.
76124
76125 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76126
76127 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76128
76129 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76130 Conditionalize target on [libnss_test1.so-version].
76131
76132 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76133
76134 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76135 (elfobjdir): Move out of conditionals.
76136
76137 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76138 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76139 (__nss_lookup_function): Conditionalize label remove_from_tree on
76140 [!DO_STATIC_NSS || SHARED], matching its only use.
76141
76142 2012-09-28 David S. Miller <davem@davemloft.net>
76143
76144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76146 file.
76147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76148 sysdep_routines.
76149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76151 when HWCAP_SPARC_CRYPTO is present.
76152
76153 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76154
76155 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76156
76157 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76158
76159 [BZ #6530]
76160 * stdio-common/vfprintf.c (process_string_arg): Revert
76161 2000-07-22 change.
76162
76163 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76164
76165 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76166 for testcase.
76167 * stdio-common/tst-sprintf.c: Include <locale.h>
76168 (main): Test sprintf's handling of incomplete multibyte
76169 characters.
76170
76171 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76172
76173 * elf/dl-runtime.c (VERSYMIDX): Removed.
76174 * elf/dl-version.c (VERSYMIDX): Likewise.
76175 * elf/do-rel.h (VERSYMIDX): Likewise.
76176 (VALIDX): Likewise.
76177 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76178 * elf/rtld.c (VALIDX): Likewise.
76179 (ADDRIDX): Likewise.
76180 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76181 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76182 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76183 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76184 (VALIDX): Likewise.
76185 (ADDRIDX): Likewise.
76186
76187 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76188
76189 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76190
76191 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76192
76193 [BZ #11438]
76194 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76195 to global scope.
76196 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76197 addresses are in the same scope as 192.0.2/24.
76198 * posix/gai.conf: Document new scope table defaults.
76199
76200 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76201
76202 [BZ #5298]
76203 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76204 for ftell. Compute offsets from write pointers instead.
76205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76206
76207 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76208
76209 [BZ #14543]
76210 * libio/Makefile (tests): New test case tst-fseek.
76211 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76212 combination works in wide mode.
76213 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76214 state when the external buffer state changes.
76215
76216 2012-09-27 David S. Miller <davem@davemloft.net>
76217
76218 [BZ #14376]
76219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76220 pass reloc->r_addend in as the 'high' argument to
76221 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76222
76223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76224
76225 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76226
76227 * rt/tst-aio2.c: Include <pthread.h>.
76228 * rt/tst-aio3.c: Likewise.
76229
76230 2012-09-27 Steve Ellcey <sellcey@mips.com>
76231
76232 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76233
76234 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76235
76236 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76237 contents on [SHARED].
76238
76239 2012-09-26 Marek Polacek <polacek@redhat.com>
76240
76241 [BZ #14530]
76242 [BZ #13741]
76243 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76244 for C++ and GCC <4.3 as well as for non GCC compilers.
76245
76246 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76247
76248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76249
76250 2012-09-25 Roland McGrath <roland@hack.frob.com>
76251
76252 * Makefile.in (all, install): Declare with .PHONY.
76253 Reported by Michael Hope <michael.hope@linaro.org>.
76254
76255 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76256
76257 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76258 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76259 system header.
76260 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76261 Likewise.
76262 (sydep_routines): Add the new and the internal functions.
76263 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76264 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76266 (GLIBC_2.17): Add the new function.
76267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76268 (GLIBC_2.17): Likewise.
76269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76270 (GLIBC_2.17): Likewise.
76271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76272 (GLIBC_2.17): Likewise.
76273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76274
76275 2012-09-25 Alan Modra <amodra@gmail.com>
76276
76277 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76278 Add release barrier before setting once_control to say
76279 initialisation is done. Add hints on lwarx. Use macro in
76280 place of isync.
76281 (clear_once_control): Add release barrier.
76282
76283 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76284
76285 [BZ #13629]
76286 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76287 specially.
76288 * math/s_clog10.c (__clog10): Likewise.
76289 * math/s_clog10f.c (__clog10f): Likewise.
76290 * math/s_clog10l.c (__clog10l): Likewise.
76291 * math/s_clogf.c (__clogf): Likewise.
76292 * math/s_clogl.c (__clogl): Likewise.
76293 * math/Makefile (libm-calls): Add x2y2m1.
76294 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76295 (__x2y2m1): Likewise.
76296 (__x2y2m1l): Likewise.
76297 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76298 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76299 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76301 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76302 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76303 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76304 * sysdeps/i386/fpu/libm-test-ulps: Update.
76305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76306
76307 [BZ #14621]
76308 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76309 int as type of variable DEPTH.
76310 (glob): Use size_t instead of int as type of variables NEWCOUNT
76311 and OLD_PATHC.
76312
76313 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76314
76315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76316 Add s_sincosf-sse2.
76317 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76318 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76319 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76320 macros for using routine as __sincosf_ia32.
76321 Use macro for function declaration and weak_alias.
76322 * sysdeps/i386/fpu/libm-test-ulps: Update.
76323
76324 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76326
76327 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76328 subnormal argument.
76329 * math/s_cexpf.c (__cexpf): Likewise.
76330 * math/s_csinf.c (__csinf): Likewise.
76331 * math/s_csinhf.c (__csinhf): Likewise.
76332 * math/s_ctanf.c (__ctanf): Likewise.
76333 * math/s_ctanhf.c (__ctanhf): Likewise.
76334 * math/s_ccosh.c (__ccoshf): Likewise.
76335 * math/s_cexp.c (__cexpl): Likewise.
76336 * math/s_csin.c (__csin): Likewise.
76337 * math/s_csinh.c (__csinh): Likewise.
76338 * math/s_ctan.c (__ctan): Likewise.
76339 * math/s_ctanh.c (ctanh): Likewise.
76340 * math/s_ccoshl.c (__ccoshl): Likewise.
76341 * math/s_cexpl.c (__cexpl): Likewise.
76342 * math/s_csinl.c (__csinl): Likewise.
76343 * math/s_csinhl.c (__csinhl): Likewise.
76344 * math/s_ctanl.c (__ctanl): Likewise.
76345 * math/s_ctanhl.c (__ctanhl): Likewise.
76346
76347 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76348
76349 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76350 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76351 (_IO_off_t): Define to __off_t, not _G_off_t.
76352 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76353 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76354 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76355 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76356 type of __dummy and __dummy2 fields.
76357 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76358 (_G_ssize_t): Likewise.
76359 (_G_off_t): Likewise.
76360 (_G_pid_t): Likewise.
76361 (_G_uid_t): Likewise.
76362 (_G_wchar_t): Likewise.
76363 (_G_wint_t): Likewise.
76364 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76365 (_G_ssize_t): Likewise.
76366 (_G_off_t): Likewise.
76367 (_G_pid_t): Likewise.
76368 (_G_uid_t): Likewise.
76369 (_G_wchar_t): Likewise.
76370 (_G_wint_t): Likewise.
76371 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76372 (_G_ssize_t): Likewise.
76373 (_G_off_t): Likewise.
76374 (_G_pid_t): Likewise.
76375 (_G_uid_t): Likewise.
76376 (_G_wchar_t): Likewise.
76377 (_G_wint_t): Likewise.
76378
76379 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76380
76381 * malloc/arena.c: Include malloc-sysdep.h.
76382 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76383 is sufficient to shrink the heap or an unmap is needed.
76384 * sysdeps/generic/malloc-sysdep.h: New file. Define
76385 new function check_may_shrink_heap.
76386 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76387 new function check_may_shrink_heap.
76388
76389 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76390
76391 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76392 comments.
76393
76394 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76395
76396 * catgets/test-gencat.sh: Add "set -e".
76397 * elf/tst-pathopt.sh: Likewise.
76398 * grp/tst_fgetgrent.sh: Likewise.
76399 * iconvdata/run-iconv-test.sh: Likewise.
76400 * intl/tst-gettext.sh: Likewise.
76401 * intl/tst-gettext2.sh: Likewise.
76402 * intl/tst-gettext4.sh: Likewise.
76403 * intl/tst-gettext6.sh: Likewise.
76404 * intl/tst-translit.sh: Likewise.
76405 * io/ftwtest-sh: Likewise.
76406 * libio/test-freopen.sh: Likewise.
76407 * malloc/tst-mtrace.sh: Likewise.
76408 * posix/globtest.sh: Likewise.
76409 * posix/tst-getconf.sh: Likewise.
76410 * posix/wordexp-tst.sh: Likewise.
76411 * stdio-common/tst-printf.sh: Likewise.
76412 * stdio-common/tst-unbputc.sh: Likewise.
76413 * stdlib/tst-fmtmsg.sh: Likewise.
76414 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76415 * catgets/Makefile: Do not specify -e option when running
76416 testsuite shell scripts.
76417 * elf/Makefile: Likewise.
76418 * grp/Makefile: Likewise.
76419 * iconvdata/Makefile: Likewise.
76420 * intl/Makefile: Likewise.
76421 * io/Makefile: Likewise.
76422 * libio/Makefile: Likewise.
76423 * malloc/Makefile: Likewise.
76424 * posix/Makefile: Likewise.
76425 * stdio-common/Makefile: Likewise.
76426 * stdlib/Makefile: Likewise.
76427 * sysdeps/x86_64/Makefile: Likewise.
76428
76429 * io/ftwtest-sh: Add copyright header.
76430 * posix/globtest.sh: Likewise.
76431 * posix/tst-getconf.sh: Likewise.
76432 * posix/wordexp-tst.sh: Likewise.
76433 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76434
76435 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76436
76437 [BZ #13679]
76438 * Makeconfig (+link): Defined as $(+link-static) if
76439 $(build-shared) isn't yes.
76440 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76441 isn't yes.
76442 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76443
76444 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76445
76446 [BZ #14562]
76447 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76448 new chunk size with MALLOC_ALIGN_MASK.
76449
76450 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76451
76452 [BZ #5044]
76453 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76454 <rounding-mode.h>.
76455 (__printf_fphex): Determine rounding using get_rounding_mode and
76456 round_away.
76457 * stdio-common/tst-printf-round.c (struct hex_test): New
76458 structure.
76459 (hex_tests): New variable.
76460 (test_hex_in_one_mode): New function.
76461 (do_test): Also run tests for hex float output.
76462
76463 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76464
76465 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76466 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76467 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76468 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76469 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76470 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76471 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76472 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76473
76474 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76475
76476 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76477 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76478 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76479 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76480
76481 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76482
76483 [BZ #14579]
76484 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76485 mode only.
76486 * elf/tst-rtld-load-self.sh: New test.
76487 * elf/Makefile: Run it.
76488
76489 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76490
76491 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76492 (tst-writev-ENV): Remove.
76493 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76494
76495 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76496
76497 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76498
76499 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76500
76501 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76502 unconditional.
76503 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76504 Likewise.
76505 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76506 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76507 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76508 Likewise.
76509
76510 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76511
76512 [BZ #14587]
76513 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76514 * config.make.in (have-cpp-asm-debuginfo): Removed.
76515 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76516 * configure: Regenerated.
76517
76518 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76519
76520 [BZ #5044]
76521 * stdio-common/printf_fp.c: Include <stdbool.h> and
76522 <rounding-mode.h>.
76523 (___printf_fp): Determine rounding using get_rounding_mode and
76524 round_away.
76525 * stdio-common/tst-printf-round.c: New file.
76526 * stdio-common/Makefile (tests): Add tst-printf-round.
76527 (link-libm): New variable.
76528 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76529
76530 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76531
76532 [BZ #14576]
76533 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76534 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76535 Likewise.
76536 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76537 Likewise.
76538
76539 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76540
76541 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76542 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76543 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76545
76546 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76547
76548 [BZ #14518]
76549 * include/rounding-mode.h: New file.
76550 * sysdeps/generic/get-rounding-mode.h: Likewise.
76551 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76552 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76553 (MAX_VALUE): New macro.
76554 (MIN_VALUE): Likewise.
76555 (overflow_value): New function.
76556 (underflow_value): Likewise.
76557 (round_and_return): Use overflow_value and underflow_value to
76558 determine return values in overflow and underflow cases. Use
76559 round_away to determine rounding depending on rounding mode.
76560 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76561 determine return values in overflow and underflow cases.
76562 * stdlib/tst-strtod-round.c: Include <fenv.h>.
76563 (struct test_results): New structure.
76564 (struct test): Use struct test_results to store expected results
76565 for all rounding modes.
76566 (TEST): Include expected results for all rounding modes.
76567 (test_in_one_mode): New function.
76568 (do_test): Use test_in_one_mode to compute and check results.
76569 Check results for all rounding modes.
76570 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76571 $(link-libm).
76572
76573 2012-12-09 Allan McRae <allan@archlinux.org>
76574
76575 * sysdeps/i386/fpu/libm-test-ulps: Update
76576
76577 2012-09-11 Joseph Myers <joseph@codesourcery.com>
76578
76579 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76580 (_G_int32_t): Likewise.
76581 (_G_uint16_t): Likewise.
76582 (_G_uint32_t): Likewise.
76583 (_G_HAVE_BOOL): Likewise.
76584 (_G_HAVE_ATEXIT): Likewise.
76585 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76586 (_G_HAVE_IO_FILE_OPEN): Likewise.
76587 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76588 (_G_int32_t): Likewise.
76589 (_G_uint16_t): Likewise.
76590 (_G_uint32_t): Likewise.
76591 (_G_HAVE_BOOL): Likewise.
76592 (_G_HAVE_ATEXIT): Likewise.
76593 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76594 (_G_HAVE_IO_FILE_OPEN): Likewise.
76595 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76596 (_G_int32_t): Likewise.
76597 (_G_uint16_t): Likewise.
76598 (_G_uint32_t): Likewise.
76599 (_G_HAVE_BOOL): Likewise.
76600 (_G_HAVE_ATEXIT): Likewise.
76601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76602 (_G_HAVE_IO_FILE_OPEN): Likewise.
76603
76604 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
76605
76606 * csu/libc-tls.c: Update copyright years.
76607
76608 2012-09-10 Joseph Myers <joseph@codesourcery.com>
76609
76610 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76611 [!_G_USING_THUNKS]: Remove conditional code.
76612 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76613 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76614
76615 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76616 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76617 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76618 (_G_VTABLE_LABEL_PREFIX): Likewise.
76619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76620 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76622 (_G_VTABLE_LABEL_PREFIX): Likewise.
76623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76624 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76626 (_G_VTABLE_LABEL_PREFIX): Likewise.
76627 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76628
76629 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
76630
76631 * libio/Makefile: Include ../Makeconfig before tests.
76632 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76633 only if $(build-shared) is yes.
76634
76635 * iconv/gconv_db.c: Update copyright years.
76636
76637 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76638
76639 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76640 unwind info if defined PIC. Fix special cases description.
76641 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76642
76643 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76644 DP_HI_MASK entry.
76645 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76646
76647 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
76648
76649 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76650
76651 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76652 is NULL.
76653
76654 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76655 (LDLIBS-tst-chk4): This.
76656 (LDFLAGS-tst-chk5): Renamed to ...
76657 (LDLIBS-tst-chk5): This.
76658 (LDFLAGS-tst-chk6): Renamed to ...
76659 (LDLIBS-tst-chk6): This.
76660 (LDFLAGS-tst-lfschk4): Renamed to ...
76661 (LDLIBS-tst-lfschk4): This.
76662 (LDFLAGS-tst-lfschk5): Renamed to ...
76663 (LDLIBS-tst-lfschk5): This.
76664 (LDFLAGS-tst-lfschk6): Renamed to ...
76665 (LDLIBS-tst-lfschk6): This.
76666
76667 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76668 on $(common-objpfx)soversions.mk.
76669
76670 2012-09-07 Joseph Myers <joseph@codesourcery.com>
76671
76672 [BZ #10014]
76673 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76674 example host name.
76675
76676 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
76677
76678 * malloc/arena.c (arena_get_retry): New function that gets
76679 another arena for the caller to try its request on.
76680 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76681 current arena cannot fulfill the request.
76682 (__libc_memalign): Likewise.
76683 (__libc_memalign): Likewise.
76684 (__libc_pvalloc): Likewise.
76685 (__libc_calloc): Likewise.
76686
76687 2012-09-05 John Tobey <john.tobey@gmail.com>
76688
76689 [BZ #13542]
76690 * manual/arith.texi (Operations on Complex): Fix description
76691 of carg branch cut.
76692
76693 2012-09-06 Joseph Myers <joseph@codesourcery.com>
76694
76695 [BZ #10014]
76696 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
76697 host name.
76698
76699 [BZ #10038]
76700 * manual/memory.texi (Memory): Make order of menu items match
76701 order of sections.
76702
76703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76704
76705 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76706 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
76707 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76708
76709 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76710
76711 * csu/libc-tls.c (static_dtv): Renamed to ...
76712 (_dl_static_dtv): This. Make it global.
76713 (_dl_initial_dtv): Removed.
76714 (__libc_setup_tls): Updated.
76715 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76716 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76717 DL_INITIAL_DTV.
76718
76719 2012-09-06 Petr Machata <pmachata@redhat.com>
76720
76721 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76722 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76723 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76724 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76725
76726 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76727
76728 [BZ #14545]
76729 * csu/libc-tls.c (_dl_initial_dtv): New variable.
76730 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76731 freeing dtv[-1].
76732
76733 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76734
76735 [BZ #14544]
76736 * Makeconfig (link-static-before-libc): Replace $(+prector)
76737 with $(+prectorT).
76738 (link-static-after-libc): Replace $(+postctor) with
76739 $(+postctorT).
76740 (link-bounded): Replace $(+prector)/$(+postctor) with
76741 $(+prectorT)/$(+postctorT).
76742 (+prectorT): New macro.
76743 (+postctorT): Likewise.
76744
76745 2012-09-06 Joseph Myers <joseph@codesourcery.com>
76746
76747 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76748 (round_str): Handle values above the maximum for IBM long double
76749 as inexact.
76750 * stdlib/tst-strtod-round.c (tests): Regenerated.
76751
76752 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76753
76754 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76755 assembler flag.
76756 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76757 zarch_nohighgprs around the zarch optimized routines.
76758 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76759 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76761 for zarch.
76762
76763 2012-09-05 David S. Miller <davem@davemloft.net>
76764
76765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76766
76767 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76768 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76769 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76770 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76771 entries.
76772
76773 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76774
76775 * malloc/arena.c: Fold copyright years.
76776 * malloc/mcheck.c, malloc/memusage.c: Likewise.
76777
76778 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76779
76780 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76781
76782 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76783
76784 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
76785
76786 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76787
76788 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76789 change internal state upon failure.
76790
76791 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76792
76793 * malloc/mcheck.c (mcheck_check_all): Fix typo.
76794 * malloc/memusage.c (mmap): Likewise.
76795 (mmap64, mremap): Likewise. Adjust name in comment.
76796
76797 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
76798
76799 * libio/fileops.c: Fix typos in comments.
76800 * libio/oldfileops.c: Likewise.
76801 * libio/wfileops.c: Likewise.
76802
76803 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
76804
76805 [BZ #1349]
76806 * malloc/Makefile (tests): Add tst-malloc-usable test case.
76807 (tst-malloc-usable-ENV): Set environment for test case.
76808 * malloc/hooks.c (malloc_check_get_size): New function to get
76809 requested size.
76810 * malloc/malloc.c (musable): Use malloc_check_get_size.
76811 * malloc/tst-malloc-usable.c: New test case.
76812
76813 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
76814
76815 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76816
76817 2012-09-05 Allan McRae <allan@archlinux.org>
76818
76819 [BZ #13966]
76820 * configure.in (CXX_SYSINCLUDES): Use compiler output to
76821 determine header location.
76822 * configure: Regenerated.
76823
76824 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
76825
76826 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76827 float format.
76828 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76829 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76830 format.
76831 (test): Regenerate.
76832
76833 2012-09-04 David S. Miller <davem@davemloft.net>
76834
76835 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76836 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76838
76839 2012-09-04 Florian Weimer <fweimer@redhat.com>
76840
76841 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76842 failures.
76843
76844 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76845
76846 2012-09-04 Joseph Myers <joseph@codesourcery.com>
76847
76848 [BZ #9914]
76849 * libio/iogetdelim.c: Include <limits.h>.
76850 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76851 + len + 1 would overflow.
76852
76853 2012-09-03 Andreas Jaeger <aj@suse.de>
76854
76855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76856 * sysdeps/i386/fpu/libm-test-ulps: Update.
76857
76858 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76859
76860 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76861 Add s_sinf-sse2, s_conf-sse2.
76862
76863 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76864 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76865 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76866 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76867
76868 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76869 for using routine as __sinf_ia32.
76870 Use macro for function declaration and weak_alias.
76871 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76872 for using routine as __cosf_ia32.
76873 Use macro for function declaration and weak_alias.
76874
76875 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76876 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76877
76878 * sysdeps/x86_64/fpu/s_sinf.S: New file.
76879 * sysdeps/x86_64/fpu/s_cosf.S: New file.
76880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76881
76882 * math/libm-test.inc (cos_test): Add more test cases.
76883 (sin_test): Likewise.
76884 (sincos_test): Likewise.
76885
76886 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76887
76888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76889 (IFUNC_RESOLVE): Make pointers to the specialized implementations
76890 hidden.
76891 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76892
76893 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
76894
76895 [BZ #14538]
76896 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76897 first element of the GOT.
76898 (elf_machine_load_address): Return the difference between
76899 the runtime address of _DYNAMIC and elf_machine_dynamic ().
76900
76901 2012-09-01 Allan McRae <allan@archlinux.org>
76902
76903 [BZ #13412]
76904 * configure.in (AWK): Require gawk version 3.0 or later.
76905 * configure: Regenerated.
76906
76907 2012-09-01 Joseph Myers <joseph@codesourcery.com>
76908
76909 * sysdeps/unix/sysv/linux/kernel-features.h
76910 (__ASSUME_POSIX_CPU_TIMERS): Remove.
76911 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76912 [__NR_clock_getres]: Make code unconditional.
76913 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76914 (clock_getcpuclockid): Remove code left unreachable by removal of
76915 conditionals.
76916 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76917 code unconditional.
76918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76920 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76921 Make code unconditional.
76922 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76924 * sysdeps/unix/sysv/linux/clock_settime.c
76925 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76926 conditional code.
76927 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76928 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76929
76930 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
76931
76932 [BZ #14476]
76933 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76934 scripts/test-installation.pl.
76935
76936 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76937 and $ld_so_version if it is set.
76938
76939 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
76940
76941 [BZ #14516]
76942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76943 failure if reading from procfs failed.
76944 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76945
76946 2012-08-27 Joseph Myers <joseph@codesourcery.com>
76947
76948 * sysdeps/unix/sysv/linux/kernel-features.h
76949 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76950 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76951 Remove conditional code.
76952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76953 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76954 Remove conditional code.
76955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76956 * sysdeps/unix/sysv/linux/i386/fxstat.c
76957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76959 * sysdeps/unix/sysv/linux/i386/fxstatat.c
76960 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76962 * sysdeps/unix/sysv/linux/i386/lxstat.c
76963 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76965 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76966 Remove conditional code.
76967 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76968 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76969 Remove conditional code.
76970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76972 <kernel-features.h>.
76973 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76974 Remove.
76975 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76976 Remove conditional code.
76977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76978 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76979 Remove conditional.
76980
76981 2012-08-27 Mike Frysinger <vapier@gentoo.org>
76982
76983 [BZ #5400]
76984 * NEWS: Add fixed bug number.
76985
76986 2012-08-27 Joseph Myers <joseph@codesourcery.com>
76987
76988 [BZ #14519]
76989 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76990 underflowing exponent in case of negative sign.
76991 * stdlib/tst-strtod-round-data: Add more tests.
76992 * stdlib/tst-strtod-round.c (tests): Regenerated.
76993
76994 [BZ #3479]
76995 * stdlib/strtod_l.c (NDIG): Remove.
76996 (HEXNDIG): Likewise.
76997 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76998 smallest representable value.
76999 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77000 lie within an exact representation of 1/2 ulp of the result.
77001 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77002 unconditionally.
77003 (TENS_P9_IDX): Define unconditionally.
77004 (TENS_P9_SIZE): Likewise.
77005 (TENS_P10_IDX): Likewise.
77006 (TENS_P10_SIZE): Likewise.
77007 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77008 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77010 entries for 10^2^13 and 10^2^14.
77011 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77012 (TENS_P13_IDX): Define.
77013 (TENS_P13_SIZE): Likewise.
77014 (TENS_P14_IDX): Likewise.
77015 (TENS_P14_SIZE): Likewise.
77016 (_fpioconst_pow10): Change array size to
77017 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77018 unconditional.
77019 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77020 1024]: Add entries for 10^2^13 and 10^2^14.
77021 [LAST_POW10 > _LAST_POW10]: Remove #error.
77022 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77023 (_fpioconst_pow10): Change array size to
77024 FPIOCONST_POW10_ARRAY_SIZE.
77025 * stdlib/gen-fpioconst.c: New file.
77026 * stdlib/gen-tst-strtod-round.c: Likewise.
77027 * stdlib/tst-strtod-round-data: Likewise.
77028 * stdlib/tst-strtod-round.c: Likewise.
77029 * stdlib/Makefile (tests): Add tst-strtod-round.
77030
77031 [BZ #14459]
77032 * stdlib/strtod_l.c: Include <stdint.h>.
77033 (NDEBUG): Do not define.
77034 (round_and_return): Change EXPONENT parameter to type intmax_t.
77035 Rearrange calculations to avoid internal overflow possibilities.
77036 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77037 Rearrange calculations to avoid internal overflow possibilities.
77038 Assert that number fits inside MPNSIZE limbs.
77039 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77040 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77041 calculations and add assertions to avoid internal overflow
77042 possibilities. Add casts to avoid signed/unsigned operations.
77043 * stdlib/tst-strtod-overflow.c: New file.
77044 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77045
77046 2012-08-25 Marek Polacek <polacek@redhat.com>
77047
77048 * time/time.h: Fix some typos in comments.
77049
77050 2012-08-23 Roland McGrath <roland@hack.frob.com>
77051
77052 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77053 * posix/tst-rfc3484-2.c: Likewise.
77054 * posix/tst-rfc3484-3.c: Likewise.
77055
77056 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77057
77058 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77059 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77060
77061 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77062
77063 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77064 #include of fxstatat64.c.
77065
77066 2012-08-22 Roland McGrath <roland@hack.frob.com>
77067
77068 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77069 * shadow/getspent_r.c: Likewise.
77070 * shadow/getspnam.c: Likewise.
77071 * shadow/getspnam_r.c: Likewise.
77072 * gshadow/getsgent.c: Likewise.
77073 * gshadow/getsgent_r.c: Likewise.
77074 * gshadow/getsgnam.c: Likewise.
77075 * gshadow/getsgnam_r.c: Likewise.
77076 * inet/getnetbyad.c: Likewise.
77077 * inet/getnetbyad_r.c: Likewise.
77078 * inet/getnetbynm.c: Likewise.
77079 * inet/getnetbynm_r.c: Likewise.
77080 * inet/getnetent.c: Likewise.
77081 * inet/getnetent_r.c: Likewise.
77082 * inet/getproto.c: Likewise.
77083 * inet/getproto_r.c: Likewise.
77084 * inet/getprtent.c: Likewise.
77085 * inet/getprtent_r.c: Likewise.
77086 * inet/getprtname.c: Likewise.
77087 * inet/getprtname_r.c: Likewise.
77088 * inet/getrpcbyname.c: Likewise.
77089 * inet/getrpcbyname_r.c: Likewise.
77090 * inet/getrpcbynumber.c: Likewise.
77091 * inet/getrpcbynumber_r.c: Likewise.
77092 * inet/getrpcent.c: Likewise.
77093 * inet/getrpcent_r.c: Likewise.
77094 * inet/getaliasent.c: Likewise.
77095 * inet/getaliasent_r.c: Likewise.
77096 * inet/getaliasname.c: Likewise.
77097 * inet/getaliasname_r.c: Likewise.
77098 * nscd/getgrgid_r.c: Likewise.
77099 * nscd/getgrnam_r.c: Likewise.
77100 * nscd/gethstbyad_r.c: Likewise.
77101 * nscd/gethstbynm3_r.c: Likewise.
77102 * nscd/getpwnam_r.c: Likewise.
77103 * nscd/getpwuid_r.c: Likewise.
77104 * nscd/getsrvbynm_r.c: Likewise.
77105 * nscd/getsrvbypt_r.c: Likewise.
77106 * nscd/gai.c: Likewise.
77107
77108 * configure.in (build_nscd): New substituted variable, set
77109 by --disable-build-nscd and defaults to $use_nscd.
77110 * configure: Regenerated.
77111 * config.make.in (build-nscd): New substituted variable.
77112 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77113 Change conditional to require [$(build-nscd) = yes] as well.
77114 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77115
77116 [BZ #13696]
77117 * configure.in (use_nscd): New substituted variable, set by
77118 --disable-nscd. If enabled, define USE_NSCD.
77119 * configure: Regenerated.
77120 * config.h.in: Add USE_NSCD.
77121 * config.make.in (use-nscd): New substituted variable.
77122 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77123 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77124 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77125 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77126 (CFLAGS-getgrnam_r.c): Likewise.
77127 (CFLAGS-initgroups.c): Likewise.
77128 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77129 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77130 Variables removed.
77131 * inet/getnetgrent_r.c
77132 (nscd_setnetgrent): New function, broken out of ...
77133 (setnetgrent): ... here. Call it.
77134 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77135 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77136 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77137 * nscd/Makefile (routines, aux): Move definitions after include of
77138 Makeconfig. Conditionalize on [$(use-nscd) != no].
77139 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77140 Conditionalize on [USE_NSCD].
77141 (is_nscd, nscd_init_cb): Likewise.
77142 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77143 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77144 * nss/nss_db/db-init.c: Likewise.
77145 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77146 [USE_NSCD].
77147 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77148 (make_request): Use it.
77149 (cache_valid_p): New function.
77150 (__check_pf): Use it.
77151 * NEWS: Add item for --disable-nscd.
77152
77153 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77154
77155 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77156 to support sed >= 4.2.1-20-ga9bf076.
77157 * configure: Regenerated.
77158
77159 2012-08-22 Roland McGrath <roland@hack.frob.com>
77160
77161 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77162 Conditionalize whole body on [IREL].
77163
77164 2012-08-22 Jeff Law <law@redhat.com>
77165
77166 [BZ #14505]
77167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77168 if the family is PF_UNSPEC.
77169
77170 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77171
77172 * Makerules (lib-version): Rename from V.
77173 (install-lib-nosubdir): Change V to lib-version.
77174
77175 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77176
77177 [BZ #14252]
77178 * powerpc32/power6/wcschr.c: New file.
77179 * powerpc32/power6/wcscpy.c: New file.
77180 * powerpc32/power6/wcsrchr.c: New file.
77181 * powerpc64/power6/wcschr.c: New file.
77182 * powerpc64/power6/wcscpy.c: New file.
77183 * powerpc64/power6/wcsrchr.c: New file.
77184
77185 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77186
77187 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77188 (two_way_short_needle): Use it.
77189 * string/strstr.c (AVAILABLE1_USES_J): Define.
77190 * string/strcasestr.c: Likewise.
77191
77192 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77193 array references.
77194 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77195
77196 [BZ #11607]
77197 * NEWS: Add an entry.
77198 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77199 define their defaults.
77200 (two_way_short_needle): Detect end-of-string on-the-fly.
77201 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77202 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77203 * string/bug-strcasestr1.c: New test.
77204 * string/Makefile: Run it.
77205
77206 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77207
77208 [BZ #11607]
77209 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77210 the first character.
77211
77212 2012-08-21 Roland McGrath <roland@hack.frob.com>
77213
77214 * csu/elf-init.c (__libc_csu_irel): Function removed.
77215 * csu/libc-start.c (apply_irel): New function.
77216 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77217
77218 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77219
77220 * sysdeps/unix/sysv/linux/kernel-features.h
77221 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77222 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77223 <kernel-features.h>.
77224 [__NR_fadvise64_64]: Make code unconditional.
77225 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77226 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77227 !__NR_fadvise64_64)]: Likewise.
77228 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77229 !__NR_fadvise64_64))]: Likewise.
77230 [__NR_fadvise64]: Make code unconditional.
77231 [!__NR_fadvise64]: Remove conditional code.
77232 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77233 <kernel-features.h>.
77234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77235 unconditional.
77236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77237 conditional code.
77238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77239 not include <kernel-features.h>.
77240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77241 unconditional.
77242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77243 conditional code.
77244 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77245 include <kernel-features.h>.
77246 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77247 unconditional.
77248 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77249 conditional code.
77250
77251 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77252
77253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77254 slight instruction rearrangements per scrollpipe analysis.
77255 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77256
77257 2012-08-20 Roland McGrath <roland@hack.frob.com>
77258
77259 * manual/syslog.texi (syslog; vsyslog, closelog):
77260 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77261 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77262
77263 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77264 DSOCAPS to match condition on defining it.
77265
77266 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77267
77268 * sysdeps/unix/sysv/linux/kernel-features.h
77269 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77274 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77275 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77277 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77278 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77279
77280 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77281 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77282
77283 * sysdeps/unix/sysv/linux/kernel-features.h
77284 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77285 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77286 unconditional.
77287 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77288 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77289 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77290 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77291 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77292 Make code unconditional.
77293 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77294 (__mmap64) [!__NR_mmap2]: Likewise.
77295 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77296 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77297 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77298 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77299 [__NR_mmap2]: Make code unconditional.
77300 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77301 (__mmap64) [!__NR_mmap2]: Likewise.
77302
77303 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77304
77305 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77306
77307 2012-08-18 Andreas Jaeger <aj@suse.de>
77308
77309 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77310
77311 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77312
77313 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77314 * include/unistd.h (__have_sock_cloexec): Likewise.
77315 (__have_pipe2): Likewise.
77316 (__have_dup3): Likewise.
77317
77318 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77319
77320 [BZ #9685]
77321 * include/unistd.h (__have_pipe2): Change define into an extern int.
77322 (__have_dup3): Likewise.
77323 * socket/have_sock_cloexec.c: Include fcntl.h.
77324 (__have_pipe2): New variable.
77325 (__have_dup3): Likewise.
77326
77327 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77328
77329 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77330
77331 2012-08-17 Marek Polacek <polacek@redhat.com>
77332
77333 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77334 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77335
77336 2012-08-17 Roland McGrath <roland@hack.frob.com>
77337
77338 * configure.in: Add AC_SUBST for sysheaders.
77339 * configure: Regenerated.
77340 * config.make.in (sysheaders): New substituted variable.
77341
77342 * sysdeps/unix/mkfifo.c: Moved ...
77343 * sysdeps/posix/mkfifo.c: ... here.
77344 * sysdeps/unix/mkfifoat.c: Moved ...
77345 * sysdeps/posix/mkfifoat.c: ... here.
77346
77347 * sysdeps/unix/utime.c: Moved ...
77348 * sysdeps/posix/utime.c: ... here.
77349
77350 * sysdeps/unix/time.c: Moved ...
77351 * sysdeps/posix/time.c: ... here.
77352 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77353 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77354
77355 * sysdeps/unix/nice.c: Moved ...
77356 * sysdeps/posix/nice.c: ... here.
77357
77358 * sysdeps/unix/alarm.c: Moved ...
77359 * sysdeps/posix/alarm.c: ... here.
77360
77361 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77362
77363 2012-08-17 Jeff Law <law@redhat.com>
77364
77365 * intl/Makefile (codeset_mo): New variable.
77366 ($(codeset_mo)): New target.
77367 (tst-codeset.out): Depend on that. Remove explicit rule.
77368 (tst-gettext3.out, tst-gettext5.out): Likewise.
77369 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77370 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77371 * intl/tst-codeset.sh: Remove.
77372 * intl/tst-gettext3.sh: Likewise.
77373 * intl/tst-gettext5.sh: Likewise.
77374
77375 2012-08-17 Roland McGrath <roland@hack.frob.com>
77376
77377 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77378 * sysdeps/unix/syscalls.list: ... here.
77379
77380 * sysdeps/posix/getaddrinfo.c
77381 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77382 (gaiconf_init, gaiconf_reload): Use them.
77383 [!_STATBUF_ST_NSEC]
77384 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77385 Define using time_t rather than struct timespec.
77386
77387 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77388 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77389 Macros removed.
77390 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77391 [!NO_THREADS].
77392 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77393 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77394 Likewise.
77395
77396 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77397 __libc_cleanup_push argument.
77398
77399 * bits/param.h: New file.
77400 * misc/sys/param.h: New file.
77401 * include/sys/param.h: New file.
77402 * misc/Makefile (headers): Add bits/param.h.
77403 * sysdeps/generic/sys/param.h: File removed.
77404 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77405 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77406 * sysdeps/mach/hurd/bits/param.h: New file.
77407 * sysdeps/mach/hurd/sys/param.h: File removed.
77408
77409 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77410 last change.
77411
77412 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77413 [_IO_MTSAFE_IO].
77414 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77415 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77416 New macros.
77417
77418 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77419 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77420 rather than -D_IO_MTSAFE_IO conditionally.
77421 * stdio-common/Makefile (CPPFLAGS): Likewise.
77422 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77423 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77424 Use $(libio-mtsafe).
77425 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77426 of -D_IO_MTSAFE_IO.
77427 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77428 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77429 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77430 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77431 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77432 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77433 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77434 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77435 (CFLAGS-fread_u_chk.c): Likewise.
77436 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77437 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77438 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77439 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77440 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77441 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77442 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77443 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77444 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77445
77446 * libio/Makefile: Test [$(libc-reentrant) = yes]
77447 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77448
77449 * Makeconfig
77450 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77451 * sysdeps/pthread/configure: File removed.
77452 * sysdeps/pthread/Makeconfig: New file.
77453 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77454 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77455
77456 2012-08-16 Gary Benson <gbenson@redhat.com>
77457
77458 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77459 unmapping the first object in a namespace.
77460
77461 2012-08-16 Roland McGrath <roland@hack.frob.com>
77462
77463 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77464 (__internal_setnetgrent): ... this. Add internal_function to
77465 definition. Add libc_hidden_def.
77466 (setnetgrent): Update caller.
77467 (internal_endnetgrent): Renamed to ...
77468 (__internal_endnetgrent): ... this. Add internal_function to
77469 definition. Add libc_hidden_def.
77470 (endnetgrent): Update caller.
77471 (internal_getnetgrent_r): Renamed to ...
77472 (__internal_getnetgrent_r): ... this. Add internal_function to
77473 definition. Add libc_hidden_def.
77474 (__getnetgrent_r): Update caller.
77475 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77476
77477 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77478
77479 * stdlib/longlong.h: Update from GCC.
77480
77481 2012-08-16 Roland McGrath <roland@hack.frob.com>
77482
77483 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77484 on _QL, which is set by umul_ppmm but never used.
77485 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77486 variables, which are set by GMP macros but never used.
77487 * stdio-common/_itowa.c (_itowa): Likewise.
77488 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77489 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77490
77491 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77492
77493 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77494 struct La_sh_regs is not constant.
77495 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77496 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77497 and struct La_sparc64_regs are not constant.
77498
77499 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77500
77501 * sysdeps/unix/sysv/linux/kernel-features.h
77502 (__ASSUME_POSIX_TIMERS): Remove.
77503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77505 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77506 Make code unconditional.
77507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77508 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77509 Make code unconditional.
77510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77511 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77512 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77513 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77514 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77515 Make code unconditional.
77516 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77517 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77518 (__libc_missing_posix_timers): Remove.
77519
77520 2012-08-15 Roland McGrath <roland@hack.frob.com>
77521
77522 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77523 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77524
77525 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77526
77527 * elf/dl-sym.c: Include <stdlib.h>.
77528
77529 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77530 constants, which avoids warnings in 32-bit builds.
77531
77532 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77533 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77534
77535 * misc/lseek.c: File moved to ...
77536 * io/lseek.c: ... here.
77537
77538 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77539
77540 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77541 shifting LEN more than 31 bits at once.
77542
77543 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77544
77545 [BZ #14195]
77546 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77547 segmentation fault for a case of two empty input strings.
77548 * string/test-strncasecmp.c (check1): Renamed to...
77549 (bz12205): ...this.
77550 (bz14195): Add new testcase for two empty input strings and N > 0.
77551 (test_main): Call new testcase, adapt for renamed function.
77552
77553 2012-08-15 Andreas Jaeger <aj@suse.de>
77554
77555 [BZ #14090]
77556 * crypt/md5test2.c: New test, based on test supplied by Serge
77557 Belyshev <belyshev@depni.sinp.msu.ru>.
77558 * crypt/Makefile (xtests): Add md5test-giant..
77559 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77560
77561 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
77562
77563 [BZ #14090]
77564 * crypt/md5.c (md5_process_block): Don't assume the buffer
77565 length is less than 2**32.
77566 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77567 length is less than 2**64.
77568
77569 2012-08-15 Roland McGrath <roland@hack.frob.com>
77570
77571 * string/str-two-way.h: Include <sys/param.h>.
77572 (MAX): Macro removed.
77573
77574 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77575 Move #define and #undef of memmove to just before and after
77576 including <string.h>.
77577
77578 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77579 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77580 and after including <string.h>. Move declarations of
77581 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77582 to before #include "string/memmove.c".
77583
77584 * include/dirent.h: Declare __getdirentries.
77585
77586 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77587 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77588
77589 2012-08-14 Mike Frysinger <vapier@gentoo.org>
77590
77591 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77592 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77593 * sysdeps/i386/configure: Regenerated.
77594 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77595 STABS_CURRENT_FILE, and STABS_FUN.
77596 (END): Remove call to STABS_FUN_END.
77597 (STABS_CURRENT_FILE1): Delete.
77598 (STABS_CURRENT_FILE): Likewise.
77599 (STABS_FUN): Likewise.
77600 (STABS_FUN_END): Likewise.
77601 (STABS_FUN2): Likewise.
77602 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77603 * sysdeps/x86_64/configure: Regenerated.
77604
77605 2012-08-14 Roland McGrath <roland@hack.frob.com>
77606
77607 * elf/dl-open.c: Include <atomic.h>.
77608 * elf/dl-lookup.c: Likewise.
77609
77610 2012-08-14 Joseph Myers <joseph@codesourcery.com>
77611
77612 * sysdeps/unix/sysv/linux/kernel-features.h
77613 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77614 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77615 unconditionally.
77616 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77617 unconditionally.
77618 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77619 condition on __ASSUME_CLONE_THREAD_FLAGS.
77620
77621 2012-08-14 Andreas Jaeger <aj@suse.de>
77622
77623 * sysdeps/i386/fpu/libm-test-ulps: Update.
77624
77625 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
77626
77627 * include/atomic.h (atomic_exchange_and_add): Split into ...
77628 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77629 New atomic macros.
77630
77631 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
77632
77633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77634
77635 2012-08-13 Jeff Law <law@redhat.com>
77636
77637 * manual/stdio.texi (snprintf): Clarify handling of the trailing
77638 null byte in the output string.
77639
77640 2012-08-10 Joseph Myers <joseph@codesourcery.com>
77641
77642 * sysdeps/unix/sysv/linux/kernel-features.h
77643 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77644 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77645 (__ASSUME_ARG_MAX_STACK_BASED): Define.
77646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77647 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77648 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
77649 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77650
77651 2012-08-09 Jeff Law <law@redhat.com>
77652
77653 [BZ #13939]
77654 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77655 When avoid_arena is set, don't retry in the that arena. Pick the
77656 next one, whatever it might be.
77657 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77658 (arena_lock): Pass in new parameter to arena_get2.
77659 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77660 arena_get2.
77661 (__libc_malloc): Unify retrying after main arena failure with
77662 __libc_memalign version.
77663 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77664
77665 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
77666
77667 [BZ #14166]
77668 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77669 to __redirect_strstr.
77670 (__strstr_sse42): Use typeof __redirect_strstr.
77671 (__strstr_ia32): Likewise.
77672 (__libc_strstr): New prototype.
77673 (strstr): Renamed to ...
77674 (__libc_strstr): This.
77675 (strstr): New strong alias of __libc_strstr.
77676 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77677 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77678 __redirect_time.
77679 Include <time.h>.
77680 (__libc_time): New prototype.
77681 (time_ifunc): Replace time with __libc_time.
77682 (time): New strong alias and hidden definition of __libc_time.
77683 (__GI_time): Remove strong alias.
77684 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77685 Include <stddef.h>.
77686 (memmove): Redefined to __redirect_memmove.
77687 (__memmove_sse2): Use typeof __redirect_memmove.
77688 (__memmove_ssse3): Likewise.
77689 (__memmove_ssse3_back): Likewise.
77690 (__libc_memmove): New prototype.
77691 (memmove): Renamed to ...
77692 (__libc_memmove): This.
77693 (memmove): New strong alias of __libc_memmove.
77694
77695 2012-08-08 Mark Salter <msalter@redhat.com>
77696
77697 * elf/elf.h
77698 (R_MN10300_TLS_GD): Define.
77699 (R_MN10300_TLS_LD): Likewise.
77700 (R_MN10300_TLS_LDO): Likewise.
77701 (R_MN10300_TLS_GOTIE): Likewise.
77702 (R_MN10300_TLS_IE): Likewise.
77703 (R_MN10300_TLS_LE): Likewise.
77704 (R_MN10300_TLS_DTPMOD): Likewise.
77705 (R_MN10300_TLS_DTPOFF): Likewise.
77706 (R_MN10300_TLS_TPOFF): Likewise.
77707 (R_MN10300_SYM_DIFF): Likewise.
77708 (R_MN10300_ALIGN): Likewise.
77709 (R_MN10300_NUM): Update.
77710
77711 2012-08-08 Joseph Myers <joseph@codesourcery.com>
77712
77713 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77714 Remove.
77715
77716 2012-08-08 Roland McGrath <roland@hack.frob.com>
77717
77718 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77719
77720 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77721 sysdeps/unix -> sysdeps/posix move.
77722 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77723
77724 2012-08-07 Allan McRae <allan@archlinux.org>
77725
77726 [BZ #14303]
77727 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77728 (SUNOS_CPP): Likewise.
77729 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77730 not found.
77731 (open_input): Call CPP using execvp.
77732
77733 2012-08-07 Joseph Myers <joseph@codesourcery.com>
77734
77735 * sysdeps/unix/sysv/linux/kernel-features.h
77736 (__ASSUME_PROT_GROWSUPDOWN): Remove.
77737 (__ASSUME_NO_CLONE_DETACHED): Likewise.
77738 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77739 (__ASSUME_WAITID_SYSCALL): Likewise.
77740 * sysdeps/unix/sysv/linux/dl-execstack.c
77741 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77742 code unconditional.
77743 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77744 conditional code.
77745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77746 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77747 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77748 code.
77749 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77750 unconditional.
77751 [__ASSUME_WAITID_SYSCALL]: Likewise.
77752 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77753
77754 2012-08-07 Roland McGrath <roland@hack.frob.com>
77755
77756 * sysdeps/unix/closedir.c: Renamed to ...
77757 * sysdeps/posix/closedir.c: ... here.
77758 * sysdeps/unix/dirfd.c: Renamed to ...
77759 * sysdeps/posix/dirfd.c: ... here.
77760 * sysdeps/unix/dirstream.h: Renamed to ...
77761 * sysdeps/posix/dirstream.h: ... here.
77762 * sysdeps/unix/fdopendir.c: Renamed to ...
77763 * sysdeps/posix/fdopendir.c: ... here.
77764 * sysdeps/unix/opendir.c: Renamed to ...
77765 * sysdeps/posix/opendir.c: ... here.
77766 * sysdeps/unix/readdir.c: Renamed to ...
77767 * sysdeps/posix/readdir.c: ... here.
77768 * sysdeps/unix/readdir_r.c: Renamed to ...
77769 * sysdeps/posix/readdir_r.c: ... here.
77770 * sysdeps/unix/rewinddir.c: Renamed to ...
77771 * sysdeps/posix/rewinddir.c: ... here.
77772 * sysdeps/unix/seekdir.c: Renamed to ...
77773 * sysdeps/posix/seekdir.c: ... here.
77774 * sysdeps/unix/telldir.c: Renamed to ...
77775 * sysdeps/posix/telldir.c: ... here.
77776 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77777 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77778 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77779 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77780
77781 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77782 * bits/fcntl.h: ... here.
77783
77784 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77785 not 0.
77786 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77787 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77788 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77789 (struct flock): Move l_start, l_len to the beginning.
77790 Use __pid_t for l_pid.
77791 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77792 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77793 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77794 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77795 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77796 [__USE_LARGEFILE64] (struct flock64): New type.
77797 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77798
77799 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77800 * bits/dirent.h: ... here.
77801
77802 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77803 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77804
77805 2012-08-07 Joseph Myers <joseph@codesourcery.com>
77806
77807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77808 Change from 2.6.0 to 2.6.16.
77809 * sysdeps/unix/sysv/linux/configure: Regenerated.
77810 * sysdeps/unix/sysv/linux/kernel-features.h
77811 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77812 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77813 version.
77814 (__ASSUME_UTIMES): Likewise.
77815 (__ASSUME_CLONE_STOPPED): Remove.
77816 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77817 architectures, not kernel version.
77818 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77819 (__ASSUME_NO_CLONE_DETACHED): Likewise.
77820 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77821 (__ASSUME_WAITID_SYSCALL): Likewise.
77822 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77823 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77824 * README: State 2.6.16 as minimum Linux kernel version. Do not
77825 refer to older versions.
77826
77827 2012-08-06 Roland McGrath <roland@hack.frob.com>
77828
77829 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77830 Define alphasort64 as an alias.
77831 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77832 Define versionsort64 as an alias.
77833 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77834 Define scandir64 as an alias.
77835 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77836 Define scandirat64 as an alias.
77837 * dirent/alphasort64.c (alphasort64):
77838 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77839 * dirent/versionsort64.c: Likewise.
77840 * dirent/scandir64.c: Likewise.
77841 * dirent/scandirat64.c: Likewise.
77842 * sysdeps/wordsize-64/alphasort.c: File removed.
77843 * sysdeps/wordsize-64/alphasort64.c: File removed.
77844 * sysdeps/wordsize-64/scandir.c: File removed.
77845 * sysdeps/wordsize-64/scandir64.c: File removed.
77846 * sysdeps/wordsize-64/scandirat.c: File removed.
77847 * sysdeps/wordsize-64/scandirat64.c: File removed.
77848 * sysdeps/wordsize-64/versionsort.c: File removed.
77849 * sysdeps/wordsize-64/versionsort64.c: File removed.
77850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77852 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77854 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77858
77859 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77861 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77863 [defined __arch64__ || defined __sparcv9]
77864 (__INO_T_MATCHES_INO64_T): New macro.
77865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77866 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77867 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77868 * sysdeps/unix/sysv/linux/bits/dirent.h
77869 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77870 (_DIRENT_MATCHES_DIRENT64): New macro.
77871
77872 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77873 Define lockf64 as an alias.
77874 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77875 Define fseeko64 as an alias.
77876 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77877 Define ftello64 as an alias.
77878 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77879 Define _IO_fgetpos64 and fgetpos64 as aliases.
77880 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77881 Define _IO_fsetpos64 and fsetpos64 as aliases.
77882 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77883 Conditionalize body on this.
77884 * libio/fseeko64.c: Likewise.
77885 * libio/ftello64.c: Likewise.
77886 * libio/iofgetpos64.c: Likewise.
77887 * libio/iofsetpos64.c: Likewise.
77888 * sysdeps/wordsize-64/lockf.c: File removed.
77889 * sysdeps/wordsize-64/lockf64.c: File removed.
77890 * sysdeps/wordsize-64/fseeko.c: File removed.
77891 * sysdeps/wordsize-64/fseeko64.c: File removed.
77892 * sysdeps/wordsize-64/ftello.c: File removed.
77893 * sysdeps/wordsize-64/ftello64.c: File removed.
77894 * sysdeps/wordsize-64/iofgetpos.c: File removed.
77895 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77896 * sysdeps/wordsize-64/iofsetpos.c: File removed.
77897 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77908
77909 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77911 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77913 [defined __arch64__ || defined __sparcv9]
77914 (__OFF_T_MATCHES_OFF64_T): New macro.
77915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77916 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77918 (__OFF_T_MATCHES_OFF64_T): New macro.
77919
77920 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
77921
77922 * stdlib/secure-getenv.c (__secure_getenv): Replace
77923 GLIBC_2_16 with GLIBC_2_17.
77924
77925 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
77926
77927 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77929
77930 2012-08-03 David S. Miller <davem@davemloft.net>
77931
77932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77933
77934 2012-08-03 Joseph Myers <joseph@codesourcery.com>
77935
77936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77937 Remove.
77938 (__ASSUME_CORRECT_SI_PID): Likewise.
77939 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77940 (__ASSUME_TMPFS_NAME): Likewise.
77941 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77942 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77943 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77944 (HAVE_AUX_SECURE): Make definition unconditional.
77945 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77946 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77947
77948 2012-08-03 Roland McGrath <roland@hack.frob.com>
77949
77950 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77951 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77952 * sysdeps/mach/hurd/eloop-threshold.h: New file.
77953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77954 __eloop_threshold instead of SYMLOOP_MAX.
77955
77956 * sysdeps/generic/eloop-threshold.h: New file.
77957 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77958 of MAXSYMLINKS.
77959 * elf/chroot_canon.c (chroot_canon): Likewise.
77960
77961 2012-08-03 Joseph Myers <joseph@codesourcery.com>
77962
77963 [BZ #13717]
77964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77965 Change to 2.6.0 everywhere.
77966 * sysdeps/unix/sysv/linux/configure: Regenerated.
77967 * sysdeps/unix/sysv/linux/kernel-features.h
77968 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77969 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77970 kernel versions.
77971 (__ASSUME_POSIX_TIMERS): Define unconditionally.
77972 (__ASSUME_FUTEX_REQUEUE): Remove.
77973 (__ASSUME_STATFS64): Define unconditionally.
77974 (__ASSUME_AT_SECURE): Likewise.
77975 (__ASSUME_CORRECT_SI_PID): Likewise.
77976 (__ASSUME_TGKILL): Define without depending on kernel version for
77977 i386.
77978 (__ASSUME_UTIMES): Likewise.
77979 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77980 kernel version.
77981 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77982 (__ASSUME_TMPFS_NAME): Likewise.
77983 * README: Update reference to Linux kernel versions.
77984
77985 2012-08-02 Marek Polacek <polacek@redhat.com>
77986
77987 [BZ #14150]
77988 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
77989 libc_cv_asm_type_prefix with %.
77990 * configure: Regenerated.
77991 * include/libc-symbols.h: Remove comment about
77992 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77993 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77994 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77995 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77996 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77997 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77998 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77999 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78000 * elf/tst-unique2mod1.c: Likewise.
78001 * elf/tst-unique1mod2.c: Likewise.
78002 * elf/tst-unique1mod1.c: Likewise.
78003 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78004 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78005 Replace ASM_TYPE_DIRECTIVE with .type.
78006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78007 * sysdeps/i386/sysdep.h: Likewise.
78008 * sysdeps/x86_64/sysdep.h: Likewise.
78009 * sysdeps/sh/sysdep.h: Likewise.
78010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78011 Do not define ASM_TYPE_DIRECTIVE.
78012 * sysdeps/powerpc/sysdep.h: Likewise.
78013 * sysdeps/powerpc/powerpc32/sysdep.h:
78014 Replace ASM_TYPE_DIRECTIVE with .type.
78015 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78016 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78017 * sysdeps/i386/fpu/e_powf.S: Likewise.
78018 * sysdeps/i386/fpu/e_expl.S: Likewise.
78019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78021 * sysdeps/i386/fpu/e_pow.S: Likewise.
78022 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78023 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78024 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78025 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78026 * sysdeps/i386/fpu/e_log2.S: Likewise.
78027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78028 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78029 * sysdeps/i386/fpu/e_powl.S: Likewise.
78030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78031 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78032 * sysdeps/i386/fpu/e_logl.S: Likewise.
78033 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78034 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78035 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78036 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78038 * sysdeps/i386/fpu/e_log.S: Likewise.
78039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78040 * sysdeps/i386/fpu/e_logf.S: Likewise.
78041 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78043 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78044 * sysdeps/i386/fpu/e_log10.S: Likewise.
78045 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78046 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78047 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78048 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78049 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78051 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78052 * sysdeps/i386/i686/strtok.S: Likewise.
78053 * sysdeps/i386/i386-mcount.S: Likewise.
78054 * sysdeps/i386/strtok.S: Likewise.
78055 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78056 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78058 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78059 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78064 * sysdeps/x86_64/_mcount.S: Likewise.
78065 * sysdeps/x86_64/strtok.S: Likewise.
78066 * sysdeps/sh/_mcount.S: Likewise.
78067
78068 2012-08-01 Roland McGrath <roland@hack.frob.com>
78069
78070 * libio/iofopen.c: Include <fcntl.h>.
78071 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78072 (_IO_fopen64, fopen64): Define as aliases.
78073 * libio/iofopen64.c: Include <fcntl.h>.
78074 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78075 Conditionalize body on this.
78076 * sysdeps/wordsize-64/iofopen.c: File removed.
78077 * sysdeps/wordsize-64/iofopen64.c: File removed.
78078
78079 2012-08-01 Marek Polacek <polacek@redhat.com>
78080
78081 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78082 Use dlfcn directly instead of a variable.
78083 (binfmt-subdir): Do not define.
78084 (dlfcn): Likewise.
78085
78086 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78087
78088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78089 Remove all definitions.
78090 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78091 <kernel-features.h>.
78092 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78093 (miss_F_GETOWN_EX): Remove all definitions.
78094 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78095 macro definition.
78096 [!__ASSUME_FCNTL64]: Remove conditional code.
78097 [__ASSUME_FCNTL64]: Make code unconditional.
78098 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78099 <kernel-features.h>.
78100 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78101 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78102 (lockf64) [__NR_fcntl64]: Make code unconditional.
78103 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78104
78105 * sysdeps/unix/sysv/linux/kernel-features.h
78106 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78107 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78108 Make code unconditional.
78109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78112 [__NR_vfork]: Make code unconditional.
78113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78116 [__NR_vfork]: Make code unconditional.
78117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78119
78120 2012-08-01 Roland McGrath <roland@hack.frob.com>
78121
78122 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78123 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78124
78125 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78126 Define mkstemp64 as an alias.
78127 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78128 Define mkstemps64 as an alias.
78129 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78130 Define mkostemp64 as an alias.
78131 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78132 Define mkostemps64 as an alias.
78133 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78134 Conditionalize body on this.
78135 * misc/mkostemp64.c: Likewise.
78136 * misc/mkostemps64.c: Likewise.
78137 * misc/mkstemps64.c: Likewise.
78138 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78139 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78140 * sysdeps/wordsize-64/mkostemp.c: File removed.
78141 * sysdeps/wordsize-64/mkstemp.c: File removed.
78142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78146
78147 [BZ #14138]
78148 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78149 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78150 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78151 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78152
78153 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78154 compat_symbol macros from <shlib-compat.h> rather than the underlying
78155 default_symbol_version and symbol_version macros, so that DEFAULT
78156 lines in shlib-versions are respected.
78157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78158
78159 2012-08-01 Florian Weimer <fweimer@redhat.com>
78160
78161 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78162 Declare with warn_unused_result.
78163 (setgid, setregid, setegid, setresgid): Likewise.
78164 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78165 Likewise.
78166 * WUR-REPORT: Remove set*id functions.
78167
78168 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78169
78170 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78171
78172 2012-07-31 Roland McGrath <roland@hack.frob.com>
78173
78174 [BZ #10191]
78175 * include/sys/socket.h (__libc_accept, __libc_accept4):
78176 Add attribute_hidden.
78177 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78178
78179 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78180 use of PTR_MANGLE.
78181 * inet/getnetgrent_r.c (setup): Likewise.
78182
78183 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78184
78185 2012-07-31 David S. Miller <davem@davemloft.net>
78186
78187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78188
78189 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78190
78191 [BZ #13629]
78192 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78193 value between 1.0 and 2.0 and smaller part has absolute value less
78194 than 1.0.
78195 * math/s_clog10.c (__clog10): Likewise.
78196 * math/s_clog10f.c (__clog10f): Likewise.
78197 * math/s_clog10l.c (__clog10l): Likewise.
78198 * math/s_clogf.c (__clogf): Likewise.
78199 * math/s_clogl.c (__clogl): Likewise.
78200 * math/libm-test.inc (clog_test): Add more tests.
78201 (clog10_test): Likewise.
78202 * sysdeps/i386/fpu/libm-test-ulps: Update.
78203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78204
78205 2012-07-31 Florian Weimer <fweimer@redhat.com>
78206
78207 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78208 Exit with zero in case no suitable GID is found, and write a
78209 message to standard error.
78210
78211 2012-07-30 Roland McGrath <roland@hack.frob.com>
78212
78213 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78214 rather than to 1.
78215 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78216 (MAXPATHLEN): Removed.
78217 (NOGROUP, NODEV): New macros.
78218 (setbit, clrbit, isset, isclr): New macros.
78219 (howmany, roundup, powerof2): New macros.
78220 (DEV_BSIZE): New macro.
78221
78222 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78223 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78224
78225 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78226 definition on [!__NO_LONG_DOUBLE_MATH].
78227
78228 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78229 PTR_MANGLE and PTR_DEMANGLE.
78230
78231 * socket/accept4.c (accept4): Rename to __libc_accept4.
78232 Define accept4 as a weak alias.
78233
78234 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78235 on [_DIRENT_HAVE_D_TYPE].
78236 * io/ftw.c (ftw_dir): Likewise.
78237
78238 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78239
78240 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78241
78242 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78243 Use the BSD numbers rather than the arbitrary ones we had.
78244 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78245 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78246 (SIGXCPU, SIGXFSZ): New macros.
78247 (_NSIG): Now 32.
78248
78249 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78250 initializer on [_LIBC_REENTRANT].
78251
78252 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78253 definitions inside [_POSIX_MAPPED_FILES].
78254
78255 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78256
78257 * dirent/opendir.c: Include <fcntl.h>.
78258
78259 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78260 (__libc_getspecific): Likewise.
78261 (__libc_key_create): Likewise.
78262
78263 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78264 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78265 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78266 (tmpfile64): Define as alias.
78267 * sysdeps/wordsize-64/tmpfile.c: File removed.
78268 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78271
78272 * stdio-common/vfscanf.c: Include <stdbool.h>.
78273 * nss/makedb.c: Likewise.
78274 * stdio-common/_i18n_number.h: Likewise.
78275 * argp/argp-help.c: Likewise.
78276 * posix/wordexp.c: Likewise.
78277 * sysdeps/posix/spawni.c: Likewise.
78278 * nss/nss_files/files-initgroups.c: Likewise.
78279 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78280 * nss/nss_files/files-initgroups.c: Likewise.
78281 * nss/nss_db/db-netgrp.c: Likewise.
78282 * nss/nss_db/db-initgroups.c: Likewise.
78283 * io/fchmodat.c: Include <sys/stat.h>.
78284
78285 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78286 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78287
78288 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78289 [HAVE_MMAP].
78290
78291 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78292 Add multiple inclusion protection.
78293
78294 2012-07-27 David S. Miller <davem@davemloft.net>
78295
78296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78297
78298 2012-07-27 Gary Benson <gbenson@redhat.com>
78299
78300 [BZ #14298]
78301 * elf/rtld.c: Include <stap-probe.h>.
78302 (dl_main): Added static probes "init_start" and "init_complete".
78303 * elf/dl-load.c: Include <stap-probe.h>.
78304 (lose): Take new parameter "nsid".
78305 Added static probe "map_failed".
78306 (_dl_map_object_from_fd): Pass namespace id to lose.
78307 Added static probe "map_start".
78308 (open_verify): Pass namespace id to lose.
78309 * elf/dl-open.c: Include <stap-probe.h>.
78310 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78311 and "reloc_complete".
78312 * elf/dl-close.c: Include <stap-probe.h>.
78313 (_dl_close_worker): Added static probes "unmap_start" and
78314 "unmap_complete".
78315 * elf/rtld-debugger-interface.txt: New file documenting the above.
78316
78317 2012-07-26 Roland McGrath <roland@hack.frob.com>
78318
78319 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78320 rather than a string variable.
78321 * sunrpc/rpc_main.c (h_output): Likewise.
78322 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78323
78324 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78325
78326 * inet/check_native.c: New file.
78327
78328 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78329
78330 [BZ #13629]
78331 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78332 if larger part has absolute value 1.0.
78333 * math/s_clog10.c (__clog10): Likewise.
78334 * math/s_clog10f.c (__clog10f): Likewise.
78335 * math/s_clog10l.c (__clog10l): Likewise.
78336 * math/s_clogf.c (__clogf): Likewise.
78337 * math/s_clogl.c (__clogl): Likewise.
78338 * math/libm-test.inc (clog_test): Add more tests.
78339 (clog10_test): Likewise.
78340 * sysdeps/i386/fpu/libm-test-ulps: Update.
78341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78342
78343 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78344 (pltexit): Likewise.
78345 (La_regs): Likewise.
78346 (La_retval): Likewise.
78347 (int_retval): Likewise.
78348 Update #error for removed macros to refer only to definitions in
78349 tst-audit.h.
78350 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78351 macro.
78352 (pltexit): Likewise.
78353 (La_regs): Likewise.
78354 (La_retval): Likewise.
78355 (int_retval): Likewise.
78356 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78357 macro.
78358 (pltexit): Likewise.
78359 (La_regs): Likewise.
78360 (La_retval): Likewise.
78361 (int_retval): Likewise.
78362 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78363 macro.
78364 (pltexit): Likewise.
78365 (La_regs): Likewise.
78366 (La_retval): Likewise.
78367 (int_retval): Likewise.
78368 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78369 macro.
78370 (pltexit): Likewise.
78371 (La_regs): Likewise.
78372 (La_retval): Likewise.
78373 (int_retval): Likewise.
78374 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78375 macro.
78376 (pltexit): Likewise.
78377 (La_regs): Likewise.
78378 (La_retval): Likewise.
78379 (int_retval): Likewise.
78380 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78381 macro.
78382 (pltexit): Likewise.
78383 (La_regs): Likewise.
78384 (La_retval): Likewise.
78385 (int_retval): Likewise.
78386 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78387 macro definitions in tst-audit.h.
78388 * sysdeps/i386/tst-audit.h: New file.
78389 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78390 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78391 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78392 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78393 * sysdeps/sh/tst-audit.h: Likewise.
78394 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78395 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78396 * sysdeps/x86_64/tst-audit.h: Likewise.
78397
78398 2012-07-26 Andreas Jaeger <aj@suse.de>
78399
78400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78401 ptrace.
78402
78403 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78404 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78405 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78406 PTRACE_O_MASK.
78407 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78408 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78409 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78410
78411 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78412 value.
78413
78414 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78415 _sigsys.
78416 (si_call_addr, si_syscall, si_arch): Define new macro.
78417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78418 _sigsys.
78419 (si_call_addr, si_syscall, si_arch): Define new marcro.
78420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78421 _sigsys.
78422 (si_call_addr, si_syscall, si_arch): Define new macro.
78423 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78424 _sigsys.
78425 (si_call_addr, si_syscall, si_arch): Define new macro.
78426
78427 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78428
78429 [BZ #13717]
78430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78431 Change to 2.4.21 where previously 2.4.1.
78432 * sysdeps/unix/sysv/linux/configure: Regenerated.
78433 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78434 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78435 Linux kernel version.
78436 (__ASSUME_STD_AUXV): Remove.
78437 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78438 kernel version.
78439 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78440 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78441 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78442 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78443 (__ASSUME_NETLINK_SUPPORT): Likewise.
78444 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78445 (__no_netlink_support): Remove conditional definition.
78446 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78447 Remove.
78448 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78449 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78450 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78451 (if_nameindex_ioctl): Remove.
78452 (if_nameindex_netlink): Do not handle __no_netlink_support.
78453 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78454 code.
78455 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78456 Remove conditional code.
78457 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78458 code.
78459 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78460 unconditional.
78461 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78462 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78463 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78464 Remove.
78465 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78466 [!__ASSUME_STD_AUXV]: Remove conditional code.
78467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78468 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78469 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78471 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78472 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78473 code.
78474 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78476 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78477 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78478 conditional code.
78479 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78481 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78482 code.
78483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78484 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78485 conditional code.
78486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78487 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78488 code unconditional.
78489 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78490 conditional code.
78491 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78492 unconditional.
78493 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78494 conditional code.
78495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78496 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78497 unconditional.
78498 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78499 conditional code.
78500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78501 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78502 code unconditional.
78503 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78504 conditional code.
78505 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78506 unconditional.
78507 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78508 conditional code.
78509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78510 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78511 code unconditional.
78512 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78513 conditional code.
78514 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78515 unconditional.
78516 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78517 conditional code.
78518
78519 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78520
78521 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78523 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78524 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78525 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78526 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78527 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78528 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78529 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78530 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78531 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78532 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78533 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78534 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78535 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78536 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78537 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78539 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78541 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78542 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78544
78545 2012-07-25 Florian Weimer <fweimer@redhat.com>
78546
78547 * Versions.def: Add GLIBC_2.17.
78548 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78549 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78550 Introduce __libc_secure_getenv.
78551 * stdlib/Versions (2.17): Add secure_getenv
78552 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78553 * stdlib/secure-getenv.c: Rename __secure_getenv to
78554 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78555 symbol __secure_getenv for GLIBC_2.0.
78556 * stdlib/tst-secure-getenv.c: New.
78557 * stdlib/Makefile (tests): Add testcase.
78558 * manual/startup.texi (Environment Access): Document
78559 secure_getenv.
78560 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78561 __libc_secure_getenv.
78562 * inet/ruserpass.c (ruserpass): Likewise.
78563 * malloc/mtrace.c (mtrace): Likewise.
78564 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78565 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78566 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78567 * sysdeps/posix/tempname.c: Likewise. Evaluate
78568 HAVE_SECURE_GETENV.
78569 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78570 __secure_getenv to __libc_secure_getenv.
78571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78573 Likewise.
78574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78575 Likewise.
78576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78583
78584 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78585
78586 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78587 (struct La_i86_retval): Likewise.
78588 (struct La_x86_64_regs): Likewise.
78589 (struct La_x86_64_retval): Likewise.
78590 (struct La_x32_regs): Likewise.
78591 (struct La_x32_retval): Likewise.
78592 (struct La_ppc32_regs): Likewise.
78593 (struct La_ppc32_retval): Likewise.
78594 (struct La_ppc64_regs): Likewise.
78595 (struct La_ppc64_retval): Likewise.
78596 (struct La_sh_regs): Likewise.
78597 (struct La_sh_retval): Likewise.
78598 (struct La_s390_32_regs): Likewise.
78599 (struct La_s390_32_retval): Likewise.
78600 (struct La_s390_64_regs): Likewise.
78601 (struct La_s390_64_retval): Likewise.
78602 (struct La_sparc32_regs): Likewise.
78603 (struct La_sparc32_retval): Likewise.
78604 (struct La_sparc64_regs): Likewise.
78605 (struct La_sparc64_retval): Likewise.
78606 (struct audit_ifaces): Remove architecture-specific pltenter and
78607 pltexit members.
78608 * sysdeps/i386/ldsodefs.h: New file.
78609 * sysdeps/powerpc/ldsodefs.h: Likewise.
78610 * sysdeps/s390/ldsodefs.h: Likewise.
78611 * sysdeps/sh/ldsodefs.h: Likewise.
78612 * sysdeps/sparc/ldsodefs.h: Likewise.
78613 * sysdeps/x86_64/ldsodefs.h: Likewise.
78614
78615 2012-07-25 Marek Polacek <polacek@redhat.com>
78616
78617 [BZ #6808]
78618 * math/libm-test.inc (yn_test): Add another test.
78619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78620 to ERANGE when the result is +-Inf.
78621 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78622 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78623 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78624 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78625
78626 2012-07-24 Joseph Myers <joseph@codesourcery.com>
78627
78628 * conform/data/time.h-data (NULL): Use macro-constant. Require
78629 equal to 0.
78630 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
78631 clock_t.
78632 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
78633
78634 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
78635
78636 * configure.in <sysdeps resolving>: Correct printing
78637 Implies_before.
78638 * configure: Regenerate.
78639
78640 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
78641
78642 * math/w_ilogb.c: Include <limits.h>.
78643 * math/w_ilogbl.c: Likewise.
78644
78645 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78646
78647 * manual/lang.texi (__va_copy): Document primarily as ISO C99
78648 va_copy. Document allowing for unavailable va_copy only as
78649 pre-C99 compatibility.
78650 * manual/string.texi (Copying and Concatenation): Use va_copy
78651 instead of __va_copy in concat example.
78652
78653 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
78654
78655 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78656 (__sendto): Use create_address_port. Initialize APORT and deallocate
78657 it if not null.
78658
78659 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78660 with O_NOLINK passed to __file_name_lookup.
78661
78662 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78663 with O_NOLINK passed to __file_name_lookup.
78664
78665 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78666 negative N or less than NGIDS.
78667
78668 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78669 type to string_t. Set ERANGE as errno and return it if NAME is not big
78670 enough. Use memcpy instead of strncpy.
78671
78672 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78673
78674 * elf/Makefile (check-data): Remove.
78675 (localplt.data): New vpath directive.
78676 ($(objpfx)check-localplt.out): Use localplt.data from vpath
78677 instead of $(check-data).
78678 * scripts/data/localplt-generic.data: Move to ...
78679 * sysdeps/generic/localplt.data: ... here.
78680 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78681 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78682 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78684 ... here.
78685 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78687 ... here.
78688 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
78690 ... here.
78691 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
78693 ... here.
78694 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
78695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
78696 ... here.
78697 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
78698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
78699 ... here.
78700
78701 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78702
78703 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78704 PPC32 and PPC64 files.
78705 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78706 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78707
78708 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78709
78710 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78711 __makecontext_ret to ...
78712 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78713 ... here and call exit if uc_link is NULL. New file.
78714 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78715 __makecontext_ret.S.
78716 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78717 __makecontext_ret to ...
78718 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78719 ... here and call exit if uc_link is NULL. New file.
78720 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78721 __makecontext_ret.S.
78722
78723 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78724
78725 * elf/elf.h (R_390_IRELATIVE): New definition.
78726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78727 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
78728 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78730 (elf_machine_lazy_rel): Likewise.
78731 * sysdeps/s390/dl-irel.h: New file.
78732 * sysdeps/s390/s390-64/memcpy.S: New asm code.
78733 * sysdeps/s390/s390-64/memset.S: New asm code.
78734 * sysdeps/s390/s390-64/memcmp.S: New asm code.
78735 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78736 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78737 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78738 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78739 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78741 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78742 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78743 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78744 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78745 * sysdeps/s390/s390-32/memcpy.S: New asm code.
78746 * sysdeps/s390/s390-32/memset.S: New asm code.
78747 * sysdeps/s390/s390-32/memcmp.S: New asm code.
78748
78749 2012-07-17 Marek Polacek <polacek@redhat.com>
78750
78751 [BZ #14349]
78752 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78753 * sysdeps/s390/s390-64/configure.in: Likewise.
78754 * sysdeps/sparc/configure.in: Likewise.
78755 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78756 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78757 * sysdeps/i386/configure.in: Likewise.
78758 * sysdeps/x86_64/configure.in: Likewise.
78759 * sysdeps/sh/configure.in: Likewise.
78760 * sysdeps/s390/s390-32/configure: Regenerated.
78761 * sysdeps/s390/s390-64/configure: Likewise.
78762 * sysdeps/x86_64/configure: Likewise.
78763 * sysdeps/sh/configure: Likewise.
78764 * sysdeps/powerpc/powerpc64/configure: Likewise.
78765 * sysdeps/powerpc/powerpc32/configure: Likewise.
78766 * sysdeps/sparc/configure: Likewise.
78767 * sysdeps/i386/configure: Likewise.
78768
78769 * elf/dl-open.c: Comment fixes.
78770
78771 2012-07-17 Joseph Myers <joseph@codesourcery.com>
78772
78773 * Makefile [CXX] (check-data): Remove.
78774 [CXX] (c++-types.data): New vpath directive.
78775 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78776 vpath. Do not allow for C++ type data being missing.
78777 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78778 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78779 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78780 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78781 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78782 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78783 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78785 ... here.
78786 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78788 ... here.
78789 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78791 ... here.
78792 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78794 ... here.
78795 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78797 ... here.
78798 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78800 ... here.
78801 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78803 ... here.
78804 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78806
78807 * elf/tls-macros.h (TLS_LE): Move architecture-specific
78808 definitions to architecture-specific files.
78809 (TLS_IE): Likewise.
78810 (TLS_LD): Likewise.
78811 (TLS_GD): Likewise.
78812 * sysdeps/i386/tls-macros.h: New file.
78813 * sysdeps/powerpc/tls-macros.h: Likewise.
78814 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78815 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78816 * sysdeps/sh/tls-macros.h: Likewise.
78817 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78818 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78819 * sysdeps/x86_64/tls-macros.h: Likewise.
78820
78821 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
78822
78823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78824 zero value for regular exit case.
78825
78826 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78827 (__start_context): Preserve zero value for regular exit case.
78828
78829 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
78830 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78831
78832 * manual/setjmp.texi (setcontext): Clarify normal process
78833 termination when uc_link is the null pointer.
78834 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78835 exit call.
78836
78837 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
78838
78839 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78840 preprocessor. Test for each exception mask separately.
78841
78842 2012-07-16 Andreas Jaeger <aj@suse.de>
78843
78844 * po/ru.po: Update from translation team.
78845
78846 2012-07-15 Joseph Myers <joseph@codesourcery.com>
78847
78848 * conform/data/string.h-data (NULL): Use macro-constant. Require
78849 equal to 0.
78850 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78851 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78852 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78853 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78854 [ISO || ISO99 || ISO11] (*_t): Do not allow.
78855
78856 2012-07-13 Andreas Jaeger <aj@suse.de>
78857
78858 * po/fr.po: Update from translation team.
78859
78860 2012-07-12 Marek Polacek <polacek@redhat.com>
78861
78862 [BZ #14173]
78863 * math/libm-test.inc (yn_test): Add test for BZ #14173.
78864 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78865 loop condition.
78866
78867 2012-07-12 Joseph Myers <joseph@codesourcery.com>
78868
78869 [BZ #13717]
78870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78871 Change to 2.4.1 where previously 2.4.0.
78872 * sysdeps/unix/sysv/linux/configure: Regenerated.
78873 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78874 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78875 version.
78876 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78877 (__ASSUME_AT_CLKTCK): Remove.
78878 (__ASSUME_AT_PAGESIZE): Likewise.
78879 (__ASSUME_AT_XID): Likewise.
78880 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78881 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78882 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78883 unconditionally.
78884 (HAVE_AUX_PAGESIZE): Likewise.
78885 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78886 [__ASSUME_AT_CLKTCK]: Make code unconditional.
78887 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78888
78889 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
78890
78891 [BZ #14307]
78892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78893 the temporary buffer used to invoke __gethostbyname2_r,
78894 __gethostbyaddr_r and gethostbyname4_r to make room for struct
78895 host_data / struct gaih_addrtuple.
78896 * resolv/nss_dns/dns-host.c (global scope): Move definition of
78897 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78898 header file nss/nsswitch.h.
78899 * nss/nsswitch.h (global scope): Add definition of implementation
78900 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78901 resolv/nss_dns/dns-host.c).
78902
78903 2012-07-11 Andreas Jaeger <aj@suse.de>
78904
78905 * po/fr.po: Update from translation team.
78906
78907 * po/sv.po: Update from translation team
78908 * po/fr.po: Another update from translation team.
78909
78910 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78911
78912 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78913 for subnormals or multiply small sinh result by itself.
78914 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78916
78917 2012-07-11 David S. Miller <davem@davemloft.net>
78918
78919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78920
78921 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
78922
78923 [BZ #14347]
78924 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78925 (INTERNAL_MARK): Shift it here.
78926
78927 2012-07-10 Marek Polacek <polacek@redhat.com>
78928
78929 [BZ #14151]
78930 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
78931 libc_cv_asm_global_directive with .globl.
78932 * configure: Regenerated.
78933 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78934 with .globl.
78935 * sysdeps/i386/configure: Regenerated.
78936 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78937 with .globl.
78938 * sysdeps/x86_64/configure: Regenerated.
78939 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78940 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78941 * elf/tst-unique2mod2.c: Likewise.
78942 * elf/tst-unique2mod1.c: Likewise.
78943 * elf/tst-unique1mod2.c: Likewise.
78944 * elf/tst-unique1mod1.c: Likewise.
78945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78946 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78949 * sysdeps/mach/sysdep.h: Likewise.
78950 * sysdeps/i386/sysdep.h: Likewise.
78951 * sysdeps/i386/i386-mcount.S: Likewise.
78952 * sysdeps/x86_64/_mcount.S: Likewise.
78953 * sysdeps/x86_64/sysdep.h: Likewise.
78954 * sysdeps/sh/_mcount.S: Likewise.
78955 * sysdeps/sh/sysdep.h: Likewise.
78956 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78957 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78958 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78959 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78960 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78961 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78962 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78963 * locale/localeinfo.h: Likewise.
78964 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78965 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78966
78967 2012-07-09 Roland McGrath <roland@hack.frob.com>
78968
78969 [BZ #14336]
78970 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78971 system".
78972 * manual/message.texi (The Uniforum approach): Likewise.
78973 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78974 (glibc iconv Implementation): Likewise.
78975
78976 2012-07-09 Joseph Myers <joseph@codesourcery.com>
78977
78978 [BZ #14337]
78979 * math/s_clog.c (__clog): Avoid scaling a value down where that
78980 could result in underflow.
78981 * math/s_clog10.c (__clog10): Likewise.
78982 * math/s_clog10f.c (__clog10f): Likewise.
78983 * math/s_clog10l.c (__clog10l): Likewise.
78984 * math/s_clogf.c (__clogf): Likewise.
78985 * math/s_clogl.c (__clogl): Likewise.
78986 * math/libm-test.inc (clog_test): Add more tests.
78987 (clog10_test): Likewise.
78988 * sysdeps/i386/fpu/libm-test-ulps: Update.
78989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78990
78991 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
78992
78993 [BZ #14283]
78994 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78995 by 7 not 8 to examine high bit of fractional part.
78996
78997 [BZ #14042]
78998 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78999 for call to __mcount_internal.
79000 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79001 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79002 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79003
79004 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79005
79006 [BZ #14154]
79007 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79008 approximation for values within 0x1p-13f of an odd multiple of
79009 pi/4.
79010 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79011 exception. Add more tests.
79012 * sysdeps/i386/fpu/libm-test-ulps: Update.
79013
79014 [BZ #6778]
79015 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79016 inputs and return -1 for them. Do not check for +Inf in case not
79017 reachable for +Inf.
79018 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79019 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79020 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79021 and return -1 for them. Do not check for +Inf in case not
79022 reachable for +Inf.
79023 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79024 define.
79025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79026 and return -1 for them. Do not check for +Inf in case not
79027 reachable for +Inf.
79028 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79029 spurious underflow.
79030 * sysdeps/i386/fpu/libm-test-ulps: Update.
79031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79032
79033 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79034
79035 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79036
79037 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79038
79039 [BZ #14157]
79040 [BZ #14331]
79041 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79042 could result in spurious underflow. Scale down values above
79043 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79044 * math/s_csqrtf.c (__csqrtf): Likewise.
79045 * math/s_csqrtl.c (__csqrtl): Likewise.
79046 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79047 spurious underflow.
79048 * sysdeps/i386/fpu/libm-test-ulps: Update.
79049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79050
79051 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79052
79053 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79054 xopen-msg.sed.
79055 * catgets/xopen-msg.awk: New file.
79056 * catgets/xopen-msg.sed: Removed.
79057
79058 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79059 po2text.sed.
79060 * intl/po2test.awk: New file.
79061 * intl/po2test.sed: Removed.
79062
79063 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79064
79065 [BZ #14328]
79066 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79067 or multiply small sinh result by itself.
79068 * math/s_ctanf.c (__ctanf): Likewise.
79069 * math/s_ctanh.c (__ctanh): Likewise.
79070 * math/s_ctanhf.c (__ctanhf): Likewise.
79071 * math/s_ctanhl.c (__ctanhl): Likewise.
79072 * math/s_ctanl.c (__ctanl): Likewise.
79073 * math/libm-test.inc (ctan_test_tonearest): New function.
79074 (ctan_test_towardzero): Likewise.
79075 (ctan_test_downward): Likewise.
79076 (ctan_test_upward): Likewise.
79077 (ctanh_test_tonearest): Likewise.
79078 (ctanh_test_towardzero): Likewise.
79079 (ctanh_test_downward): Likewise.
79080 (ctanh_test_upward): Likewise.
79081 (main): Call these new functions.
79082 * sysdeps/i386/fpu/libm-test-ulps: Update.
79083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79084
79085 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79086
79087 * .gitignore: Delete /ports entry.
79088
79089 2012-07-03 Andreas Jaeger <aj@suse.de>
79090
79091 * po/bg.po: Update from translation team.
79092 * po/cs.po: Likewise.
79093 * po/de.po: Likewise.
79094 * po/hr.po: Likewise.
79095 * po/nl.pl: Likewise.
79096 * po/pl.po: Likewise.
79097 * po/vi.po: Likewise.
79098
79099 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79100
79101 * Makeconfig [!+link] (+link-before-libc): New variable.
79102 [!+link] (+link-after-libc): Likewise.
79103 [!+link] (+link-tests): Likewise.
79104 [!+link] (+link): Define in terms of $(+link-before-libc) and
79105 $(+link-after-libc).
79106 [!+link-static] (+link-static-before-libc): New variable.
79107 [!+link-static] (+link-static-after-libc): Likewise.
79108 [!+link-static] (+link-static-tests): Likewise.
79109 [!+link-static] (+link-static): Define in terms of
79110 $(+link-static-before-libc) and $(+link-static-after-libc).
79111 [build-shared] (link-libc-before-gnulib): New variable.
79112 [build-shared] (link-libc-tests): Likewise.
79113 [build-shared] (link-libc): Define in terms of
79114 $(link-libc-before-gnulib).
79115 [!build-shared] (link-libc-tests): New variable.
79116 (link-libc-static-tests): New variable.
79117 [!gnulib] (gnulib-arch): New variable.
79118 [!gnulib] (gnulib-tests): Likewise.
79119 [!gnulib] (static-gnulib-arch): Likewise.
79120 [!gnulib] (static-gnulib-tests): Likewise.
79121 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79122 Define with "=" instead of ":=".
79123 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79124 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79125 * Rules (binaries-all-notests): New variable.
79126 (binaries-all-tests): Likewise.
79127 (binaries-static-notests): Likewise.
79128 (binaries-static-tests): Likewise.
79129 (binaries-all): Define using $(binaries-all-notests) and
79130 $(binaries-all-tests).
79131 (binaries-static): Define using $(binaries-static-notests) and
79132 $(binaries-static-tests).
79133 (binaries-shared-tests): New variable.
79134 (binaries-shared-notests): Likewise.
79135 (binaries-shared): Remove variable.
79136 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79137 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79138 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79139 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79140 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79141 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79142 * elf/Makefile (sln-modules): New variable.
79143 (extra-objs): Add $(sln-modules:=.o).
79144 (ldconfig-modules): Add static-stubs.
79145 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79146 * elf/static-stubs.c: New file.
79147
79148 [BZ #14283]
79149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79150 by 7 not 8 to examine high bit of fractional part. Use volatile
79151 variables when splitting into final array of floats if
79152 __FLT_EVAL_METHOD__ != 0.
79153 * math/libm-test.inc (cos_test): Add another test.
79154 (sin_test): Likewise.
79155 * sysdeps/i386/fpu/libm-test-ulps: Update.
79156
79157 [BZ #14273]
79158 * math/libm-test.inc (cosh_test): Add more tests.
79159
79160 * version.h (RELEASE): Set to "development".
79161 (VERSION): Set to "2.16.90".
79162
79163 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79164
79165 * NEWS: Update copyright. Remove last-updated date.
79166 Mention math library bug fixes and timezone data changes.
79167 * README: Mention GNU/Hurd, x32, and HPPA support status.
79168
79169 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79170
79171 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79172
79173 2012-06-27 Andreas Jaeger <aj@suse.de>
79174
79175 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79176
79177 2012-06-25 Andreas Jaeger <aj@suse.de>
79178
79179 * sysdeps/s390/fpu/libm-test-ulps: Update.
79180
79181 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79182 Thomas Schwinge <thomas@codesourcery.com>
79183
79184 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79185 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79187 fanotify_mark.
79188
79189 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79190
79191 * sysdeps/mach/start.c: Remove file.
79192 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79193 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79194 * sysdeps/sh/init-first.c: Likewise.
79195
79196 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79197 registers for frame unwinding purposes, add CFI directives.
79198 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79199 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79200 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79201 Likewise.
79202
79203 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79204 __fortify_fail returning.
79205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79206
79207 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79208 sysdeps/sh/____longjmp_chk.S.
79209 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79210 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79211 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79212 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79213
79214 * sysdeps/sh/abort-instr.h: New file.
79215 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79216 process in case exit returns.
79217
79218 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79219 initialize the GOT register before use.
79220
79221 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79222 calculation of ARGC > 4.
79223
79224 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79225 meaningful names to some local labels.
79226
79227 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79228 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79229
79230 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79231 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79232 (__arch_compare_and_exchange_val_16_acq): Likewise.
79233 (__arch_compare_and_exchange_val_32_acq): Likewise.
79234 (atomic_exchange_and_add): Fix gUSA sequence.
79235 (atomic_add): Likewise.
79236 (atomic_add_negative): Likewise.
79237 (atomic_add_zero): Likewise.
79238 (atomic_bit_test_set): Likewise.
79239
79240 2012-06-22 Andreas Schwab <schwab@redhat.com>
79241
79242 [BZ #13579]
79243 * include/link.h (struct link_map): Add l_free_initfini.
79244 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79245 l_initfini.
79246 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79247 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79248 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79249 set.
79250
79251 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79252
79253 * configure.in: Use AC_LANG_SOURCE.
79254 * configure: Regenerate.
79255
79256 2012-06-22 Roland McGrath <roland@hack.frob.com>
79257
79258 * configure.in (libc_cv_localstatedir): New substituted variable.
79259 * configure: Regenerated.
79260 * config.make.in (localstatedir): New variable, substituted from
79261 libc_cv_localstatedir.
79262 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79263 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79264 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79265 * sysdeps/gnu/configure: Regenerated.
79266
79267 2012-06-21 Jeff Law <law@redhat.com>
79268
79269 [BZ #14277]
79270 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79271 free. Simplify list management for _LIBC case.
79272
79273 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79274
79275 [BZ #14273]
79276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79277 Clear sign bit of 64-bit integer value before comparing against
79278 overflow value.
79279
79280 * sysdeps/mach/configure: Regenerated.
79281
79282 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79283
79284 [BZ #14278]
79285 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79286
79287 2012-06-21 Jeff Law <law@redhat.com>
79288
79289 [BZ #13882]
79290 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79291 uint16_t for elements in the "seen" array to avoid char overflows.
79292 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79293 * elf/dl-open.c (dl_open_worker): Likewise.
79294
79295 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79296
79297 * scripts/list-sources.sh: Scan PORTS for translations.
79298 * po/libc.pot: Regenerated.
79299
79300 2012-06-21 Andreas Jaeger <aj@suse.de>
79301
79302 [BZ #12194]
79303 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79304 warning.
79305 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79306 * bits/byteswap-16.h (__bswap_16): Likewise.
79307 * bits/byteswap.h (__bswap_constant_16): Likewise.
79308
79309 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79310
79311 [BZ #14117]
79312 * sysdeps/i386/fpu_control.h: Removed.
79313 * sysdeps/x86_64/fpu_control.h: Moved to ...
79314 * sysdeps/x86/fpu_control.h: Here.
79315
79316 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79317 (_FPU_SETCW): Likewise.
79318
79319 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79320
79321 [BZ #14117]
79322 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79323 * sysdeps/x86/fpu/bits/mathinline.h: This.
79324 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79325
79326 [BZ #14050]
79327 [BZ #14117]
79328 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79329 functions if __x86_64__ is defined.
79330
79331 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79332
79333 * string/endian.h: Add !__ASSEMBLER__ condition for including
79334 conversion interfaces.
79335
79336 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79337
79338 [BZ #14241]
79339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79340 of ABS(x) in calculating zero to negative powers other than odd
79341 integers.
79342 * math/libm-test.inc (pow_test): Add more tests.
79343
79344 2012-06-15 Andreas Jaeger <aj@suse.de>
79345
79346 * manual/contrib.texi (Contributors): Update entry of Liubov
79347 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79348 Machado Filho.
79349
79350 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79351
79352 * string/string.h: Add __wur to GNU version of strerror_r.
79353
79354 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79355
79356 [BZ #14229]
79357 * string/Makefile (tests): Add tst-strtok_r.
79358 * string/tst-strtok_r.c: New file.
79359 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79360 RAX_LP/RDX_LP on SAVE_PTR.
79361
79362 2012-06-14 Roland McGrath <roland@hack.frob.com>
79363
79364 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79365
79366 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79367
79368 * libm_test.inc (csqrt_test): Allow more spurious underflow
79369 exceptions.
79370 (j0_test): Likewise.
79371 (j1_test): Likewise.
79372 (y0_test): Likewise.
79373 (y1_test): Likewise.
79374
79375 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79376
79377 * po/Makefile (libc.pot): Use UTF-8 charset.
79378
79379 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79380
79381 [BZ #14210]
79382 Suppress sign-conversion warning from FD_SET.
79383 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79384 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79385 not unsigned long int.
79386 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79387
79388 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79389
79390 [BZ #14050]
79391 [BZ #14117]
79392 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79393 __extern_always_inline instead of __extern_inline.
79394 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79395 (__signbit): Likewise.
79396 (__signbitl): Support C++ namespace.
79397 (lrintf): New inline function.
79398 (lrint): Likewise.
79399 (llrintf): Likewise.
79400 (llrint): Likewise.
79401 (fmaxf): Likewise.
79402 (fmax): Likewise.
79403 (fminf): Likewise.
79404 (fmin): Likewise.
79405 (rint): Likewise.
79406 (rintf): Likewise.
79407 (ceil): Likewise.
79408 (ceilf): Likewise.
79409 (floor): Likewise.
79410 (floorf): Likewise.
79411 (nearbyint): Likewise.
79412 (nearbyintf): Likewise.
79413
79414 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79415
79416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79417 non-default versions.
79418
79419 2012-06-11 Roland McGrath <roland@hack.frob.com>
79420
79421 [BZ #14218]
79422 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79423
79424 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79425
79426 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79427 (FE_UPWARD, FE_DOWNWARD): Don't define.
79428 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79429 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79430
79431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79432 reading it.
79433 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79435
79436 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79437
79438 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79441 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79442
79443 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79444
79445 [BZ #14117]
79446 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79447 * sysdeps/i386/fpu/Implies: New file.
79448 * sysdeps/x86_64/fpu/Implies: Likewise.
79449 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79450 * sysdeps/x86/fpu/bits/fenv.h: This.
79451
79452 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79453 __SSE_MATH__.
79454
79455 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79456
79457 [BZ #14134]
79458 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79459 character 0xffff that matches the last element of the
79460 conversion table.
79461
79462 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79463
79464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79465 fmodl commit.
79466
79467 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79468
79469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79470 values higher than 25.6283.
79471
79472 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79473
79474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79475 subnormal exponent extraction and add some __builtin_expect.
79476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79477 Fix for subnormal mantissa calculation.
79478
79479 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79480
79481 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79482 cpu2 is -1 and errno is not ENOSYS.
79483
79484 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79485
79486 [BZ #14117]
79487 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79488 * sysdeps/x86/bits/string.h: This.
79489 * sysdeps/x86_64/bits/string.h: Removed.
79490
79491 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79492 if not compiling for x86-64, but compiling for >= i486.
79493
79494 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79495 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79496
79497 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79498 New macro from Linux kernel 3.4.0.
79499 (FP_XSTATE_MAGIC2): Likewise.
79500 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79501 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79502 (struct _fpx_sw_bytes): New struct.
79503 (struct _xsave_hdr): Likewise.
79504 (struct _ymmh_state): Likewise.
79505 (struct _xstate): Likewise.
79506
79507 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79508 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79509 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79510 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79511 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79512 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79513
79514 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79516 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79517 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79518 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79519 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79520
79521 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79522
79523 [BZ #13743]
79524 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79525 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79526 (sysdep_headers): Include sys/platform/ppc.h.
79527 * sysdeps/powerpc/test-gettimebase.c: Test for
79528 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79529 * manual/Makefile (appendices): Include platform.texi.
79530 * manual/contrib.texi (Contributors): Update @node pointers.
79531 * manual/maint.texi (Maintenance): Likewise.
79532 (Platform): New node.
79533 * manual/platform.texi: New file. Document the new features.
79534
79535 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79536 Jakub Jelinek <jakub@redhat.com>
79537
79538 [BZ #14188]
79539 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79540 where __builtin_expect is unavailable.
79541
79542 2012-06-03 David S. Miller <davem@davemloft.net>
79543
79544 * stdlib/longlong.h: Updated from GCC.
79545
79546 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79547
79548 [BZ #14042]
79549 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79550 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79551 __mcount_internal.
79552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79553 (GLIBC_2.16): Likewise.
79554
79555 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79556
79557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79558
79559 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79560
79561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79562 (default-abi): New variable.
79563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79564 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79565 variable.
79566 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79567 Likewise.
79568 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79569 Likewise.
79570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79571 Likewise.
79572
79573 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79574 definition. Document in comment.
79575
79576 2012-06-01 David S. Miller <davem@davemloft.net>
79577
79578 * stdlib/longlong.h: Updated from GCC.
79579
79580 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79581
79582 [BZ #14117]
79583 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79584 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79585 sys/debugreg.h sys/io.h here.
79586 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79587 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79588 sys/io.h.
79589 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79590 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79591 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79592 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79593 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79594 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79595
79596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79597 Define only if __x86_64__ is defined.
79598
79599 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79600
79601 [BZ #14048]
79602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79603 Use int64_t for variable i.
79604 * math/libm-test.inc (fmod_test): Add more tests.
79605
79606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79607 z computation is not scheduled after fetestexcept.
79608 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79609 Use math_force_eval instead of asm to ensure calculation scheduled
79610 before exception test.
79611 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79612 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79613
79614 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
79615
79616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79617 computation is not scheduled after fetestexcept.
79618
79619 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79620
79621 [BZ #14117]
79622 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79623 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79624
79625 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79626
79627 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79628 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79629
79630 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79631
79632 [BZ #14117]
79633 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79634 <bits/wordsize.h>.
79635 (__WCHAR_MIN): Support __WORDSIZE == 64.
79636 (__WCHAR_MAX): Likewise.
79637
79638 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79639 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79640
79641 [BZ #14183]
79642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79643 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79644
79645 [BZ #14117]
79646 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79647 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79648
79649 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79650 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79651
79652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79653 Defined to 1 if __x86_64__ isn't defined.
79654 (_STAT_VER_LINUX_OLD): New.
79655 (st_atime): Remove duplicate.
79656 (st_mtime): Likewise.
79657 (st_ctime): Likewise.
79658
79659 2012-05-31 David S. Miller <davem@davemloft.net>
79660
79661 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79662 entries.
79663
79664 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
79665
79666 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79667 gen-libm-test.pl.
79668
79669 [BZ #14132]
79670 * elf/dl-reloc.c: Include <_itoa.h>.
79671 (_dl_reloc_bad_type): Remove use of INTUSE.
79672 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79673 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79674 * stdio-common/psiginfo.c (psiginfo): Likewise.
79675 * stdio-common/psignal.c (psignal): Likewise.
79676 * string/strsignal.c (strsignal): Likewise.
79677 * include/signal.h (_sys_siglist): Declare hidden proto.
79678 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
79679 INTVARDEF with libc_hidden_data_def.
79680 * stdio-common/itoa-udigits.c: Likewise.
79681 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79682 (_itoa_lower_digits_internal): Remove declaration.
79683 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79684 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79685 (_sys_sigabbrev_internal): Remove aliases.
79686 (_sys_siglist): Define hidden alias.
79687
79688 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
79689
79690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79691 bits/sysctl.h.
79692
79693 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79694
79695 [BZ #14117]
79696 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79697 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
79698
79699 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
79700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
79701 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79702 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79703 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79704 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79705
79706 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79707 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79708 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79709
79710 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79711 with __addr.
79712 (insw): Likewise.
79713 (insl): Likewise.
79714 (outsb): Likewise.
79715 (outsw): Likewise.
79716 (outsl): Likewise.
79717
79718 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79719 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79720 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79721
79722 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79724 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79725 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79726 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79727 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79728
79729 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79730 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79731
79732 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79733 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79734
79735 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79738
79739 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79740 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79741 to ...
79742 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79743
79744 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79745 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79746 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79747
79748 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79749 for x86-64.
79750 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79751
79752 2012-05-31 Joseph Myers <joseph@codesourcery.com>
79753
79754 * math/math.h (M_El): Use two more decimal places.
79755 (M_LOG2El): Likewise.
79756 (M_LOG10El): Likewise.
79757 (M_LN2l): Likewise.
79758 (M_LN10l): Likewise.
79759 (M_PIl): Likewise.
79760 (M_PI_2l): Likewise.
79761 (M_PI_4l): Likewise.
79762 (M_1_PIl): Likewise.
79763 (M_2_PIl): Likewise.
79764 (M_2_SQRTPIl): Likewise.
79765 (M_SQRT2l): Likewise.
79766 (M_SQRT1_2l): Likewise.
79767
79768 2012-05-31 David S. Miller <davem@davemloft.net>
79769
79770 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79771 values between float registers.
79772 * sysdeps/sparc/sparc64/memset.S: Likewise.
79773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79774
79775 2012-05-31 Mike Frysinger <vapier@gentoo.org>
79776
79777 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79778 -D_FORTIFY_SOURCE=1.
79779 (CPPFLAGS-tst-longjmp_chk.c): Define.
79780 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79781 (CPPFLAGS-tst-longjmp_chk2.c): Define.
79782 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79783 CFLAGS-tst-wchar-h.c.
79784
79785 2012-05-31 Marek Polacek <polacek@redhat.com>
79786
79787 [BZ #14132]
79788 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79789 __endmntent_internal): Remove declaration.
79790 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79791 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79792 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79793
79794 2012-05-30 David S. Miller <davem@davemloft.net>
79795
79796 * sysdeps/sparc/sparc32/soft-fp/q_util.c
79797 (___Q_simulate_exceptions): Use real FP ops rather than writing
79798 into the %fsr.
79799 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79800 Likewise.
79801
79802 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79803
79804 [BZ #14117]
79805 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79806 * sysdeps/x86/bits/xtitypes.h: This.
79807
79808 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79809 * sysdeps/x86/bits/wordsize.h: This.
79810
79811 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79812 * sysdeps/x86/bits/huge_vall.h: This.
79813
79814 * sysdeps/i386/bits/select.h: Removed.
79815 * sysdeps/x86_64/bits/select.h: Renamed to ...
79816 * sysdeps/x86/bits/select.h: This.
79817
79818 * sysdeps/i386/bits/setjmp.h: Removed.
79819 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79820 * sysdeps/x86/bits/setjmp.h: This.
79821
79822 * sysdeps/i386/bits/mathdef.h: Removed.
79823 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79824 * sysdeps/x86/bits/mathdef.h: This.
79825
79826 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
79827
79828 [BZ #14132]
79829 * include/sys/socket.h (__connect_internal)
79830 (__libc_sa_len_internal): Remove declaration.
79831 (__connect, __libc_sa_len): Declare hidden_proto.
79832 (SA_LEN): Remove use of INTUSE.
79833 * socket/connect.c: Add libc_hidden_def.
79834 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79835 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79836 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79837 alias.
79838 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79839 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79840 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79841 of adding _internal alias.
79842
79843 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79844
79845 [BZ #14117]
79846 * sysdeps/i386/bits/link.h: Removed.
79847 * sysdeps/i386/bits/linkmap.h: Likewise.
79848 * sysdeps/x86_64/bits/link.h: Renamed to ...
79849 * sysdeps/x86/bits/link.h: This.
79850 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79851 * sysdeps/x86/bits/linkmap.h: This.
79852
79853 * sysdeps/i386/bits/endian.h: Removed.
79854 * sysdeps/x86_64/bits/endian.h: Renamed to ...
79855 * sysdeps/x86/bits/endian.h: This.
79856
79857 * sysdeps/i386/bits/byteswap.h: Removed.
79858 * sysdeps/i386/bits/byteswap-16.h: Likewise.
79859 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79860 * sysdeps/x86/bits/byteswap.h: This.
79861 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79862 * sysdeps/x86/bits/byteswap-16.h: This.
79863 * sysdeps/i386/Implies: Add x86.
79864 * sysdeps/x86_64/Implies: Likewise.
79865
79866 2012-05-30 David S. Miller <davem@davemloft.net>
79867
79868 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79869 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79871 (FP_TRAPPING_EXCEPTIONS): Define.
79872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79873 (FP_TRAPPING_EXCEPTIONS): Define.
79874 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79875 subnormals only when inexact has been signalled or underflow
79876 exceptions are enabled.
79877 (_FP_PACK_CANONICAL): Likewise.
79878
79879 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79880
79881 [BZ #14183]
79882 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79883 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79884
79885 2012-05-30 Richard Henderson <rth@twiddle.net>
79886
79887 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79888 with #ifndef NOT_IN_libc.
79889
79890 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
79891 marked to avoid plt entry.
79892
79893 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79894
79895 [BZ #14112]
79896 * Makeconfig (default-abi): New macro.
79897 (abi-includes): Likewise.
79898 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
79899 $(abi-$(default-abi)-lib-soname) for soname if defined.
79900 ($(common-objpfx)gnu/lib-names.stmp): Generate from
79901 abi-variants.
79902 * Makefile (installed-stubs): Likewise.
79903 * include/stubs-biarch.h: Removed.
79904 * scripts/lib-names.awk: Only handle one library at a time.
79905 * scripts/soversions.awk: Remove WORDSIZE support.
79906 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79907 entries.
79908 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79909 Removed.
79910 (syscall-list-default-condition): Likewise.
79911 (syscall-list-default-condition): Likewise.
79912 (syscall-list-includes): Likewise.
79913 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79914 syscall-list-* with abi-*. Handle undefined abi-variants.
79915 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79916 * sysdeps/unix/sysv/linux/i386/Implies: New file.
79917 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79918 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79919 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79920 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79921 Removed.
79922 (syscall-list-32-options): Likewise.
79923 (syscall-list-32-condition): Likewise.
79924 (syscall-list-64-options): Likewise.
79925 (syscall-list-64-condition): Likewise.
79926 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79927 macro.
79928 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79929 Renamed to ...
79930 (abi-*): This.
79931 (abi-64-ld-soname): New macro.
79932 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79933 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79934 Renamed to ...
79935 (abi-*): This.
79936 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79937 * sysdeps/x86_64/x32/shlib-versions: Likewise.
79938
79939 2012-05-30 Joseph Myers <joseph@codesourcery.com>
79940
79941 * sysdeps/unix/sysv/linux/kernel-features.h
79942 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79943 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79944 include <kernel-features.h>.
79945 [!__NR_ftruncate64]: Remove conditional code.
79946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79947 [__NR_ftruncate64]: Make code unconditional.
79948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79949 * sysdeps/unix/sysv/linux/truncate64.c: Do not
79950 include <kernel-features.h>.
79951 [!__NR_ftruncate64]: Remove conditional code.
79952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79953 [__NR_ftruncate64]: Make code unconditional.
79954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79956 include <kernel-features.h>.
79957 [!__NR_ftruncate64]: Remove conditional code.
79958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79959 [__NR_ftruncate64]: Make code unconditional.
79960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79962 include <kernel-features.h>.
79963 [!__NR_ftruncate64]: Remove conditional code.
79964 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79965 [__NR_ftruncate64]: Make code unconditional.
79966 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79967
79968 * configure.in (libc_cv_fpie): Weaken to a compile test using
79969 LIBC_TRY_CC_OPTION.
79970 * configure: Regenerated.
79971
79972 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79973
79974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79978 Refreshed.
79979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79985 Refreshed.
79986
79987 2012-05-27 David S. Miller <davem@davemloft.net>
79988
79989 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79990 (___Q_zero): New.
79991 (__Q_simulate_exceptions): Return void. Change to simulate
79992 exceptions by writing into the %fsr.
79993 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79994 (__Qp_handle_exceptions): Likewise.
79995 (numbers): Delete.
79996 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79997 __Qp_handle_exceptions.
79998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79999 __Qp_handle_exceptions.
80000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80001 as unused and give dummy FP_RND_NEAREST initializer.
80002 (FP_INHIBIT_RESULTS): Define.
80003 (___Q_simulate_exceptions): Update declaration.
80004 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80005 formatting.
80006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80007 as unused and give dummy FP_RND_NEAREST initializer.
80008 (__Qp_handle_exceptions): Update declaration.
80009 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80010 formatting.
80011
80012 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80013
80014 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80015 the temporary FPU control word.
80016 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80017 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80018 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80019 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80020 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80022 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80024 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80025 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80026 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80027
80028 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80029
80030 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80031 fields.
80032
80033 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80034
80035 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80036 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80037 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80038 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80039 Likewise.
80040 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80041 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80042 Likewise.
80043
80044 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80045
80046 * po/h.po: Update from translation team.
80047
80048 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80049
80050 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80051
80052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80053 handling of denormals.
80054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80055 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80056 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80057 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80058 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80061 Likewise.
80062
80063 2012-05-26 Marek Polacek <polacek@redhat.com>
80064
80065 [BZ #14152]
80066 * math/libm-test.inc (fma_test): Don't always expect underflow
80067 exception.
80068
80069 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80070
80071 [BZ #12416]
80072 * elf/tst-execstack.c: Include stackinfo.h.
80073 (do_test): Adjust test case to ensure that pthread_getattr_np
80074 behaviour remains the same after marking stack executable.
80075
80076 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80077
80078 * sysdeps/unix/sysv/linux/kernel-features.h
80079 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80080 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80081 kernel-features.h.
80082 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80083 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80084 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80085 kernel-features.h.
80086 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80087 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80088
80089 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80090
80091 * configure.in: Define the default includes to being none.
80092 * configure: Regenerated.
80093
80094 2012-05-25 Roland McGrath <roland@hack.frob.com>
80095
80096 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80097 * sysdeps/x86_64/setjmp.S: Likewise.
80098 * sysdeps/i386/bsd-setjmp.S: Likewise.
80099 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80100 * sysdeps/i386/setjmp.S: Likewise.
80101 * sysdeps/i386/__longjmp.S: Likewise.
80102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80103 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80104
80105 * include/stap-probe.h: New file.
80106 * configure.in: Handle --enable-systemtap.
80107 * configure: Regenerated.
80108 * config.h.in (USE_STAP_PROBE): New #undef.
80109 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80110 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80111 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80112
80113 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80114
80115 [BZ #13717]
80116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80117 to 2.4.0 where earlier.
80118 * sysdeps/unix/sysv/linux/configure: Regenerated.
80119 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80120 <kernel-features.h>.
80121 [__ASSUME_32BITUIDS]: Make code unconditional.
80122 [!__ASSUME_32BITUIDS]: Remove conditional code.
80123 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80124 <kernel-features.h>.
80125 [__ASSUME_32BITUIDS]: Make code unconditional.
80126 [!__ASSUME_32BITUIDS]: Remove conditional code.
80127 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80128 [__ASSUME_32BITUIDS]: Make code unconditional.
80129 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80130 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80131 <kernel-features.h>.
80132 [__ASSUME_32BITUIDS]: Make code unconditional.
80133 [!__ASSUME_32BITUIDS]: Remove conditional code.
80134 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80135 <kernel-features.h>.
80136 [__ASSUME_32BITUIDS]: Make code unconditional.
80137 [!__ASSUME_32BITUIDS]: Remove conditional code.
80138 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80139 <kernel-features.h>.
80140 [__ASSUME_32BITUIDS]: Make code unconditional.
80141 [!__ASSUME_32BITUIDS]: Remove conditional code.
80142 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80143 <kernel-features.h>.
80144 [__ASSUME_32BITUIDS]: Make code unconditional.
80145 [!__ASSUME_32BITUIDS]: Remove conditional code.
80146 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80147 <kernel-features.h>.
80148 [__ASSUME_32BITUIDS]: Make code unconditional.
80149 [!__ASSUME_32BITUIDS]: Remove conditional code.
80150 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80151 <kernel-features.h>.
80152 [__ASSUME_32BITUIDS]: Make code unconditional.
80153 [!__ASSUME_32BITUIDS]: Remove conditional code.
80154 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80155 <kernel-features.h>.
80156 [__ASSUME_32BITUIDS]: Make code unconditional.
80157 [!__ASSUME_32BITUIDS]: Remove conditional code.
80158 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80159 <kernel-features.h>.
80160 [__ASSUME_32BITUIDS]: Make code unconditional.
80161 [!__ASSUME_32BITUIDS]: Remove conditional code.
80162 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80163 <kernel-features.h>.
80164 [__ASSUME_32BITUIDS]: Make code unconditional.
80165 [!__ASSUME_32BITUIDS]: Remove conditional code.
80166 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80167 <kernel-features.h>.
80168 [__ASSUME_32BITUIDS]: Make code unconditional.
80169 [!__ASSUME_32BITUIDS]: Remove conditional code.
80170 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80171 <kernel-features.h>.
80172 [__NR_setresgid] (__setresgid): Do not declare.
80173 [__ASSUME_32BITUIDS]: Make code unconditional.
80174 [!__ASSUME_32BITUIDS]: Remove conditional code.
80175 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80176 <kernel-features.h>.
80177 [__NR_setresuid] (__setresuid): Do not declare.
80178 [__ASSUME_32BITUIDS]: Make code unconditional.
80179 [!__ASSUME_32BITUIDS]: Remove conditional code.
80180 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80181 <kernel-features.h>.
80182 [__ASSUME_32BITUIDS]: Make code unconditional.
80183 [!__ASSUME_32BITUIDS]: Remove conditional code.
80184 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80185 <kernel-features.h>.
80186 [__ASSUME_32BITUIDS]: Make code unconditional.
80187 [!__ASSUME_32BITUIDS]: Remove conditional code.
80188 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80189 <kernel-features.h>.
80190 [__ASSUME_32BITUIDS]: Make code unconditional.
80191 [!__ASSUME_32BITUIDS]: Remove conditional code.
80192 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80193 <kernel-features.h>.
80194 [__ASSUME_32BITUIDS]: Make code unconditional.
80195 [!__ASSUME_32BITUIDS]: Remove conditional code.
80196 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80197 <kernel-features.h>.
80198 [__ASSUME_32BITUIDS]: Make code unconditional.
80199 [!__ASSUME_32BITUIDS]: Remove conditional code.
80200 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80201 <kernel-features.h>.
80202 [__ASSUME_32BITUIDS]: Make code unconditional.
80203 [!__ASSUME_32BITUIDS]: Remove conditional code.
80204 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80205 <kernel-features.h>.
80206 [__ASSUME_32BITUIDS]: Make code unconditional.
80207 [!__ASSUME_32BITUIDS]: Remove conditional code.
80208 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80209 <kernel-features.h>.
80210 [__ASSUME_32BITUIDS]: Make code unconditional.
80211 [!__ASSUME_32BITUIDS]: Remove conditional code.
80212 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80213 <kernel-features.h>.
80214 [__ASSUME_32BITUIDS]: Make code unconditional.
80215 [!__ASSUME_32BITUIDS]: Remove conditional code.
80216 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80217 <kernel-features.h>.
80218 [__ASSUME_32BITUIDS]: Make code unconditional.
80219 [!__ASSUME_32BITUIDS]: Remove conditional code.
80220 * sysdeps/unix/sysv/linux/kernel-features.h
80221 (__ASSUME_SETRESUID_SYSCALL): Remove.
80222 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80223 (__ASSUME_32BITUIDS): Likewise.
80224 (__ASSUME_LDT_WORKS): Likewise.
80225 (__ASSUME_O_DIRECTORY): Likewise.
80226 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80227 architecture but not kernel version.
80228 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80229 (__ASSUME_MMAP2_SYSCALL): Likewise.
80230 (__ASSUME_STAT64_SYSCALL): Likewise.
80231 (__ASSUME_IPC64): Likewise.
80232 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80233 <kernel-features.h>.
80234 [__ASSUME_32BITUIDS]: Make code unconditional.
80235 [!__ASSUME_32BITUIDS]: Remove conditional code.
80236 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80237 <kernel-features.h>.
80238 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80239 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80240 132096]: Remove conditional code.
80241 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80242 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80243 <kernel-features.h>.
80244 [__ASSUME_32BITUIDS]: Make code unconditional.
80245 [!__ASSUME_32BITUIDS]: Remove conditional code.
80246 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80247 <kernel-features.h>.
80248 [__ASSUME_32BITUIDS]: Make code unconditional.
80249 [!__ASSUME_32BITUIDS]: Remove conditional code.
80250 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80251 <kernel-features.h>.
80252 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80253 unconditional.
80254 (__setresgid): Do not declare.
80255 [__ASSUME_32BITUIDS]: Make code unconditional.
80256 [!__ASSUME_32BITUIDS]: Remove conditional code.
80257 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80258 <kernel-features.h>.
80259 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80260 unconditional.
80261 (__setresuid): Do not declare.
80262 [__ASSUME_32BITUIDS]: Make code unconditional.
80263 [!__ASSUME_32BITUIDS]: Remove conditional code.
80264 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80265 <kernel-features.h>.
80266 [__ASSUME_32BITUIDS]: Make code unconditional.
80267 [!__ASSUME_32BITUIDS]: Remove conditional code.
80268 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80269 <kernel-features.h>.
80270 [__ASSUME_32BITUIDS]: Make code unconditional.
80271 [!__ASSUME_32BITUIDS]: Remove conditional code.
80272
80273 2012-05-25 Richard Henderson <rth@twiddle.net>
80274
80275 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80276 dl_hwcap to ifunc resolver.
80277 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80278 elf_ifunc_invoke.
80279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80280 dl_hwcap to ifunc resolver.
80281 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80282
80283 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80284
80285 [BZ #14153]
80286 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80287 for |x| <= 2**-26, not 2**-57.
80288 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80289 exception.
80290
80291 2012-05-24 Jeff Law <law@redhat.com>
80292
80293 * stdio-common/Makefile (tests): Add bug25.
80294 * stdio-common/bug25.c: New test.
80295
80296 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80297
80298 [BZ #13576]
80299 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80300 multiple of MALLOC_ALIGNMENT in size.
80301 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80302
80303 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80304
80305 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80306 Require >= 256.
80307 (FILENAME_MAX): Use macro-int-constant.
80308 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80309 (_IOFBF): Use macro-int-constant.
80310 (_IOLBF): Likewise.
80311 (_IONBF): Likewise.
80312 (SEEK_CUR): Likewise.
80313 (SEEK_END): Likewise.
80314 (SEEK_SET): Likewise.
80315 (TMP_MAX): Likewise.
80316 (EOF): Use macro-int-constant. Require < 0.
80317 (NULL): Use macro-constant. Require == 0.
80318 (stdin): Require type to be FILE *.
80319 (stdout): Likewise.
80320 (stderr): Likewise.
80321 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80322 macro-int-constant.
80323 (EXIT_SUCCESS): Likewise.
80324 (NULL): Use macro-constant. Require == 0.
80325 (RAND_MAX): Use macro-int-constant.
80326 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80327 [C99-based standards] (strtof): Require function.
80328 [C99-based standards] (strtold): Likewise.
80329 [C99-based standards] (strtoll): Likewise.
80330 [C99-based standards] (strtoull): Likewise.
80331 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80332 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80333 [ISO || ISO99 || ISO11] (math.h): Likewise.
80334 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80335 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80337
80338 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80339
80340 [BZ #14132]
80341 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80342 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80343 * intl/dgettext.c (DCGETTEXT): Likewise.
80344 * intl/gettext.c (DCGETTEXT): Likewise.
80345 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80346 * posix/regex_internal.h (gettext): Likewise.
80347 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80348 Remove declaration.
80349 * include/argz.h (__argz_count_internal)
80350 (__argz_stringify_internal): Remove declaration.
80351 (__argz_count, __argz_stringify): Declare hidden proto.
80352 * intl/dcgettext.c: Remove use of INTDEF.
80353 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80354 * string/argz-stringify.c: Likewise.
80355 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80356 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80357 Declare hidden proto.
80358 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80359 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80360 Declare hidden proto.
80361 * include/stdio.h (__asprintf_internal): Don't declare.
80362 (__asprintf): Don't define as macro. Declare hidden proto.
80363 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80364 (__fsetlocking): Declare hidden proto.
80365 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80366 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80367 hidden proto.
80368 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80369 (_IO_setlinebuf): Remove use of INTUSE.
80370 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80371 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80372 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80373 Remove declaration.
80374 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80375 (_IO_do_flush): Remove use of INTUSE.
80376 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80377 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80378 (_IO_adjust_column, _IO_least_wmarker)
80379 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80380 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80381 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80382 (_IO_default_doallocate, _IO_wdefault_doallocate)
80383 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80384 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80385 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80386 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80387 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80388 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80389 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80390 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80391 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80392 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80393 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80394 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80395 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80396 proto.
80397 (_IO_flush_all_internal, _IO_adjust_column_internal)
80398 (_IO_default_uflow_internal, _IO_default_finish_internal)
80399 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80400 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80401 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80402 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80403 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80404 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80405 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80406 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80407 (_IO_file_close_internal, _IO_file_close_it_internal)
80408 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80409 (_IO_file_init_internal, _IO_file_attach_internal)
80410 (_IO_file_fopen_internal, _IO_file_read_internal)
80411 (_IO_file_sync_internal, _IO_file_seek_internal)
80412 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80413 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80414 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80415 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80416 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80417 (_IO_list_all_internal, _IO_link_in_internal)
80418 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80419 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80420 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80421 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80422 (_IO_do_write_internal, _IO_padn_internal)
80423 (_IO_getline_info_internal, _IO_getline_internal)
80424 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80425 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80426 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80427 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80428 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80429 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80430 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80431 with libc_hidden_ver, remove use of INTUSE.
80432 * libio/genops.c: Likewise.
80433 * libio/freopen.c: Likewise.
80434 * libio/freopen64.c: Likewise.
80435 * libio/iofclose.c: Likewise.
80436 * libio/iofdopen.c: Likewise.
80437 * libio/iofflush.c: Likewise.
80438 * libio/iofflush_u.c: Likewise.
80439 * libio/iofgets.c: Likewise.
80440 * libio/iofgets_u.c: Likewise.
80441 * libio/iofopen.c: Likewise.
80442 * libio/iofopncook.c: Likewise.
80443 * libio/iofread.c: Likewise.
80444 * libio/iofread_u.c: Likewise.
80445 * libio/ioftell.c: Likewise.
80446 * libio/iofwrite.c: Likewise.
80447 * libio/iogetline.c: Likewise.
80448 * libio/iogets.c: Likewise.
80449 * libio/iogetwline.c: Likewise.
80450 * libio/iopadn.c: Likewise.
80451 * libio/iopopen.c: Likewise.
80452 * libio/ioseekoff.c: Likewise.
80453 * libio/ioseekpos.c: Likewise.
80454 * libio/iosetbuffer.c: Likewise.
80455 * libio/iosetvbuf.c: Likewise.
80456 * libio/ioungetc.c: Likewise.
80457 * libio/ioungetwc.c: Likewise.
80458 * libio/iovdprintf.c: Likewise.
80459 * libio/iovsprintf.c: Likewise.
80460 * libio/iovsscanf.c: Likewise.
80461 * libio/memstream.c: Likewise.
80462 * libio/obprintf.c: Likewise.
80463 * libio/oldfileops.c: Likewise.
80464 * libio/oldiofclose.c: Likewise.
80465 * libio/oldiofdopen.c: Likewise.
80466 * libio/oldiofopen.c: Likewise.
80467 * libio/oldiopopen.c: Likewise.
80468 * libio/oldstdfiles.c: Likewise.
80469 * libio/putc.c: Likewise.
80470 * libio/setbuf.c: Likewise.
80471 * libio/setlinebuf.c: Likewise.
80472 * libio/stdfiles.c: Likewise.
80473 * libio/strops.c: Likewise.
80474 * libio/vasprintf.c: Likewise.
80475 * libio/vscanf.c: Likewise.
80476 * libio/vsnprintf.c: Likewise.
80477 * libio/vswprintf.c: Likewise.
80478 * libio/wfiledoalloc.c: Likewise.
80479 * libio/wfileops.c: Likewise.
80480 * libio/wgenops.c: Likewise.
80481 * libio/wmemstream.c: Likewise.
80482 * libio/wstrops.c: Likewise.
80483 * libio/__fpurge.c: Likewise.
80484 * libio/__fsetlocking.c: Likewise.
80485 * assert/assert.c: Likewise.
80486 * debug/fgets_chk.c: Likewise.
80487 * debug/fgets_u_chk.c: Likewise.
80488 * debug/fread_chk.c: Likewise.
80489 * debug/fread_u_chk.c: Likewise.
80490 * debug/gets_chk.c: Likewise.
80491 * debug/obprintf_chk.c: Likewise.
80492 * debug/vasprintf_chk.c: Likewise.
80493 * debug/vdprintf_chk.c: Likewise.
80494 * debug/vsnprintf_chk.c: Likewise.
80495 * debug/vsprintf_chk.c: Likewise.
80496 * malloc/mtrace.c: Likewise.
80497 * misc/error.c: Likewise.
80498 * misc/syslog.c: Likewise.
80499 * stdio-common/asprintf.c: Likewise.
80500 * stdio-common/fxprintf.c: Likewise.
80501 * stdio-common/getw.c: Likewise.
80502 * stdio-common/isoc99_fscanf.c: Likewise.
80503 * stdio-common/isoc99_scanf.c: Likewise.
80504 * stdio-common/isoc99_vfscanf.c: Likewise.
80505 * stdio-common/isoc99_vscanf.c: Likewise.
80506 * stdio-common/isoc99_vsscanf.c: Likewise.
80507 * stdio-common/printf-prs.c: Likewise.
80508 * stdio-common/printf_fp.c: Likewise.
80509 * stdio-common/printf_fphex.c: Likewise.
80510 * stdio-common/printf_size.c: Likewise.
80511 * stdio-common/putw.c: Likewise.
80512 * stdio-common/scanf.c: Likewise.
80513 * stdio-common/sprintf.c: Likewise.
80514 * stdio-common/tmpfile.c: Likewise.
80515 * stdio-common/vfprintf.c: Likewise.
80516 * stdio-common/vfscanf.c: Likewise.
80517 * stdlib/strfmon_l.c: Likewise.
80518 * sunrpc/openchild.c: Likewise.
80519 * sunrpc/xdr_stdio.c: Likewise.
80520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80521 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80522
80523 2012-05-24 Roland McGrath <roland@hack.frob.com>
80524
80525 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80526
80527 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80528 in the third column, to generate for the shared library an IFUNC
80529 that uses _dl_vdso_vsym.
80530 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80531 * Makeconfig (object-suffixes-noshared): New variable.
80532
80533 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80534 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80535 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80536 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80537
80538 [BZ #14132]
80539 * include/sys/time.h (__gettimeofday): Remove macro.
80540 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80541 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80542 Remove INTDEF.
80543 (__gettimeofday): Add libc_hidden_def.
80544 (gettimeofday): Add libc_hidden_weak.
80545 * sysdeps/mach/gettimeofday.c: Likewise.
80546 * sysdeps/posix/gettimeofday.c: Likewise.
80547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80548 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80550 (__gettimeofday_internal): Remove strong_alias.
80551 (__gettimeofday): Add libc_hidden_def.
80552 (gettimeofday): Add libc_hidden_weak.
80553 * sysdeps/unix/syscalls.list (gettimeofday):
80554 Remove __gettimeofday_internal alias.
80555
80556 2012-05-24 Daniel Jacobowitz <drow@false.org>
80557 H.J. Lu <hongjiu.lu@intel.com>
80558
80559 [BZ #12495]
80560 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80561 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80562 (largebin_index_32_big): New.
80563 (largebin_index): Use it for 16-byte alignment.
80564 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
80565 correction with front_misalign.
80566
80567 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80568
80569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80571 Likewise.
80572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80573 Likewise.
80574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80575 Likewise.
80576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80577 Likewise.
80578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80579 Likewise.
80580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80581 Likewise.
80582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80583 Likewise.
80584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80585 Likewise.
80586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80587 Likewise.
80588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80589 Likewise.
80590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80591 Likewise.
80592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80593 Likewise.
80594
80595 * scripts/data/c++-types-x32-linux-gnu.data: New file.
80596 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80597
80598 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80599
80600 [BZ #10846]
80601 [BZ #14036]
80602 * math/libm-test.inc (exp_test): Add test from bug 14036.
80603 (pow_test): Add test from bug 10846.
80604
80605 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80606 and other flags.
80607 (special_function): Do not include flags in test name.
80608 (parse_args): Likewise.
80609 * sysdeps/i386/fpu/libm-test-ulps: Update.
80610 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80611 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80612 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80614
80615 * math/gen-libm-test.pl (%beautify): Add entries for underflow
80616 exceptions.
80617 * math/libm-test.inc ("Philosophy"): Update comment about
80618 exception testing.
80619 (UNDERFLOW_EXCEPTION): New macro.
80620 (UNDERFLOW_EXCEPTION_OK): Likewise.
80621 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80622 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80623 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80624 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80625 (INVALID_EXCEPTION_OK): Update value.
80626 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80627 (OVERFLOW_EXCEPTION_OK): Likewise.
80628 (IGNORE_ZERO_INF_SIGN): Likewise.
80629 (test_exceptions): Handle underflow exceptions.
80630 (acos_test): Update for underflow exception expectations.
80631 (cexp_test): Likewise.
80632 (clog_test): Likewise.
80633 (clog10_test): Likewise.
80634 (csqrt_test): Likewise.
80635 (ctan_test): Likewise.
80636 (ctanh_test): Likewise.
80637 (exp_test): Likewise.
80638 (exp10_test): Likewise.
80639 (exp2_test): Likewise.
80640 (expm1_test): Likewise.
80641 (fma_test): Likewise.
80642 (j0_test): Likewise.
80643 (jn_test): Likewise.
80644 (nexttoward_test): Likewise.
80645 (pow_test): Likewise.
80646 (scalbn_test): Likewise.
80647 (scalbln_test): Likewise.
80648 (tan_test): Likewise.
80649 (y1_test): Likewise.
80650 * sysdeps/i386/fpu/libm-test-ulps: Update.
80651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80652
80653 2012-05-23 David S. Miller <davem@davemloft.net>
80654
80655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80656 (__libc_sigaction): Remove unused local variables.
80657
80658 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80659
80660 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80661
80662 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
80663
80664 mktime: avoid signed integer overflow
80665 * time/mktime.c (__mktime_internal): Do not mishandle the case
80666 where diff == INT_MIN.
80667
80668 mktime: simplify computation of average
80669 * time/mktime.c (ranged_convert): Use new time_t_avg function
80670 instead of rolling our own (probably-slower) code.
80671
80672 mktime: do not assume signed right shift propagates sign bit
80673 * time/mktime.c (isdst_differ): New static function.
80674 (__mktime_internal): No need to normalize tm_isdst now.
80675 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80676 tm_isdst values.
80677
80678 mktime: merge another wrapv change from gnulib
80679 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80680 from some compilers.
80681
80682 mktime: remove incorrect attempt at unusual arithmetics
80683 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80684 The code didn't really work on such machines anyway.
80685 (TYPE_MINIMUM): Assume two's complement.
80686 (twos_complement_arithmetic): Verify that long_int and time_t
80687 are two's complement (or unsigned, in the latter case).
80688
80689 mktime: check signed shifts on long_int and time_t, too
80690 * time/mktime.c (SHR): Check that shifts work as desired
80691 on the types long_int and time_t too, as SHR is used on
80692 such types.
80693
80694 mktime: do not assume 'long' is wide enough
80695 * time/mktime.c (verify): Move decl up.
80696 (long_int): New type.
80697 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
80698 to remove assumption in the code that 'long' is wide enough to
80699 store year values. This assumption is not true on x32 and on
80700 some non-glibc platforms.
80701
80702 mktime: merge wrapv change from gnulib
80703 * time/mktime.c (WRAPV): New macro.
80704 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80705 (guess_time_tm, __mktime_internal): Do not assume that signed
80706 integer overflow wraps around; modern compilers generate code
80707 where this assumption is no longer valid.
80708
80709 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80710
80711 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80712 Replace "jmp L(pseudo_end)" with "ret".
80713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80714 Likewise.
80715
80716 2012-05-23 Andreas Jaeger <aj@suse.de>
80717
80718 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80719 * sysdeps/unix/sysv/linux/poll.c: Remove file.
80720
80721 2012-05-23 Andreas Jaeger <aj@suse.de>
80722 Maximilian Attems <max@stro.at>
80723
80724 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80725 New macros.
80726
80727 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80728
80729 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80730 code so that pseudo_end is just ret and the stack pointer is
80731 correct also for static library in error case.
80732
80733 2012-05-23 Joseph Myers <joseph@codesourcery.com>
80734
80735 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80736 move to syscalls.list.
80737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80741
80742 * manual/install.texi (Running make install): Do not mention Linux
80743 kernel version for which pt_chown is not needed.
80744 (Linux): Do not mention problems with nscd with 2.0 kernels.
80745 * INSTALL: Regenerated.
80746
80747 2012-05-23 Andreas Jaeger <aj@suse.de>
80748
80749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80750 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80751 macro.
80752 * sysdeps/unix/sysv/linux/s390/bits/mman.h
80753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80754 * sysdeps/unix/sysv/linux/sh/bits/mman.h
80755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80756 * sysdeps/unix/sysv/linux/i386/bits/mman.h
80757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80760 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80762 * sysdeps/unix/sysv/linux/bits/in.h
80763 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80764
80765 2012-05-22 Roland McGrath <roland@hack.frob.com>
80766
80767 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80768 (PREPARE_VERSION): Just use assert instead, it will be elided
80769 under [NDEBUG] anyway.
80770
80771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80772
80773 * sysdeps/unix/sysv/linux/Makefile: Include
80774 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80775 (sysdep_routines): Remove sysctl.
80776 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80777 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80778 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80779 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80780 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80781
80782 2012-05-22 Andreas Jaeger <aj@suse.de>
80783
80784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80785 that pseudo_end is just ret and the stack pointer is correct also
80786 for static library in error case.
80787
80788 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
80789
80790 [BZ #14122]
80791 * nss/nsswitch.c (defconfig_entries): New variable.
80792 (__nss_database_lookup): Don't leak defconfig entries.
80793 (nss_parse_service_list): Don't leak on error paths.
80794 (free_database_entries): New function.
80795 (free_defconfig): New function.
80796 (free_mem): Move common code to free_database_entries.
80797
80798 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80799
80800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80801 Add arch_prctl.
80802 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80803
80804 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80805 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80807 New macro.
80808 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80809 (INTERNAL_SYSCALL_TYPES): Likewise.
80810 (LOAD_ARGS_TYPES_[1-6]): Likewise.
80811 (LOAD_REGS_TYPES_[1-6]): Likewise.
80812 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80813 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80814
80815 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80816
80817 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80818 copysignl for GLIBC_2_0.
80819 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80820 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80822 logbl for GLIBC_2_0.
80823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80824 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80825
80826 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80827
80828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80830
80831 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80832 Use "neg %eax".
80833
80834 * time/mktime.c: Update copyright years.
80835
80836 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
80837
80838 mktime: merge comment-quoting-style change from gnulib
80839 * time/mktime.c: Quote 'like this' in comments.
80840 The GNU coding standards suggest that we no longer quote `like this',
80841 as "`" and "'" are typically rendered asymmetrically nowadays.
80842 The typical gnulib style is to quote 'like this' when quoting
80843 code, and "like this" when quoting English.
80844
80845 * time/mktime.c (compile-command): Add "-I.".
80846
80847 mktime: merge mktime-internal.h change from gnulib
80848 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80849
80850 mktime: merge time_r change from gnulib
80851 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80852
80853 mktime: merge DEBUG change from gnulib
80854 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80855 case system <time.h> has a #define.
80856
80857 mktime: merge <sys/types.h> change from gnulib
80858 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80859 since <time.t> is now guaranteed to define time_t.
80860
80861 mktime: merge HAVE_CONFIG_H change from gnulib
80862 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80863
80864 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80865
80866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80867 Use "neg %eax".
80868
80869 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80870 __rlim_t cast.
80871 (struct rusage): Use anonymous union to pad each field to
80872 __syscall_slong_t.
80873
80874 2012-05-21 David S. Miller <davem@davemloft.net>
80875
80876 * Makefules (o-iterator): Remove .s cases.
80877 (compile-command.s): Delete.
80878 (COMPILE.s): Delete.
80879 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80880
80881 2012-05-21 Joseph Myers <joseph@codesourcery.com>
80882
80883 * configure.in (libc_cv_predef_stack_protector): Only consider
80884 "foobar" and "__stack_chk_fail" lines in libc_undefs.
80885 * configure: Regenerated.
80886
80887 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80888
80889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80890 New macro. Use R*LP on int and pointer.
80891 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80892 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80893 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80894 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80895
80896 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80897 [__WORDSIZE_TIME64_COMPAT32] instead of
80898 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80899 (struct utmp): Likewise.
80900 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80901 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80902 Renamed to ...
80903 (__WORDSIZE_TIME64_COMPAT32): This.
80904 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80905 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80906 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80907 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80908 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80909 (__WORDSIZE_TIME64_COMPAT32): New macro.
80910
80911 2012-05-21 Andreas Jaeger <aj@suse.de>
80912
80913 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80914 only if [SHARED]. Add prototype for __wcschr_ia32.
80915
80916 2012-05-21 Roland McGrath <roland@hack.frob.com>
80917
80918 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80919 of %rbp unmolested in the jmp_buf while mangling the low bits.
80920 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80921 unmolested high bits of %rbp while demangling the low bits.
80922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80923
80924 2012-05-21 Andreas Jaeger <aj@suse.de>
80925
80926 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80927 * sunrpc/svc_simple.c: Use it for registerrpc.
80928 * sunrpc/xcrypt.c: Use it for passwd2des.
80929
80930 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80931
80932 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80933
80934 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80935 Don't define if [__SYSCALL_WORDSIZE != 32].
80936 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80937 New macro.
80938
80939 2012-05-21 Bruno Haible <bruno@clisp.org>
80940 Andreas Jaeger <aj@suse.de>
80941
80942 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80943 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80944 inptr and inend for must_buffer_ch.
80945 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80946 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80947 * stdio-common/Makefile (tests): Remove bug15.
80948 (bug15-ENV): Remove macro.
80949 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80950 anymore.
80951
80952 2012-05-19 Andreas Jaeger <aj@suse.de>
80953 Roland McGrath <roland@hack.frob.com>
80954
80955 * manual/contrib.texi: Completely rewritten. It contains now an
80956 alphabetical list of contributors and their contributions.
80957
80958 2012-05-21 Richard Henderson <rth@twiddle.net>
80959
80960 * misc/getauxval.c (__getauxval): Use unsigned long int.
80961 * misc/sys/auxv.h: Include <sys/cdefs.h>.
80962 (getauxval): Use unsigned long int.
80963
80964 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80965
80966 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80967
80968 2012-05-21 Roland McGrath <roland@hack.frob.com>
80969
80970 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80971 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80972 __alignof__ (long double).
80973
80974 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80975
80976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80977
80978 2012-05-20 Richard Henderson <rth@twiddle.net>
80979
80980 * misc/getauxval.c: New file.
80981 * misc/sys/auxv.h: New file.
80982 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80983 (routines): Add getauxval.
80984 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80985 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80986 * elf/dl-sysdep.c (_dl_auxv): Remove.
80987 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80988 * elf/dl-support.c (_dl_auxv): New variable.
80989 (_dl_aux_init): Initialize it.
80990 * manual/startup.texi (Auxiliary Vector): New node.
80991 * sysdeps/generic/bits/hwcap.h: New file.
80992 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80993 * sysdeps/powerpc/sysdep.h: ... here. Include it.
80994 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80995 * sysdeps/sparc/sysdep.h: ... here. Include it.
80996 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80999 Update.
81000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81003 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81008
81009 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81010
81011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81012
81013 2012-05-19 David S. Miller <davem@davemloft.net>
81014
81015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81016
81017 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81018
81019 [BZ #14123]
81020 * math/s_ccosh.c: Include <float.h>
81021 (__ccosh): Avoid internal overflow calculating sinh and cosh
81022 values before multiplying by sin and cos values.
81023 * math/s_ccoshf.c: Likewise.
81024 * math/s_ccoshl.c: Likewise.
81025 * math/s_csin.c: Likewise.
81026 * math/s_csinf.c: Likewise.
81027 * math/s_csinl.c: Likewise.
81028 * math/s_csinh.c: Likewise.
81029 * math/s_csinhf.c: Likewise.
81030 * math/s_csinhl.c: Likewise.
81031 * math/libm-test.inc (ccos_test): Add more tests.
81032 (ccosh_test): Likewise.
81033 (csin_test): Likewise.
81034 (csinh_test): Likewise.
81035 * sysdeps/i386/fpu/libm-test-ulps: Update.
81036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81037
81038 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81039
81040 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81041 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81042
81043 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81044
81045 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81046
81047 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81048 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81049 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81050 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81051 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81052 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81053 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81054 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81055 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81056 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81057 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81058 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81059 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81060 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81061 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81062 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81063 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81064 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81065 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81066 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81067 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81068 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81069 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81070 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81071 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81072 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81073 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81074 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81075 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81076 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81077 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81078
81079 2012-05-18 Andreas Jaeger <aj@suse.de>
81080
81081 * csu/.gitignore: Delete.
81082
81083 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81084
81085 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81086 (timex): Use __syscall_slong_t.
81087
81088 2012-05-18 Andreas Jaeger <aj@suse.de>
81089 Carlos O'Donell <carlos_odonell@mentor.com>
81090
81091 * manual/install.texi (Configuring and compiling): Update
81092 description about files modified in the source directory.
81093 * INSTALL: Regenerated.
81094
81095 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81096
81097 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81098 value. Use "or" to set return value to -1.
81099 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81100 negate return value.
81101
81102 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81103
81104 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81105 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81106 failure if the compiler has Graphite support disabled.
81107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81108 Likewise.
81109 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81110 (CFLAGS-memmove.c): Likewise.
81111 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81112 Likewise.
81113
81114 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81115
81116 * sysdeps/x86_64/x32/_itoa.h: New file.
81117
81118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81119 getdents system call only if kernel and user dirents have the
81120 same d_ino and d_off.
81121
81122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81123 LLONG_MAX != LONG_MAX.
81124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81125 (_fitoa_word): Likewise.
81126
81127 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81128 years.
81129 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81131 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81132
81133 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81134 include <bits/wordsize.h>. Check __x86_64__ instead of
81135 __WORDSIZE.
81136 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81137 if __x86_64__ is defined. Use anonymous union on fpstate.
81138
81139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81140 anonymous union.
81141
81142 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81143
81144 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81145 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81147 Refer to _rtld_local_ro instead of _rtld_global_ro.
81148 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81149 Likewise.
81150 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81151 Likewise.
81152 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81153 Likewise.
81154 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81155 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81156 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81157
81158 [BZ #10882]
81159 * sysdeps/powerpc/powerpc32/dl-machine.c
81160 (__elf_machine_runtime_setup) [PROF]: Don't reference
81161 _dl_prof_resolve.
81162
81163 2012-05-18 Andreas Jaeger <aj@suse.de>
81164
81165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81166 function only available for GCCs before 3.4 since GCC 3.4
81167 introduced a builtin.
81168 (lrint): Likewise.
81169 (llrintf): Likewise.
81170 (llrint): Likewise.
81171 (fmaxf): Likewise.
81172 (fmax): Likewise.
81173 (fminf): Likewise.
81174 (fmin): Likewise.
81175 (rint): Likewise.
81176 (rintf): Likewise.
81177 (nearbyint): Likewise.
81178 (nearbyintf): Likewise.
81179 (ceil): Likewise.
81180 (ceilf): Likewise.
81181 (floor): Likewise.
81182 (floorf): Likewise.
81183
81184 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81185
81186 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81187 on both fields and cast pointer to __syscall_ulong_t.
81188
81189 * bits/types.h (__fsword_t): New type.
81190 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81191 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81193 (__FSWORD_T_TYPE): Likewise.
81194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81195 (__FSWORD_T_TYPE): Likewise.
81196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81197 (__FSWORD_T_TYPE): Likewise.
81198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81199 (__FSWORD_T_TYPE): Likewise.
81200 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81201 __SWORD_TYPE with __fsword_t.
81202 (statfs64): Likewise.
81203
81204 2012-05-17 David S. Miller <davem@davemloft.net>
81205
81206 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81207
81208 2012-05-17 Andreas Jaeger <aj@suse.de>
81209
81210 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81211 warning.
81212
81213 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81214
81215 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81216
81217 2012-05-17 Andreas Jaeger <aj@suse.de>
81218
81219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81220 when it is used.
81221
81222 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81223
81224 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81225
81226 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81227
81228 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81229 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81230
81231 2012-05-17 Andreas Jaeger <aj@suse.de>
81232 Carlos O'Donell <carlos_odonell@mentor.com>
81233
81234 [BZ #14059]
81235 * sysdeps/x86_64/multiarch/init-arch.h
81236 (bit_YMM_Usable): Rename to...
81237 (bit_AVX_Usable): ... this.
81238 (bit_FMA4_Usable): New macro.
81239 (bit_XMM_state): New macro.
81240 (bit_YMM_state): New macro.
81241 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81242 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81243 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81244 (CPUID_OSXSAVE): New macro.
81245 (CPUID_AVX): New macro.
81246 (CPUID_FMA4): New macro.
81247 (index_YMM_Usable): Rename to...
81248 (index_AVX_Usable): ... this.
81249 (HAS_AVX): Use HAS_ARCH_FEATURE.
81250 (HAS_FMA4): Likewise.
81251 (HAS_YMM_USABLE): Remove.
81252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81253 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81254 are present.
81255 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81256 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81257 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81258 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81259 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81260
81261 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81262
81263 * math/libm-test.c: Support platforms without multiple rounding modes.
81264 * math/bug-nextafter.c: Support platforms without FP exceptions.
81265 * math/bug-nexttoward.c: Likewise.
81266 * math/test-fenv.c: Likewise.
81267 * math/test-misc.c: Likewise.
81268 * stdlib/bug-getcontext.c: Likewise.
81269
81270 2012-05-17 Andreas Jaeger <aj@suse.de>
81271
81272 * manual/examples/search.c (critter_cmp): Change signature to
81273 avoid warnings.
81274 * manual/string.texi (Collation Functions): Likewise.
81275
81276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81277
81278 * bits/types.h: Fold copyright years.
81279 * bits/typesizes.h: Likewise.
81280 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81284 * time/time.h: Likewise.
81285
81286 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81287
81288 [BZ #208]
81289 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81290 in instead of returning them. Return void.
81291 (__libc_mallinfo): Accumulate over all arenas.
81292 (__malloc_stats): Adjust for change in int_mallinfo interface.
81293
81294 2012-05-16 Roland McGrath <roland@hack.frob.com>
81295
81296 [BZ #10375]
81297 * configure.in (NM): Add AC_CHECK_TOOL for it.
81298 (libc_extra_cflags): New substituted variable.
81299 Check for -fstack-protector being used implicitly.
81300 * configure: Regenerated.
81301 * config.make.in (config-extra-cflags): New variable,
81302 gets @libc_extra_cflags@.
81303 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81304
81305 [BZ #10375]
81306 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81307 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81308 * configure: Regenerated.
81309 * config.make.in (CPPUNDEFS): New substituted variable.
81310 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81311 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81312 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81313
81314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81315
81316 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81317 (mq_attr): Use __syscall_slong_t.
81318
81319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81320
81321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81322 Check __x86_64__ instead of __WORDSIZE.
81323 (_STAT_VER_LINUX): Likewise.
81324 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81325 __syscall_ulong_t and __syscall_slong_t.
81326 (stat64): Likewise.
81327
81328 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81329
81330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81331
81332 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81333
81334 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81335
81336 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81337
81338 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81339 __syscall_ulong_t.
81340
81341 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81342 include <bits/wordsize.h>. Check __x86_64__ instead of
81343 __WORDSIZE.
81344 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81345 defined.
81346 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81347
81348 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81349 include <bits/wordsize.h>. Check __x86_64__ instead of
81350 __WORDSIZE.
81351 (user_regs_struct): Use "__extension__ unsigned long long"
81352 instead of "unsigned long" if __x86_64__ is defined.
81353 (user): Likewise. Pad after pointer field if __ILP32__ is
81354 defined.
81355
81356 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81357
81358 * configure.in (makeinfo): Require version 4.5 or later. Allow
81359 versions 5 to 9.
81360 * configure: Regenerated.
81361 * manual/install.texi (texinfo): Increase version requirement to
81362 4.5 or later.
81363 * INSTALL: Regenerated.
81364
81365 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81366
81367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81368
81369 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81370
81371 * sysdeps/x86_64/x32/ffs.c: New file.
81372
81373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81374 __syscall_ulong_t.
81375 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81376 defined. Use __syscall_ulong_t.
81377 (shminfo): Use __syscall_ulong_t.
81378 (shm_info): Likewise.
81379
81380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81381 __syscall_ulong_t.
81382
81383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81384 <bits/wordsize.h>.
81385 (msgqnum_t): Use __syscall_ulong_t.
81386 (msglen_t): Likewise.
81387 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81388 __syscall_ulong_t.
81389
81390 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81391 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81392
81393 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81394
81395 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81396 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81397
81398 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81399 __syscall_slong_t.
81400
81401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81402 include <bits/wordsize.h>. Check __x86_64__ instead of
81403 __WORDSIZE.
81404
81405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81406 "unsigned long long int" if __x86_64__ is defined.
81407 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81408
81409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81411 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81412
81413 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81414 <stdint.h>.
81415 (GET_PC): Cast to uintptr_t first.
81416 (GET_FRAME): Likewise.
81417 (GET_STACK): Likewise.
81418
81419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81422 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81424 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81425 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81426 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81427 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81431 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81433 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81434 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81435 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81439 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81440 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81441 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81442 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81443 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81448
81449 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81450
81451 * Makerules (+depfiles): Also collect depfiles from .oS in
81452 $(extra-objs).
81453 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81454 .oS, $(libnldbl-routines)).
81455
81456 * Makerules (native-compile-mkdep-flags): Define.
81457 * sunrpc/Makefile (extra-objs): Add $(addprefix
81458 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81459 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81460 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81461 calling $(make-target-directory).
81462
81463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81464
81465 * bits/types.h (__snseconds_t): Removed.
81466 * time/time.h (struct timespec): Replace __snseconds_t with
81467 __syscall_slong_t.
81468 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81469 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81470 Likewise.
81471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81472 (__SNSECONDS_T_TYPE): Likewise.
81473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81474 (__SNSECONDS_T_TYPE): Likewise.
81475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81476 (__SNSECONDS_T_TYPE): Likewise.
81477
81478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81479
81480 * sysdeps/mach/hurd/bits/typesizes.h
81481 (__SYSCALL_SLONG_TYPE): New macro.
81482 (__SYSCALL_ULONG_TYPE): Likewise.
81483
81484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81485
81486 * bits/types.h (__syscall_slong_t): New type.
81487 (__syscall_ulong_t): Likewise.
81488
81489 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81490 (__SYSCALL_ULONG_TYPE): Likewise.
81491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81492 (__SYSCALL_SLONG_TYPE): Likewise.
81493 (__SYSCALL_ULONG_TYPE): Likewise.
81494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81495 (__SYSCALL_SLONG_TYPE): Likewise.
81496 (__SYSCALL_ULONG_TYPE): Likewise.
81497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81498 (__SYSCALL_SLONG_TYPE): Likewise.
81499 (__SYSCALL_ULONG_TYPE): Likewise.
81500
81501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81502
81503 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81504 Add sigaltstack-offsets.sym.
81505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81506 <sigaltstack-offsets.h>.
81507 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81508 longjmp_msg pointer.
81509 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81510 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81511 signal stack.
81512 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81513
81514 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81515
81516 * elf/stackguard-macros.h: Remove file.
81517 * sysdeps/generic/stackguard-macros.h: New file.
81518 * sysdeps/i386/stackguard-macros.h: Likewise.
81519 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81520 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81521 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81522 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81523 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81524 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81525 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81526 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81527 <elf/stackguard-macros.h>.
81528
81529 [BZ #14109]
81530 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81531 __aligned__ in attribute.
81532 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81533 (gregset_t): Likewise.
81534
81535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81536
81537 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81538 * sysdeps/x86_64/64/Implies-after: Here. New file.
81539 * sysdeps/x86_64/x32/Implies-after: New file.
81540
81541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81542
81543 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81544 and access return value for _dl_profile_fixup. Use R10_LP to
81545 load frame size.
81546
81547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81548
81549 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81550
81551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81552
81553 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81554 * sysdeps/x86_64/x32/sysdep.h: New file.
81555
81556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81557
81558 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81559 * sysdeps/x86_64/setjmp.S: Likewise.
81560
81561 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81562
81563 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81564 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81565 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81567 remove unused global constant.
81568
81569 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
81570
81571 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81572 include of <not-cancel.h>.
81573
81574 2012-05-15 Roland McGrath <roland@hack.frob.com>
81575
81576 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81577
81578 2012-05-15 Jeff Law <law@redhat.com>
81579 Andreas Jaeger <aj@suse.de>
81580
81581 [BZ #13594]
81582 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81583 out from...
81584 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81585 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81586 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81587 code changing __hst_map_handle.map.
81588
81589 2012-05-15 Roland McGrath <roland@hack.frob.com>
81590
81591 * configure.in (sysnames): Look for Implies-before and Implies-after
81592 files.
81593 * configure: Regenerated.
81594
81595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81596
81597 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81598 8-byte data alignment with LP_SIZE alignment.
81599
81600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81601
81602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81603 into R10_LP.
81604
81605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81606
81607 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81608
81609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81610
81611 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81612 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81614 Likewise.
81615 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81616
81617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81618
81619 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81620 (stackinfo_sub_sp): Likewise.
81621
81622 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81623
81624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81625 RAX_LP.
81626
81627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81628
81629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81630 into R*_LP.
81631
81632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81633
81634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81635 sizes into R*_LP.
81636
81637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81638
81639 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81640
81641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81642
81643 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81644 into R11_LP and load __x86_64_shared_cache_size_half into
81645 R8_LP.
81646
81647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81648
81649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81650 R8_LP.
81651
81652 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81653
81654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81655 logb for POWER7.
81656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81657 logbf for POWER7.
81658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81659 logbl for POWER7.
81660 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81661 powerpc32/power7/fpu/s_logb.c via #include.
81662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81663 powerpc32/power7/fpu/s_logbf.c via #include.
81664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81665 powerpc32/power7/fpu/s_logbl.c via #include.
81666
81667 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81668
81669 * README.libm: Remove file.
81670
81671 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81672
81673 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81674 count for x32. Use R*_LP and omit operand-size suffix.
81675
81676 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81677
81678 * shlib-versions: Move x86_64-.*-linux.* entries to ...
81679 * sysdeps/x86_64/64/shlib-versions: Here. New file.
81680 * sysdeps/x86_64/x32/shlib-versions: New file.
81681
81682 2012-05-14 Roland McGrath <roland@hack.frob.com>
81683
81684 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81685 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81686 Use _dl_fatal_printf instead.
81687
81688 2012-05-14 Joseph Myers <joseph@codesourcery.com>
81689
81690 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
81691 set if not set by the user. Do not allow for being unset.
81692 * sysdeps/unix/sysv/linux/configure: Regenerated.
81693
81694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81695
81696 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
81697 the `q' suffix from lea and replace .quad with ASM_ADDR.
81698
81699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81700
81701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81702 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
81703 instead of $17.
81704 (PTR_DEMANGLE): Likewise.
81705
81706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81707
81708 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81709 (LP_OP): Likewise.
81710 (ASM_ADDR): Likewise.
81711 (RAX_LP): Likewise.
81712 (RBP_LP): Likewise.
81713 (RBX_LP): Likewise.
81714 (RCX_LP): Likewise.
81715 (RDI_LP): Likewise.
81716 (RSI_LP): Likewise.
81717 (RSP_LP): Likewise.
81718 (R8_LP): Likewise.
81719 (R9_LP): Likewise.
81720 (R10_LP): Likewise.
81721 (R10_LP): Likewise.
81722 (R11_LP): Likewise.
81723 (R12_LP): Likewise.
81724 (R13_LP): Likewise.
81725 (R14_LP): Likewise.
81726 (R15_LP): Likewise.
81727
81728 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81729
81730 * sysdeps/x86_64/x32/dl-machine.h: New file.
81731
81732 2012-05-14 Andreas Jaeger <aj@suse.de>
81733
81734 * manual/Makefile (subdir): Remove export of subdir.
81735 (all): Remove target.
81736 (.PHONY): Remove all from list.
81737 (mkinstalldirs): Remove.
81738 (.PHONY): Remove installdirs from list.
81739 ($(inst_infodir)/libc.info): Use make-target-directory.
81740 (installdirs): Remove.
81741 (subdir_%): Remove.
81742 (glibc-targets): Remove.
81743 (lib): Remove.
81744 (stubs): Remove.
81745 ($(objpfx)stubs ../po/manual.pot): Remove.
81746 ($(objpfx)stamp%): Remove.
81747 (make-target-directory): Remove.
81748 (subdir_install): Remove.
81749 (routines): Remove.
81750 (aux): Remove.
81751 (sources): Remove.
81752 (objects): Remove.
81753 (headers): Remove.
81754
81755 [BZ #13750]
81756 * manual/.gitignore: Remove, it's not needed anymore.
81757 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81758 all files in it.
81759 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81760 directory.
81761 (texis): Renamed to $(objpfx)texis.
81762 (texis-path): New, contains path to generated files.
81763 (chapters.%): Use texis-path for complete path, add extra argument
81764 libc-texinfo.sh.
81765 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81766 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81767 (summary,texi, stamp-summary): Use complete path of
81768 files. Generate files in build dir.
81769 (dir-add.texi): Build in build dir.
81770 (libm-err.texi,stamp-libm-err): Likewise.
81771 (version.texi, stamp-version): Likewise.
81772 (.%c.texi): Likewise.
81773 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81774 (mostlyclean): Remove target.
81775 (realclean): Remove target.
81776 (generated): Add new variable with contents from mostlyclean and
81777 realclean, remove entries duplicated in common-mostlyclean, add
81778 stamp-libm-err and stamp-version.
81779 (generated-dirs): Add libc directory.
81780 ($(inst_infodir)/libc.info): Install files from build dir.
81781
81782 * manual/install.texi (Configuring and compiling): Adjust since
81783 the info files are not part of the tar ball anymore.
81784
81785 2012-05-14 Andreas Jaeger <aj@suse.de>
81786
81787 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81788 variable.
81789
81790 2012-05-14 Joseph Myers <joseph@codesourcery.com>
81791
81792 [BZ #13717]
81793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81794 to 2.2.0 where earlier.
81795 * sysdeps/unix/sysv/linux/configure: Regenerated.
81796 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81797 Remove conditional code.
81798 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81799 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81800 Remove conditional code.
81801 [!__NR_lchown]: Likewise.
81802 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81803 [__NR_lchown]: Likewise.
81804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81805 comment referencing __ASSUME_LCHOWN_SYSCALL.
81806 * sysdeps/unix/sysv/linux/i386/sigaction.c
81807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81809 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81810 Remove conditional code.
81811 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81812 (__protocol_available): Remove #if 0 code.
81813 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81814 conditional code.
81815 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81816 * sysdeps/unix/sysv/linux/kernel-features.h
81817 (__ASSUME_GETCWD_SYSCALL): Don't define.
81818 (__ASSUME_REALTIME_SIGNALS): Likewise.
81819 (__ASSUME_PREAD_SYSCALL): Likewise.
81820 (__ASSUME_PWRITE_SYSCALL): Likewise.
81821 (__ASSUME_POLL_SYSCALL): Likewise.
81822 (__ASSUME_LCHOWN_SYSCALL): Likewise.
81823 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81824 non-SPARC.
81825 (__ASSUME_SIOCGIFNAME): Don't define.
81826 (__ASSUME_MSG_NOSIGNAL): Likewise.
81827 (__ASSUME_SENDFILE): Define unconditionally.
81828 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81829 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81830 conditional code.
81831 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81832 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81834 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81835 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81836 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81837 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81862 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81863 Remove conditional code.
81864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81865 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81866 Remove conditional code.
81867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81868 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81869 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81870 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81871 Remove conditional code.
81872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81873 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81874 Remove conditional code.
81875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81876 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81877 Remove conditional code.
81878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81879 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81880 Remove conditional code.
81881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81882 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81883 Remove conditional code.
81884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81885 * sysdeps/unix/sysv/linux/sh/pwrite64.c
81886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81888 * sysdeps/unix/sysv/linux/sigaction.c
81889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81891 * sysdeps/unix/sysv/linux/sigpending.c
81892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81894 * sysdeps/unix/sysv/linux/sigprocmask.c
81895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81897 * sysdeps/unix/sysv/linux/sigsuspend.c
81898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81901 (__libc_missing_rt_sigs): Remove.
81902 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81903 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81904 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81905 Remove conditional code.
81906 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81907 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81908 return 1.
81909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81910 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81911 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81912 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81913
81914 2012-05-14 Andreas Jaeger <aj@suse.de>
81915
81916 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81917 it's not used in glibc.
81918 (__coshm1): Likewise.
81919 (__acosh1p): Likewise.
81920 (__sgn): Likewise.
81921
81922 * manual/string.texi (Copying and Concatenation): Add missing
81923 variable in concat example.
81924 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81925
81926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81927
81928 [BZ #14103]
81929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81930 __builtin_clzl with __builtin_clzll.
81931
81932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81933
81934 [BZ #14104]
81935 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81936 libc_freeres_ptr.
81937
81938 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81939
81940 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81941 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81942 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81944
81945 2012-05-14 Mike Frysinger <vapier@gentoo.org>
81946
81947 * NEWS: Update ia64 info.
81948
81949 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
81950
81951 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81952 used as bcopy.
81953
81954 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
81955
81956 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81957 * sysdeps/unix/syscalls.list (dup3): Likewise.
81958 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81959 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81960
81961 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
81962
81963 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81964 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81965
81966 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
81967
81968 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81969 thread pointer.
81970 (TLS_IE): Use mov/add instead of movq/addq to load thread
81971 pointer.
81972 (TLS_GD_PREFIX): New.
81973 (TLS_GD): Use it.
81974
81975 2012-05-11 David S. Miller <davem@davemloft.net>
81976
81977 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81978 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81979 (_FPU_SETCW): Likewise.
81980
81981 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81982
81983 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81984 is 32-byte aligned.
81985
81986 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
81987
81988 [BZ #11837]
81989 * iconvdata/gb18030.c: Update tables.
81990 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
81991 characters specially.
81992 (BODY for TO_LOOP): Add encoding of missing ranges.
81993
81994 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
81995
81996 [BZ #13673]
81997 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81998 * sysdeps/mach/hurd/dup3.c: Likewise.
81999 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82000 * sysdeps/powerpc/memmove.c:: Likewise.
82001
82002 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82003
82004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82005 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82006
82007 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82008
82009 * elf/elf.h (R_X86_64_RELATIVE64): New.
82010 (R_X86_64_NUM): Updated.
82011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82012 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82013 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82014 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82015 tst-quad1pie tst-quad2pie
82016 (modules-names): Add tst-quadmod1 tst-quadmod2.
82017 ($(objpfx)tst-quad1): New dependency.
82018 ($(objpfx)tst-quad2): Likewise.
82019 ($(objpfx)tst-quad1pie): Likewise.
82020 ($(objpfx)tst-quad2pie): Likewise.
82021 * sysdeps/x86_64/tst-quad1.c: New file.
82022 * sysdeps/x86_64/tst-quad1pie.c: New file.
82023 * sysdeps/x86_64/tst-quad2.c: Likewise.
82024 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82025 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82026 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82027 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82028 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82029
82030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82031
82032 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82033 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82034 * streams/stropts.h (t_scalar_t): Define type.
82035
82036 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82037 (_PATH_PRESERVE): Set to "/var/lib".
82038 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82039
82040 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82041 instead of int.
82042
82043 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82044 if __dir_mkfile succeeded.
82045
82046 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82047 checking for _hurd_dtablesize. Unlock it right after having
82048 finished _hurd_dtable allocation.
82049
82050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82051
82052 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82053 * sysdeps/mach/hurd/configure: Regenerated.
82054 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82055 special-casing to...
82056 * sysdeps/gnu/configure.in: ... this new file.
82057 * sysdeps/unix/sysv/linux/configure: Regenerated.
82058 * sysdeps/gnu/configure: New generated file.
82059
82060 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82061 for Linux: use nsec instead of usec, as well as:
82062 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82063 members of type struct timespec.
82064 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82065 New macros.
82066 (struct stat64): Likewise.
82067 (_STATBUF_ST_NSEC): New macro.
82068 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82069
82070 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82071 __strtoul_internal rather than strtoul.
82072
82073 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82074
82075 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82076 and reject them.
82077
82078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82079
82080 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82081 which preserves existing values.
82082 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82083
82084 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82085
82086 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82087 TIMEOUT values. Return EINVAL for NFDS values either negative or
82088 greater than FD_SETSIZE.
82089
82090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82091
82092 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82093 allocated, call __vm_protect to finish enabling the existing space, and
82094 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82095 allocate the remainder.
82096
82097 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82098
82099 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82100 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82101
82102 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82103
82104 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82105 sysdeps/mach/hurd/readlink.c.
82106
82107 * posix/tst-sysconf.c (posix_options): Only use
82108 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82109 _POSIX_SYNCHRONIZED_IO when they are defined
82110 * sysdeps/mach/hurd/bits/posix_opt.h:
82111 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82112 (_XOPEN_REALTIME): Undefine macro.
82113 (_XOPEN_REALTIME_THREADS): Undefine macro.
82114 (_XOPEN_SHM): Undefine macro.
82115 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82116 macro to -1.
82117 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82118 macro to -1.
82119 (_POSIX_ASYNC_IO): Undefine macro.
82120 (_POSIX_PRIORITIZED_IO): Undefine macro.
82121 (_POSIX_SPIN_LOCKS): Define macro to -1.
82122
82123 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82124 SA_NODEFER, SA_RESETHAND.
82125 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82126 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82127 F_DUPFD_CLOEXEC.
82128
82129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82130
82131 * elf/Makefile (pldd-modules): Define unconditionally.
82132
82133 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82134
82135 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82136
82137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82138
82139 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82140 Return ENOENT when name is empty.
82141 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82142
82143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82144
82145 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82146
82147 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82148
82149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82150
82151 Fix mlock in all cases except non-readable pages.
82152 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82153 instead of VM_PROT_ALL as parameter to __vm_wire function.
82154
82155 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82156 (__mkdir): When path is `/', just fail with EEXIST.
82157 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82158
82159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82160
82161 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82162 <sys/uio.h> (for writev).
82163 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82164 and <sys/param.h> (for MIN).
82165
82166 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82167
82168 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82169 REQUESTED_TIME. Properly set the remaining time and return EINTR
82170 if interrupted.
82171
82172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82173
82174 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82175 Depend on against $(link-rpcuserlibs).
82176
82177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82178
82179 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82180 (__libc_stack_end): Do not use attribute_relro.
82181 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82182 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82183 to libthread-provided value.
82184 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82185 attribute_relro.
82186
82187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82188
82189 [BZ #3748]
82190 * bits/libc-lock.h (__libc_once_get): New macro.
82191 * sysdeps/mach/bits/libc-lock.h: Likewise.
82192 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82194 instead of using implementation details.
82195
82196 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82197 * libio/freopen.c: Likewise.
82198 * libio/freopen64.c: Likewise.
82199 * misc/syslog.c: Likewise.
82200 * nscd/connections.c: Likewise.
82201 * nscd/netgroupcache.c: Likewise.
82202 * sysdeps/posix/getcwd.c: Likewise.
82203
82204 2012-05-10 Roland McGrath <roland@hack.frob.com>
82205
82206 * math/w_ilogbf.c: Add #include <limits.h>.
82207
82208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82209
82210 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82211 path instead of returning without unlocking.
82212
82213 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82214 immediate-write ioctls.
82215 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82216
82217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82218
82219 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82220 __builtin_frame_address instead of making assumptions about the
82221 location of the return address relative to DATA. Force early load of
82222 the return address.
82223 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82224 __builtin_frame_address.
82225
82226 dup3 for GNU Hurd.
82227 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82228 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82229 implement dup3 and do some further code clean-ups.
82230 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82231 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82232
82233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82234
82235 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82236
82237 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82238 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82239 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82240 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82241 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82242 d->port.lock.
82243
82244 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82245 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82246 when handler == SIG_ERR, not when handler != SIG_ERR.
82247
82248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82249
82250 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82251 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82252 definitions.
82253
82254 accept4 for GNU Hurd.
82255 * include/sys/socket.h (__libc_accept4): New prototype.
82256 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82257 to implement __libc_accept4.
82258 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82259 __libc_accept4.
82260 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82261
82262 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82263 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82264 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82265 signal-defines.sym.
82266
82267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82268
82269 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82270
82271 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82272
82273 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82274 assertion on O_CLOEXEC flag.
82275 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82276 * hurd/intern-fd.c: Likewise.
82277 * hurd/port2fd.c: Likewise.
82278
82279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82280
82281 [BZ #3906]
82282 * bits/in.h (IPV6_PKTINFO): Define new macro.
82283 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82284
82285 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82286
82287 [BZ #13954]
82288 [BZ #13955]
82289 [BZ #13956]
82290 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82292 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82295 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82296 * math/libm-test.inc (logb_test) : Additional logb tests.
82297
82298 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82299 Andreas Jaeger <aj@suse.de>
82300
82301 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82302 * configure: Regenerated.
82303 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82304 * config.make.in (link-obsolete-rpc): New substituted variable.
82305 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82306 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82307 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82308 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82309 so that libc.a contains the symbols.
82310 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82311 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82312 * sunrpc/auth_none.c: Likewise.
82313 * sunrpc/auth_unix.c: Likewise.
82314 * sunrpc/authdes_prot.c: Likewise.
82315 * sunrpc/authuxprot.c: Likewise.
82316 * sunrpc/clnt_gen.c: Likewise.
82317 * sunrpc/clnt_perr.c: Likewise.
82318 * sunrpc/clnt_raw.c: Likewise.
82319 * sunrpc/clnt_simp.c: Likewise.
82320 * sunrpc/clnt_tcp.c: Likewise.
82321 * sunrpc/clnt_udp.c: Likewise.
82322 * sunrpc/clnt_unix.c: Likewise.
82323 * sunrpc/des_crypt.c: Likewise.
82324 * sunrpc/des_soft.c: Likewise.
82325 * sunrpc/get_myaddr.c: Likewise.
82326 * sunrpc/key_call.c: Likewise.
82327 * sunrpc/key_prot.c: Likewise.
82328 * sunrpc/netname.c: Likewise.
82329 * sunrpc/pm_getmaps.c: Likewise.
82330 * sunrpc/pm_getport.c: Likewise.
82331 * sunrpc/pmap_clnt.c: Likewise.
82332 * sunrpc/pmap_prot.c: Likewise.
82333 * sunrpc/pmap_prot2.c: Likewise.
82334 * sunrpc/pmap_rmt.c: Likewise.
82335 * sunrpc/publickey.c: Likewise.
82336 * sunrpc/rpc_cmsg.c: Likewise.
82337 * sunrpc/rpc_common.c: Likewise.
82338 * sunrpc/rpc_dtable.c: Likewise.
82339 * sunrpc/rpc_prot.c: Likewise.
82340 * sunrpc/rpc_thread.c: Likewise.
82341 * sunrpc/rtime.c: Likewise.
82342 * sunrpc/svc.c: Likewise.
82343 * sunrpc/svc_auth.c: Likewise.
82344 * sunrpc/svc_raw.c: Likewise.
82345 * sunrpc/svc_run.c: Likewise.
82346 * sunrpc/svc_tcp.c: Likewise.
82347 * sunrpc/svc_udp.c: Likewise.
82348 * sunrpc/svc_unix.c: Likewise.
82349 * sunrpc/svcauth_des.c: Likewise.
82350 * sunrpc/xcrypt.c: Likewise.
82351 * sunrpc/xdr.c: Likewise.
82352 * sunrpc/xdr_array.c: Likewise.
82353 * sunrpc/xdr_float.c: Likewise.
82354 * sunrpc/xdr_intXX_t.c: Likewise.
82355 * sunrpc/xdr_mem.c: Likewise.
82356 * sunrpc/xdr_rec.c: Likewise.
82357 * sunrpc/xdr_ref.c: Likewise.
82358 * sunrpc/xdr_sizeof.c: Likewise.
82359 * sunrpc/xdr_stdio.c: Likewise.
82360
82361 2012-05-10 Roland McGrath <roland@hack.frob.com>
82362
82363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82364 change. Update copyright years.
82365
82366 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82367
82368 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82369
82370 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82371 Joseph Myers <joseph@codesourcery.com>
82372 Paul Pluzhnikov <ppluzhnikov@google.com>
82373
82374 [BZ #14012]
82375 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82376 requiring rpcgen.
82377 [cross-compiling] (extra-libs): Likewise.
82378 [cross-compiling] (extra-libs-others): Likewise.
82379 [cross-compiling] (librpcsvc-routines): Likewise.
82380 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82381 [cross-compiling] (omit-deps): Likewise.
82382 (sunrpc-CPPFLAGS): New variable.
82383 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82384 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82385 (cross-rpcgen-objs): New variable.
82386 (extra-objs): Append $(cross-rpcgen-objs).
82387 ($(cross-rpcgen-objs)): New rule.
82388 ($(objpfx)cross-rpcgen): Likewise.
82389 (rpcgen-cmd): Define to use $(built-program-file). Expand
82390 comment.
82391 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82392 ($(objpfx)x%.stmp): Likewise.
82393 * sunrpc/proto.h [IS_IN_build] (_): Define.
82394 [IS_IN_build] (_libc_intl_domainname): Likewise.
82395
82396 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82397
82398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82399 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82400 and R_X86_64_TPOFF64.
82401
82402 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82403
82404 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82405 sysdeps/unix/sysv/syscalls.list.
82406 (stime): Likewise.
82407 (utime): Likewise.
82408 * sysdeps/unix/sysv/syscalls.list: Remove file.
82409
82410 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82411
82412 [BZ #3440]
82413 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82414 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82415 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82416 (__LC_IDENTIFICATION): Make these macros useful in #if
82417 expressions, as required by C99.
82418
82419 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82420
82421 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82422 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82423 after this.
82424
82425 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82426
82427 * stdlib/longlong.h: Updated from GCC.
82428
82429 2012-05-09 Andreas Jaeger <aj@suse.de>
82430
82431 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82432 default is first entry.
82433 (run_mode): Set type.
82434 (main): Remove informal message about syslog.
82435 (options): Fix typo.
82436
82437 [BZ #14053]
82438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82439 to asm.
82440 (lrint): Likewise.
82441 (llrintf): Likewise.
82442 (llrint): Likewise.
82443 (rint): Likewise.
82444 (rintf): Likewise.
82445 (nearbyint): Likewise.
82446 (nearbyintf): Likewise.
82447
82448 2012-05-09 Andreas Jaeger <aj@suse.de>
82449 Pedro Alves <palves@redhat.com>
82450
82451 * nscd/nscd.c (run_mode): Use enum.
82452 (main): Cleanup coding style issue.
82453
82454 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82455 Andreas Jaeger <aj@suse.de>
82456
82457 * nscd/nscd.c (go_background): Replaced with...
82458 (run_mode): ... this.
82459 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82460 (options): Add -F --foreground.
82461 (main): Implement it.
82462 (parse_opt): Parse it.
82463
82464 2012-05-09 Andreas Jaeger <aj@suse.de>
82465
82466 [BZ #14083]
82467 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82468 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82469 -Wconversion warning.
82470 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82471 Likewise.
82472
82473 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82474
82475 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82476 == 0.
82477 (LC_ALL): Use macro-int-constant.
82478 (LC_COLLATE): Likewise.
82479 (LC_CTYPE): Likewise.
82480 (LC_MESSAGES): Likewise.
82481 (LC_MONETARY): Likewise.
82482 (LC_NUMERIC): Likewise.
82483 (LC_TIME): Likewise.
82484 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82485 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82487 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82488 Specify type.
82489 [C99-based standards] (float_t): Expect type.
82490 [C99-based standards] (double_t): Expect type.
82491 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82492 type.
82493 [C99-based standards] (HUGE_VALL): Likewise.
82494 [C99-based standards] (INFINITY): Likewise.
82495 [C99-based standards] (NAN): Likewise.
82496 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82497 [C99-based standards] (FP_NAN): Likewise.
82498 [C99-based standards] (FP_NORMAL): Likewise.
82499 [C99-based standards] (FP_SUBNORMAL): Likewise.
82500 [C99-based standards] (FP_ZERO): Likewise.
82501 [C99-based standards] (FP_FAST_FMA): Use
82502 optional-macro-int-constant. Specify type. Require == 1.
82503 [C99-based standards] (FP_FAST_FMAF): Likewise.
82504 [C99-based standards] (FP_FAST_FMAL): Likewise.
82505 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82506 [C99-based standards] (FP_ILOGBNAN): Likewise.
82507 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82508 Specify type.
82509 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82510 [C99-based standards] (math_errhandling): Specify type.
82511 [ISO99 || ISO11] (signgam): Do not allow.
82512 [non-C99-based standards] (copysignf): Do not allow.
82513 [non-C99-based standards] (exp2f): Likewise.
82514 [non-C99-based standards] (log2f): Likewise.
82515 [non-C99-based standards] (modff): Allow.
82516 [non-C99-based standards] (erff): Do not allow.
82517 [non-C99-based standards] (erfcf): Likewise.
82518 [non-C99-based standards] (gammaf): Likewise.
82519 [non-C99-based standards] (hypotf): Likewise.
82520 [non-C99-based standards] (j0f): Likewise.
82521 [non-C99-based standards] (j1f): Likewise.
82522 [non-C99-based standards] (jnf): Likewise.
82523 [non-C99-based standards] (lgammaf): Likewise.
82524 [non-C99-based standards] (tgammaf): Likewise.
82525 [non-C99-based standards] (y0f): Likewise.
82526 [non-C99-based standards] (y1f): Likewise.
82527 [non-C99-based standards] (ynf): Likewise.
82528 [non-C99-based standards] (isnanf): Likewise.
82529 [non-C99-based standards] (acoshf): Likewise.
82530 [non-C99-based standards] (asinhf): Likewise.
82531 [non-C99-based standards] (atanhf): Likewise.
82532 [non-C99-based standards] (cbrtf): Likewise.
82533 [non-C99-based standards] (expm1f): Likewise.
82534 [non-C99-based standards] (ilogbf): Likewise.
82535 [non-C99-based standards] (log1pf): Likewise.
82536 [non-C99-based standards] (logbf): Likewise.
82537 [non-C99-based standards] (nextafterf): Likewise.
82538 [non-C99-based standards] (remainderf): Likewise.
82539 [non-C99-based standards] (rintf): Likewise.
82540 [non-C99-based standards] (scalbf): Likewise.
82541 [non-C99-based standards] (copysignl): Likewise.
82542 [non-C99-based standards] (exp2l): Likewise.
82543 [non-C99-based standards] (log2l): Likewise.
82544 [non-C99-based standards] (modfl): Allow.
82545 [non-C99-based standards] (erfl): Do not allow.
82546 [non-C99-based standards] (erfcl): Likewise.
82547 [non-C99-based standards] (gammal): Likewise.
82548 [non-C99-based standards] (hypotl): Likewise.
82549 [non-C99-based standards] (j0l): Likewise.
82550 [non-C99-based standards] (j1l): Likewise.
82551 [non-C99-based standards] (jnl): Likewise.
82552 [non-C99-based standards] (lgammal): Likewise.
82553 [non-C99-based standards] (tgammal): Likewise.
82554 [non-C99-based standards] (y0l): Likewise.
82555 [non-C99-based standards] (y1l): Likewise.
82556 [non-C99-based standards] (ynl): Likewise.
82557 [non-C99-based standards] (isnanl): Likewise.
82558 [non-C99-based standards] (acoshl): Likewise.
82559 [non-C99-based standards] (asinhl): Likewise.
82560 [non-C99-based standards] (atanhl): Likewise.
82561 [non-C99-based standards] (cbrtl): Likewise.
82562 [non-C99-based standards] (expm1l): Likewise.
82563 [non-C99-based standards] (ilogbl): Likewise.
82564 [non-C99-based standards] (log1pl): Likewise.
82565 [non-C99-based standards] (logbl): Likewise.
82566 [non-C99-based standards] (nextafterl): Likewise.
82567 [non-C99-based standards] (remainderl): Likewise.
82568 [non-C99-based standards] (rintl): Likewise.
82569 [non-C99-based standards] (scalbl): Likewise.
82570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82571 [non-C99-based standards] (FP_*): Do not allow.
82572 [C99-based standards] (FP_*): Change to
82573 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82574 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82575 allow.
82576 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82577 (SIG_ERR): Likewise.
82578 [X/Open-based standards] (SIG_HOLD): Likewise.
82579 (SIG_IGN): Likewise.
82580 (SIGABRT): Use macro-int-constant. Specify type. Require
82581 positive value.
82582 (SIGFPE): Likewise.
82583 (SIGILL): Likewise.
82584 (SIGINT): Likewise.
82585 (SIGSEGV): Likewise.
82586 (SIGTER): Likewise.
82587 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82588 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82589 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82590 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82591 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82592 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82593 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82594 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82595 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82596 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82597 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82598 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82599 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82600 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82601 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82602 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82603 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82604 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82605 [X/Open-based standards] (SIGTRAP): Likewise.
82606 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82607 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82608 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82609 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82610 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82611 allow.
82612
82613 2012-05-08 Ian Wienand <ianw@vmware.com>
82614
82615 [BZ #14080]
82616 * time/tzset.c (__tzset_parse_tz): Update default rules for
82617 daylight time changes in the Energy Policy Act of 2005.
82618
82619 2012-05-09 Andreas Jaeger <aj@suse.de>
82620
82621 [BZ #13983]
82622 * elf/ldconfig.c (parse_conf): Change string to make clear that
82623 ldconfig only issued a warning if ld.so.conf does not exist.
82624
82625 2012-05-08 David S. Miller <davem@davemloft.net>
82626
82627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82628 movxtod instead of popping the value on the stack.
82629
82630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82631
82632 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
82633
82634 * config.h.in: Add HAVE_ARM_PCS_VFP.
82635
82636 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
82637
82638 [BZ #13979]
82639 * include/features.h: Warn if user requests __FORTIFY_SOURCE
82640 checking but the checks are disabled for any reason.
82641
82642 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
82643
82644 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82645 and ELF64_R_TYPE with ELFW(R_TYPE).
82646
82647 2012-05-08 Joseph Myers <joseph@codesourcery.com>
82648
82649 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82650 (ulimit): Likewise.
82651
82652 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82653 (settimeofday): Likewise.
82654
82655 2012-05-08 Mike Frysinger <vapier@gentoo.org>
82656
82657 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
82658 a struct th_u2 inside the union, and move tu_block/tu_code into
82659 a new th_u3 union of tu_block/tu_code inside of that. Move
82660 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
82661 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
82662 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82663 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82664 (th_stuff): Change to th_u1.tu_stuff.
82665 (th_data): Define.
82666 (th_msg): Change to th_u1.th_u2.tu_data.
82667
82668 2012-05-07 David S. Miller <davem@davemloft.net>
82669
82670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82671
82672 [BZ #14074]
82673 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82674 (SETUP_PIC_REG): Use it.
82675 (SETUP_PIC_REG_LEAF): Use it.
82676
82677 2012-05-07 Joseph Myers <joseph@codesourcery.com>
82678
82679 [BZ #13885]
82680 [BZ #13923]
82681 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82682 USE_AS_EXPM1L.
82683 (EXPL_FINITE): Likewise.
82684 (FLDLOG): Likewise.
82685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82686 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82687 e_expl.S.
82688 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82689 USE_AS_EXPM1L.
82690 (EXPL_FINITE): Likewise.
82691 (FLDLOG): Likewise.
82692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82693 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82694 e_expl.S.
82695 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
82696 test of -max_value argument for long double.
82697 * sysdeps/i386/fpu/libm-test-ulps: Update.
82698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82699
82700 2012-05-06 David S. Miller <davem@davemloft.net>
82701
82702 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82703 quad soft-float symbols whose references which are compiler
82704 generated.
82705 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82706
82707 2012-05-06 Joseph Myers <joseph@codesourcery.com>
82708
82709 [BZ #13884]
82710 [BZ #13914]
82711 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82712 USE_AS_EXP10L.
82713 (EXPL_FINITE): Likewise.
82714 (FLDLOG): Likewise.
82715 (c0): Likewise.
82716 (c1): Likewise.
82717 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
82718 Adjust comments for base varying.
82719 (__expl_finite): Change alias to EXPL_FINITE.
82720 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82721 e_expl.S.
82722 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82723 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82724 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82725 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82727 USE_AS_EXP10L.
82728 (EXPL_FINITE): Likewise.
82729 (FLDLOG): Likewise.
82730 (c0): Likewise.
82731 (c1): Likewise.
82732 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
82733 Adjust comments for base varying.
82734 (__expl_finite): Change alias to EXPL_FINITE.
82735 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
82736 tests for bugs.
82737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82738
82739 [BZ #14064]
82740 * math/libm-test.inc (check_float_internal): Correct ulp
82741 calculation for subnormal expected results.
82742
82743 2012-05-06 Andreas Jaeger <aj@suse.de>
82744
82745 * Makeconfig (+math-flags): New, set to -frounding-math.
82746 (+cflags): Add +math-flags so that all of glibc gets compiled with
82747 it.
82748
82749 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82750
82751 2012-05-05 Joseph Myers <joseph@codesourcery.com>
82752
82753 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82754 Disable one test.
82755
82756 [BZ #13787]
82757 [BZ #13922]
82758 [BZ #14036]
82759 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82760 (__ieee754_expl): Allow for and saturate large arguments.
82761 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82762 (u_threshold): Likewise.
82763 (__exp): Call __ieee754_exp before checking for overflow and
82764 underflow.
82765 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82766 (u_threshold): Likewise.
82767 (__expf): Call __ieee754_expf before checking for overflow and
82768 underflow.
82769 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82770 (u_threshold): Likewise.
82771 (__expl): Call __ieee754_expl before checking for overflow and
82772 underflow.
82773 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82774 (__ieee754_expl): Allow for and saturate large arguments.
82775 * math/libm-test.inc (exp_test): Add another test. Do not allow
82776 missing overflow exception on overflow.
82777 (expm1_test): Do not allow missing overflow exception on overflow.
82778
82779 * sysdeps/i386/fpu/e_expl.c: Move to ...
82780 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
82781 rather than using inline asm.
82782 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82783 * sysdeps/x86_64/fpu/e_expl.S: Copy from
82784 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82785
82786 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82787 (nice): Likewise.
82788 (poll): Likewise.
82789 (signal): Likewise.
82790 (time): Likewise.
82791 (times): Likewise.
82792
82793 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82794
82795 * sysdeps/unix/syscalls.list (adjtime): Add entry from
82796 sysdeps/unix/common/syscalls.list.
82797 (fchmod): Likewise.
82798 (fchown): Likewise.
82799 (ftruncate): Likewise.
82800 (getrusage): Likewise.
82801 (gettimeofday): Likewise.
82802 (setpgid): Likewise.
82803 (setregid): Likewise.
82804 (setreuid): Likewise.
82805 (sigaction): Likewise.
82806 (truncate): Likewise.
82807 (vhangup): Likewise.
82808 * sysdeps/unix/common/syscalls.list: Remove file.
82809 * sysdeps/unix/bsd/Implies: Don't include unix/common.
82810 * sysdeps/unix/sysv/linux/Implies: Likewise.
82811
82812 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
82813
82814 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82816 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82817 Moved to ...
82818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82819 Here.
82820 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82821 to ...
82822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82823 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82824 to ...
82825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82826 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82827 to ...
82828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82829 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82830 to ...
82831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82833 to ...
82834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82835 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82836 to ...
82837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82838 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82839 to ...
82840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82841 Here.
82842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82843 to ...
82844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82845 Here.
82846 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82847 to ...
82848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82849 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82850 Moved to ...
82851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82852 Here.
82853 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82854 to ...
82855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82856
82857 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82858
82859 * sysdeps/unix/common/bits/dirent.h: Remove file.
82860 * sysdeps/unix/common/bits/fcntl.h: Likewise.
82861
82862 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82863 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82864 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82865 * sysdeps/unix/bsd/isatty.c: Likewise.
82866 * sysdeps/unix/bsd/tcdrain.c: Likewise.
82867 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82868 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82869
82870 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82871
82872 [BZ #13563]
82873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82874 long double comparison inaccuracies.
82875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82877
82878 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
82879
82880 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82882
82883 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82884
82885 [BZ #14049]
82886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82887 nonzero digits before rounding a hex value.
82888 * stdlib/tst-strtod.c (tests): Add another test.
82889
82890 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82891
82892 * sysdeps/s390/fpu/libm-test-ulps: Update.
82893
82894 2012-05-03 Andreas Jaeger <aj@suse.de>
82895
82896 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82897 does not get optimized out.
82898 (malloc_opt_barrier): New.
82899
82900 2012-05-03 Andreas Jaeger <aj@suse.de>
82901 Roland McGrath <roland@hack.frob.com>
82902
82903 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82904 intermediate file deletion.
82905 (generated): Add .symlist files.
82906
82907 2012-05-03 Joseph Myers <joseph@codesourcery.com>
82908
82909 [BZ #13775]
82910 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82911 Redirect under this condition.
82912 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82913 [__USE_GNU] (__dprintf_chk): Not under this condition.
82914 [__USE_GNU] (__vdprintf_chk): Likewise.
82915 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82916 under this condition.
82917 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82918 [__USE_XOPEN2K8] (dprintf): Define under this condition.
82919 [__USE_XOPEN2K8] (vdprintf): Likewise.
82920 [__USE_GNU] (__dprintf_chk): Not under this condition.
82921 [__USE_GNU] (__vdprintf_chk): Likewise.
82922 [__USE_GNU] (dprintf): Likewise.
82923 [__USE_GNU] (vdprintf): Likewise.
82924
82925 2012-05-03 Roland McGrath <roland@hack.frob.com>
82926
82927 * elf/Makefile (common-generated): Set this instead of generated for
82928 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
82929 $(all-built-dso)-derived lists.
82930
82931 2012-05-03 Andreas Jaeger <aj@suse.de>
82932
82933 * sysdeps/i386/fpu/libm-test-ulps: Update.
82934
82935 * FAQ: Removed.
82936 * FAQ.in: Likewise.
82937 * scripts/gen-FAQ.pl: Likewise.
82938 * manual/install.texi (Installation): Point to online location of
82939 FAQ.
82940 * Makefile (files-for-dist): Remove FAQ.
82941 (FAQ): Remove.
82942
82943 2012-05-02 Allan McRae <allan@archlinux.org>
82944
82945 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82946 (LDFLAGS-reldepmod5.so): Likewise.
82947 (LDFLAGS-reldep6mod1.so): Likewise.
82948 (LDFLAGS-reldep6mod4.so): Likewise.
82949 (LDFLAGS-reldep8mod3.so): Likewise.
82950 (LDFLAGS-unload4mod1.so): Likewise.
82951 (LDFLAGS-unload4mod2.so): Likewise.
82952 (LDFLAGS-tst-initorder): Likewise.
82953 (LDFLAGS-tst-initordera2.so): Likewise.
82954 (LDFLAGS-tst-initordera3.so): Likewise.
82955 (LDFLAGS-tst-initordera4.so): Likewise.
82956 (LDFLAGS-tst-initorderb2.so): Likewise.
82957 (LDFLAGS-noload): Likewise.
82958 (LDFLAGS-next): Likewise.
82959 (LDFLAGS-order2mod1.so): Likewise.
82960 (LDFLAGS-order2mod2.so): Likewise.
82961 (LDFLAGS-tst-initorder2): Likewise.
82962 (LDFLAGS-tst-initorder2a.so): Likewise.
82963 (LDFLAGS-tst-initorder2b.so): Likewise.
82964 (LDFLAGS-tst-initorder2c.so): Likewise.
82965 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82966
82967 2012-05-02 David S. Miller <davem@davemloft.net>
82968
82969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82970
82971 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
82972
82973 [BZ #14055]
82974 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82975
82976 2012-05-02 Andreas Jaeger <aj@suse.de>
82977
82978 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82979 since we manipulate rounding mode.
82980 (CPPFLAGS-test-idouble.c): Likewise.
82981 (CPPFLAGS-test-ifloat.c): Likewise.
82982 (CFLAGS-test-ldouble.c): Likewise.
82983 (CFLAGS-test-double.c): Likewise.
82984 (CFLAGS-test-float.c): Likewise.
82985 (CFLAGS-test-misc.c): Likewise.
82986 (CFLAGS-test-test-fenv.c): Likewise.
82987
82988 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82989
82990 [BZ #2550]
82991 [BZ #2570]
82992 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82993 comparisons to determine direction to adjust input.
82994
82995 2012-05-01 Roland McGrath <roland@hack.frob.com>
82996
82997 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82998 output to the target.
82999
83000 * scripts/localplt.awk: New file.
83001 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83002 (check-localplt-CFLAGS): Variable removed.
83003 ($(all-built-dso:=.jmprel)): New static pattern rule.
83004 (generated): Add those targets.
83005 (localplt-built-dso): New variable.
83006 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83007
83008 * elf/check-localplt.c: File removed.
83009
83010 * scripts/check-execstack.awk: New file.
83011 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83012 (check-execstack-CFLAGS): Variable removed.
83013 ($(objpfx)check-execstack.h): Target removed.
83014 ($(objpfx)execstack-default): New target.
83015 (generated): Add that instead of check-execstack.h.
83016 ($(all-built-dso:=.phdr)): New static pattern rule.
83017 (generated): Add those targets.
83018 * elf/check-execstack.c: File removed.
83019
83020 * scripts/check-textrel.awk: New file.
83021 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83022 (check-textrel-CFLAGS): Variable removed.
83023 (all-built-dso): Use := to define.o
83024 ($(all-built-dso:=.dyn)): New static pattern rule.
83025 (generated): Add those targets.
83026 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83027 * config.make.in (READELF): New substituted variable.
83028 * elf/check-textrel.c: File removed.
83029
83030 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83031
83032 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83033 allow.
83034 * conform/data/ctype.h-data [C99-based standards] (isblank):
83035 Expect function.
83036 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83037 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83039 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83040 Specify type. Require positive value.
83041 (EILSEQ): Likewise.
83042 (ERANGE): Likewise.
83043 [ISO || POSIX] (EILSEQ): Do not expect.
83044 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83045 Specify type. Require positive value.
83046 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83047 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83048 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83049 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83050 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83051 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83052 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83053 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83054 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83055 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83056 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83057 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83058 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83059 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83060 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83061 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83062 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83063 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83064 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83065 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83066 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83067 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83068 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83069 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83070 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83071 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83072 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83073 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83074 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83075 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83076 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83077 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83078 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83079 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83080 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83081 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83082 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83083 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83084 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83085 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83086 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83087 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83088 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83089 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83090 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83091 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83092 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83093 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83094 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83095 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83096 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83097 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83098 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83099 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83100 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83101 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83102 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83103 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83104 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83105 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83106 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83107 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83108 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83109 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83110 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83111 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83112 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83113 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83114 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83115 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83116 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83117 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83118 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83119 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83120 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83121 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83122 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83123 Require >= 2.
83124 (FLT_ROUNDS): Expect as macro, not constant.
83125 (FLT_MANT_DIG): Use macro-int-constant.
83126 (DBL_MANT_DIG): Likewise.
83127 (LDBL_MANT_DIG): Likewise.
83128 (FLT_DIG): Likewise.
83129 (DBL_DIG): Likewise.
83130 (LDBL_DIG): Likewise.
83131 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83132 (DBL_MIN_EXP): Likewise.
83133 (LDBL_MIN_EXP): Likewise.
83134 (FLT_MAX_EXP): Use macro-int-constant.
83135 (DBL_MAX_EXP): Likewise.
83136 (LDBL_MAX_EXP): Likewise.
83137 (FLT_MAX_10_EXP): Likewise.
83138 (DBL_MAX_10_EXP): Likewise.
83139 (LDBL_MAX_10_EXP): Likewise.
83140 (FLT_MAX): Use macro-constant.
83141 (DBL_MAX): Likewise.
83142 (LDBL_MAX): Likewise.
83143 (FLT_EPSILON): Use macro-constant. Give upper bound.
83144 (DBL_EPSILON): Likewise.
83145 (LDBL_EPSILON): Likewise.
83146 (FLT_MIN): Likewise.
83147 (DBL_MIN): Likewise.
83148 (LDBL_MIN): Likewise.
83149 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83150 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83151 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83152 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83153 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83154 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83155 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83156 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83157 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83158 [ISO11] (FLT_TRUE_MIN): Likewise.
83159 [ISO11] (LDBL_TRUE_MIN): Likewise.
83160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83161 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83162 (SCHAR_MIN): Use macro-int-constant. Specify type.
83163 (SCHAR_MAX): Likewise.
83164 (UCHAR_MAX): Likewise.
83165 (CHAR_MIN): Likewise.
83166 (CHAR_MAX): Likewise.
83167 (MB_LEN_MAX): Use macro-int-constant.
83168 (SHRT_MIN): Use macro-int-constant. Specify type.
83169 (SHRT_MAX): Likewise.
83170 (USHRT_MAX): Likewise.
83171 (INT_MAX): Likewise.
83172 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83173 bound negative.
83174 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83175 bound with "U".
83176 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83177 bound with "L".
83178 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83179 bound negative. Suffix upper bound with "L".
83180 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83181 bound with "UL".
83182 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83183 Specify type.
83184 [C99-based standards] (LLONG_MAX): Likewise.
83185 [C99-based standards] (ULLONG_MAX): Likewise.
83186 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83187 == 0.
83188 [ISO11] (max_align_t): Require type.
83189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83190
83191 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83192 from $CFLAGS, without defining away __attribute__ calls.
83193 (checknamespace): Use $CFLAGS_namespace.
83194
83195 * conform/conformtest.pl (@keywords): Only include C99 keywords
83196 for standards based on C99 or C11.
83197
83198 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83199 Disable tests.
83200 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83201 UNIX98]: Likewise.
83202
83203 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83204 usability of symbols in #if.
83205
83206 * conform/conformtest.pl: If macro or constant types start
83207 "promoted:", expect the symbol to be of the following type
83208 promoted by the integer promotions.
83209
83210 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83211 in one place. Also handle "macro-constant".
83212
83213 * conform/conformtest.pl: Only accept expected macro values with
83214 "==". Parse all "macro" lines in one place.
83215 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83216
83217 * conform/conformtest.pl: Handle braced types on "constant" lines
83218 instead of handling "typed-constant".
83219 * conform/data/signal.h-data: Use "constant" instead of
83220 "typed-constant".
83221
83222 * conform/conformtest.pl: Handle "optional-" at start of lines in
83223 one place rather than duplicating several cases. Handle each
83224 format of "macro" line with initial "optional-".
83225
83226 * conform/conformtest.pl: Only accept expected constant or
83227 optional-constant values with "==". Parse all "constant" lines in
83228 one place. Parse all "optional-constant" lines in one place.
83229 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83230 * conform/data/fmtmsg.h-data: Likewise.
83231 * conform/data/netinet/in.h-data: Likewise.
83232 * conform/data/tar.h-data: Likewise.
83233 * conform/data/limits.h-data: Use "==" form on "constant" and
83234 "optional-constant" lines.
83235
83236 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83237 Use -std=c99 for XOPEN2K.
83238 (@knownproblems): Remove.
83239 (newtoken): Don't check %isknown.
83240
83241 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83242 Do not expect macro.
83243 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83244 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83245 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83246 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83247 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83248 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83249 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83250 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83251 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83252 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83253 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83254 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83255 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83256 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83257 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83258 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83259 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83260 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83261 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83262 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83263 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83265 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83266 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83267 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83268 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83269 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83270 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83271 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83272 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83273 [XPG3] (acosh): Likewise.
83274 [XPG3] (asinh): Likewise.
83275 [XPG3] (atanh): Likewise.
83276 [XPG3] (cbrt): Likewise.
83277 [XPG3] (expm1): Likewise.
83278 [XPG3] (ilogb): Likewise.
83279 [XPG3] (log1p): Likewise.
83280 [XPG3] (logb): Likewise.
83281 [XPG3] (nextafter): Likewise.
83282 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83283 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83284 [XPG3] (remainder): Likewise.
83285 [XPG3] (rint): Likewise.
83286 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83287 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83288 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83289 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83290 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83291 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83292 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83293 [UNIX98 || XOPEN2K] (scalb): Expect.
83294 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83295 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83296 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83297 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83298 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83299 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83300 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83301 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83302 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83303 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83304 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83305 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83306 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83307 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83308 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83309 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83310 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83311 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83312 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83313 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83314 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83315 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83316 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83317 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83318 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83319 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83320 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83321 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83322 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83323 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83324 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83325 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83326 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83327 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83328 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83329 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83330 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83331 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83332 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83333 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83334 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83335 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83336 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83337 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83338 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83339 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83340 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83341 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83342 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83343 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83344 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83345 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83346 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83347 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83348 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83349 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83350 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83351 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83352 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83353 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83354 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83355 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83356 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83357 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83358 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83359 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83360 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83361 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83362 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83363 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83364 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83365 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83366 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83367 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83368 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83369 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83370 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83371 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83372 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83373 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83374 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83375 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83376 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83377 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83378 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83379 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83380 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83381 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83382 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83383 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83384 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83385 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83386 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83387 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83388 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83389 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83390 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83391 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83392 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83393 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83394 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83395 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83396 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83397 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83398 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83399 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83400 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83401 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83402 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83403 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83404 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83405 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83406 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83407 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83408 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83409 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83410 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83411 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83412 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83413 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83414 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83415 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83416 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83417 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83418 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83419 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83420 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83421 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83422 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83423 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83424 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83425 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83426 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83427 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83428 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83429 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83430 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83431
83432 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83433 _XOPEN_SOURCE_EXTENDED for XPG4.
83434
83435 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83436
83437 * Makeconfig (localtime): Remove variable.
83438 (inst_localtime-file): Likewise.
83439
83440 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83441
83442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83443 Update.
83444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83445 Update.
83446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83447 Update.
83448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83449 Update.
83450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83451 Update.
83452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83453 Update.
83454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83455 Update.
83456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83457 Update.
83458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83459 Update.
83460
83461 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83462
83463 [BZ #2550]
83464 [BZ #2570]
83465 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83466 comparisons to determine direction to adjust input.
83467 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83468 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83470 Likewise.
83471 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83472 Likewise.
83473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83474 Likewise.
83475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83477 Likewise.
83478 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83479 Likewise.
83480 * math/libm-test.inc (nexttoward_test): Add more tests.
83481
83482 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83483
83484 [BZ #14040]
83485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83486 in version GLIBC_2.1, not GLIBC_2.0.
83487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83488 Likewise.
83489
83490 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83491
83492 [BZ #13942]
83493 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83494 (1 - x) * (1 + x).
83495 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83496 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83497 * math/libm-test.inc (acos_test): Add more tests.
83498 (asin_test): Likewise.
83499 * sysdeps/i386/fpu/libm-test-ulps: Update.
83500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83501
83502 [BZ #14034]
83503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83504 of square root.
83505 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83506 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83507 * math/libm-test.inc (acos_test_tonearest): New function.
83508 (acos_test_towardzero): Likewise.
83509 (acos_test_downward): Likewise.
83510 (acos_test_upward): Likewise.
83511 (asin_test_tonearest): Likewise.
83512 (asin_test_towardzero): Likewise.
83513 (asin_test_downward): Likewise.
83514 (asin_test_upward): Likewise.
83515 (main): Call the new functions.
83516 * sysdeps/i386/fpu/libm-test-ulps: Update.
83517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83518
83519 [BZ #13884]
83520 [BZ #13924]
83521 * math/e_exp10.c: Include <float.h>.
83522 (__ieee754_exp10): Handle underflow here rather than multiplying
83523 large negative argument by M_LN10.
83524 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83525 of __ieee754_expf.
83526 * math/e_exp10l.c: Include <float.h>.
83527 (__ieee754_exp10l): Handle underflow here rather than multiplying
83528 large negative argument by M_LN10l.
83529 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83530 spurious overflow exception on underflow.
83531
83532 2012-04-29 Marek Polacek <polacek@redhat.com>
83533
83534 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83535 (__fortify_function): New macro.
83536 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83537 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83538 __extern_always_inline.
83539 * libio/bits/stdio2.h: Likewise.
83540 * libio/bits/stdio.h: Likewise.
83541 * string/string.h: Likewise.
83542 * string/bits/string3.h: Likewise.
83543 * include/stdio.h: Likewise.
83544 * stdlib/bits/stdlib.h: Likewise.
83545 * stdlib/stdlib.h: Likewise.
83546 * rt/bits/mqueue2.h: Likewise.
83547 * rt/mqueue.h: Likewise.
83548 * posix/bits/unistd.h: Likewise.
83549 * posix/unistd.h: Likewise.
83550 * io/bits/poll2.h: Likewise.
83551 * io/bits/fcntl2.h: Likewise.
83552 * io/fcntl.h: Likewise.
83553 * io/sys/poll.h: Likewise.
83554 * misc/bits/syslog.h: Likewise.
83555 * misc/bits/syslog-ldbl.h: Likewise.
83556 * misc/sys/syslog.h: Likewise.
83557 * socket/bits/socket2.h: Likewise.
83558 * socket/sys/socket.h: Likewise.
83559 * debug/tst-chk1.c: Likewise.
83560 * wcsmbs/bits/wchar2.h: Likewise.
83561 * wcsmbs/bits/wchar-ldbl.h: Likewise.
83562 * wcsmbs/wchar.h: Likewise.
83563
83564 2012-04-29 Andreas Jaeger <aj@suse.de>
83565
83566 * Makerules (tests): Remove enable-check-abi protection.
83567 (check-abi-warn): Remove.
83568 (check-abi-%): Remove check-abi-warn usage.
83569
83570 * configure.in: Remove check-abi configure option.
83571 * configure: Regenerated.
83572 * config.make.in (enable-check-abi): Remove.
83573
83574 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
83575
83576 [BZ #14033]
83577 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83578 double functions to double *_finite functions.
83579
83580 [BZ #13941]
83581 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83582 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83583 LDBL_MIN_EXP.
83584 * stdio-common/Makefile (tests): Add tst-sprintf3.
83585 * stdio-common/tst-sprintf3.c: New file.
83586
83587 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83588 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83589
83590 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83591
83592 * conform/conformtest.pl: Remove duplicate typed-constant
83593 handling.
83594
83595 2012-04-28 David S. Miller <davem@davemloft.net>
83596
83597 * Makerules (%.abilist): Add vpath on sysdep_dirs.
83598 (check-abi-%): Remove AWK script prerequisite and explicit
83599 abilist directory.
83600 (check-abi): Rewrite to just diff the symlist with the abilist.
83601 (config-tls, config-abi-config): Delete, no longer used.
83602 (update-abi-%): Remove AWK script and explicit abilist directory.
83603 (update-abi): Rewrite to simply compare and conditionally copy the
83604 symlist and the sysdep abilist file. Remove update-abi-config
83605 checks.
83606 * abilist/ld.abilist: Remove.
83607 * abilist/libBrokenLocale.abilist: Remove.
83608 * abilist/libanl.abilist: Remove.
83609 * abilist/libcrypt.abilist: Remove.
83610 * abilist/libdl.abilist: Remove.
83611 * abilist/librt.abilist: Remove.
83612 * abilist/libthread_db.abilist: Remove.
83613 * abilist/libutil.abilist: Remove.
83614 * scripts/extract-abilist.awk: Remove.
83615 * scripts/merge-abilist.awk: Remove.
83616 * sysdeps/generic/libcidn.abilist: New file.
83617 * sysdeps/generic/libnss_compat.abilist: New file.
83618 * sysdeps/generic/libnss_db.abilist: New file.
83619 * sysdeps/generic/libnss_dns.abilist: New file.
83620 * sysdeps/generic/libnss_files.abilist: New file.
83621 * sysdeps/generic/libnss_hesiod.abilist: New file.
83622 * sysdeps/generic/libnss_nis.abilist: New file.
83623 * sysdeps/generic/libnss_nisplus.abilist: New file.
83624 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83625 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83626 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83627 file.
83628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83629 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83630 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83631 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83632 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83634 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83635 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83636 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83637 file.
83638 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83639 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83640 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83641 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83642 file.
83643 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83645 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83646 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83648 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83649 file.
83650 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83651 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83653 file.
83654 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83656 New file.
83657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83658 New file.
83659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83660 New file.
83661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83662 New file.
83663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83664 New file.
83665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83666 New file.
83667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83668 New file.
83669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83670 New file.
83671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83672 New file.
83673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83674 New file.
83675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83676 New file.
83677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83678 New file.
83679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83680 New file.
83681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83682 file.
83683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83684 New file.
83685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83686 New file.
83687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83688 file.
83689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
83690 New file.
83691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
83692 New file.
83693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
83694 file.
83695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
83696 New file.
83697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83698 New file.
83699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
83700 New file.
83701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83702 New file.
83703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83704 New file.
83705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83706 New file.
83707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83709 file.
83710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83711 New file.
83712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83713 file.
83714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83715 file.
83716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83717 file.
83718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83719 file.
83720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83721 file.
83722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83723 New file.
83724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83725 file.
83726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83727 file.
83728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83729 New file.
83730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83731 file.
83732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83734 file.
83735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83736 New file.
83737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83738 file.
83739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83740 file.
83741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83742 file.
83743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83744 file.
83745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83746 file.
83747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83748 New file.
83749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83750 file.
83751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83752 file.
83753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83754 New file.
83755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83756 file.
83757 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83758 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83759 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83760 file.
83761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83762 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83763 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83765 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83766 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83767 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83769 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83770 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83773 file.
83774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83775 New file.
83776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83777 file.
83778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83779 file.
83780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83781 file.
83782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83783 file.
83784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83785 file.
83786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83787 New file.
83788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83789 New file.
83790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83791 file.
83792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83793 New file.
83794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83795 file.
83796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83798 file.
83799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83800 New file.
83801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83802 file.
83803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83804 file.
83805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83806 file.
83807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83808 file.
83809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83810 file.
83811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83812 New file.
83813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83814 New file.
83815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83816 file.
83817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83818 New file.
83819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83820 file.
83821
83822 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83823
83824 * conform/conformtest.pl: Fix typo in handling typed-constant from
83825 allow-header.
83826
83827 2012-04-27 Joseph Myers <joseph@codesourcery.com>
83828
83829 * README: Cut down references to pre-2.6 Linux kernels and
83830 Linuxthreads. Update lists of configurations in libc and ports
83831 and sort alphabetically. Say "or newer" with Linux kernel version
83832 requirements.
83833
83834 * config.h.in [IS_IN_build]: Allow compiling without optimization.
83835
83836 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
83837
83838 [BZ #887]
83839 * math/libm-test.inc (logb_test_downward): New test to expose
83840 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83841 rounding mode.
83842
83843 2012-04-27 Joseph Myers <joseph@codesourcery.com>
83844
83845 [BZ #14027]
83846 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83847 to be done.
83848 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83849 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83850
83851 2012-04-26 Joseph Myers <joseph@codesourcery.com>
83852
83853 * sysdeps/unix/i386/brk.S: Remove file.
83854 * sysdeps/unix/i386/dl-brk.S: Likewise.
83855 * sysdeps/unix/i386/pipe.S: Likewise.
83856 * sysdeps/unix/i386/sigreturn.S: Likewise.
83857 * sysdeps/unix/i386/syscall.S: Likewise.
83858 * sysdeps/unix/i386/vfork.S: Likewise.
83859 * sysdeps/unix/i386/wait.S: Likewise.
83860
83861 * sysdeps/unix/common/tcsendbrk.c: Move to ...
83862 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83863
83864 * configure.in (arm*-none*): Do not allow without
83865 --enable-hacker-mode.
83866 (netbsd*): Remove case setting base_os.
83867 (386bsd*): Likewise.
83868 (freebsd*): Likewise.
83869 (bsdi*): Likewise.
83870 (osf*): Likewise.
83871 (sunos*): Likewise.
83872 (ultrix*): Likewise.
83873 (newsos*): Likewise.
83874 (dynix*): Likewise.
83875 (*bsd*): Likewise.
83876 (sysv*): Likewise.
83877 (isc*): Likewise.
83878 (esix*): Likewise.
83879 (sco*): Likewise.
83880 (minix*): Likewise.
83881 (irix4*): Likewise.
83882 (irix6*): Likewise.
83883 (solaris[2-9]*): Likewise.
83884 (none): Likewise.
83885 * configure: Regenerated.
83886
83887 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83888
83889 [BZ #11521]
83890 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83891 overflow or cancellation in calculating denominator.
83892 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83894 down expression to avoid unexpected rounding in newer GCCs.
83895 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83896
83897 2012-04-26 David S. Miller <davem@davemloft.net>
83898
83899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83900 long-double compat symbols.
83901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83914
83915 2012-04-25 David S. Miller <davem@davemloft.net>
83916
83917 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83918 HWCAP_* values only after the memory barriers have been defined.
83919 (atomic_full_barrier): Define.
83920 (atomic_read_barrier): Define.
83921 (atomic_write_barrier): Define.
83922
83923 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
83924
83925 * shlib-versions: Add libgcc_s version information.
83926 * sysdeps/generic/libgcc_s.h: Remove.
83927 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83928 libgcc_s.h.
83929 * sysdeps/gnu/unwind-resume.c: Likewise.
83930 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83931
83932 2012-04-25 David S. Miller <davem@davemloft.net>
83933
83934 * sysdeps/unix/sparc/brk.S: Delete.
83935 * sysdeps/unix/sparc/dl-brk.S: Delete.
83936 * sysdeps/unix/sparc/pipe.S: Delete.
83937 * sysdeps/unix/sparc/sysdep.S: Delete.
83938 * sysdeps/unix/sparc/sysdep.h: Delete.
83939 * sysdeps/unix/sparc/vfork.S: Delete.
83940 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83941 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83943 (ret_ERRVAL, r0, r1, MOVE): Define.
83944 (JUMPTARGET): Remove.
83945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83946 sysdeps/unix/sparc/sysdep.h
83947 (ENTRY, END): Remove.
83948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83949
83950 2012-04-25 Joseph Myers <joseph@codesourcery.com>
83951
83952 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83953 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83954 -DIS_IN_build.
83955
83956 * timezone/README: Update upstream location and email address for
83957 tzcode and tzdata.
83958 * timezone/zdump.c: Update from tzcode 2012b.
83959 * timezone/zic.c: Likewise.
83960
83961 * configure.in (libc_cv_as_needed): Remove test.
83962 * configure: Regenerated.
83963 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83964 conditional definition.
83965 [$(have-as-needed) != yes] (no-as-needed): Likewise.
83966 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83967 * config.make.in (have-as-needed): Remove variable.
83968
83969 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
83970 Paul Pluzhnikov <ppluzhnikov@google.com>
83971
83972 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83973 strings correctly.
83974
83975 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
83976
83977 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83978 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83979 * sysdeps/sh/strlen.S: Likewise.
83980
83981 2012-04-24 Joseph Myers <joseph@codesourcery.com>
83982
83983 * sysdeps/unix/fork.S: Remove file.
83984 * sysdeps/unix/i386/fork.S: Likewise.
83985 * sysdeps/unix/sparc/fork.S: Likewise.
83986
83987 * sysdeps/unix/system.c: Remove file.
83988 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83989
83990 * sysdeps/unix/getegid.S: Remove file.
83991 * sysdeps/unix/geteuid.S: Likewise.
83992
83993 2012-04-24 Roland McGrath <roland@hack.frob.com>
83994
83995 * scripts/check-localplt.awk: New file.
83996 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83997 of diff.
83998 * scripts/data/localplt-generic.data: Add a comment.
83999
84000 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84001 NODE when __dir_mkfile failed.
84002 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84003 Reported by Ludovic Courtès <ludo@gnu.org>.
84004
84005 2012-04-24 Andreas Jaeger <aj@suse.de>
84006
84007 * Makerules (common-clean): Also remove gen-as-const-headers
84008 files.
84009
84010 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84011
84012 * Makerules (native-compile): Do not change working directory for
84013 build. Use $(OUTPUT_OPTION) in command.
84014 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84015
84016 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84017
84018 [BZ #13886]
84019 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84020 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84021 * math/libm-test.inc (floor_test): Add more tests.
84022 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84023
84024 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84025
84026 * sysdeps/unix/getdents.c: Remove file.
84027 * sysdeps/unix/sysv/getdents.c: Likewise.
84028 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84029
84030 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84031 sysdeps/unix/mman/syscalls.list.
84032 (mmap): Likewise.
84033 (mprotect): Likewise.
84034 (msync): Likewise.
84035 (munmap): Likewise.
84036 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84037 * sysdeps/unix/mman/syscalls.list: Remove.
84038 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84039
84040 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84041 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84042 * configure: Regenerated.
84043 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84044 $(libgcc_s_suffix).
84045 * config.make.in (libgcc_s_suffix): Remove variable.
84046
84047 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84048
84049 * sysdeps/unix/sysv/gethostname.c: Move to ...
84050 * sysdeps/posix/gethostname.c: ... here.
84051
84052 * sysdeps/unix/execve.S: Remove file.
84053
84054 * sysdeps/unix/_exit.S: Remove file.
84055
84056 2012-04-23 Andreas Jaeger <aj@suse.de>
84057
84058 [BZ #13739]
84059 * manual/Makefile: Remove make dist support, there's no
84060 need for a stand-alone documentation tar ball.
84061 (TEXI2DVI): Define always, it's not in Makeconfig.
84062 (dist): Removed.
84063 (tar-it): Removed.
84064 (edition): Removed.
84065 (glibc-doc-$(edition).tar): Removed
84066 (%.Z): Removed.
84067 (%.gz): Removed.
84068 (%.uu): Removed.
84069 (ETAGS): Remove, it's in Makeconfig.
84070 (move-if-change): Remove, it's in Makeconfig.
84071
84072 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84073
84074 [BZ #13970]
84075 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84076 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84077 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84078 (strtod_l, strtof_l, strtold_l): Remove __wur.
84079 It is not necessarily an error to ignore strtol's return value.
84080 One can reliably look at the stored endptr to decide whether
84081 the number had valid syntax.
84082
84083 2012-04-21 Andreas Jaeger <aj@suse.de>
84084
84085 [BZ #13739]
84086 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84087
84088 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84089
84090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84091 * sysdeps/unix/sysv/Versions: Remove file.
84092
84093 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84094
84095 [BZ #13927]
84096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84097
84098 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84099
84100 [BZ #7064]
84101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84102 version from __vm86.
84103
84104 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84105
84106 * sysdeps/unix/common/lxstat.c: Remove file.
84107 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84108
84109 * sysdeps/unix/sysv/Makefile: Remove file.
84110
84111 * sysdeps/unix/sysv/direct.h: Remove file.
84112
84113 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84114 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84115 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84116 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84117 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84118 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84119 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84120
84121 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84122
84123 * sysdeps/unix/xmknod.c: Remove file.
84124 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84125
84126 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84127
84128 * sysdeps/unix/sysv/i386/time.S: Remove file.
84129
84130 * sysdeps/unix/fxstat.c: Remove file.
84131 * sysdeps/unix/xstat.c: Likewise.
84132 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84133
84134 * sysdeps/unix/sysv/sigaction.c: Remove file.
84135
84136 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84137 (sysdep_headers): Remove variable.
84138 [termio.h not in sysdep_headers] (generated): Likewise.
84139 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84140 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84141 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84142 * sysdeps/unix/sysv/tcflow.c: Likewise.
84143 * sysdeps/unix/sysv/tcflush.c: Likewise.
84144 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84145 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84146 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84147 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84148 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84149
84150 * sysdeps/unix/siglist.c: Remove file.
84151
84152 * sysdeps/unix/getppid.S: Remove file.
84153
84154 * sysdeps/unix/mkdir.c: Remove file.
84155 * sysdeps/unix/rmdir.c: Likewise.
84156
84157 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84158
84159 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84160 ERR_MAX value.
84161 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84162 errlist-compat value.
84163
84164 2012-04-18 David S. Miller <davem@davemloft.net>
84165
84166 * sysdeps/generic/memcopy.h (reg_char): Delete.
84167 * debug/strcat_chk.c: Use char, not reg_char.
84168 * debug/strcpy_chk.c: Likewise.
84169 * debug/strncat_chk.c: Likewise.
84170 * debug/strncpy_chk.c: Likewise.
84171 * string/memchr.c: Likewise.
84172 * string/memrchr.c: Likewise.
84173 * string/rawmemchr.c: Likewise.
84174 * string/strcat.c: Likewise.
84175 * string/strchr.c: Likewise.
84176 * string/strchrnul.c: Likewise.
84177 * string/strcmp.c: Likewise.
84178 * string/strcpy.c: Likewise.
84179 * string/strncat.c: Likewise.
84180 * string/strncmp.c: Likewise.
84181 * string/strncpy.c: Likewise.
84182
84183 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84184
84185 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84186 __builtin_memcopy is called when src and dest ranges are known to not
84187 overlap.
84188
84189 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84190
84191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84192 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84193 fwd_align_merge macro call.
84194 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84195 bwd_align_merge macro call.
84196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84197
84198 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84199
84200 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84201 bwd_align_merge macros.
84202 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84203 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84205
84206 2012-04-18 David S. Miller <davem@davemloft.net>
84207
84208 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84209
84210 2012-04-18 Andreas Jaeger <aj@suse.de>
84211
84212 [BZ #6794]
84213 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84214 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84216
84217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84218 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84219 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84220
84221 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84222 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84223 Adjust for changed ldbl-128 files.
84224
84225 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84226 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84227 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84228
84229 2012-04-17 David S. Miller <davem@davemloft.net>
84230
84231 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84232
84233 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84234
84235 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84236 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84237 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84238 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84239 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84240 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84241
84242 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84243
84244 [BZ #6794]
84245 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84246 * math/libm-test.inc: Add ilogb errno and exception tests.
84247 * math/w_ilogb.c: New file: ilogb wrapper.
84248 * math/w_ilogbf.c: New file: ilogbf wrapper.
84249 * math/w_ilogbl.c: New file: ilogbl wrapper.
84250 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84251 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84252 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84253 exception being thrown with 0.0 as argument.
84254 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84255 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84256 exception being thrown with 0.0 as argument.
84257 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84258 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84259 exception being thrown with 0.0 as argument.
84260 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84261 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84262 exception being thrown with 0.0 as argument.
84263 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84264 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84266 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84267 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84268 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84269 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84270 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84271 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84272
84273 2012-04-17 Petr Baudis <pasky@ucw.cz>
84274
84275 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84276 with altivec.
84277
84278 2012-04-16 Marek Polacek <polacek@redhat.com>
84279
84280 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84281
84282 2012-04-16 Marek Polacek <polacek@redhat.com>
84283
84284 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84285 operands of fdivp instruction.
84286
84287 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84288
84289 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84290 * elf/tst-auditmod3b.c: Likewise.
84291 * elf/tst-auditmod4b.c: Likewise.
84292 * elf/tst-auditmod5b.c: Likewise.
84293 * elf/tst-auditmod6b.c: Likewise.
84294 * elf/tst-auditmod6c.c: Likewise.
84295 * elf/tst-auditmod7b.c: Likewise.
84296 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84297 * sysdeps/x86_64/preconfigure.in: Likewise.
84298 * sysdeps/x86_64/preconfigure: Regenerated.
84299
84300 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84301
84302 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84303 __ILP32__.
84304
84305 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84306
84307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84308 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84309
84310 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84311
84312 [BZ #13973]
84313 * locale/iso-639.def: Fix gl language name. Spotted by
84314 Yaron Shahrabani.
84315
84316 2012-04-12 Roland McGrath <roland@hack.frob.com>
84317
84318 [BZ #2074]
84319 * libio/libio.h (__io_write_fn): Update comment.
84320
84321 2012-04-12 Petr Baudis <pasky@ucw.cz>
84322
84323 [BZ #2074]
84324 * stdio.texi (Hook Functions): The user provided writer function
84325 is not allowed to return -1.
84326
84327 2012-04-11 David S. Miller <davem@davemloft.net>
84328
84329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84330
84331 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84332
84333 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84334 Add a leading slash to rtkaio.
84335
84336 2012-04-11 Jim Meyering <meyering@redhat.com>
84337
84338 [BZ #11959]
84339 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84340 It is not necessarily an error to ignore fwrite's return
84341 value. One can reliably use ferror to test for errors after
84342 the fact.
84343
84344 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84345
84346 * bits/types.h (__snseconds_t): New type.
84347 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84348
84349 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84351 (__SNSECONDS_T_TYPE): Likewise.
84352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84353 (__SNSECONDS_T_TYPE): Likewise.
84354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84355 (__SNSECONDS_T_TYPE): Likewise.
84356
84357 2012-04-10 Andreas Jaeger <aj@suse.de>
84358
84359 [BZ #2636]
84360 * manual/time.texi (Processor Time): Return type of times is
84361 elapsed real time since an arbitrary point in the past.
84362 (CPU Time): Move CLK_TCK from here...
84363 (Processor Time): ...to here. Correct description.
84364 * manual/conf.texi (Constants for Sysconf): Correct description of
84365 _SC_CLK_TCK.
84366
84367 2012-04-10 David S. Miller <davem@davemloft.net>
84368
84369 [BZ #13967]
84370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84371 where the is a gap between DT_REL(A) and DT_JMPREL.
84372
84373 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84374
84375 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84376 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84377 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84378
84379 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84380
84381 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84382 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84383 (dl_main): Handle --inhibit-cache.
84384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84385 _dl_inhibit_cache.
84386 * elf/dl-load.c (_dl_map_object): Use it.
84387 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84388
84389 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84390
84391 [BZ #13872]
84392 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84393 (__ieee754_powl): Saturate large exponents rather than testing for
84394 overflow of y*log2(x).
84395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84396 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84397 exceptions.
84398
84399 [BZ #11521]
84400 * math/s_ctan.c: Include <float.h>.
84401 (__ctan): Avoid internal overflow or cancellation in calculating
84402 denominator.
84403 * math/s_ctanf.c: Likewise.
84404 * math/s_ctanl.c: Likewise.
84405 * math/s_ctanh.c: Likewise.
84406 * math/s_ctanhf.c: Likewise.
84407 * math/s_ctanhl.c: Likewise.
84408 * math/libm-test.inc (ctan_test): Add more tests.
84409 (ctanh_test): Likewise.
84410 * sysdeps/i386/fpu/libm-test-ulps: Update.
84411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84412
84413 2012-04-09 Andreas Jaeger <aj@suse.de>
84414
84415 [BZ #6894]
84416 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84417 is an optional BSD extension.
84418
84419 [BZ #10254]
84420 * manual/stdio.texi (Opening Streams): Document additional fopen
84421 parameters.
84422
84423 2012-04-09 Roland McGrath <roland@hack.frob.com>
84424
84425 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84426 %eax without telling the compiler.
84427
84428 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84429
84430 [BZ # 13963]
84431 * manual/install.texi: Use sourceware.org.
84432
84433 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84434
84435 [BZ #13873]
84436 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84437 (__ieee754_pow): Generate overflow and underflow using huge*huge
84438 and tiny*tiny rather than just returning constant infinity or zero
84439 for large exponents.
84440 * math/libm-test.inc (pow_test): Require overflow exceptions for
84441 applicable cases of large exponents.
84442
84443 [BZ #706]
84444 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84445 (__ieee754_pow): Use iterative multiplication algorithm only for
84446 integer exponents with absolute value below 1024. Check for odd
84447 integer exponents when using algorithm for real exponents.
84448 * math/libm-test.inc (pow_test): Add more tests.
84449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84450
84451 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84452
84453 [BZ #13705]
84454 * math/libm-test.inc (exp_test): Do not allow overflow exception
84455 on underflow test.
84456
84457 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84458
84459 [BZ #13705]
84460 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84461 instead of __kernel_standard_f.
84462
84463 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84464
84465 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84466 * sysdeps/x86_64/memset_chk.S: Likewise.
84467
84468 2012-04-08 Andreas Jaeger <aj@suse.de>
84469
84470 [BZ #10153]
84471 * manual/startup.texi (Environment Access): Describe return value
84472 for putenv and setenv.
84473
84474 [BZ #6895]
84475 * manual/filesys.texi (Directory Entries): Add description for
84476 DT_LNK.
84477
84478 [BZ #6890]
84479 * manual/filesys.texi (Directory Entries): Clarify that it's file
84480 system not operating system in the description of DT_UNKNOWN.
84481
84482 [BZ #6578]
84483 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84484
84485 2012-04-08 Stephen Compall <s11@member.fsf.org>
84486
84487 [BZ #6649]
84488 * manual/llio.texi (Opening and Closing Files): Add cross
84489 reference to explain mode argument.
84490
84491 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84492
84493 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84494 * sysdeps/x86_64/memset_chk.S: Likewise.
84495
84496 2012-04-07 David S. Miller <davem@davemloft.net>
84497
84498 * elf/elf.h (R_SPARC_WDISP10): Define.
84499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84500 R_SPARC_SIZE32.
84501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84502 R_SPARC_SIZE64 and R_SPARC_H34.
84503
84504 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84505
84506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84507 conditions and remove no longer applicable assertion.
84508
84509 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84510
84511 * bits/byteswap.h: Include <features.h>.
84512 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84513 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84514
84515 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84516
84517 * bits/byteswap.h (__bswap_16): Removed.
84518 Include <bits/byteswap-16.h> to get __bswap_16.
84519 * sysdeps/i386/bits/byteswap.h: Likewise.
84520 * sysdeps/s390/bits/byteswap.h: Likewise.
84521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84522 * bits/byteswap-16.h: New file.
84523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84524 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84525 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84526 * string/Makefile (headers): Add bits/byteswap-16.h.
84527
84528 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84529
84530 [BZ #13895]
84531 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84532 extra indirection.
84533 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84534 * nss/tst-nss-static.c: New.
84535
84536 2012-04-06 Robert Millan <rmh@gnu.org>
84537
84538 [BZ #6486]
84539 * manual/llio.texi (File Position Primitive): lseek
84540 refers to WHENCE when it really means OFFSET.
84541
84542 2012-04-06 Andreas Jaeger <aj@suse.de>
84543
84544 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84545 strncmp declarations.
84546
84547 * abilist/libc.abilist: Add __poll and __ppoll.
84548
84549 2012-04-05 David S. Miller <davem@davemloft.net>
84550
84551 * scripts/check-local-headers.sh: Accept a host triplet in the
84552 path matched by the exclude regexp.
84553
84554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84555 definition.
84556 * sysdeps/powerpc/powerpc32/dl-machine.h
84557 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84558 * sysdeps/s390/s390-32/dl-machine.h
84559 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84560 * sysdeps/sparc/sparc32/dl-machine.h
84561 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84562 * sysdeps/sparc/sparc64/dl-machine.h
84563 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84564
84565 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84566 lazy binding.
84567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84568 undefined symbol errors.
84569
84570 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84571 DT_NEEDED entries.
84572
84573 2012-04-05 Michael Matz <matz@suse.de>
84574
84575 [BZ #13592]
84576 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84577
84578 2012-04-05 Andreas Jaeger <aj@suse.de>
84579
84580 [BZ #13908]
84581 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84582 comment.
84583
84584 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84585
84586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84587 which ROUND is no valid rounding mode.
84588
84589 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84590
84591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84592 read again.
84593 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84594
84595 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84596
84597 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84598 an exception using FPU order intentionally.
84599
84600 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84601
84602 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84603 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84604 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84605 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84606
84607 2012-04-05 Simon Josefsson <simon@josefsson.org>
84608
84609 [BZ #12340]
84610 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84611 EINVAL when BUFLEN is too smal.
84612
84613 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
84614
84615 [BZ #13553]
84616 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84617 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84618
84619 2012-04-03 Andreas Jaeger <aj@suse.de>
84620
84621 [BZ #13938]
84622 * manual/setjmp.texi (System V contexts): Fix sentence.
84623
84624 [BZ #13926]
84625 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84626 New macro for this case.
84627 [!__GNUC__] (__bswap_64): New inline function for this case.
84628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84629 * bits/byteswap.h: Likewise.
84630 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84631 ull, guard with __GLIBC_HAVE_LONG_LONG.
84632
84633 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84634 __GLIBC_HAVE_LONG_LONG.
84635
84636 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84637 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84638
84639 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84640
84641 [BZ #13691]
84642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84643 inptr and inend, rather than using last_ch.
84644
84645 2012-04-02 David S. Miller <davem@davemloft.net>
84646
84647 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84648 * stdio-common/printf-parse.h (read_int): Change return type to
84649 'int', return -1 on INT_MAX overflow.
84650 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84651 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
84652 overflows INT_MAX. Check for overflow of in-format-string precision
84653 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
84654 SIZE_MAX not INT_MAX for integer overflow test.
84655 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84656 skip the construct in the format string but do not record anything.
84657 * stdio-common/bug22.c: Adjust to test both width/prevision
84658 INT_MAX overflow as well as total length INT_MAX overflow. Check
84659 explicitly for proper errno values.
84660
84661 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
84662
84663 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84664 CHAR_MAX.
84665 * string/test-strcmp.c [! WIDE]: Likewise.
84666 * time/tst-mktime2.c: Likewise for INT_MAX.
84667 * string/test-string.h: #include <sys/param.h> for MIN.
84668
84669 * csu/init-first.c (__libc_init_first): Call __ctype_init.
84670 * sysdeps/i386/init-first.c (init): Likewise.
84671 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84672 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84673 * sysdeps/sh/init-first.c (init): Likewise.
84674
84675 2012-04-01 Ulrich Drepper <drepper@gmail.com>
84676
84677 * po/ru.po: Update from translation team.
84678 * po/vi.po: Likewise.
84679
84680 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
84681
84682 * resolv/nss_dns/dns-host.c: Merge copyright years.
84683
84684 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84685
84686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84687 Optimize memcpy with prefetch if
84688 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
84689 src, dst pointers have unequal 16 byte alignments.
84690
84691 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
84692
84693 [BZ #13928]
84694 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
84695 from a CNAME entry and return the minimum ttl for the query.
84696 (gaih_getanswer_slice): Likewise.
84697
84698 2012-03-30 Jeff Law <law@redhat.com>
84699
84700 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
84701 due to long keys.
84702 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84703 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84704
84705 * resolv/nss_dns/dns-host.c: Update copyright year.
84706
84707 2012-03-30 Ulrich Drepper <drepper@gmail.com>
84708
84709 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84710 requests to save a system call. Fix check that all bytes are sent.
84711
84712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84713 comments for sendmmsg.
84714
84715 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84716
84717 [BZ #13691]
84718 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84719 with only 1 character between 0x0041 and 0x01b0.
84720 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84721 * wcsmbs/tst-mbsnrtowcs.c: New file.
84722
84723 2012-03-29 David S. Miller <davem@davemloft.net>
84724
84725 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84726 small copies by hand.
84727
84728 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
84729
84730 [BZ #13761]
84731 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84732 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84733 group memberships.
84734
84735 2012-03-28 David S. Miller <davem@davemloft.net>
84736
84737 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84738 that branches into memcpy.
84739 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84742 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84744 bits.
84745 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84746 implementation too.
84747 * sysdeps/sparc/mempcpy.S: New file.
84748
84749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84750 the IFUNC routine in the libc case.
84751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84752
84753 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84754 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84755 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84756 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84757 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84758 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84759 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84760 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84761
84762 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84763 loop to 256 bytes instead of 64 bytes and fix test signedness.
84764
84765 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84766 * sysdeps/sparc/sparc32/Makefile: rather than here...
84767 * sysdeps/sparc/sparc64/Makefile: and here.
84768
84769 2012-03-28 Ulrich Drepper <drepper@gmail.com>
84770
84771 * malloc/mallocbug.c: Avoid warnings about unused variables.
84772
84773 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
84774
84775 [BZ #13760]
84776 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84777 in the right place. Discard and retry query if response is
84778 larger than input buffer size.
84779
84780 2012-03-28 Joseph Myers <joseph@codesourcery.com>
84781
84782 [BZ #369]
84783 [BZ #2678]
84784 [BZ #3866]
84785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84786 x for large integer exponent.
84787 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84788 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
84789 sign of result as needed afterwards.
84790 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84791 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84792 result for underflowing pow the same as for overflow.
84793 (__kernel_standard_l): Handle powl overflow and underflow here
84794 rather than calling __kernel_standard.
84795 * math/libm-test.inc (pow_test): Add more tests.
84796
84797 [BZ #3868]
84798 [BZ #13879]
84799 [BZ #13910]
84800 [BZ #13911]
84801 [BZ #13912]
84802 [BZ #13913]
84803 [BZ #13915]
84804 [BZ #13916]
84805 [BZ #13917]
84806 [BZ #13918]
84807 [BZ #13919]
84808 [BZ #13920]
84809 [BZ #13921]
84810 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84811 * sysdeps/ieee754/k_standard.c: Include <float.h>.
84812 (__kernel_standard_l): New function.
84813 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84814 __kernel_standard.
84815 * math/w_acosl.c (__acosl): Likewise.
84816 * math/w_asinl.c (__asinl): Likewise.
84817 * math/w_atan2l.c (__atan2l): Likewise.
84818 * math/w_atanhl.c (__atanhl): Likewise.
84819 * math/w_coshl.c (__coshl): Likewise.
84820 * math/w_exp10l.c (__exp10l): Likewise.
84821 * math/w_exp2l.c (__exp2l): Likewise.
84822 * math/w_fmodl.c (__fmodl): Likewise.
84823 * math/w_hypotl.c (__hypotl): Likewise.
84824 * math/w_j0l.c (__j0l, __y0l): Likewise.
84825 * math/w_j1l.c (__j1l, __y1l): Likewise.
84826 * math/w_jnl.c (__jnl, __ynl): Likewise.
84827 * math/w_lgammal.c (__lgammal): Likewise.
84828 * math/w_log10l.c (__log10l): Likewise.
84829 * math/w_log2l.c (__log2l): Likewise.
84830 * math/w_logl.c (__logl): Likewise.
84831 * math/w_powl.c (__powl): Likewise.
84832 * math/w_remainderl.c (__remainderl): Likewise.
84833 * math/w_scalbl.c (sysv_scalbl): Likewise.
84834 * math/w_sinhl.c (__sinhl): Likewise.
84835 * math/w_sqrtl.c (__sqrtl): Likewise.
84836 * math/w_tgammal.c (__tgammal): Likewise.
84837 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84838 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84839 * math/libm-test.inc (acos_test): Add more tests.
84840 (acosh_test): Likewise.
84841 (asin_test): Likewise.
84842 (atanh_test): Likewise.
84843 (exp_test): Likewise.
84844 (exp10_test): Likewise.
84845 (exp2_test): Likewise.
84846 (expm1_test): Likewise.
84847 (lgamma_test): Likewise.
84848 (log_test): Likewise.
84849 (log10_test): Likewise.
84850 (log1p_test): Likewise.
84851 (log2_test): Likewise.
84852 (pow_test): Do not allow some spurious overflow exceptions.
84853 (sqrt_test): Add more tests.
84854 (tgamma_test): Likewise.
84855 (y0_test): Likewise.
84856 (y1_test): Likewise.
84857 (yn_test): Likewise.
84858
84859 2012-03-27 Anton Blanchard <anton@samba.org>
84860
84861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84862 MAP_HUGETLB.
84863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84864 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84866
84867 2012-03-27 David S. Miller <davem@davemloft.net>
84868
84869 * conform/Makefile: Run run-conformtest.sh using $(BASH).
84870
84871 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84872 have-as-vis3 check.
84873
84874 2012-03-27 Andreas Jaeger <aj@suse.de>
84875
84876 * sysdeps/x86_64/elf/configure.in: Moved to ...
84877 * sysdeps/x86_64/configure.in: ... here.
84878 * sysdeps/x86_64/elf/start.S: Moved to ...
84879 * sysdeps/x86_64/start.S: ... here.
84880 * sysdeps/x86_64/elf/configure: Delete.
84881
84882 * sysdeps/x86_64/configure.in: Merge contents from
84883 sysdeps/i386/configure.in (without i686 check).
84884
84885 * sysdeps/i386/elf/Versions: Merge into ...
84886 * sysdeps/i386/Versions: ... this.
84887 * sysdeps/i386/elf/Versions: Delete file.
84888 * sysdeps/i386/elf/start.S: Moved to ...
84889 * sysdeps/i386/start.S: ...here.
84890 * sysdeps/i386/elf/configure.in: Merge into...
84891 * sysdeps/i386/configure.in: ...here.
84892 * sysdeps/i386/elf/configure.in: Delete file.
84893 * sysdeps/i386/elf/configure: Delete file.
84894
84895 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84896 * debug/backtracesyms.c: ... here.
84897 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84898 * debug/backtracesymsfd.c: ... here.
84899 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84900 * sysdeps/generic/ifunc-sel.h: ... here.
84901
84902 * sysdeps/unix/i386/start.c: Delete file.
84903 * sysdeps/unix/sparc/start.c: Delete file.
84904 * sysdeps/unix/start.c: Delete file.
84905
84906 * sysdeps/sh/elf/configure.in: Moved to ...
84907 * sysdeps/sh/configure.in: ... here.
84908 * sysdeps/sh/elf/start.S: Moved to ...
84909 * sysdeps/sh/start.S: ... here.
84910 * sysdeps/sh/elf/configure: Delete file.
84911
84912 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84913 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84914 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84915 * sysdeps/powerpc/powerpc64/entry.h: ... here.
84916 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84917 * sysdeps/powerpc/powerpc64/start.S: here.
84918 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84919 * sysdeps/powerpc/powerpc64/Makefile: ... this.
84920 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84921 * sysdeps/powerpc/powerpc64/configure.in: ... this.
84922 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84923
84924 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84925 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84926 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84927 * sysdeps/powerpc/powerpc32/start.S: ... here.
84928 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84929 * sysdeps/powerpc/powerpc32/configure.in: ... this.
84930 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84931
84932 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84933 * sysdeps/powerpc/ifunc-sel.h: ... here.
84934 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84935 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84936
84937 * sysdeps/sparc/elf/configure.in: Moved to ...
84938 * sysdeps/sparc/configure.in: ... here.
84939 * sysdeps/sparc/elf/configure: Delete file.
84940 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84941 * sysdeps/sparc/sparc32/start.S: ... here.
84942 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84943 * sysdeps/sparc/sparc64/start.S: ... here.
84944 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84945 * sysdeps/sparc/sparc32/Makefile: ... this.
84946 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84947 * sysdeps/sparc/sparc64/Makefile: ... this.
84948
84949 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84950 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84951 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84952 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84953 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84954 * sysdeps/s390/s390-32/setjmp.S: ... here.
84955 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84956 * sysdeps/s390/s390-32/configure.in: ... here.
84957 * sysdeps/s390/s390-32/elf/configure: Delete file.
84958 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84959 * sysdeps/s390/s390-32/start.S: ... here.
84960
84961 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84962 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84963 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84964 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84965 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84966 * sysdeps/s390/s390-64/setjmp.S: ... here.
84967 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84968 * sysdeps/s390/s390-64/configure.in: ... here
84969 * sysdeps/s390/s390-64/elf/configure: Delete file.
84970 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84971 * sysdeps/s390/s390-64/start.S: ... here.
84972 * sysdeps/s390/s390-64/elf/configure: Delete.
84973
84974 * configure.in: Remove support for elf directories in sysdeps.
84975
84976 * configure: Regenerated.
84977 * sysdeps/i386/configure: Regenerated.
84978 * sysdeps/powerpc/powerpc32/configure: Regenerated.
84979 * sysdeps/powerpc/powerpc64/configure: Regenerated.
84980 * sysdeps/s390/s390-32/configure: Regenerated.
84981 * sysdeps/s390/s390-64/configure: Regenerated.
84982 * sysdeps/sh/configure: Regenerated.
84983 * sysdeps/sparc/configure: Regenerated.
84984 * sysdeps/x86_64/configure: Regenerated.
84985
84986 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
84987
84988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84989
84990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84991 denormal result into account.
84992
84993 2012-03-25 Roland McGrath <roland@hack.frob.com>
84994
84995 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84996 Reported by Allan McRae <allan@archlinux.org>.
84997
84998 2012-03-23 Jeff Law <law@redhat.com>
84999
85000 * nss/getnssent.c (__nss_getent): Fix typo.
85001
85002 2012-03-23 David S. Miller <davem@davemloft.net>
85003
85004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85005
85006 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85007
85008 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85009 to pad to uint64_t for each field.
85010 (dl_tls_index): Replace unsigned long with uint64_t.
85011
85012 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85013 Paul Pluzhnikov <ppluzhnikov@google.com>
85014
85015 [BZ #6528]
85016 * grp/Makefile (otherlibs): Don't set it.
85017 * inet/Makefile (otherlibs): Likewise.
85018 * login/Makefile (otherlibs): Likewise.
85019 * nscd/Makefile (otherlibs): Likewise.
85020 * posix/Makefile (otherlibs): Likewise.
85021 * pwd/Makefile (otherlibs): Likewise.
85022 * rt/Makefile (otherlibs): Likewise.
85023 * sunrpc/Makefile (otherlibs): Likewise.
85024 * nss/Makefile (otherlibs): Likewise.
85025 Add libnss_files to routines and static-only-routines.
85026 ($(objpfx)getent): Remove rule.
85027 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85028 static-only-routines.
85029
85030 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85031
85032 [BZ #13892]
85033 * math/s_cexp.c: Include <float.h>.
85034 (__cexp): Handle exp result overflowing not necessarily
85035 overflowing both real and imaginary parts of result.
85036 * math/s_cexpf.c: Likewise.
85037 * math/s_cexpl.c: Likewise.
85038 * math/libm-test.inc (cexp_test): Add more tests.
85039 * sysdeps/i386/fpu/libm-test-ulps: Update.
85040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85041
85042 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85043
85044 * include/link.h (ELFW): New macro.
85045 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85046 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85047
85048 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85049
85050 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85051 with uint64_t.
85052
85053 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85054
85055 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85056 declaration.
85057 (struct La_x32_retval): Likewise.
85058
85059 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85060
85061 * sysdeps/x86_64/preconfigure.in: New file.
85062 * sysdeps/x86_64/preconfigure: New generated file.
85063
85064 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85065
85066 [BZ #13824]
85067 * math/e_exp2l.c: Include <float.h>.
85068 (__ieee754_exp2l): Handle overflow and underflow cases
85069 separately. Only pass fractional part of argument to
85070 __ieee754_expl.
85071 * math/libm-test.inc (exp2_test): Add more tests.
85072
85073 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85074 negating x to take absolute value.
85075 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85076 Likewise.
85077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85079 Likewise.
85080 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85081 computing low part if x was negated.
85082 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85083
85084 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85085
85086 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85087 la_x32_gnu_pltexit.
85088 (pltexit): Cast int_retval to ptrdiff_t.
85089 * elf/tst-auditmod3b.c: Likewise.
85090 * elf/tst-auditmod4b.c: Likewise.
85091 * elf/tst-auditmod5b.c: Likewise.
85092 * elf/tst-auditmod6b.c: Likewise.
85093 * elf/tst-auditmod6c.c: Likewise.
85094 * elf/tst-auditmod7b.c: Likewise.
85095
85096 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85097 and x32_gnu_pltexit.
85098
85099 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85100 __ELF_NATIVE_CLASS.
85101 (La_x32_regs): New macro.
85102 (La_x32_retval): Likewise.
85103 (la_x32_gnu_pltenter): New function prototype.
85104 (la_x32_gnu_pltexit): Likewise.
85105
85106 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85107
85108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85109 exponent.
85110
85111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85112
85113 * configure.in (libc_cv_cc_nofma): Check for option to disable
85114 generation of FMA instructions.
85115 * configure: Regenerate.
85116 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85117 * sysdeps/ieee754/dbl-64/Makefile: New file.
85118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85119 Remove brandred-fma4.
85120 (CFLAGS-brandred-fma4.c): Remove.
85121 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85123 define.
85124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85125 define.
85126
85127 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85128
85129 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85130 LLONG_MAX != LONG_MAX.
85131 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85132 (_fitoa_word): Likewise.
85133 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85134 LLONG_MAX != LONG_MAX.
85135 * stdio-common/_itowa.h: Include <_itoa.h>.
85136 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85137 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85138 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85139 only if not defined.
85140 (_ITOA_WORD_TYPE): Likewise.
85141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85142 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85143
85144 2012-03-21 David S. Miller <davem@davemloft.net>
85145
85146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85147
85148 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85149
85150 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85151 of x86_64 when setting libc_cv_slibdir, libdir and
85152 libc_cv_localedir.
85153 * sysdeps/unix/sysv/linux/configure: Regenerated.
85154
85155 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85156
85157 * manual/lang.texi (Old Varargs): Remove section.
85158 (How Variadic): Update menu.
85159 (va_start): Do not mention varargs.h.
85160
85161 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85162 Joseph Myers <joseph@codesourcery.com>
85163
85164 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85165 link test.
85166 * configure: Regenerated.
85167
85168 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85169
85170 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85171 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85172 conformtest.pl
85173
85174 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85175
85176 * NOTES: Remove.
85177 * Makefile (files-for-dist): Remove NOTES.
85178 (NOTES): Remove rule.
85179 * README: Don't refer to NOTES.
85180 * manual/creature.texi: Don't include macros.texi.
85181 * manual/intro.texi (creature.texi): Remove comment referring to
85182 NOTES.
85183
85184 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85185 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85186 * configure: Regenerated.
85187 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85188 LIBC_TRY_CC_OPTION.
85189 (libc_cv_as_i686): Likewise.
85190 (libc_cv_cc_avx): Likewise.
85191 (libc_cv_cc_sse2avx): Likewise.
85192 (libc_cv_cc_fma4): Likewise.
85193 (libc_cv_cc_novzeroupper): Likewise.
85194 * sysdeps/i386/configure: Regenerated.
85195
85196 [BZ #13883]
85197 * sysdeps/i386/fpu/s_cexp.S: Remove.
85198 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85199 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85200 * math/libm-test.inc (cexp_test): Add more tests.
85201 * sysdeps/i386/fpu/libm-test-ulps: Update.
85202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85203
85204 2012-03-21 Allan McRae <allan@archlinux.org>
85205
85206 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85207
85208 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85209
85210 [BZ #13871]
85211 * math/w_exp2.c: Do not include <float.h>.
85212 (o_threshold, u_threshold): Remove.
85213 (__exp2): Calculate result before checking finiteness and calling
85214 __kernel_standard.
85215 * math/w_exp2f.c: Likewise.
85216 * math/w_exp2l.c: Likewise.
85217 * math/libm-test.inc (exp2_test): Require overflow exception for
85218 1e6 input.
85219
85220 [BZ #3866]
85221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85222 range of signed 64-bit integers before using fistpll. Remove
85223 checks for whether integers fit in mantissa bits.
85224 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85225 the range of signed 32-bit integers before using fistpl. Remove
85226 checks for whether integers fit in mantissa bits.
85227 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85228 (__ieee754_powl): Test for y outside the range of signed 64-bit
85229 integers before using fistpll. Reduce 64-bit values to 63-bit
85230 ones as needed.
85231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85232 divide-by-zero is raised for zero to large negative powers.
85233 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85234 (__ieee754_powl): Test for y outside the range of signed 64-bit
85235 integers before using fistpll. Reduce 64-bit values to 63-bit
85236 ones as needed.
85237 * math/libm-test.inc (pow_test): Add more tests.
85238
85239 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85240
85241 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85242 <stdio-common/_itoa.h>.
85243 * debug/segfault.c: Likewise.
85244 * elf/dl-cache.c: Likewise.
85245 * elf/dl-minimal.c: Likewise.
85246 * elf/dl-misc.c: Likewise.
85247 * elf/dl-sysdep.c: Likewise.
85248 * elf/dl-version.c: Likewise.
85249 * elf/rtld.c: Likewise.
85250 * hurd/hurdsock.c: Likewise.
85251 * hurd/lookup-retry.c: Likewise.
85252 * malloc/malloc.c: Likewise.
85253 * malloc/mtrace.c: Likewise.
85254 * nscd/nscd_getgr_r.c: Likewise.
85255 * nscd/nscd_getpw_r.c: Likewise.
85256 * nscd/nscd_getserv_r.c: Likewise.
85257 * posix/getopt_init.c: Likewise.
85258 * posix/wordexp.c: Likewise.
85259 * stdio-common/_itoa.c: Likewise.
85260 * stdio-common/printf_fphex.c: Likewise.
85261 * stdio-common/vfprintf.c: Likewise.
85262 * string/_strerror.c: Likewise.
85263 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85264 * sysdeps/i386/i686/hp-timing.h: Likewise.
85265 * sysdeps/mach/_strerror.c: Likewise.
85266 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85267 * sysdeps/mach/hurd/sethostid.c: Likewise.
85268 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85269 * sysdeps/mach/xpg-strerror.c: Likewise.
85270 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85272 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85273 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85274 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85275 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85276 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85277 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85278 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85279 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85280 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85282 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85283 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85284 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85285 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85286 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85287 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85288 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85289 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85290 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85291
85292 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85293
85294 * stdio-common/_itoa.h: Moved to ...
85295 * sysdeps/generic/_itoa.h: Here.
85296
85297 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85298
85299 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85300 instead of "_itoa.h" and "_itowa.h".
85301 * stdio-common/vfprintf.: Likewise.
85302
85303 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85304
85305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85306 <bits/wordsize.h>.
85307 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85308 (__signbit): Likewise.
85309 (llrintf): Likewise.
85310 (llrint): Likewise.
85311
85312 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85313
85314 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85315 __WORDSIZE != 64.
85316
85317 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85318
85319 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85320 OVERFLOW_EXCEPTION_OK.
85321 * math/libm-test.inc ("Philosophy"): Update comment about
85322 exception testing.
85323 (OVERFLOW_EXCEPTION): Define.
85324 (OVERFLOW_EXCEPTION_OK): Likewise.
85325 (INVALID_EXCEPTION_OK): Renumber.
85326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85327 (IGNORE_ZERO_INF_SIGN): Likewise.
85328 (test_exceptions): Handle FE_OVERFLOW.
85329 (exp10_test): Expect overflow exceptions.
85330 (exp2_test): Likewise.
85331 (expm1_test): Likewise.
85332 (nextafter_test): Likewise.
85333 (pow_test): Likewise.
85334 (scalbn_test): Likewise.
85335 (scalbln_test): Likewise.
85336
85337 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85338
85339 * sysdeps/x86_64/bits/atomic.h
85340 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85341 64bit integer.
85342 (atomic_exchange_acq): Likewise.
85343 (__arch_exchange_and_add_body): Likewise.
85344 (__arch_add_body): Likewise.
85345 (atomic_add_negative): Likewise.
85346 (atomic_add_zero): Likewise.
85347
85348 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85349
85350 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85351 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85352
85353 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85354
85355 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85356 Check __x86_64__ instead of __WORDSIZE.
85357
85358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85359
85360 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85361
85362 2012-03-19 David S. Miller <davem@davemloft.net>
85363
85364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85365
85366 * sysdeps/sparc/fpu/fenv_private.h: New file.
85367 * sysdeps/sparc/fpu/math_private.h: Use it.
85368 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85369 Remove.
85370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85371 (libc_feholdexcept_setroundl): Remove.
85372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85373 Remove.
85374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85376
85377 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85378
85379 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85380 int64_t instead of long int.
85381 (INSERT_WORDS64): Likewise.
85382
85383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85384
85385 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85386 _Unwind_GetCFA return to _Unwind_Ptr first.
85387
85388 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85389
85390 [BZ #13629]
85391 * math/s_clog.c: Include <float.h>.
85392 (__clog): Scale large or subnormal inputs.
85393 * math/s_clogf.c: Likewise.
85394 * math/s_clogl.c: Likewise.
85395 * math/s_clog10.c: Include <float.h>.
85396 (M_LOG10_2): Define.
85397 (__clog10): Scale large or subnormal inputs.
85398 * math/s_clog10f.c: Likewise.
85399 * math/s_clog10l.c: Likewise.
85400 * math/libm-test.inc (clog_test): Add more tests.
85401 (clog10_test): Likewise.
85402 * sysdeps/i386/fpu/libm-test-ulps: Update.
85403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85404
85405 [BZ #11451]
85406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85407 x and y.
85408 * math/libm-test.inc (atan2_test): Add another test.
85409
85410 * Makerules (common-objdir-compile): Remove.
85411 * sysdeps/unix/Makefile (config-generated): Do not add
85412 $(unix-generated) to variable.
85413 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85414 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85415 Remove rule.
85416 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85417 Likewise.
85418 [generic bits/local_lim.h] (before-compile): Do not append to
85419 variable.
85420 [generic bits/local_lim.h] (common-generated): Likewise.
85421 [generic sys/param.h] (before-compile): Do not append to variable.
85422 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85423 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85424 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85425 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85426 include.
85427 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85428 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85429 [generic sys/param.h] ($(addprefix
85430 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85431 [generic sys/param.h] (common-generated): Do not append to
85432 variable.
85433 [generic sys/param.h] (sysdep_headers): Likewise.
85434 [generic bits/errno.h] (before-compile): Do not append to
85435 variable.
85436 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85437 rule.
85438 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85439 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85440 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85441 [generic bits/errno.h] (common-generated): Do not append to
85442 variable.
85443 [generic bits/ioctls.h] (before-compile): Do not append to
85444 variable.
85445 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85446 rule.
85447 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85448 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85449 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85450 rule.
85451 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85452 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85453 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85454 [generic bits/ioctls.h] (common-generated): Do not append to
85455 variable.
85456 [generic sys/syscall.h] (syscall.h): Remove variable.
85457 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85458 rule.
85459 [generic sys/syscall.h] (before-compile): Do not append to
85460 variable.
85461 [generic sys/syscall.h] (common-generated): Likewise.
85462 * sysdeps/unix/errnos-tmpl.c: Remove file.
85463 * sysdeps/unix/errnos.awk: Likewise.
85464 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85465 * sysdeps/unix/ioctls.awk: Likewise.
85466 * sysdeps/unix/mk-local_lim.c: Likewise.
85467 * sysdeps/unix/snarf-ioctls: Likewise.
85468
85469 2012-03-19 Richard Henderson <rth@twiddle.net>
85470
85471 * sysdeps/i386/fpu/fenv_private.h: New file.
85472 * sysdeps/i386/fpu/math_private.h: Use it.
85473 (math_opt_barrier, math_force_eval): Remove.
85474 (libc_feholdexcept_setround_53bit): Remove.
85475 (libc_feupdateenv_53bit): Remove.
85476 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85477 (math_opt_barrier, math_force_eval): Remove.
85478 (libc_feholdexcept): Remove.
85479 (libc_feholdexcept_setround): Remove.
85480 (libc_fetestexcept, libc_fesetenv): Remove.
85481 (libc_feupdateenv_test): Remove.
85482 (libc_feupdateenv, libc_feholdsetround): Remove.
85483 (libc_feresetround): Remove.
85484
85485 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85486 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85487
85488 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85489 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85490 (libc_feupdateenv_testl): New.
85491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85492 (libc_feupdateenv_testf): New.
85493 (libc_feupdateenv): Use libc_feupdateenv_test.
85494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85496
85497 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85498 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85499 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85500 (libc_feresetround_noex): New.
85501 (libc_feresetround_noexf): New.
85502 (libc_feresetround_noexl): New.
85503 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85504 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85505 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85506 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85507 SET_RESTORE_ROUND.
85508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85510 (__cos): Likewise.
85511 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85512 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85513 SET_RESTORE_ROUND_NOEX.
85514 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85515 SET_RESTORE_ROUND_NOEXF.
85516 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85517 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85518 (libc_feholdsetroundf): New.
85519 (libc_feresetround, libc_feresetroundf): New.
85520
85521 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85522 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85523 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85524
85525 * sysdeps/generic/math_private.h: Include <fenv.h>.
85526 (default_libc_feholdexcept): New.
85527 (default_libc_feholdexcept_setround): New.
85528 (default_libc_fesetenv, default_libc_feupdateenv): New.
85529 (libc_feholdexcept): Only define if undefined.
85530 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85531 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85532 (libc_feholdexcept_setroundl): Likewise.
85533 (libc_feholdexcept_setround_53bit): Likewise.
85534 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85535 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85536 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85537 (libc_feupdateenv_53bit): Likewise.
85538 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85539 (libc_feholdexcept): Convert from macro to inline function.
85540 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85541 (libc_fesetenv, libc_feupdateenv): Likewise.
85542
85543 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85544 not previously defined.
85545 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85546 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85547 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85548 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85549 * sysdeps/ieee754/flt-32/math_private.h: New file.
85550 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85551 math_private.h below SET_FLOAT_WORD.
85552 (__isnan, __isinf_ns, __finite): Remove.
85553 (__isnanf, __isinf_nsf, __finitef): Remove.
85554
85555 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85556
85557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85558
85559 2012-03-17 David S. Miller <davem@davemloft.net>
85560
85561 [BZ #6471]
85562 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85563 for 2.16.
85564
85565 2012-03-16 David S. Miller <davem@davemloft.net>
85566
85567 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85568 warnings.
85569
85570 [BZ #6471]
85571 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85572 properly.
85573 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85574 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85575 sysdep_routines when subdir is sysvipc.
85576 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85577 __getshmlba helper.
85578
85579 * sysdeps/sparc/fpu/libm-test/ulps: Update.
85580
85581 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85582
85583 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85584 [__LP64__].
85585
85586 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85587
85588 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85589 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85590 (__lround): Renamed to ...
85591 (__llround): This. Replace long int with long long int.
85592 Define lround functions as aliases of llround functions.
85593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85594
85595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85596
85597 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85598 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
85599 adresses to uintptr_t. Replace "long int" and "unsigned long
85600 int" with "greg_t" on va_arg.
85601
85602 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85603
85604 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85605 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85606
85607 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85608 Move e_machine check before EI_CLASS check. Handle x32
85609 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85610 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85611 SKIP_EM_IA_64 and include
85612 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85613
85614 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85615 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85616 (add_system_dir): New macro.
85617
85618 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85619 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85620
85621 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85622
85623 [BZ #2551]
85624 [BZ #2552]
85625 [BZ #2553]
85626 [BZ #2554]
85627 [BZ #2562]
85628 [BZ #2563]
85629 [BZ #2565]
85630 [BZ #2566]
85631 [BZ #2576]
85632 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85633 (y0): Likewise.
85634 * math/w_j0f.c (j0f): Likewise.
85635 (y0f): Likewise.
85636 * math/w_j0l.c (__j0l): Likewise.
85637 (__y0l): Likewise.
85638 * math/w_j1.c (j1): Likewise.
85639 (y1): Likewise.
85640 * math/w_j1f.c (j1f): Likewise.
85641 (y1f): Likewise.
85642 * math/w_j1l.c (__j1l): Likewise.
85643 (__y1l): Likewise.
85644 * math/w_jn.c (jn): Likewise.
85645 (yn): Likewise.
85646 * math/w_jnf.c (jnf): Likewise.
85647 (ynf): Likewise.
85648 * math/w_jnl.c (__jnl): Likewise.
85649 (__ynl): Likewise.
85650 * math/libm-test.inc (j0_test): Add more tests.
85651 (j1_test): Likewise.
85652 (jn_test): Likewise. Add trailing semicolon to existing test.
85653 (y0_test): Likewise.
85654 (y1_test): Likewise.
85655 * sysdeps/i386/fpu/libm-test-ulps: Update.
85656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85657
85658 [BZ #13851]
85659 [BZ #13854]
85660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85661 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85662 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85664 (__tanl): Set errno for infinite argument.
85665 * sysdeps/i386/fpu/mptan.c: Remove.
85666 * sysdeps/i386/fpu/s_tan.S: Likewise.
85667 * sysdeps/i386/fpu/s_tanl.S: Likewise.
85668 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85669 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85670 * math/libm-test.inc (tan_test): Add more tests and enable more
85671 tests for double and long double.
85672 * sysdeps/i386/fpu/libm-test-ulps: Update.
85673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85674
85675 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
85676
85677 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85678 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85679
85680 2012-03-16 Roland McGrath <roland@hack.frob.com>
85681
85682 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85683 * configure.in: Use it for both main tree and add-ons.
85684 * configure: Regenerated.
85685
85686 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85687
85688 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85689
85690 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85691
85692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
85693 in comment.
85694
85695 [BZ #13851]
85696 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
85697 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
85698 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
85699 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
85700 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
85701 infinite argument.
85702 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85704 != 0 for prec == 2.
85705 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85706 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85707 * sysdeps/i386/fpu/s_cosl.S: Likewise.
85708 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85709 * sysdeps/i386/fpu/s_sinl.S: Likewise.
85710 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85711 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85712 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85713 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85714 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85715 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85716 * math/libm-test.inc (cos_test): Add more tests and enable more
85717 tests for long double.
85718 (sin_test): Likewise.
85719 (sincos_test): Likewise.
85720 * sysdeps/i386/fpu/libm-test-ulps: Update.
85721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85722
85723 2012-03-16 David S. Miller <davem@davemloft.net>
85724
85725 * sysdeps/sparc/fpu/math_private.h: New file.
85726
85727 2012-03-15 David S. Miller <davem@davemloft.net>
85728
85729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85730 file.
85731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85733 file.
85734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85740 sysdep routines.
85741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85742
85743 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85744 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85745
85746 * sysdeps/sparc/sparc-ifunc.h: New file.
85747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85748 sparc-ifunc.h
85749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85751 Likewise.
85752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85753 Likewise.
85754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85758 Likewise.
85759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85764 Likewise.
85765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85766 Likewise.
85767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85791
85792 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
85793
85794 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85795 scaling.
85796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85797
85798 2012-03-15 Andreas Jaeger <aj@suse.de>
85799
85800 [BZ #13852]
85801 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85802 ieee754/flt-32 implementation for sin, cos and sincos.
85803 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85804 * sysdeps/i386/fpu/s_cosf.S: Likewise.
85805 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85806 * sysdeps/i386/fpu/s_sinf.S: Likewise.
85807 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85808 ieee754/flt-32 implementation for tan.
85809
85810 * math/libm-test.inc (cos_test): Enable some large input tests for
85811 float as well
85812 (sin_test): Likewise.
85813 (sincos_test): Likewise.
85814 (tan_test): Add tests for large input.
85815
85816 * sysdeps/i386/fpu/libm-test-ulps: Update.
85817
85818 2012-03-15 Andreas Jaeger <aj@suse.de>
85819
85820 [BZ #13658]
85821 * math/libm-test.inc (cos_test): Add more test cases.
85822 (sin_test): Likewise.
85823 (sincos_test): Likewise.
85824
85825 2012-03-15 Andreas Jaeger <aj@suse.de>
85826
85827 [BZ #13837]
85828 * math/libm-test.inc (cos_test): Add a test case for large input
85829 value.
85830 (sin_test): Likewise.
85831 (sincos_test): Likewise.
85832
85833 2012-03-15 Andreas Jaeger <aj@suse.de>
85834 Joseph Myers <joseph@codesourcery.com>
85835
85836 [BZ #13658]
85837 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85838 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85839 * sysdeps/i386/fpu/branred.c: Likewise.
85840 * sysdeps/i386/fpu/dosincos.c: Likewise.
85841 * sysdeps/i386/fpu/mpa.c: Likewise.
85842 * sysdeps/i386/fpu/s_cos.S: Likewise.
85843 * sysdeps/i386/fpu/s_sin.S: Likewise.
85844 * sysdeps/i386/fpu/s_sincos.S: Likewise.
85845 * sysdeps/i386/fpu/sincos32.c: Likewise.
85846
85847 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85848 Define.
85849 (libc_feupdateenv_53bit): Define.
85850 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85851 Define.
85852 (libc_feupdateenv_53bit): Define.
85853
85854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85855 53 bit (without extend i386 double precision).
85856
85857 * math/libm-test.inc (sincos_test): Add tests for large input.
85858 (sin): Likewise.
85859 (cos): Likewise.
85860
85861 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85862
85863 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
85864
85865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85866
85867 2012-03-15 David S. Miller <davem@davemloft.net>
85868
85869 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85870 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85871 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85872 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85885 file.
85886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85888 file.
85889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85891 file.
85892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85894 file.
85895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85897 fmin/fmax sysdep routines.
85898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85899
85900 2012-03-14 David S. Miller <davem@davemloft.net>
85901
85902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85931 routines.
85932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85933 file.
85934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85936 file.
85937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85939 file.
85940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85942 file.
85943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85945 file.
85946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85948 file.
85949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85950 file.
85951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85952 file.
85953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85954 file.
85955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85956 New file.
85957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85958 file.
85959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85960 file.
85961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85963 file.
85964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85966 file.
85967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85969 file.
85970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85972 VIS3 routines.
85973
85974 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85975 New file.
85976
85977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85978
85979 * sysdeps/sparc/configure.in: New file.
85980 * sysdeps/sparc/configure: Generate.
85981 * configure.in (libc_cv_sparc_as_vis3): Substitute.
85982 * configure: Regenerate.
85983 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85984 * config.make.in (have-as-vis3): New.
85985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85986 available use -Av9d instead of -Av9a.
85987 * sysdeps/sparc/sparc64/Makefile: Likewise.
85988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85990 New file.
85991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85992 file.
85993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85994 New file.
85995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85996 file.
85997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86002
86003 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86004 fzeros/fnegs to load 0x80000000 into a float register instead of
86005 using the stack.
86006 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86007
86008 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86009
86010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86011 bits/syscall.h.
86012 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86013 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86014 ($(inst_includedir)/bits/syscall.h): Remove rule.
86015 ($(objpfx)bits/syscall.d): Include instead of
86016 $(objpfx)syscall-list.d.
86017 (generated): Change syscall-list.h and syscall-list.d to
86018 bits/syscall.h and bits/syscall.d.
86019
86020 2012-03-14 Roland McGrath <roland@hack.frob.com>
86021
86022 [BZ #13846]
86023 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86024
86025 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86026
86027 [BZ #13841]
86028 * math/s_csqrt.c: Include <float.h>.
86029 (__csqrt): Scale large or subnormal inputs.
86030 * math/s_csqrtf.c: Likewise.
86031 * math/s_csqrtl.c: Likewise.
86032 * math/libm-test.inc (csqrt_test): Add more tests.
86033 * sysdeps/i386/fpu/libm-test-ulps: Update.
86034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86035
86036 [BZ #13840]
86037 * math/libm-test.inc (hypot_test): Add more tests.
86038
86039 2012-03-13 David S. Miller <davem@davemloft.net>
86040
86041 [BZ #13840]
86042 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86043 double-precision for the calculation instead of scaling.
86044
86045 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86046
86047 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86048 manipulate bits before adding and subtracting TWO52[sx].
86049 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86051 Likewise.
86052 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86053
86054 2012-03-13 David S. Miller <davem@davemloft.net>
86055
86056 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86057 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86059 rtld-global-offsets.h
86060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86061
86062 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86063 large parameters.
86064
86065 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86066
86067 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86068 'err' in the ifdef scope in which it is actually used.
86069
86070 * nss/nss_db/db-init.c: Include string.h
86071
86072 2012-03-12 David S. Miller <davem@davemloft.net>
86073
86074 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86075 masking out of the most significant byte of random value used.
86076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86077 Fix coding style in previous change.
86078
86079 * sysdeps/unix/sysv/linux/kernel-features.h
86080 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86081 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86082 expression.
86083 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86084 later.
86085
86086 2012-03-11 David S. Miller <davem@davemloft.net>
86087
86088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86089 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86091 for 'resultvar' otherwise things get truncated on 64-bit.
86092
86093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86094 Fix masking out of the most significant byte of random value used.
86095
86096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86097
86098 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86099
86100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86101
86102 2012-03-09 David S. Miller <davem@davemloft.net>
86103
86104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86105 variables with appropriate CPP guards.
86106 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86107 from the frame pointer, not the stack pointer. Correct layout
86108 comments. Fix test on resulting framesize and the management of
86109 the outregs buffer for pltexit. Preserve floating point return
86110 values across _dl_call_pltexit call.
86111 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86112 framesize and the management of the outregs buffer for pltexit.
86113 Preserve floating point return values across _dl_call_pltexit
86114 call.
86115 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86116 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86117 (la_sparc64_gnu_pltexit): New functions.
86118 (print_exit): Fix format string for return register value.
86119
86120 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86121
86122 * sunrpc/Makefile (others): Add rpcgen.
86123 ($(objpfx)rpcgen): Remove special build rule and dependency on
86124 libc.
86125 * sunrpc/rpcgen.c: New file.
86126
86127 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86128
86129 [BZ #13673]
86130 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86131 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86132 * sysdeps/i386/crti.S: Likewise.
86133 * sysdeps/i386/crtn.S: Likewise.
86134 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86135 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86136 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86137 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86138 * sysdeps/sh/crti.S: Likewise.
86139 * sysdeps/sh/crtn.S: Likewise.
86140 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86141
86142 [BZ #13673]
86143 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86144 with URL.
86145 * locale/programs/locfile-kw.gperf: Likewise.
86146 * locale/programs/charmap-kw.h: Regenerated.
86147 * locale/programs/locfile-kw.h: Likewise.
86148
86149 [BZ #13673]
86150 * intl/plural.y: Replace FSF snail mail address with URL.
86151 * intl/plural.c: Regenerated.
86152
86153 2012-03-09 Richard Henderson <rth@twiddle.net>
86154
86155 * include/math_private.h: Remove file.
86156 * math/math_private.h: Move file ...
86157 * sysdeps/generic/math_private.h: ... here.
86158
86159 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86160 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86161 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86162
86163 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86164 and <math_private.h>.
86165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86170 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86173 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86174 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86176 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86180 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86183 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86184 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86189 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86194 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86195 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86197 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86199 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86200 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86205 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86206 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86208 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86209 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86210 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86211 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86212 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86214 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86215 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86216 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86217 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86219 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86221 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86222 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86223 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86224 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86225 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86226 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86228 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86229 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86230 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86231 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86232 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86234 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86238 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86239 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86246 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86247 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86248 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86252 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86253 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86256 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86259 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86260 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86261 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86265 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86266 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86267 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86268 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86270 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86271 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86272 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86273 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86275 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86276 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86278 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86279 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86281 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86282 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86283 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86284 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86286 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86287 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86288 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86289 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86290 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86292 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86293 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86294 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86295 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86296 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86298 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86299 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86300 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86301 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86303 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86304 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86306 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86307 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86308 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86309 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86310 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86311 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86312 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86313 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86314 * sysdeps/ieee754/k_standard.c: Likewise.
86315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86322 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86324 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86327 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86328 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86329 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86330 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86331 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86334 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86335 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86336 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86337 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86338 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86339 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86340 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86341 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86342 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86343 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86344 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86345 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86346 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86347 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86348 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86349 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86350 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86351 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86352 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86353 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86354 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86355 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86357 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86358 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86359 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86360 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86361 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86362 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86363 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86364 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86365 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86366 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86368 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86371 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86372 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86373 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86374 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86375 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86376 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86377 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86378 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86381 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86383 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86389 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86392 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86396 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86398 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86400 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86401 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86402 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86405 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86406 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86407 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86408 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86411 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86412 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86413 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86414 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86415 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86418 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86419 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86422 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86423 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86424 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86425 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86426 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86428 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86429 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86430 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86431 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86432 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86433 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86434 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86436 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86437 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86438 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86440 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86441 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86442 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86443 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86445 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86446 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86447 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86448 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86450 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86451 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86452 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86453 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86454 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86455 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86456 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86457 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86458 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86459 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86460 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86461 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86464 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86465 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86466 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86468 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86469 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86470 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86471 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86472 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86473 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86474 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86475 * sysdeps/ieee754/s_lib_version.c: Likewise.
86476 * sysdeps/ieee754/s_matherr.c: Likewise.
86477 * sysdeps/ieee754/s_signgam.c: Likewise.
86478 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86479 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86480 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86481 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86482 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86484 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86485 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86486 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86487 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86488 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86489 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86490 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86491 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86492 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86493 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86495 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86499
86500 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86501
86502 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86503 * sunrpc/rpc_main.c: Likewise.
86504 * sunrpc/rpc_svcout.c: Likewise.
86505
86506 2012-03-09 David S. Miller <davem@davemloft.net>
86507
86508 * include/math_private.h: New file.
86509
86510 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86511
86512 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86513 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86514 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86515 from <bits/socket_type.h>.
86516 (enum __socket_type): Don't define here.
86517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86519 bits/socket_type.h.
86520
86521 [BZ #13566]
86522 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86523 checking __USE_GNU.
86524
86525 * Makerules ($(inst_includedir)/%.h): New rule.
86526 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86527 (install-others): Remove variable setting.
86528 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86529
86530 2012-03-08 Richard Henderson <rth@twiddle.net>
86531
86532 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86533 from macro to inline function; merge with the
86534 !__LIBC_INTERNAL_MATH_INLINES version.
86535 (__ieee754_sqrtf): Likewise.
86536
86537 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86538 to inline function.
86539 (__rintf, __floor, __floorf): Likewise.
86540
86541 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86542 macro to inline function.
86543 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86544
86545 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86546 not <math/math_private.h>.
86547
86548 2012-03-08 David S. Miller <davem@davemloft.net>
86549
86550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86551 copyright year.
86552 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86553
86554 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86555
86556 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86557 normalization.
86558 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86559 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86560
86561 2012-03-08 Ulrich Drepper <drepper@gmail.com>
86562
86563 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
86564 be defined individually, they must be defined as a block. Define
86565 S for printing a string instead of hidint the different by using a
86566 macro for adding the 'l'.
86567 * stdio-common/tst-fphex-wide.c: Adjust.
86568
86569 2012-03-07 Marek Polacek <polacek@redhat.com>
86570
86571 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86572
86573 2012-03-08 Marek Polacek <polacek@redhat.com>
86574
86575 [BZ #13806]
86576 * stdio-common/Makefile (tests): Add tst-fphex-wide.
86577 * stdio-common/tst-fphex.c: Define a few macros to make the
86578 test reusable. Use them.
86579 * stdio-common/tst-fphex-wide.c: New file.
86580
86581 2012-03-08 Joseph Myers <joseph@codesourcery.com>
86582
86583 [BZ #6911]
86584 * manual/macros.texi (gnusystems): New macro.
86585 (nongnusystems): Likewise.
86586 (gnulinuxhurdsystems): Likewise.
86587 (gnuhurdsystems): Likewise..
86588 (gnulinuxsystems): Likewise.
86589 * manual/charset.texi: Use new macros or @theglibc{} to refer to
86590 variants of the GNU system, not "GNU system".
86591 * manual/conf.texi: Likewise.
86592 * manual/errno.texi: Likewise. Update example of errno macro
86593 expansion.
86594 * manual/filesys.texi: Likewise.
86595 (getumask): Document as specific to GNU/Hurd.
86596 * manual/install.texi: Likewise. Reword some references to
86597 GNU/Linux.
86598 * manual/intro.texi: Likewise.
86599 * manual/io.texi: Likewise.
86600 (File Name Portability): Detail which constraints are inapplicable
86601 to all GNU systems and which are only inapplicable to GNU/Hurd.
86602 * manual/job.texi: Likewise.
86603 * manual/llio.texi: Likewise.
86604 (O_NOCTTY): Document as present on GNU/Linux.
86605 * manual/maint.texi: Likewise.
86606 * manual/memory.texi: Likewise.
86607 * manual/pattern.texi: Likewise.
86608 * manual/pipe.texi: Likewise.
86609 * manual/process.texi: Likewise.
86610 * manual/resource.texi: Likewise.
86611 (RUSAGE_CHILDREN): Remove statement about specifying a particular
86612 child on GNU/Hurd.
86613 * manual/setjmp.texi: Likewise.
86614 * manual/signal.texi: Likewise.
86615 * manual/startup.texi: Likewise.
86616 * manual/stdio.texi: Likewise.
86617 * manual/terminal.texi: Likewise.
86618 (ONLCR): Document as POSIX.
86619 (OXTABS): Document availability on GNU/Linux as XTABS.
86620 (ONOEOT): Document availability separately from other bits.
86621 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86622 * manual/time.texi: Likewise.
86623 * manual/users.texi: Likewise.
86624 * INSTALL: Regenerated.
86625 * sysdeps/gnu/errlist.c: Regenerated.
86626
86627 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86628 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86629 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
86630 puts.
86631 * configure: Regenerated.
86632
86633 2012-03-07 Joseph Myers <joseph@codesourcery.com>
86634
86635 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86636 default includes instead of AC_HEADER_CHECK.
86637 * sysdeps/i386/configure: Regenerated.
86638
86639 [BZ #10716]
86640 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86641 * math/s_cacoshf.c (__cacoshf): Likewise.
86642 * math/s_cacoshl.c (__cacoshl): Likewise.
86643 * math/s_casinh.c (__casinh): Set signs of result from argument.
86644 * math/s_casinhf.c (__casinhf): Likewise.
86645 * math/s_casinhl.c (__casinhl): Likewise.
86646 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86647 (casinh_test): Add more tests.
86648 * sysdeps/i386/fpu/libm-test-ulps: Update.
86649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86650
86651 2012-03-07 Ulrich Drepper <drepper@gmail.com>
86652
86653 * po/zh_TW.po: Update from translation team.
86654
86655 * login/Makefile (distribute): Remove variable.
86656 * catgets/Makefile: Likewise.
86657 * mach/Makefile: Likewise.
86658 * malloc/Makefile: Likewise.
86659 * misc/Makefile: Likewise.
86660 * iconv/Makefile: Likewise.
86661 * nscd/Makefile: Likewise.
86662 * hurd/Makefile: Likewise.
86663 * manual/Makefile: Likewise.
86664 * locale/Makefile: Likewise.
86665 * intl/Makefile: Likewise.
86666 * conform/Makefile: Likewise.
86667 * nss/Makefile: Likewise.
86668 * time/Makefile: Likewise.
86669 * soft-fp/Makefile: Likewise.
86670 * dirent/Makefile: Likewise.
86671 * gmon/Makefile: Likewise.
86672 * po/Makefile: Likewise.
86673 * rt/Makefile: Likewise.
86674 * socket/Makefile: Likewise.
86675 * math/Makefile: Likewise.
86676 * signal/Makefile: Likewise.
86677 * debug/Makefile: Likewise.
86678 * elf/Makefile: Likewise.
86679 * timezone/Makefile: Likewise.
86680 * stdlib/Makefile: Likewise.
86681 * iconvdata/Makefile: Likewise.
86682 * sunrpc/Makefile: Likewise.
86683 * io/Makefile: Likewise.
86684 * argp/Makefile: Likewise.
86685 * inet/Makefile: Likewise.
86686 * hesiod/Makefile: Likewise.
86687 * grp/Makefile: Likewise.
86688 * csu/Makefile: Likewise.
86689 * wctype/Makefile: Likewise.
86690 * crypt/Makefile: Likewise.
86691 * libio/Makefile: Likewise.
86692 * string/Makefile: Likewise.
86693 * nis/Makefile: Likewise.
86694 * resolv/Makefile: Likewise.
86695 * stdio-common/Makefile: Likewise.
86696 * wcsmbs/Makefile: Likewise.
86697 * dlfcn/Makefile: Likewise.
86698 * posix/Makefile: Likewise.
86699
86700 [BZ #6959]
86701 * timezone/Makefile: Don't install timezone files, just the programs
86702 and scripts.
86703
86704 2012-03-06 Ulrich Drepper <drepper@gmail.com>
86705
86706 * nss/databases.def: Add missing gshadow entry.
86707
86708 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
86709
86710 2012-03-06 Marek Polacek <polacek@redhat.com>
86711
86712 [BZ #13726]
86713 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86714 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86715 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86716 * stdio-common/tst-long-dbl-fphex.c: New file.
86717
86718 2012-03-06 David S. Miller <davem@davemloft.net>
86719
86720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86721 (set_obp_int): New function.
86722 (get_obp_int): New function.
86723 (__get_clockfreq_via_dev_openprom): Likewise.
86724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86725 Avoid unused variable warnings on 'val' and use builtin_expect.
86726 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86727 __builtin_expect.
86728 (INLINE_CLONE_SYSCALL): Likewise.
86729
86730 2012-03-05 David S. Miller <davem@davemloft.net>
86731
86732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86733
86734 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
86735
86736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86737
86738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86739 only for |x| >= 40.
86740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86741
86742 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
86743
86744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86745 Replace gettimeofday with __vdso_gettimeofday.
86746
86747 * sysdeps/unix/sysv/linux/x86_64/init-first.c
86748 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86749 __vdso_clock_gettime and __vdso_getcpu.
86750
86751 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86752 time with __vdso_time.
86753
86754 2012-03-05 Joseph Myers <joseph@codesourcery.com>
86755
86756 * manual/lang.texi (size_t): Note types to which size_t may be
86757 equivalent with the GNU C Library, but do not describe when
86758 differences between them are significant.
86759
86760 2012-03-05 Andreas Jaeger <aj@suse.de>
86761
86762 * sysdeps/i386/fpu/libm-test-ulps: Update.
86763
86764 2012-03-05 Joseph Myers <joseph@codesourcery.com>
86765
86766 [BZ #3976]
86767 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86768 (__ieee754_pow): Save and restore rounding mode and use
86769 round-to-nearest for main computations.
86770 * math/libm-test.inc (pow_test_tonearest): New function.
86771 (pow_test_towardzero): Likewise.
86772 (pow_test_downward): Likewise.
86773 (pow_test_upward): Likewise.
86774 (main): Call the new functions.
86775 * sysdeps/i386/fpu/libm-test-ulps: Update.
86776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86777
86778 [BZ #3976]
86779 * math/libm-test.inc (cosh_test_tonearest): New function.
86780 (cosh_test_towardzero): Likewise.
86781 (cosh_test_downward): Likewise.
86782 (cosh_test_upward): Likewise.
86783 (sinh_test_tonearest): Likewise.
86784 (sinh_test_towardzero): Likewise.
86785 (sinh_test_downward): Likewise.
86786 (sinh_test_upward): Likewise.
86787 (main): Call the new functions.
86788 * sysdeps/i386/fpu/libm-test-ulps: Update.
86789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86790
86791 2012-03-05 Tom de Vries <tom@codesourcery.com>
86792
86793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86794 default stack guard is set in last bytes.
86795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86796
86797 2012-03-05 Kees Cook <keescook@chromium.org>
86798
86799 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86800
86801 [BZ #13656]
86802 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86803 possibly allocate from heap instead of stack.
86804 * stdio-common/bug-vfprintf-nargs.c: New file.
86805 * stdio-common/Makefile (tests): Add nargs overflow test.
86806
86807 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
86808
86809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86810
86811 2012-03-03 Marek Polacek <polacek@redhat.com>
86812
86813 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86814 * math/math_private.h: Likewise.
86815 * stdlib/tst-strtod.c: Likewise.
86816 * sysdeps/i386/i486/bits/atomic.h: Likewise.
86817 * sysdeps/x86_64/bits/atomic.h: Likewise.
86818
86819 2012-03-02 David S. Miller <davem@davemloft.net>
86820
86821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86825 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86826 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86827 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86828 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86829
86830 2012-03-02 Roland McGrath <roland@hack.frob.com>
86831
86832 [BZ #13792]
86833 * manual/examples/README: New file, says the example source files
86834 can be used under GPL>=2.
86835 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86836 line containing just "*/".
86837 * manual/examples/add.c: Add copyright header (GPL>=2).
86838 * manual/examples/argp-ex1.c: Likewise.
86839 * manual/examples/argp-ex2.c: Likewise.
86840 * manual/examples/argp-ex3.c: Likewise.
86841 * manual/examples/argp-ex4.c: Likewise.
86842 * manual/examples/atexit.c: Likewise.
86843 * manual/examples/db.c: Likewise.
86844 * manual/examples/dir.c: Likewise.
86845 * manual/examples/dir2.c: Likewise.
86846 * manual/examples/execinfo.c: Likewise.
86847 * manual/examples/filecli.c: Likewise.
86848 * manual/examples/filesrv.c: Likewise.
86849 * manual/examples/fmtmsgexpl.c: Likewise.
86850 * manual/examples/genpass.c: Likewise.
86851 * manual/examples/inetcli.c: Likewise.
86852 * manual/examples/inetsrv.c: Likewise.
86853 * manual/examples/isockad.c: Likewise.
86854 * manual/examples/longopt.c: Likewise.
86855 * manual/examples/memopen.c: Likewise.
86856 * manual/examples/memstrm.c: Likewise.
86857 * manual/examples/mkfsock.c: Likewise.
86858 * manual/examples/mkisock.c: Likewise.
86859 * manual/examples/mygetpass.c: Likewise.
86860 * manual/examples/pipe.c: Likewise.
86861 * manual/examples/popen.c: Likewise.
86862 * manual/examples/rprintf.c: Likewise.
86863 * manual/examples/search.c: Likewise.
86864 * manual/examples/select.c: Likewise.
86865 * manual/examples/setjmp.c: Likewise.
86866 * manual/examples/sigh1.c: Likewise.
86867 * manual/examples/sigusr.c: Likewise.
86868 * manual/examples/stpcpy.c: Likewise.
86869 * manual/examples/strdupa.c: Likewise.
86870 * manual/examples/strftim.c: Likewise.
86871 * manual/examples/strncat.c: Likewise.
86872 * manual/examples/subopt.c: Likewise.
86873 * manual/examples/swapcontext.c: Likewise.
86874 * manual/examples/termios.c: Likewise.
86875 * manual/examples/testopt.c: Likewise.
86876 * manual/examples/testpass.c: Likewise.
86877 * manual/examples/timeval_subtract.c: Likewise.
86878
86879 [BZ #13792]
86880 * manual/time.texi (Elapsed Time): Move timeval_subtract example
86881 function to ...
86882 * manual/timeval_subtract.c.texi: ... here, new file.
86883
86884 2012-03-02 David S. Miller <davem@davemloft.net>
86885
86886 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86887
86888 2012-03-02 Joseph Myers <joseph@codesourcery.com>
86889
86890 [BZ #3976]
86891 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86892 (__sin): Save and restore rounding mode and use round-to-nearest
86893 for all computations.
86894 (__cos): Save and restore rounding mode and use round-to-nearest
86895 for all computations.
86896 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86897 <fenv.h>.
86898 (tan): Save and restore rounding mode and use round-to-nearest for
86899 all computations.
86900 * math/libm-test.inc (cos_test_tonearest): New function.
86901 (cos_test_towardzero): Likewise.
86902 (cos_test_downward): Likewise.
86903 (cos_test_upward): Likewise.
86904 (sin_test_tonearest): Likewise.
86905 (sin_test_towardzero): Likewise.
86906 (sin_test_downward): Likewise.
86907 (sin_test_upward): Likewise.
86908 (tan_test_tonearest): Likewise.
86909 (tan_test_towardzero): Likewise.
86910 (tan_test_downward): Likewise.
86911 (tan_test_upward): Likewise.
86912 (main): Call the new functions.
86913 * sysdeps/i386/fpu/libm-test-ulps: Update.
86914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86915
86916 [BZ #10135]
86917 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86918 small n, then large n, before computing and testing k+n.
86919 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86921 Likewise.
86922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86923 Likewise.
86924 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86925 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86932 * math/libm-test.inc (scalbn_test): Add more tests.
86933 (scalbln_test): Likewise.
86934
86935 * manual/filesys.texi (mode_t): Describe constraints on size and
86936 signedness, not exact equivalence to a particular type.
86937 (ino_t): Likewise.
86938 (ino64_t): Likewise.
86939 (dev_t): Likewise.
86940 (nlink_t): Likewise.
86941 (blkcnt_t): Likewise.
86942 (blkcnt64_t): Likewise.
86943 * manual/llio.texi (off_t): Likewise.
86944
86945 [BZ #3976]
86946 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86947 (__ieee754_exp): Save and restore rounding mode and use
86948 round-to-nearest for all computations.
86949 * math/libm-test.inc (exp_test_tonearest): New function.
86950 (exp_test_towardzero): Likewise.
86951 (exp_test_downward): Likewise.
86952 (exp_test_upward): Likewise.
86953 (main): Call the new functions.
86954 * sysdeps/i386/fpu/libm-test-ulps: Update.
86955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86956
86957 2012-03-01 Chris Demetriou <cgd@google.com>
86958
86959 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86960 have predictable order.
86961
86962 2012-03-01 David S. Miller <davem@davemloft.net>
86963
86964 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86965
86966 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86967 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86968 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86969 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86970
86971 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86972 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86973 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86975 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86976 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86977 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86978 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86979 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86980
86981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86982
86983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86984 * sysdeps/sparc/fpu/libm-test-ulps: to here.
86985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86986
86987 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86988 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86990 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86991 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86994 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86995 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86996 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86997 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87003 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87004 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87005 * sysdeps/sparc/elf/configure: Regenerated.
87006
87007 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87008
87009 * configure.in (AS, LD): Require binutils 2.20 or later.
87010 * configure: Regenerated.
87011 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87012 as required minimum version.
87013 * INSTALL: Regenerated.
87014
87015 [BZ #2541]
87016 [BZ #4108]
87017 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87018 before squaring exponent.
87019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87020 bottom long double and 27 bits of top long double before squaring
87021 exponent.
87022 * math/libm-test.inc (erfc_test): Add more tests.
87023 * sysdeps/i386/fpu/libm-test-ulps: Update.
87024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87026
87027 2012-03-01 Kai Tietz <ktietz@redhat.com>
87028
87029 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87030 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87031 containing bit-fields.
87032 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87033 * soft-fp/single.h (_FP_UNION_S): Likewise.
87034 * soft-fp/double.h (_FP_UNION_D): Likewise.
87035
87036 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87037
87038 [BZ #13786]
87039 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87040 not include ../strcmp.S.
87041 [USE_AS_STRNCASECMP_L]: Likewise.
87042 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87043 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87044 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87045 (__strncasecmp_l_ia32): Define as alias to
87046 __strncasecmp_l_nonascii.
87047
87048 [BZ #5794]
87049 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87050 * sysdeps/i386/fpu/libm-test-ulps: Update.
87051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87052
87053 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87055
87056 2012-02-29 Jeff Law <law@redhat.com>
87057
87058 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87059 out of bounds read.
87060
87061 2012-02-29 Marek Polacek <polacek@redhat.com>
87062
87063 [BZ #13706]
87064 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87065 * elf/Makefile: Add rules to run tst-unused-dep.out.
87066
87067 2012-02-28 David S. Miller <davem@davemloft.net>
87068
87069 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87070 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87075
87076 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87077
87078 * math/libm-test.inc (llround_test): Move one test from
87079 lround_test. Use TEST_f_L in moved test.
87080 (lround_test): Move misplaced test to llround_test. Add testcase
87081 from bug 2561.
87082
87083 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87084
87085 * sysdeps/x86_64/fpu/e_expf.S: New file.
87086 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87087
87088 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87089
87090 [BZ #13637]
87091 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87092 of remain_len that may cause incomplete multi-byte character and
87093 false match.
87094 * posix/bug-regex33.c: New file.
87095 * posix/Makefile (tests): Add bug-regex33.
87096
87097 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87098
87099 * manual/macros.texi: New file.
87100 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87101 * manual/libc.texinfo: Include macros.texi.
87102 * manual/creatute.texi: Likewise.
87103 * manual/install.texi: Likewise.
87104 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87105 @glibcadj{} in references to the GNU C Library.
87106 * manual/charset.texi: Likewise.
87107 * manual/conf.texi: Likewise.
87108 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87109 when not using those macros.
87110 * manual/creature.texi: Likewise.
87111 * manual/crypt.texi: Likewise.
87112 * manual/errno.texi: Likewise.
87113 * manual/filesys.texi: Likewise.
87114 * manual/header.texi: Likewise.
87115 * manual/install.texi: Likewise.
87116 * manual/intro.texi: Likewise.
87117 * manual/io.texi: Likewise.
87118 * manual/job.texi: Likewise.
87119 * manual/lang.texi: Likewise.
87120 * manual/libc.texiinfo: Likewise.
87121 * manual/llio.texi: Likewise.
87122 * manual/locale.texi: Likewise.
87123 * manual/maint.texi: Likewise.
87124 * manual/math.texi: Likewise.
87125 * manual/memory.texi: Likewise.
87126 * manual/message.texi: Likewise.
87127 * manual/nss.texi: Likewise.
87128 * manual/pattern.texi: Likewise.
87129 * manual/process.texi: Likewise.
87130 * manual/resource.texi: Likewise.
87131 * manual/search.texi: Likewise.
87132 * manual/setjmp.texi: Likewise.
87133 * manual/signal.texi: Likewise.
87134 * manual/socket.texi: Likewise.
87135 * manual/startup.texi: Likewise.
87136 * manual/stdio.texi: Likewise.
87137 * manual/string.texi: Likewise.
87138 * manual/sysinfo.texi: Likewise.
87139 * manual/syslog.texi: Likewise.
87140 * manual/terminal.texi: Likewise.
87141 * manual/time.texi: Likewise.
87142 * manual/users.texi: Likewise.
87143 * INSTALL: Regenerated.
87144 * NOTES: Regenerated.
87145 * sysdeps/gnu/errlist.c: Regenerated.
87146
87147 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87148
87149 * include/dirent.h: Include <dirstream.h> before
87150 <dirent/dirent.h>.
87151
87152 2012-02-28 David S. Miller <davem@davemloft.net>
87153
87154 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87155 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87156 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87157 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87158
87159 2012-02-27 David S. Miller <davem@davemloft.net>
87160
87161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87163 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87164 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87165
87166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87167 frame pointer instead of stack pointer relative arg slot.
87168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87171
87172 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87173
87174 [BZ #3992]
87175 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87176
87177 2012-02-27 David S. Miller <davem@davemloft.net>
87178
87179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87185 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87186 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87187
87188 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87189
87190 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87191 later. Allow versions 5-9.
87192 * configure: Regenerated.
87193 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87194 required minimum version and 4.6 as recommended version. Do not
87195 mention bugs in GCC 2.7 and 2.8.
87196 * INSTALL: Regenerated.
87197
87198 2012-02-27 David S. Miller <davem@davemloft.net>
87199
87200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87204 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87205 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87206 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87207 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87208
87209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87210 manipulate bits before adding and subtracting TWO112[sx].
87211 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87212
87213 2012-02-27 Roland McGrath <roland@hack.frob.com>
87214
87215 [BZ #13775]
87216 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87217 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87218 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87219 being in POSIX, because they are in 1003.1-2008.
87220
87221 * rt/tst-aio.c: Include <fcntl.h>.
87222 * rt/tst-aio7.c: Likewise.
87223 * rt/tst-aio64.c: Likewise.
87224
87225 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87226
87227 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87228
87229 * manual/install.texi (--with-headers): Describe headers as
87230 interface headers, not private headers.
87231 (Specific advice for GNU/Linux systems): Describe use of headers
87232 from "make headers_install", not private headers from older
87233 kernels.
87234 * INSTALL: Regenerated.
87235 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87236 Change to 2.6.19.
87237 * sysdeps/unix/sysv/linux/configure: Regenerated.
87238
87239 * manual/llio.texi (fclean): Remove documentation.
87240
87241 * manual/Makefile (libc-texi-generated): New variable. Include
87242 version.texi.
87243 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87244 $(libc-texi-generated), not duplicated list of files.
87245 (version.texi, stamp-version): New rules.
87246 (realclean): Remove $(libc-texi-generated), not individual files
87247 from that list. Do not remove dir-add.texinfo.
87248 * manual/libc.texinfo: Comment out uses of edition numbers and
87249 references to printed manual. Remove last-updated dates.
87250 (EDITION): Comment out.
87251 (ISBN): Likewise.
87252 (VERSION, UPDATED): Remove.
87253 (version.texi): Include.
87254
87255 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87256
87257 * sysdeps/posix/spawni.c: Include <signal.h>.
87258 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87259 * sysdeps/pthread/aio_fsync.c: Likewise.
87260
87261 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87262
87263 * conform/Makefile (tests): Run only when not cross-compiling and
87264 when fast-check is not defined.
87265
87266 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87267 * conform/data/limits.h-data: Fixes for POSIX2008.
87268 * conform/run-conformtest.sh: Run all tests.
87269 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87270 headers.
87271 * include/bits/dlfcn.h: Likewise.
87272 * include/langinfo.h: Likewise.
87273 * include/monetary.h: Likewise.
87274 * include/sys/poll.h: Likewise.
87275
87276 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87277 for __USE_GNU.
87278 * posix/spawn.h: Define __need_sigset_t.
87279 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87280 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87281 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87282 to get sigevent_t only.
87283 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87284 only for __USE_GNU.
87285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87286 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87287 process_vm_writev only for __USE_GNU.
87288 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87289
87290 * conform/Makefile: For now ignore errors from run-conformtest.
87291 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87292 POSIX to avoid namespace pollution. Don't prepend headers.
87293 * conform/data/aio.h-data: Fixes for POSIX testing.
87294 * conform/data/fcntl.h-data: Likewise.
87295 * conform/data/glob.h-data: Likewise.
87296 * conform/data/grp.h-data: Likewise.
87297 * conform/data/pthread.h-data: Likewise.
87298 * conform/data/pwd.h-data: Likewise.
87299 * conform/data/signal.h-data: Likewise.
87300 * conform/data/spawn.h-data: Likewise.
87301 * conform/data/stdio.h-data: Likewise.
87302 * conform/data/stdlib.h-data: Likewise.
87303 * conform/data/stropts.h-data: Likewise.
87304 * conform/data/sys/mman.h-data: Likewise.
87305 * conform/data/sys/stat.h-data: Likewise.
87306 * conform/data/sys/types.h-data: Likewise.
87307 * conform/data/sys/wait.h-data: Likewise.
87308 * conform/data/time.h-data: Likewise.
87309 * conform/data/unistd.h-data: Likewise.
87310 * conform/data/utime.h-data: Likewise.
87311
87312 * io/sys/stat.h: fchmod was always in POSIX.
87313 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87314 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87315 * rt/aio.h: Define __need_timespec before including <time.h>.
87316 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87317 struct. Add forward declaration of pthread_attr_t and use it in
87318 sigevent.
87319 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87321 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87322 always remove CLK_TCK definition.
87323
87324 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87325
87326 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87327
87328 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87329
87330 * conform/run-conformtest.sh: New file.
87331 * conform/Makefile: Run run-conformtest for tests.
87332 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87333 support.
87334
87335 * conform/data/uchar.h-data: New file.
87336 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87337 * conform/data/arpa/inet.h-data: Likewise.
87338 * conform/data/assert.h-data: Likewise.
87339 * conform/data/complex.h-data: Likewise.
87340 * conform/data/cpio.h-data: Likewise.
87341 * conform/data/ctype.h-data: Likewise.
87342 * conform/data/dirent.h-data: Likewise.
87343 * conform/data/dlfcn.h-data: Likewise.
87344 * conform/data/errno.h-data: Likewise.
87345 * conform/data/fcntl.h-data: Likewise.
87346 * conform/data/float.h-data: Likewise.
87347 * conform/data/fmtmsg.h-data: Likewise.
87348 * conform/data/fnmatch.h-data: Likewise.
87349 * conform/data/ftw.h-data: Likewise.
87350 * conform/data/glob.h-data: Likewise.
87351 * conform/data/grp.h-data: Likewise.
87352 * conform/data/iconv.h-data: Likewise.
87353 * conform/data/inttypes.h-data: Likewise.
87354 * conform/data/langinfo.h-data: Likewise.
87355 * conform/data/libgen.h-data: Likewise.
87356 * conform/data/limits.h-data: Likewise.
87357 * conform/data/locale.h-data: Likewise.
87358 * conform/data/math.h-data: Likewise.
87359 * conform/data/monetary.h-data: Likewise.
87360 * conform/data/mqueue.h-data: Likewise.
87361 * conform/data/ndbm.h-data: Likewise.
87362 * conform/data/net/if.h-data: Likewise.
87363 * conform/data/netdb.h-data: Likewise.
87364 * conform/data/netinet/in.h-data: Likewise.
87365 * conform/data/nl_types.h-data: Likewise.
87366 * conform/data/poll.h-data: Likewise.
87367 * conform/data/pthread.h-data: Likewise.
87368 * conform/data/pwd.h-data: Likewise.
87369 * conform/data/regex.h-data: Likewise.
87370 * conform/data/sched.h-data: Likewise.
87371 * conform/data/search.h-data: Likewise.
87372 * conform/data/semaphore.h-data: Likewise.
87373 * conform/data/setjmp.h-data: Likewise.
87374 * conform/data/signal.h-data: Likewise.
87375 * conform/data/spawn.h-data: Likewise.
87376 * conform/data/stdarg.h-data: Likewise.
87377 * conform/data/stdio.h-data: Likewise.
87378 * conform/data/stdlib.h-data: Likewise.
87379 * conform/data/string.h-data: Likewise.
87380 * conform/data/strings.h-data: Likewise.
87381 * conform/data/stropts.h-data: Likewise.
87382 * conform/data/sys/ipc.h-data: Likewise.
87383 * conform/data/sys/mman.h-data: Likewise.
87384 * conform/data/sys/msg.h-data: Likewise.
87385 * conform/data/sys/resource.h-data: Likewise.
87386 * conform/data/sys/select.h-data: Likewise.
87387 * conform/data/sys/sem.h-data: Likewise.
87388 * conform/data/sys/shm.h-data: Likewise.
87389 * conform/data/sys/socket.h-data: Likewise.
87390 * conform/data/sys/stat.h-data: Likewise.
87391 * conform/data/sys/statvfs.h-data: Likewise.
87392 * conform/data/sys/time.h-data: Likewise.
87393 * conform/data/sys/timeb.h-data: Likewise.
87394 * conform/data/sys/times.h-data: Likewise.
87395 * conform/data/sys/types.h-data: Likewise.
87396 * conform/data/sys/uio.h-data: Likewise.
87397 * conform/data/sys/un.h-data: Likewise.
87398 * conform/data/sys/utsname.h-data: Likewise.
87399 * conform/data/sys/wait.h-data: Likewise.
87400 * conform/data/syslog.h-data: Likewise.
87401 * conform/data/tar.h-data: Likewise.
87402 * conform/data/termios.h-data: Likewise.
87403 * conform/data/utime.h-data: Likewise.
87404 * conform/data/utmpx.h-data: Likewise.
87405 * conform/data/varargs.h-data: Likewise.
87406 * conform/data/wchar.h-data: Likewise.
87407 * conform/data/wctype.h-data: Likewise.
87408 * conform/data/wordexp.h-data: Likewise.
87409
87410 * include/stropts.h: New file.
87411 * include/uchar.h: New file.
87412 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87413 * include/assert.h: Likewise.
87414 * include/ctype.h: Likewise.
87415 * include/dirent.h: Likewise.
87416 * include/dlfcn.h: Likewise.
87417 * include/fcntl.h: Likewise.
87418 * include/fnmatch.h: Likewise.
87419 * include/glob.h: Likewise.
87420 * include/grp.h: Likewise.
87421 * include/libio.h: Likewise.
87422 * include/locale.h: Likewise.
87423 * include/math.h: Likewise.
87424 * include/net/if.h: Likewise.
87425 * include/netdb.h: Likewise.
87426 * include/netinet/in.h: Likewise.
87427 * include/pthread.h: Likewise.
87428 * include/pwd.h: Likewise.
87429 * include/regex.h: Likewise.
87430 * include/sched.h: Likewise.
87431 * include/search.h: Likewise.
87432 * include/setjmp.h: Likewise.
87433 * include/signal.h: Likewise.
87434 * include/stdio.h: Likewise.
87435 * include/stdlib.h: Likewise.
87436 * include/string.h: Likewise.
87437 * include/sys/cdefs.h: Likewise.
87438 * include/sys/mman.h: Likewise.
87439 * include/sys/msg.h: Likewise.
87440 * include/sys/resource.h: Likewise.
87441 * include/sys/select.h: Likewise.
87442 * include/sys/socket.h: Likewise.
87443 * include/sys/stat.h: Likewise.
87444 * include/sys/statvfs.h: Likewise.
87445 * include/sys/time.h: Likewise.
87446 * include/sys/times.h: Likewise.
87447 * include/sys/uio.h: Likewise.
87448 * include/sys/utsname.h: Likewise.
87449 * include/sys/wait.h: Likewise.
87450 * include/termios.h: Likewise.
87451 * include/time.h: Likewise.
87452 * include/ulimit.h: Likewise.
87453 * include/unistd.h: Likewise.
87454 * include/utime.h: Likewise.
87455 * include/wchar.h: Likewise.
87456 * include/wctype.h: Likewise.
87457 * include/wordexp.h: Likewise.
87458
87459 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87460
87461 * time/time.h: TIME_UTC must be a macro.
87462 Make timespec_get available for ISO C11 only as well.
87463
87464 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87465
87466 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87467 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87468
87469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87470
87471 * configure.in: Use -o not -a in test for unsupported multi-arch.
87472
87473 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87474
87475 * manual/texinfo.tex: Update to version 2012-01-19.16.
87476
87477 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87478
87479 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87480
87481 2012-02-24 Roland McGrath <roland@hack.frob.com>
87482
87483 [BZ #13738]
87484 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87485 * manual/fdl-1.3.texi: New file.
87486 * manual/fdl-1.1.texi: File removed.
87487
87488 [BZ #13738]
87489 * manual/libc.texinfo (FDL_VERSION): New @set.
87490 Use it for mention of FDL in cover text.
87491 (Documentation License): Use it in @include file name.
87492
87493 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87494 Roland McGrath <roland@hack.frob.com>
87495
87496 [BZ #5461]
87497 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87498 (not LONG_LONG_MAX and LONG_LONG_MIN.
87499 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87500 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87501 name.
87502 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87503
87504 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87505
87506 [BZ #2547]
87507 [BZ #11365]
87508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87509 manipulate bits before adding and subtracting TWO23[sx].
87510 * math/libm-test.inc (nearbyint_test): Add more tests.
87511
87512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87513
87514 [BZ #2548]
87515 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87516 bits before adding and subtracting TWO23[sx].
87517 * math/libm-test.inc (rint_test): Add more tests.
87518 (rint_test_tonearest): Likewise.
87519 (rint_test_towardzero): Likewise.
87520 (rint_test_downward): Likewise.
87521 (rint_test_upward: Likewise.
87522
87523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87524
87525 [BZ #10110]
87526 * include/stdc-predef.h: New file. Extracted from features.h.
87527 * include/features.h: Include stdc-predef.h.
87528 * Makefile (headers): Add stdc-predef.h.
87529 * CONFORMANCE (Compiler limitations): Update.
87530
87531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87532
87533 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87534
87535 2012-02-21 David S. Miller <davem@davemloft.net>
87536
87537 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87538 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87539
87540 2012-02-20 David S. Miller <davem@davemloft.net>
87541
87542 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87543 using a normal save/restore sequence, rather than allocating a
87544 dummy stack frame just to store a frame pointer and restore.
87545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87546
87547 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87548
87549 * manual/install.texi: Fix stray word in line-wrapped comment.
87550
87551 2012-02-20 David S. Miller <davem@davemloft.net>
87552
87553 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87554 both binutils and gcc support GOTDATA.
87555
87556 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87557 "rd %pc" in the PIC register setup sequences.
87558
87559 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87560 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87561 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87562 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87563 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87568 (SYSCALL_ERROR_HANDLER): Likewise.
87569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87572 (SYSCALL_ERROR_HANDLER): Likewise.
87573
87574 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87575 (HAVE_GCC_GOTDATA): New.
87576 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87577 relocation support in both binutils and gcc.
87578 * sysdeps/sparc/elf/configure: Regenerate.
87579
87580 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87581 * sysdeps/sparc/sparc32/elf/configure: Delete.
87582 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87583 * sysdeps/sparc/sparc64/elf/configure: Delete.
87584 * sysdeps/sparc/elf/configure.in: New file.
87585 * sysdeps/sparc/elf/configure: Generate.
87586
87587 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87588 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87589 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87590 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87591 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87592
87593 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87594
87595 * manual/install.texi: Do not mention specific glibc version
87596 numbers.
87597 * manual/libc.texinfo (VERSION, UPDATED): Update.
87598 (@copying): Use @copyright{} and range of years.
87599
87600 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87601
87602 [BZ #13695]
87603 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87604 [crti.S not in sysdirs] (generated): Do not append.
87605 [crti.S not in sysdirs] (omit-deps): Likewise.
87606 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87607 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87608 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87609 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87610 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87611 Likewise.
87612 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87613 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87614 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87615 * csu/defs.awk: Remove file.
87616 * sysdeps/generic/initfini.c: Likewise.
87617 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87618 variable.
87619 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87620 Likewise.
87621
87622 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87623
87624 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87625 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87626 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87629 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87630 <bits/epoll.h>.
87631 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87632 (__EPOLL_PACKED): Define to empty if not defined by
87633 <bits/epoll.h>.
87634 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87636 bits/epoll.h.
87637
87638 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87639
87640 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87641 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87643 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87644 <bits/timerfd.h>.
87645 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87647 bits/timerfd.h.
87648
87649 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87650
87651 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87652 in C locale.
87653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87657
87658 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
87659
87660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87661 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87662
87663 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
87664
87665 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87666 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87667 defined.
87668 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87669 Likewise.
87670 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87671 entry for 2.16.
87672
87673 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
87674
87675 * math/w_acos.c: Use non-signaling floating-point comparisons.
87676 * math/w_acosf.c: Likewise.
87677 * math/w_acosh.c: Likewise.
87678 * math/w_acoshf.c: Likewise.
87679 * math/w_acoshl.c: Likewise.
87680 * math/w_acosl.c: Likewise.
87681 * math/w_asin.c: Likewise.
87682 * math/w_asinf.c: Likewise.
87683 * math/w_asinl.c: Likewise.
87684 * math/w_atanh.c: Likewise.
87685 * math/w_atanhf.c: Likewise.
87686 * math/w_atanhl.c: Likewise.
87687 * math/w_exp2.c: Likewise.
87688 * math/w_exp2f.c: Likewise.
87689 * math/w_exp2l.c: Likewise.
87690 * math/w_j0.c: Likewise.
87691 * math/w_j0f.c: Likewise.
87692 * math/w_j0l.c: Likewise.
87693 * math/w_j1.c: Likewise.
87694 * math/w_j1f.c: Likewise.
87695 * math/w_j1l.c: Likewise.
87696 * math/w_jn.c: Likewise.
87697 * math/w_jnf.c: Likewise.
87698 * math/w_log.c: Likewise.
87699 * math/w_log10.c: Likewise.
87700 * math/w_log10f.c: Likewise.
87701 * math/w_log10l.c: Likewise.
87702 * math/w_log2.c: Likewise.
87703 * math/w_log2f.c: Likewise.
87704 * math/w_log2l.c: Likewise.
87705 * math/w_logf.c: Likewise.
87706 * math/w_logl.c: Likewise.
87707 * math/w_sqrt.c: Likewise.
87708 * math/w_sqrtf.c: Likewise.
87709 * math/w_sqrtl.c: Likewise.
87710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87711 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87713 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87714 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87715
87716 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87717
87718 [BZ #9739]
87719 * manual/string.texi (strnlen): Use correct parameter name in
87720 equivalent expression.
87721
87722 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87723
87724 [BZ #11174]
87725 * manual/users.texi (seteuid): Consistently use neweuid for
87726 argument name.
87727
87728 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87729
87730 [BZ #13704]
87731 * manual/nss.texi (Services in the NSS configuration): Correct
87732 list of services in example configuration file.
87733
87734 2012-02-19 Nick Bowler <nbowler@draconx.ca>
87735
87736 [BZ #11322]
87737 * manual/arith.texi: Remove statements about negative zero
87738 behaving identically to zero.
87739
87740 2012-02-18 Joseph Myers <joseph@codesourcery.com>
87741
87742 [BZ #5993]
87743 * manual/install.texi: Do not document upgrading from libc5.
87744
87745 2012-02-18 Joseph Myers <joseph@codesourcery.com>
87746
87747 [BZ #4596]
87748 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87749
87750 2012-02-18 David S. Miller <davem@davemloft.net>
87751
87752 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87753 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87754 %o7 across the call.
87755 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87756 instead.
87757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87758 SETUP_PIC_REG_LEAF.
87759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87760 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87761 * sysdeps/sparc/crtn.S: Likewise.
87762
87763 2012-02-17 Ulrich Drepper <drepper@gmail.com>
87764
87765 * aout/Makefile: Remove.
87766
87767 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
87768
87769 [BZ #13058]
87770 * manual/examples/argp-ex1.c (main): Format definition in GNU
87771 style.
87772 * manual/examples/argp-ex2.c (main): Likewise.
87773 * manual/examples/argp-ex3.c (main): Likewise.
87774 * manual/examples/argp-ex4.c (main): Likewise.
87775 * manual/examples/longopt.c (main): Use new-style prototype
87776 definition.
87777 * manual/examples/strncat.c (main): Specify return type and use
87778 (void) for arguments.
87779 * manual/examples/subopt.c (main): Use char **argv argument.
87780
87781 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87782
87783 [BZ #5077]
87784 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87785 rounding modes.
87786
87787 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
87788
87789 [BZ #6907]
87790 * manual/string.texi (strchr): Change when strchrnul is
87791 recommended.
87792
87793 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
87794
87795 [BZ #174]
87796 * manual/locale.texi (setlocale): Document LOCPATH.
87797
87798 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87799
87800 [BZ #10210]
87801 * manual/process.texi (execle): Move @dots{} before last argument.
87802
87803 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
87804
87805 [BZ #12047]
87806 * manual/charset.texi (Generic Charset Conversion): Fix typo
87807 (LC_TYPE -> LC_CTYPE).
87808
87809 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
87810
87811 [BZ #5805]
87812 * manual/arith.texi (scalbn): Use @var{} on parameter names.
87813 (scalbnf): Likewise.
87814 (scalbnl): Likewise.
87815 (scalbln): Likewise.
87816 (scalblnf): Likewise.
87817 (scalblnl): Likewise.
87818 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87819 (vwarnx): Likewise.
87820 (verr): Likewise.
87821 (verrx): Likewise.
87822 * manual/filesys.texi (telldir): Use braces around return type.
87823 * manual/llio.texi (mmap): Add space after comma.
87824 (mmap64): Likewise.
87825 * manual/math.texi (jn): Use @var{} on parameter names.
87826 (jnf): Likewise.
87827 (jnl): Likewise.
87828 (yn): Likewise.
87829 (ynf): Likewise.
87830 (ynl): Likewise.
87831 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87832 line.
87833 * manual/resource.texi (ulimit): Use @dots{} instead of literal
87834 "...".
87835 (sched_get_priority_min): Remove semicolon on @deftypefun line.
87836 (sched_get_priority_max): Likewise.
87837 * manual/signal.texi (sigvec): Add space after comma.
87838 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87839 names.
87840 (if_indextoname): Likewise.
87841 (if_freenameindex): Likewise.
87842 (sendto): Use ',' instead of '.' in prototype.
87843 * manual/startup.texi (syscall): Use @dots{} instead of literal
87844 "...".
87845 * manual/stdio.texi (__fpending): Separate initial words of
87846 paragraph from @deftypefun line.
87847 * manual/syslog.texi (syslog): Use @dots{} instead of literal
87848 "...".
87849 (vsyslog): Use @var{} on parameter names.
87850 * manual/terminal.texi (stty): Use @var{} on parameter names.
87851 * manual/users.texi (getutmp): Use @var{} on parameter names.
87852 (getutmpx): Likewise.
87853
87854 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87855
87856 [BZ #6884]
87857 * manual/stdio.texi (fopen): Fix typos in description of
87858 ",ccs=STRING".
87859
87860 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
87861
87862 [BZ #4026]
87863 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87864 get clock_id definition.
87865
87866 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
87867
87868 [BZ #4822]
87869 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87870 (madvise): Cast every argument to void on its own.
87871
87872 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87873
87874 [BZ #9902]
87875 * manual/startup.texi (Exit Status): Fix typo.
87876
87877 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87878
87879 [BZ #10140]
87880 * manual/examples/argp-ex1.c: Include <stdlib.h>.
87881 * manual/examples/argp-ex2.c: Likewise.
87882 * manual/examples/argp-ex3.c: Likewise.
87883
87884 2012-02-16 Richard Henderson <rth@redhat.com>
87885
87886 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87887 * sysdeps/s390/s390-32/initfini.c: Remove.
87888 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87889 * sysdeps/s390/s390-64/initfini.c: Remove.
87890
87891 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
87892
87893 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87894 compiler output for sysdeps/generic/initfini.c.
87895 * sysdeps/sh/elf/initfini.c: Remove file.
87896
87897 2012-02-16 David S. Miller <davem@davemloft.net>
87898
87899 [BZ #11494]
87900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87901
87902 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87903 * sysdeps/sparc/crti.S: New file.
87904 * sysdeps/sparc/crtn.S: New file.
87905 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87906 * sysdeps/sparc/sparc64/Makefile: Likewise.
87907
87908 2012-02-15 Mike Frysinger <vapier@gentoo.org>
87909
87910 [BZ #3335]
87911 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87912
87913 2012-02-15 Roland McGrath <roland@hack.frob.com>
87914
87915 [BZ #4822]
87916 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87917
87918 * mach/devstream.c (cookie_io_functions_t): Macro removed.
87919 (write, read, close): Likewise.
87920 Patch by Aurelien Jarno <aurelien@aurel32.net>.
87921
87922 2012-02-15 Joseph Myers <joseph@codesourcery.com>
87923
87924 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87925 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87926 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87927 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87928 <bits/signalfd.h>.
87929 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87931 bits/signalfd.h.
87932
87933 2012-02-14 Marek Polacek <polacek@redhat.com>
87934
87935 * sysdeps/x86_64/crti.S: New file.
87936 * sysdeps/x86_64/crtn.S: New file.
87937 * sysdeps/x86_64/elf/initfini.c: Remove file.
87938
87939 2012-02-13 Joseph Myers <joseph@codesourcery.com>
87940
87941 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87942 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87943 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87944 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87945 <bits/inotify.h>.
87946 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87948 bits/inotify.h.
87949
87950 2012-02-13 Joseph Myers <joseph@codesourcery.com>
87951
87952 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87953 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87954 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87955 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87956 <bits/eventfd.h>.
87957 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87959 bits/eventfd.h.
87960
87961 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
87962
87963 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87964 __feraiseexcept instead of feraiseexcept.
87965
87966 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87967 nanosleep invocations.
87968 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87969 strings, and add error checking for a nanosleep invocations.
87970
87971 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
87972
87973 Replace FSF snail mail address with URLs, as per GNU coding standards.
87974 Most of the snail mail addresses were wrong anyway, and omitting
87975 them makes the source code easier to maintain. Almost all of the
87976 changes are to license notices and to locale LC_IDENTIFICATION
87977 addresses, except for this one:
87978 * manual/libc.texinfo: In "Published by", give the FSF's URL,
87979 not its snail mail address.
87980
87981 2012-02-09 Richard Henderson <rth@twiddle.net>
87982
87983 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87984 of kernel-features.h.
87985
87986 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87987
87988 2012-02-08 Marek Polacek <polacek@redhat.com>
87989
87990 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87991 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87992 * sysdeps/gnu/_G_config.h: Likewise.
87993 * sysdeps/generic/_G_config.h: Likewise.
87994
87995 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
87996
87997 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87998 tests.
87999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88000
88001 * sysdeps/powerpc/powerpc32/crti.S: New file.
88002 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88003 * sysdeps/powerpc/powerpc64/crti.S: New file.
88004 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88005
88006 * Makeconfig (have-initfini): Don't set.
88007 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88008 * configure.in (nopic_initfini): Don't substitute.
88009 * config.h.in (HAVE_INITFINI): Don't #undef.
88010 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88011 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88012
88013 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88014
88015 Support crti.S and crtn.S provided directly by architectures.
88016 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88017 [crti.S in sysdirs] (omit-deps): Likewise.
88018 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88019 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88020 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88021 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88022 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88023 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88024 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88025 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88026 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88027 compiler output for sysdeps/generic/initfini.c.
88028 * sysdeps/i386/elf/Makefile: Remove file.
88029 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88030
88031 2012-02-07 Marek Polacek <polacek@redhat.com>
88032
88033 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88034 * sysdeps/gnu/_G_config.h: Likewise.
88035 * sysdeps/mach/hurd/_G_config.h: Likewise.
88036
88037 2012-02-07 Marek Polacek <polacek@redhat.com>
88038
88039 * math/Makefile (tests): Add tst-CMPLX2.
88040 * math/tst-CMPLX2.c: New file.
88041
88042 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88043
88044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88045
88046 * math/libm-test.inc (jn_test): Add missing L suffix.
88047
88048 2012-02-06 Marek Polacek <polacek@redhat.com>
88049
88050 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88051 * sysdeps/i386/fpu/e_powf.S: Likewise.
88052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88055 * sysdeps/i386/fpu/e_pow.S: Likewise.
88056 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88057 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88058 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88059 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88060 * sysdeps/i386/fpu/e_log2.S: Likewise.
88061 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88063 * sysdeps/i386/fpu/e_powl.S: Likewise.
88064 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88065 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88066 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88067 * sysdeps/i386/fpu/e_logl.S: Likewise.
88068 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88069 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88070 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88071 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88074 * sysdeps/i386/fpu/e_log.S: Likewise.
88075 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88077 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88078 * sysdeps/i386/fpu/e_logf.S: Likewise.
88079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88080 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88081 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88082 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88083 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88084 * sysdeps/i386/fpu/e_log10.S: Likewise.
88085 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88087 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88088 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88090 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88091 * sysdeps/i386/asm-syntax.h: Likewise.
88092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88095 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88096 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88101 * sysdeps/powerpc/sysdep.h: Likewise.
88102 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88103 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88104
88105 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88106
88107 [BZ #411]
88108 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88109
88110 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88111
88112 * sysdeps/i386/sysdep.h: Include <features.h>.
88113 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88114 version.
88115
88116 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88117
88118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88119 Define.
88120 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88121 LOAD_PIC_REG_STR.
88122
88123 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88124
88125 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88126 (SETUP_PIC_REG): Use GET_PC_THUNK.
88127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88128 macro.
88129
88130 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88131
88132 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88133 for non-PIC compilation.
88134 (SETUP_PIC_REG): Add .p2align directive.
88135 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88136 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88137 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88138 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88140 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88141 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88143 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88144 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88145 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88146 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88147 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88149 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88152 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88153 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88154 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88161 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88163 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88164 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88165 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88167 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88168 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88169 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88176
88177 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88178
88179 * math/tst-CMPLX.c: Include <stdio.h>.
88180
88181 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88182
88183 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88184 float.
88185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88186 * sysdeps/sparc/bits/mathdef.h: Likewise.
88187
88188 2012-01-31 Marek Polacek <polacek@redhat.com>
88189
88190 * libio/libio.h: Don't define _PARAMS.
88191 * locale/programs/config.h: Don't define PARAMS.
88192 * stdlib/strtol_l.c: Likewise.
88193 (__strtol_l): Remove PARAMS from the prototype.
88194
88195 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88196
88197 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88198 names. Just use the correct names. Remove unnecessary wrapper
88199 functions.
88200 * malloc/arena.c: Likewise.
88201 * malloc/hooks.c: Likewise.
88202
88203 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88204 ARENA_TEST says not to. Simplify test for creation of a new arena.
88205 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88206
88207 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88208
88209 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88210 into tail calls.
88211 (update_get_addr): New function.
88212 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88213 GET_ADDR_MODULE parameter.
88214
88215 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88216
88217 * crypt/cert.c: Remove __STDC__ conditionals.
88218 * crypt/crypt-entry.c: Likewise.
88219 * crypt/crypt_util.c: Likewise.
88220 * libio/filedoalloc.c: Likewise.
88221 * libio/fileops.c: Likewise.
88222 * libio/genops.c: Likewise.
88223 * libio/iofclose.c: Likewise.
88224 * libio/iofdopen.c: Likewise.
88225 * libio/iofopen.c: Likewise.
88226 * libio/iofopen64.c: Likewise.
88227 * libio/iogetdelim.c: Likewise.
88228 * libio/iopopen.c: Likewise.
88229 * libio/obprintf.c: Likewise.
88230 * libio/oldfileops.c: Likewise.
88231 * libio/oldiofclose.c: Likewise.
88232 * libio/oldiofdopen.c: Likewise.
88233 * libio/oldiofopen.c: Likewise.
88234 * libio/oldiopopen.c: Likewise.
88235 * libio/wfiledoalloc.c: Likewise.
88236 * libio/wgenops.c: Likewise.
88237 * locale/programs/xmalloc.c: Likewise.
88238 * misc/syslog.c: Likewise.
88239 * stdio-common/xbug.c: Likewise.
88240 * string/memchr.c: Likewise.
88241 * string/memcmp.c: Likewise.
88242 * string/memrchr.c: Likewise.
88243 * string/rawmemchr.c: Likewise.
88244 * sysdeps/posix/getcwd.c: Likewise.
88245 * time/strftime_l.c: Likewise.
88246
88247 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88248
88249 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88250 * config.make.in (config-cflags-sse2avx): Define.
88251 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88252 Fix typo.
88253
88254 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88255
88256 * scripts/config.guess: Update from upstream config git repository.
88257 * scripts/config.sub: Likewise.
88258
88259 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88260
88261 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88262 (EM_NUM): Update.
88263 (R_TILEPRO_*, R_TILEGX_*): New macros.
88264
88265 * scripts/firstversions.awk: Fix bug in version range handling.
88266
88267 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88268
88269 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88270
88271 * include/sys/epoll.h: New file.
88272 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88273 libc_hidden_def.
88274
88275 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88276
88277 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88278 Avoid unnecessary __WORDSIZE == 64 test.
88279 (fmaxf): Use VEX format if possible.
88280 (fmax): Likewise.
88281 (fminf): Likewise.
88282 (fmin): Likewise.
88283
88284 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88285 * math/math_private.h: Remove libc_fegetround* and
88286 libc_fesetround*.
88287 * sysdeps/i386/configure.in: Check for -msse2avx.
88288 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88289 also if SSE2AVX is defined.
88290 Remove libc_fegetround* and libc_fesetround*.
88291 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88292 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88294 of HAS_YMM_USABLE.
88295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88300
88301 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88302
88303 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88304
88305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88306 size is not set.
88307 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88308
88309 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88310
88311 [BZ #13618]
88312 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88313 relocation.
88314 * Makeconfig (libm): Define.
88315 * elf/Makefile: Add rules to build and run tst-relsort1.
88316 * elf/tst-relsort1.c: New file.
88317 * elf/tst-relsort1mod1.c: New file.
88318 * elf/tst-relsort1mod2.c: New file.
88319
88320 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88321
88322 * math/s_ldexp.c: Remove __STDC__ conditionals.
88323 * math/s_ldexpf.c: Likewise.
88324 * math/s_ldexpl.c: Likewise.
88325 * math/s_nextafter.c: Likewise.
88326 * math/s_nexttowardf.c: Likewise.
88327 * math/s_significand.c: Likewise.
88328 * math/s_significandf.c: Likewise.
88329 * math/s_significandl.c: Likewise.
88330 * math/w_jnl.c: Likewise.
88331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88337 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88338 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88339 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88340 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88341 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88345 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88347 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88348 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88361 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88362 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88365 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88366 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88367 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88368 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88369 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88370 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88371 * sysdeps/ieee754/k_standard.c: Likewise.
88372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88377 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88382 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88385 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88386 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88388 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88391 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88394 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88395 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88396 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88397 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88401 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88403 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88405 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88407 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88408 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88411 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88412 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88415 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88421 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88422 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88426 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88427 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88428 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88429 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88439 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88440 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88441 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88443 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88444 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88445 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88446 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88448 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88449 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88451 * sysdeps/ieee754/s_matherr.c: Likewise.
88452 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88453 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88456
88457 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88458
88459 * crypt/md5.h: Remove __STDC__ conditionals.
88460 * libio/libioP.h: Likewise.
88461 * locale/programs/config.h: Likewise.
88462 * sysdeps/generic/sysdep.h: Likewise.
88463 * sysdeps/i386/asm-syntax.h: Likewise.
88464 * sysdeps/s390/asm-syntax.h: Likewise.
88465 * sysdeps/unix/sysdep.h: Likewise.
88466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88468
88469 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88470
88471 * libio/libio.h: Remove __STDC__ conditionals.
88472 * malloc/obstack.h: Likewise.
88473 * math/complex.h: Likewise.
88474 * math/math.h: Likewise.
88475 * sysdeps/generic/_G_config.h: Likewise.
88476 * sysdeps/gnu/_G_config.h: Likewise.
88477 * sysdeps/mach/hurd/_G_config.h: Likewise.
88478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88479 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88480 * sysdeps/sparc/bits/mathdef.h: Likewise.
88481
88482 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88483
88484 [BZ #13583]
88485 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88486 Clean up HAS_* macros.
88487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88488 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88489 possible.
88490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88491 HAS_AVX.
88492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88497
88498 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88499
88500 * elf/tst-unique3.cc (gets): Remove declaration.
88501 * elf/tst-unique3lib.cc (gets): Likewise.
88502 * elf/tst-unique3lib2.cc (gets): Likewise.
88503 * elf/tst-unique4.cc (gets): Likewise.
88504
88505 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88506
88507 * include/stdio.h: Add C++ protection. Add gets declarations and
88508 definitions.
88509 * debug/tst-chk1.c: Don't declare gets here.
88510 * stdio-common/tst-gets.c: Likewise.
88511
88512 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88513
88514 * posix/glob: Remove directory.
88515
88516 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88517
88518 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88519
88520 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88521
88522 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88523 of the non-standard EPFNOSUPPORT.
88524
88525 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88526
88527 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88528 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88529 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88530
88531 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88532
88533 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88534
88535 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88536
88537 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88538 transient errors.
88539 * nscd/grpcache.c (cache_addgr): Likewise.
88540 * nscd/hstcache.c (cache_addhst): Likewise.
88541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88542 * nscd/pwdcache.c (cache_addpw): Likewise.
88543 * nscd/servicescache.c (cache_addserv): Likewise.
88544
88545 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88546
88547 * malloc/malloc.c: Various cleanups.
88548 * malloc/hooks.c: Likewise.
88549
88550 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88551 * stdlib/bug-fmtmsg1.c: New file.
88552
88553 * stdlib/fmtmsg.c (init): Add missing unlock.
88554 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88555
88556 2012-01-12 Marek Polacek <polacek@redhat.com>
88557
88558 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88559 and _GNU_SOURCE.
88560
88561 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88562
88563 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88564 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88565 macro to ensure uniqueness of label name.
88566 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88567 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88568
88569 2012-01-11 Ulrich Drepper <drepper@gmail.com>
88570
88571 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88572
88573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88574 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88577
88578 2012-01-10 Ulrich Drepper <drepper@gmail.com>
88579
88580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88581
88582 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88583 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88584 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88585
88586 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88587
88588 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88589 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88592
88593 * math/bits/math-finite.h: Add ldexp support.
88594
88595 2012-01-10 Marek Polacek <polacek@redhat.com>
88596
88597 * locale/programs/localedef.h (show_archive_content): Add noreturn
88598 attribute.
88599
88600 2012-01-09 Ulrich Drepper <drepper@gmail.com>
88601
88602 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88603
88604 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88605
88606 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88607
88608 * io/Makefile (headers): Add bits/poll2.h.
88609
88610 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
88611
88612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88613 typo #include statement.
88614
88615 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88616
88617 * include/sys/cdefs.h: Define __attribute_alloc_size.
88618 * catgets/gencat.c: Add alloc_size attribute and apply consistently
88619 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88620 * elf/pldd.c: Likewise.
88621 * iconv/iconv_charmap.c: Likewise.
88622 * iconv/iconvconfig.c: Likewise.
88623 * iconv/strtab.c: Likewise.
88624 * locale/programs/locale.c: Likewise.
88625 * locale/programs/localedef.h: Likewise.
88626 * locale/programs/simple-hash.c: Likewise.
88627 * nscd/nscd.h: Likewise.
88628 * nss/makedb.c: Likewise.
88629 * sysdeps/generic/ldconfig.h: Likewise.
88630 * locale/programs/localedef.c: Remove xmalloc prototype.
88631 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88632
88633 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
88634
88635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88636 appropriate.
88637
88638 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88639
88640 * math/Makefile (tests): Add tst-CMPLX.
88641 * math/tst-CMPLX.c: New file.
88642
88643 * math/complex.h (CMPLXL): Fix typo.
88644
88645 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88646 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88647 GLIBC_2.16.
88648 * debug/tst-chk1.c: Add poll and ppoll tests.
88649 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88650 * include/sys/poll.h: Add hidden proto for ppoll.
88651 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88652 * sysdeps/mach/hurd/ppoll.c: Likewise.
88653 * io/ppoll.c: Likewise.
88654 * debug/poll_chk.c: New file.
88655 * debug/ppoll_chk.c: New file.
88656 * include/bits/poll2.h: New file.
88657 * io/bits/poll2.h: New file.
88658
88659 [BZ #1350]
88660 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88661
88662 * configure.in: static is always set to yes. Remove.
88663 * config.make.in: Don't set build-static.
88664 * Makeconfig: Remove use of build-static.
88665 * dlfcn/Makefile: Likewise.
88666 * elf/Makefile: Likewise.
88667 * math/Makefile: Likewise.
88668 * misc/Makefile: Likewise.
88669 * nptl/Makefile: Likewise.
88670 * sysdeps/mach/hurd/Makefile: Likewise.
88671
88672 * configure.in: PWD_P is not used anymore.
88673 * config.make.in: Remove PWD_P entry.
88674
88675 * configure.in: Remove last remnants of RANLIB.
88676 No need to check for signed size_t anymore.
88677 Don't set libc_commonpagesize and libc_relro_required here for Alpha
88678 and IA-64.
88679 Remove __builtin_expect test because we require at least gcc 3.4.
88680 * aclocal.m4: Likewise.
88681
88682 * wcsmbs/mbrtoc16.c: Implement using towc function.
88683 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88684 * wcsmbs/wcsmbsload.c: Likewise.
88685 * iconv/gconv_simple.c: Likewise.
88686 * iconv/gconv_int.h: Likewise.
88687 * iconv/gconv_builtin.h: Likewise.
88688 * iconv/iconv_prog.c: Remove CHAR16 handling.
88689
88690 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
88691
88692 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
88693
88694 * configure.in: Remove --with-elf and --enable-bounded options.
88695 Dont set base_machine for ia64. More non-ELF conditions removed.
88696 Remove testing and setting of leading underscore information.
88697 * config.make.in (build-bounded): Set to no.
88698 * config.h.in: Remove NO_UNDERSCORES entry.
88699 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
88700 them.
88701 * csu/start.c: Remove !NO_UNDERSCORE code.
88702 * locale/localeinfo.h: Likewise.
88703 * sysdeps/generic/machine-gmon.h: Likewise.
88704 * sysdeps/generic/sysdep.h: Likewise.
88705 * sysdeps/i386/sysdep.h: Likewise.
88706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88707 * sysdeps/mach/sysdep.h: Likewise.
88708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
88709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88710 * sysdeps/sh/sysdep.h: Likewise.
88711 * sysdeps/sparc/sparc32/alloca.S: Likewise.
88712 * sysdeps/unix/i386/sysdep.S: Likewise.
88713 * sysdeps/unix/sparc/start.c: Likewise.
88714 * sysdeps/unix/sparc/sysdep.S: Likewise.
88715 * sysdeps/unix/sparc/sysdep.h: Likewise.
88716 * sysdeps/unix/start.c: Likewise.
88717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
88718 * sysdeps/x86_64/sysdep.h: Likewise.
88719
88720 2012-01-07 Ulrich Drepper <drepper@gmail.com>
88721
88722 [BZ #13553]
88723 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88724 for non-gcc.
88725 * argp/argp-fmtstream.h: Use const instead __const.
88726 * argp/argp.h: Likewise.
88727 * assert/assert.h: Likewise.
88728 * bits/fenv.h: Likewise.
88729 * bits/sched.h: Likewise.
88730 * bits/sigset.h: Likewise.
88731 * bits/sigthread.h: Likewise.
88732 * catgets/nl_types.h: Likewise.
88733 * conform/data/pthread.h-data: Likewise.
88734 * crypt/crypt-private.h: Likewise.
88735 * crypt/crypt.h: Likewise.
88736 * crypt/crypt_util.c: Likewise.
88737 * ctype/ctype.h: Likewise.
88738 * debug/execinfo.h: Likewise.
88739 * debug/mbsnrtowcs_chk.c: Likewise.
88740 * debug/mbsrtowcs_chk.c: Likewise.
88741 * debug/wcsnrtombs_chk.c: Likewise.
88742 * debug/wcsrtombs_chk.c: Likewise.
88743 * debug/wcstombs_chk.c: Likewise.
88744 * dirent/dirent.h: Likewise.
88745 * dlfcn/dlfcn.h: Likewise.
88746 * elf/neededtest4.c: Likewise.
88747 * grp/grp.h: Likewise.
88748 * gshadow/gshadow.h: Likewise.
88749 * iconv/gconv.h: Likewise.
88750 * iconv/gconv_int.h: Likewise.
88751 * iconv/gconv_simple.c: Likewise.
88752 * iconv/iconv.h: Likewise.
88753 * iconv/loop.c: Likewise.
88754 * iconv/skeleton.c: Likewise.
88755 * include/aio.h: Likewise.
88756 * include/aliases.h: Likewise.
88757 * include/argz.h: Likewise.
88758 * include/arpa/inet.h: Likewise.
88759 * include/assert.h: Likewise.
88760 * include/dirent.h: Likewise.
88761 * include/dlfcn.h: Likewise.
88762 * include/execinfo.h: Likewise.
88763 * include/fcntl.h: Likewise.
88764 * include/fenv.h: Likewise.
88765 * include/glob.h: Likewise.
88766 * include/grp.h: Likewise.
88767 * include/libintl.h: Likewise.
88768 * include/mntent.h: Likewise.
88769 * include/netdb.h: Likewise.
88770 * include/pwd.h: Likewise.
88771 * include/rpc/netdb.h: Likewise.
88772 * include/sched.h: Likewise.
88773 * include/search.h: Likewise.
88774 * include/shadow.h: Likewise.
88775 * include/signal.h: Likewise.
88776 * include/stdio.h: Likewise.
88777 * include/stdlib.h: Likewise.
88778 * include/string.h: Likewise.
88779 * include/sys/socket.h: Likewise.
88780 * include/sys/stat.h: Likewise.
88781 * include/sys/statfs.h: Likewise.
88782 * include/sys/statvfs.h: Likewise.
88783 * include/sys/syslog.h: Likewise.
88784 * include/sys/time.h: Likewise.
88785 * include/sys/uio.h: Likewise.
88786 * include/time.h: Likewise.
88787 * include/unistd.h: Likewise.
88788 * include/utmp.h: Likewise.
88789 * include/wchar.h: Likewise.
88790 * include/wctype.h: Likewise.
88791 * inet/aliases.h: Likewise.
88792 * inet/arpa/inet.h: Likewise.
88793 * inet/netinet/ether.h: Likewise.
88794 * inet/netinet/in.h: Likewise.
88795 * intl/libintl.h: Likewise.
88796 * io/bits/fcntl2.h: Likewise.
88797 * io/fcntl.h: Likewise.
88798 * io/ftw.h: Likewise.
88799 * io/sys/poll.h: Likewise.
88800 * io/sys/stat.h: Likewise.
88801 * io/sys/statfs.h: Likewise.
88802 * io/sys/statvfs.h: Likewise.
88803 * io/utime.h: Likewise.
88804 * libio/bits/stdio.h: Likewise.
88805 * libio/bits/stdio2.h: Likewise.
88806 * libio/libio.h: Likewise.
88807 * libio/libioP.h: Likewise.
88808 * libio/stdio.h: Likewise.
88809 * locale/lc-ctype.c: Likewise.
88810 * locale/locale.h: Likewise.
88811 * login/utmp.h: Likewise.
88812 * malloc/arena.c: Likewise.
88813 * malloc/malloc.c: Likewise.
88814 * malloc/malloc.h: Likewise.
88815 * malloc/mcheck.c: Likewise.
88816 * malloc/mtrace.c: Likewise.
88817 * math/bits/mathcalls.h: Likewise.
88818 * math/fenv.h: Likewise.
88819 * math/math_private.h: Likewise.
88820 * misc/bits/error.h: Likewise.
88821 * misc/bits/syslog.h: Likewise.
88822 * misc/err.h: Likewise.
88823 * misc/error.h: Likewise.
88824 * misc/fstab.h: Likewise.
88825 * misc/mntent.h: Likewise.
88826 * misc/regexp.h: Likewise.
88827 * misc/search.h: Likewise.
88828 * misc/sgtty.h: Likewise.
88829 * misc/sys/mman.h: Likewise.
88830 * misc/sys/syslog.h: Likewise.
88831 * misc/sys/uio.h: Likewise.
88832 * misc/sys/xattr.h: Likewise.
88833 * misc/ttyent.h: Likewise.
88834 * nis/rpcsvc/ypclnt.h: Likewise.
88835 * nss/nss.h: Likewise.
88836 * posix/bits/unistd.h: Likewise.
88837 * posix/fnmatch.h: Likewise.
88838 * posix/glob.h: Likewise.
88839 * posix/sched.h: Likewise.
88840 * posix/spawn.h: Likewise.
88841 * posix/sys/wait.h: Likewise.
88842 * posix/unistd.h: Likewise.
88843 * posix/wordexp.h: Likewise.
88844 * pwd/pwd.h: Likewise.
88845 * resolv/netdb.h: Likewise.
88846 * resource/sys/resource.h: Likewise.
88847 * rt/aio.h: Likewise.
88848 * rt/bits/mqueue2.h: Likewise.
88849 * rt/mqueue.h: Likewise.
88850 * shadow/shadow.h: Likewise.
88851 * signal/signal.h: Likewise.
88852 * socket/send.c: Likewise.
88853 * socket/sendto.c: Likewise.
88854 * socket/sys/socket.h: Likewise.
88855 * stdio-common/printf.h: Likewise.
88856 * stdlib/bits/stdlib.h: Likewise.
88857 * stdlib/fmtmsg.h: Likewise.
88858 * stdlib/monetary.h: Likewise.
88859 * stdlib/stdlib.h: Likewise.
88860 * stdlib/ucontext.h: Likewise.
88861 * streams/stropts.h: Likewise.
88862 * string/argz.h: Likewise.
88863 * string/bits/string2.h: Likewise.
88864 * string/string.h: Likewise.
88865 * string/strings.h: Likewise.
88866 * sunrpc/rpc/auth.h: Likewise.
88867 * sunrpc/rpc/auth_des.h: Likewise.
88868 * sunrpc/rpc/clnt.h: Likewise.
88869 * sunrpc/rpc/netdb.h: Likewise.
88870 * sunrpc/rpc/pmap_clnt.h: Likewise.
88871 * sunrpc/rpc/xdr.h: Likewise.
88872 * sysdeps/generic/inttypes.h: Likewise.
88873 * sysdeps/generic/net/if.h: Likewise.
88874 * sysdeps/generic/sys/swap.h: Likewise.
88875 * sysdeps/gnu/net/if.h: Likewise.
88876 * sysdeps/gnu/utmpx.h: Likewise.
88877 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88878 * sysdeps/i386/i486/bits/string.h: Likewise.
88879 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88880 * sysdeps/s390/bits/string.h: Likewise.
88881 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88882 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88883 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88884 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88885 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88886 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88887 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88888 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88889 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88890 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88891 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88892 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88893 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88894 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88895 * sysdeps/unix/sysv/linux/readv.c: Likewise.
88896 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88897 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88899 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88902 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88903 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88904 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88905 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88906 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88907 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88909 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88910 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88911 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88912 * sysvipc/sys/ipc.h: Likewise.
88913 * sysvipc/sys/msg.h: Likewise.
88914 * sysvipc/sys/sem.h: Likewise.
88915 * sysvipc/sys/shm.h: Likewise.
88916 * termios/termios.h: Likewise.
88917 * time/sys/time.h: Likewise.
88918 * time/time.h: Likewise.
88919 * wcsmbs/bits/wchar2.h: Likewise.
88920 * wcsmbs/uchar.h: Likewise.
88921 * wcsmbs/wchar.h: Likewise.
88922 * wctype/wctype.h: Likewise.
88923
88924 [BZ #13551]
88925 * Makeconfig: Remove all but ELF support including AIX support.
88926 * Makerules: Likewise.
88927 * config.h.in: Likewise.
88928 * config.make.in: Likewise.
88929 * configure: Likewise.
88930 * configure.in: Likewise.
88931 * csu/Makefile: Likewise.
88932 * csu/version.c: Likewise.
88933 * debug/Makefile: Likewise.
88934 * dlfcn/Makefile: Likewise.
88935 * elf/Makefile: Likewise.
88936 * extra-lib.mk: Likewise.
88937 * iconv/Makefile: Likewise.
88938 * include/libc-symbols.h: Likewise.
88939 * include/shlib-compat.h: Likewise.
88940 * resolv/Makefile: Likewise.
88941 * resolv/res_libc.c: Likewise.
88942 * rt/Makefile: Likewise.
88943 * sysdeps/i386/asm-syntax.h: Likewise.
88944 * sysdeps/i386/sysdep.h: Likewise.
88945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88946 * sysdeps/mach/sysdep.h: Likewise.
88947 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88948 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88949 * sysdeps/s390/asm-syntax.h: Likewise.
88950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
88951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88952 * sysdeps/sh/sysdep.h: Likewise.
88953 * sysdeps/unix/sparc/sysdep.h: Likewise.
88954 * sysdeps/wordsize-32/divdi3.c: Likewise.
88955 * sysdeps/x86_64/sysdep.h: Likewise.
88956
88957 * argp/Versions: Remove _argp_unlock_xxx.
88958
88959 [BZ #13559]
88960 * abilist/ld.abilist: Update. Adjust for removal of tls option.
88961 * abilist/libBrokenLocale.abilist: Likewise.
88962 * abilist/libanl.abilist: Likewise.
88963 * abilist/libc.abilist: Likewise.
88964 * abilist/libcrypt.abilist: Likewise.
88965 * abilist/libdl.abilist: Likewise.
88966 * abilist/libm.abilist: Likewise.
88967 * abilist/libnsl.abilist: Likewise.
88968 * abilist/libpthread.abilist: Likewise.
88969 * abilist/libresolv.abilist: Likewise.
88970 * abilist/librt.abilist: Likewise.
88971 * abilist/libthread_db.abilist: Likewise.
88972 * abilist/libutil.abilist: Likewise.
88973 * abilist/libnss_db.abilist: New file.
88974
88975 * scripts/abilist.awk: Add support for indirect functions.
88976
88977 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88978
88979 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88980
88981 * shlib-versions: Remove entries for ports architectures.
88982
88983 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
88984 files in ports.
88985 * elf/stackguard-macros.h: Remove support for IA-64.
88986 * elf/tst-auditmod1.c: Likewise.
88987 * sysdeps/generic/ldsodefs.h: Likewise.
88988
88989 * sysdeps/unix/sysv/linux/configure.in: Ports should define
88990 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88991 configure files.
88992
88993 [BZ #13552]
88994 * configure.in: Remove --enable-omitfp support.
88995 * FAQ.in: Adjust.
88996 * config.make.in: Likewise.
88997 * Makeconfig: Likewise.
88998 * manual/install.texi: Likewise.
88999
89000 In case anyone cares, the IA-64 architecture could move to ports.
89001 * sysdeps/ia64/*: Removed.
89002 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89003 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89004
89005 [BZ #13555]
89006 * configure.in: Remove entries for unsupported architectures.
89007
89008 [BZ #13533]
89009 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89010 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89011 routines.
89012 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89013 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89014 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89015 fall back to using wcrtomb.
89016 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89017 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89018 renaming.
89019 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89020 * wcsmbs/tst-c16c32-1.c: New file.
89021
89022 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89023 local variable.
89024
89025 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89026
89027 * elf/tst-unique3.cc: Add explicit declaration of gets.
89028 * elf/tst-unique3lib.cc: Likewise.
89029 * elf/tst-unique3lib2.cc: Likewise.
89030 * elf/tst-unique4.cc: Likewise.
89031
89032 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89033
89034 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89035
89036 [BZ #13566]
89037 * assert/assert.h (static_assert): Don't define for C++.
89038 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89039 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89040
89041 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89042
89043 * iconv/loop.c (single loop): Fix assertion in storing of
89044 remaining bytes.
89045
89046 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89047
89048 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89049
89050 * posix/getconf.c: Update copyright year.
89051 * nss/getent.c: Likewise.
89052 * nss/makedb.c: Likewise.
89053 * iconv/iconvconfig.c: Likewise.
89054 * iconv/iconv_prog.c: Likewise.
89055 * elf/ldconfig.c: Likewise.
89056 * elf/pldd.c: Likewise.
89057 * elf/sotruss.ksh: Likewise.
89058 * catgets/gencat.c: Likewise.
89059 * csu/version.c: Likewise.
89060 * elf/ldd.bash.in: Likewise.
89061 * elf/sprof.c (print_version): Likewise.
89062 * locale/programs/locale.c: Likewise.
89063 * locale/programs/localedef.c: Likewise.
89064 * login/programs/pt_chown.c: Likewise.
89065 * nscd/nscd.c (print_version): Likewise.
89066 * debug/xtrace.sh: Likewise.
89067 * malloc/memusage.sh: Likewise.
89068 * malloc/mtrace.pl: Likewise.
89069 * debug/catchsegv.sh: Likewise.
89070
89071 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89072
89073 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89074 pure attribute.
89075
89076 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89077
89078 [BZ #13533]
89079 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89080 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89081 transformations.
89082 * iconv/gconv_int.h: Likewise.
89083 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89084 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89085 from libc for GLIBC_2.16.
89086 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89087 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89088 * wcsmbs/uchar.h: Really define mbstate_t.
89089 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89090 * wcsmbs/c16rtomb.c: New file.
89091 * wcsmbs/mbrtoc16.c: New file.
89092 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89093 for C/POSIX locale.
89094 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89095 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89096
89097 * wcsmbs/wchar.h: Add missing __restrict.
89098
89099 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89100
89101 [BZ #13532]
89102 * time/Makefile (routines): Add timespec_get.
89103 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89104 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89105 timespec for ISO C11.
89106 * time/timespec_get.c: New file.
89107 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89108 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89109
89110 [BZ #13531]
89111 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89112 * stdlib/stdlib.h: Declare aligned_alloc.
89113 * Versions.def: Add GLIBC_2.16 for libc.
89114 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89115
89116 [BZ 13527]
89117 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89118 ISO C11.
89119
89120 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89121 code.
89122
89123 [BZ #13528]
89124 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89125
89126 [BZ #13529]
89127 * assert/assert.h (static_assert): Define.
89128
89129 * version.h: Update for 2.16 development version.
89130
89131 [BZ #13526]
89132 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89133 _ISOC11_SOURCE.
89134
89135 * version.h (RELEASE): Bump for 2.15 release.
89136 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89137
89138 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89139 Patch by Marek Polacek <mpolacek@redhat.com>.
89140
89141 * bits/byteswap.h: Protect long long constants with __extension__.
89142 * sysdeps/i386/bits/byteswap.h: Likewise.
89143 * sysdeps/ia64/bits/byteswap.h: Likewise.
89144 * sysdeps/s390/bits/byteswap.h: Likewise.
89145 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89146
89147 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89148
89149 [BZ #13540]
89150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89151 destination buffer.
89152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89153
89154 2011-12-23 Marek Polacek <polacek@redhat.com>
89155
89156 * elf/dl-addr.c (determine_info): Add inline keyword.
89157 * elf/tst-auditmod4b.c (check_avx): Likewise.
89158 * elf/tst-auditmod6b.c (check_avx): Likewise.
89159 * elf/tst-auditmod6c.c (check_avx): Likewise.
89160 * elf/tst-auditmod7b.c (check_avx): Likewise.
89161
89162 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89163
89164 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89165 !__SSE_MATH__.
89166
89167 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89168
89169 [BZ #13540]
89170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89171 processing for last bytes.
89172
89173 2011-08-06 Bruno Haible <bruno@clisp.org>
89174
89175 [BZ #13061]
89176 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89177 U+0385, not to U+1FEE.
89178
89179 [BZ #13062]
89180 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89181 entry for U+00A5 U+0301.
89182
89183 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89184
89185 [BZ #13166]
89186 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89187 buffer for the output is too small.
89188
89189 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89190 optimization.
89191
89192 [BZ #13185]
89193 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89194 SSE flags if possible.
89195
89196 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89197
89198 [BZ #13540]
89199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89200 processing for last bytes.
89201
89202 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89203
89204 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89205 (syscall-list-default-options, syscall-list-default-condition)
89206 (syscall-list-includes): Define.
89207 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89208 list of ABIs and options and #if conditions for each ABI. Do not
89209 handle common syscalls between ABIs specially.
89210 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89211 Remove.
89212 (syscall-list-variants, syscall-list-32bit-options)
89213 (syscall-list-32bit-condition, syscall-list-64bit-options)
89214 (syscall-list-64bit-condition): Define.
89215 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89216 (syscall-list-variants, syscall-list-32bit-options)
89217 (syscall-list-32bit-condition, syscall-list-64bit-options)
89218 (syscall-list-64bit-condition): Define.
89219 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89220 Remove.
89221 (syscall-list-variants, syscall-list-32bit-options)
89222 (syscall-list-32bit-condition, syscall-list-64bit-options)
89223 (syscall-list-64bit-condition): Define.
89224 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89225 Remove.
89226 (syscall-list-variants, syscall-list-32bit-options)
89227 (syscall-list-32bit-condition, syscall-list-64bit-options)
89228 (syscall-list-64bit-condition): Define.
89229
89230 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89231
89232 * locale/iso-639.def: Add brx entry.
89233
89234 [BZ #13328]
89235 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89236 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89237
89238 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89239 __feraiseexcept_renamed.
89240
89241 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89242
89243 [BZ #13538]
89244 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89245 EPOLLET with unsigned values.
89246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89248
89249 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89250 to large cancellation.
89251 * math/s_cacoshf.c: Likewise.
89252 * math/s_cacoshl.c: Likewise.
89253
89254 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89255
89256 [BZ #13305]
89257 [BZ #12786]
89258 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89259 * math/s_cacoshf.c: Likewise.
89260 * math/s_cacoshl.c: Likewise.
89261
89262 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89263
89264 [BZ #13439]
89265 * iconv/gconv.h: Define __GCONV_SWAP.
89266 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89267 * iconvdata/utf-16.c: Likewise.
89268 * iconvdata/utf-32.c: Likewise.
89269
89270 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89271
89272 [BZ #13524]
89273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89274 numerator after shifting it by one limb.
89275
89276 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89277
89278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89279 under [__USE_EXTERN_INLINES].
89280
89281 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89282
89283 [BZ #13446]
89284 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89285
89286 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89287
89288 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89289 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89290 optimized code.
89291 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89292 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89293 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89294 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89295 for strncasecmp/strncasecmp_l compilation.
89296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89297 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89298
89299 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89300
89301 [BZ #13484]
89302 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89303 of __asm__.
89304
89305 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89306
89307 [BZ #13506]
89308 * time/tzfile.c (__tzfile_read): Check values from file header.
89309
89310 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89311
89312 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89313 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89314 * powerpc/powerpc32/dl-start.S: Likewise.
89315 * powerpc/powerpc32/elf/start.S: Likewise.
89316 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89317 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89318 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89319 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89320 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89321 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89322 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89323 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89324 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89325 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89326 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89327 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89328 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89329 * powerpc/powerpc32/memset.S: Likewise.
89330 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89331 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89332 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89333 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89334 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89335 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89336 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89337 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89338 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89339 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89340 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89343
89344 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89345
89346 * math/libm-test.inc: Added more nearbyint tests.
89347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89350 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89351
89352 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89353
89354 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89355 FD_CLOEXEC.
89356
89357 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89358
89359 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89360 Add wcscpy-ssse3 wcscpy-c.
89361 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89362 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89363 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89364 * sysdeps/x86_64/wcschr.S: New file.
89365 * sysdeps/x86_64/wcsrchr.S: New file.
89366 * string/test-strcmp.c: Remove checking of wcscmp function for
89367 wrong alignments.
89368 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89369 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89370 wcsrchr-sse2 wcsrchr-c.
89371 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89372 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89373 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89374 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89375 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89376 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89377 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89378 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89379 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89380 * wcsmbc/wcschr.c (WCSCHR): New macro.
89381
89382 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89383
89384 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89385 * wcsmbs/test-wcsrchr.c: New file.
89386 * string/test-strrchr.c: Add wcsrchr support.
89387 (WIDE): New macro.
89388 * wcsmbs/test-wcscpy.c: New file.
89389 * string/test-strcpy.c: Add wcscpy support.
89390 (WIDE): New macro.
89391
89392 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89393
89394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89395 the inner loop.
89396
89397 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89398
89399 [BZ #13472]
89400 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89401
89402 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89403
89404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89405 Minor optimizations.
89406
89407 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89408 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89409 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89410
89411 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89412
89413 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89414 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89415 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89416 for gcc to avoid warnings.
89417 * inet/Makefile (tests): Add tst-checks.
89418 * inet/tst-checks.c: New file.
89419
89420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89421 warning.
89422
89423 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89424 __wmemcmp_sse2.
89425
89426 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89427 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89428
89429 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89430
89431 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89432
89433 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89434 problem.
89435
89436 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89437
89438 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89439
89440 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89441 conditional on GCC version.
89442 (__arch_compare_and_exchange_val_8_acq)
89443 (__arch_compare_and_exchange_val_16_acq)
89444 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89445 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89446 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89447
89448 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89449
89450 * sysdeps/sh/backtrace.c: New file.
89451
89452 2011-12-02 Andreas Schwab <schwab@redhat.com>
89453
89454 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89455 parenthesis.
89456
89457 2011-12-01 Andreas Schwab <schwab@redhat.com>
89458
89459 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89460 falling back to utime.
89461
89462 2011-11-30 Andreas Schwab <schwab@redhat.com>
89463
89464 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89465 expectations for float.
89466
89467 2011-11-29 Andreas Schwab <schwab@redhat.com>
89468
89469 * locale/weight.h (findidx): Add parameter len.
89470 * locale/weightwc.h (findidx): Likewise.
89471 * posix/fnmatch_loop.c (FCT): Adjust caller.
89472 * posix/regcomp.c (build_equiv_class): Likewise.
89473 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89474 * posix/regexec.c (check_node_accept_bytes): Likewise.
89475 * string/strcoll_l.c (STRCOLL): Likewise.
89476 * string/strxfrm_l.c (STRXFRM): Likewise.
89477
89478 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89479
89480 * Makefile.in: Remove CVSOPT handling.
89481 * configure.in: Remove use of AC_REVISION.
89482 * iconvdata/Makefile (distribute): No need to filter out CVS.
89483 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89484 handling.
89485
89486 2011-11-16 Andreas Schwab <schwab@redhat.com>
89487
89488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89489 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89490 [USE_AS_STRNCASECMP_L]: Likewise.
89491 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89492 NO_TLS_DIRECT_SEG_REFS.
89493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89494 Fix argument offsets for non-PIC.
89495 [USE_AS_STRNCASECMP_L]: Likewise.
89496 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89497 NO_TLS_DIRECT_SEG_REFS.
89498
89499 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89500
89501 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89502 O_CLOEXEC.
89503 * locale/loadlocale.c (_nl_load_locale): Likewise.
89504
89505 2011-11-15 Andreas Schwab <schwab@redhat.com>
89506
89507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89508 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89509 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89510 (SYSCALL_GETTIME): Set errno on error.
89511
89512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89513 count references to noai6ai_cached.
89514
89515 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89516
89517 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89518
89519 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89520 FD_CLOEXEC for /proc/self/maps.
89521
89522 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89523 FD_CLOEXEC for /proc/meminfo.
89524
89525 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89526 gai.conf.
89527
89528 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89529 FD_CLOEXEC for given file.
89530
89531 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89532
89533 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89534 FD_CLOEXEC for /etc/hosts.
89535 (_gethtent): Likewise.
89536
89537 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89538
89539 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89540 cancellation and set FD_CLOEXEC for /etc/netgroup.
89541
89542 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89543 reading /etc/publickey.
89544
89545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89546 allow cancellation when reading /etc/group.
89547
89548 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89549 cancellation.
89550 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89551
89552 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89553 when using data file.
89554
89555 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89556
89557 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89558 (write_nis_obj): Use "c" and "e" in fopen.
89559
89560 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89561
89562 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89563
89564 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89565
89566 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89567
89568 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89569 locale.alias.
89570
89571 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89572
89573 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89574
89575 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89576
89577 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89578 file parsing and set FD_CLOEXEC.
89579
89580 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89581
89582 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89583
89584 2011-11-14 Andreas Schwab <schwab@redhat.com>
89585
89586 * malloc/arena.c (arena_get2): Don't call reused_arena when
89587 _int_new_arena failed.
89588
89589 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89590
89591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89592 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89593 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89595 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89597 to compile strcasecmp and strncasecmp.
89598 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89599 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89600
89601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89602
89603 2011-11-13 Ulrich Drepper <drepper@gmail.com>
89604
89605 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89606 locale-defines.sym to gen-as-const-headers.
89607 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89608 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89610 to compile strcasecmp and strncasecmp.
89611 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89612 strcasecmp_l and strncasecmp_l.
89613 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89614 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89615 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89616 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89617 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89619 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89620 * sysdeps/i386/i686/multiarch/strncase.S: New file.
89621 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89622 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89623 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89624
89625 2011-11-12 Ulrich Drepper <drepper@gmail.com>
89626
89627 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89628 result of SYSDEP_GETTIME_CPU to retval.
89629 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89630 parameter list to macro. Remove trailing semicolon. Adjust users.
89631
89632 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89633 variable.
89634
89635 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89636 mantissa words.
89637 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89638
89639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89640 from unused variable.
89641
89642 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89643 DWARF definitions.
89644 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89645 for assembling.
89646
89647 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89648 over namespaces.
89649
89650 * sunrpc/rpc_prot.c (rejected): Fix case value.
89651
89652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89653 unsigned long long int to avoid warnings in shift.
89654
89655 * posix/regex_internal.c (re_string_reconstruct): Actually use result
89656 of use of trans.
89657 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89658 variable tmp.
89659
89660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89661 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89662 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89663
89664 * nis/nis_table.c (nis_list): Use variable of correct type for
89665 result of __follow_path call.
89666
89667 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89668
89669 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89670 of math functions ceil, trunc, floor, round, and sqrt, when
89671 avaliable on the platform.
89672 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89673 name clash.
89674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89675 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89676 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89677
89678 2011-10-30 Marek Polacek <mpolacek@redhat.com>
89679
89680 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89681 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89682
89683 2011-11-11 Roland McGrath <roland@hack.frob.com>
89684
89685 * include/unistd.h: Fix __readlink return type.
89686 Reported by Chris Metcalf <cmetcalf@tilera.com>.
89687
89688 2011-11-11 Ulrich Drepper <drepper@gmail.com>
89689
89690 * stdlib/ucontext.h: Undo last change for makecontext.
89691
89692 2011-11-11 Andreas Schwab <schwab@redhat.com>
89693
89694 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
89695
89696 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
89697 * setjmp/setjmp.h: Mark functions as non-leaf.
89698 * setjmp/bits/setjmp2.h: Likewise.
89699 * stdlib/ucontext.h: Likewise.
89700
89701 2011-11-10 Andreas Schwab <schwab@redhat.com>
89702
89703 * malloc/arena.c (_int_new_arena): Don't increment narenas.
89704 (reused_arena): Don't check arena limit.
89705 (arena_get2): Atomically check arena limit.
89706
89707 2011-11-08 Ulrich Drepper <drepper@gmail.com>
89708
89709 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89710 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89711
89712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89713 instructions.
89714
89715 2011-11-07 Andreas Schwab <schwab@redhat.com>
89716
89717 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89718 handler when locking.
89719
89720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89721 Fix size of allocated buffer.
89722
89723 2011-11-04 Andreas Schwab <schwab@redhat.com>
89724
89725 [BZ #10103]
89726 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89727 declarations for long double functions.
89728 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89729
89730 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89731
89732 2011-11-03 Andreas Schwab <schwab@redhat.com>
89733
89734 * nscd/nscd.c (main): Don't start AVC thread until credentials are
89735 installed.
89736
89737 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89738 is disabled.
89739
89740 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
89741
89742 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89743
89744 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
89745
89746 * include/alloca.h (stackinfo_alloca_round): Define.
89747 (extend_alloca): Use it.
89748 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89749 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89750 here.
89751
89752 * scripts/check-local-headers.sh: Ignore libaudit.h.
89753
89754 * nscd/Makefile (extra-objs): Make recursively expanded.
89755
89756 2011-11-01 Ulrich Drepper <drepper@gmail.com>
89757
89758 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89760
89761 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89762 * posix/tst-rfc3484-2.c: Likewise.
89763 * posix/tst-rfc3484-3.c: Likewise.
89764
89765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89766 process_vm_writev.
89767 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89768 process_vm_writev.
89769 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89770 process_vm_writev from libc using GLIBC_2.15 version.
89771
89772 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89773
89774 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
89775
89776 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89777 stack usage.
89778
89779 2011-10-31 Ulrich Drepper <drepper@gmail.com>
89780
89781 [BZ #13367]
89782 * nss/getent.c (initgroups_keys): Show error message in case no group
89783 names are given.
89784
89785 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89786 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89787 __bump_nl_timestamp.
89788 * nscd/connections (nscd_init): When host database is served open
89789 netlink socket and request notification about configuration changes.
89790 (main_loop_poll): Track netlink file descriptor and bump timestamp
89791 in case data becomes available.
89792 (main_loop_epoll): Likewise.
89793 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89794 (database_pers_head): Add extra_data fileds.
89795 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89796 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89797 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89798 Adjust caller.
89799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89800 in6ai data, call __free_in6ai.
89801 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89802 Add -DHAVE_NETLINK.
89803 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
89804 interface information. Reuse previous data if netlink timestamp
89805 is not changed.
89806 (__bump_nl_timestamp): New function.
89807 (__free_in6ai): New function.
89808
89809 2011-10-30 Ulrich Drepper <drepper@gmail.com>
89810
89811 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89812 close_not_cancel_no_status here.
89813 (__check_pf): Reorganize code a bit to not call close twice if OOM.
89814
89815 2011-10-29 Ulrich Drepper <drepper@gmail.com>
89816
89817 [BZ #13276]
89818 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89819 return value.
89820
89821 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89822 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89823 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89824
89825 2011-07-03 Andreas Jaeger <aj@suse.de>
89826
89827 [BZ #10709]
89828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89829 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89830 * math/libm-test.inc (sin_test): Add test case.
89831
89832 2011-10-29 Ulrich Drepper <drepper@gmail.com>
89833
89834 [BZ #13337]
89835 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89837
89838 * elf/chroot_canon.c (chroot_canon): Cleanups.
89839
89840 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89841
89842 [BZ #13335]
89843 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89845
89846 * string/test-strchr.c: Make usable for strchrnul testing.
89847 * string/test-strchrnul.c: New file.
89848 * string/Makefile (strop-tests): Add strchrnul.
89849
89850 * po/it.po: Update from translation team.
89851 * po/es.po: Likewise.
89852
89853 2011-10-28 Ulrich Drepper <drepper@gmail.com>
89854
89855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89856 the three constants needed as parameters. Drop the others.
89857 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89858 __m128i_strloadu_tolower.
89859 Create and initialize variable zero and use it in all the places
89860 where _mm_setzero_si128 was used.
89861
89862 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89863 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89864 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89865 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89866 anymore.
89867 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89870 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89871 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89872 __mpranred, __mptan.
89873 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89874 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89875 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89876 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89880 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89882
89883 2011-10-28 Andreas Schwab <schwab@redhat.com>
89884
89885 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89886 redefine if SHARED.
89887 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89888
89889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89890 wide char related routines to wcsmbs subdir.
89891
89892 2011-10-27 Andreas Schwab <schwab@redhat.com>
89893
89894 [BZ #13344]
89895 * misc/sys/cdefs.h (__THROWNL): Define.
89896 * posix/unistd.h: Use __THREADNL instead of __THREAD
89897 for memory synchronization functions.
89898
89899 2011-10-26 Roland McGrath <roland@hack.frob.com>
89900
89901 [BZ #13349]
89902 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89903 doesn't exist.
89904 * manual/stdio.texi (Obstack Streams): Node removed.
89905
89906 2011-10-26 Andreas Schwab <schwab@redhat.com>
89907
89908 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89911
89912 * math/math_private.h (math_force_eval): Allow non-addressable
89913 arguments.
89914 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89915
89916 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89917
89918 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89919 file is not needed.
89920
89921 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89928 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89929 Add AVX variants.
89930 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89931 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89932 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89933 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89934 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89935 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89936 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89938 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89939 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89940 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89941 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89943 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89944 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89945 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89946 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89948 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89949
89950 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89951 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
89952
89953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89954 place. Use VEX encoding when compiling for AVX.
89955
89956 2011-10-25 Andreas Schwab <schwab@redhat.com>
89957
89958 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89959 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89960
89961 * string/test-strchr.c (do_test): Don't generate NUL bytes.
89962
89963 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89964
89965 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89966 useless if() expression.
89967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89969 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89971 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89980 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89981 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89986
89987 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89988
89989 2011-10-25 Andreas Schwab <schwab@redhat.com>
89990
89991 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89992 condition.
89993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
89994
89995 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89996
89997 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89998 .text section. Avoid duplicate constants.
89999 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90001 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90008 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90009 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90011 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90012 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90013 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90019 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90020 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90022 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90023 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90024 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90025 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90026 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90029 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90040 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90044
90045 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90046
90047 * sysdeps/x86_64/dla.h: Move to ...
90048 * sysdeps/x86_64/fpu/dla.h: ...here.
90049 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90050 situations. Use __builtin_fma only for gcc 4.6 and up.
90051
90052 * config.make.in: Add have-mfma4 entry.
90053 * configure.in: Substitute libc_cv_cc_fma4.
90054 * math/Makefile (dbl-only-routines): Add sincostab.
90055 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90056 Use __sincostab not sincos.
90057 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90058 name is a macro.
90059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90063 using __copysign.
90064 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90065 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90066 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90067 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90068 and __inv.
90069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90070 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90071 __copysign.
90072 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90073 define aliases when function name is a macro.
90074 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90075 sysdeps/ieee754/dbl-64/sincos.tbl.
90076 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90077 fma4-enabled routines.
90078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90079 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90080 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90081 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90083 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90085 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90087 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90088 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90089 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90090 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90091 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90093 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90094 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90095 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90096 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90097 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90098 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90099 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90101 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90103 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90105 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90106 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90107 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90108
90109 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90110 rename.
90111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90119
90120 2011-10-24 Andreas Schwab <schwab@redhat.com>
90121
90122 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90123
90124 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90125
90126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90127
90128 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90129 prediction.
90130 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90131
90132 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90133 Remove unused variable magic_bits.
90134 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90135
90136 * string/strnlen.c: Define and use STRNLEN macro.
90137 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90138 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90140 * wcsmbs/wcslen.c: Define and use WCSLEN.
90141 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90142 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90143 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90144 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90145 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90146 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90147 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90148
90149 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90150
90151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90152 strnlen-sse2-no-bsf.
90153 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90155 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90156 Add strnlen support.
90157 (USE_AS_STRNLEN): New macro.
90158 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90159 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90160 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90161 * sysdeps/x86_64/wcslen.S: New file.
90162
90163 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90164
90165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90166 XMM-moves are used for copying on small sizes.
90167
90168 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90169
90170 * wcsmbs/Makefile (strop-tests): Add wcschr.
90171 * wcsmbs/test-wcschr.c: New file.
90172 * string/test-strchr.c: Update.
90173 Add wcschr support.
90174 (WIDE): New macro.
90175
90176 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90177
90178 * wcsmbs/Makefile (strop-tests): Add wcslen.
90179 * wcsmbs/test-wcslen.c: New file.
90180 * string/test-strlen.c: Update.
90181 Add wcslen support.
90182 (WIDE): New macro.
90183
90184 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90185
90186 * po/it.po: Update from translation team.
90187
90188 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90189
90190 * sysdeps/x86_64/wcscmp.S: Update.
90191 Fix wrong comparison semantics.
90192 wcscmp shall use signed comparison not unsigned.
90193 Don't use substraction to avoid overflow bug.
90194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90195 * wcsmbc/wcscmp.c: Likewise.
90196 * string/test-strcmp.c: Likewise.
90197 Add new tests to check cases with negative values.
90198
90199 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90200
90201 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90202 * sysdeps/x86_64/dla.h: ...here. New file.
90203 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90212
90213 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90214
90215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90216 __ynl_finite aliases.
90217
90218 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90219
90220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90221
90222 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90223 define DLA_FMA.
90224 [DLA_FMA] (EMULV): Use DLA_FMA.
90225 [DLA_FMA] (MUL12): Use EMULV.
90226 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90227 that are not needed.
90228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90235
90236 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90237
90238 * math/s_nan.c: Undef __nan.
90239 * math/s_nanf.c: Undef __nanf.
90240 * math/s_nanl.c: Undef __nanl.
90241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90242 "math_private.h".
90243
90244 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90245
90246 * math/s_catan.c: Add branch predictions.
90247 * math/s_catanf.c: Likewise.
90248 * math/s_catanh.c: Likewise.
90249 * math/s_catanhf.c: Likewise.
90250 * math/s_catanhl.c: Likewise.
90251 * math/s_catanl.c: Likewise.
90252 * math/s_cexp.c: Likewise.
90253 * math/s_cexpf.c: Likewise.
90254 * math/s_cexpl.c: Likewise.
90255 * math/s_clog.c: Likewise.
90256 * math/s_clog10.c: Likewise.
90257 * math/s_clog10f.c: Likewise.
90258 * math/s_clog10l.c: Likewise.
90259 * math/s_clogf.c: Likewise.
90260 * math/s_clogl.c: Likewise.
90261 * math/s_csqrt.c: Likewise.
90262 * math/s_csqrtf.c: Likewise.
90263 * math/s_csqrtl.c: Likewise.
90264 * math/s_ctanf.c: Likewise.
90265 * math/s_ctanh.c: Likewise.
90266 * math/s_ctanhf.c: Likewise.
90267 * math/s_ctanhl.c: Likewise.
90268 * math/s_ctanl.c: Likewise.
90269
90270 * math/math_private.h: Define __nan, __nanf, __nanl.
90271 * math/s_cacosh.c: Include <math_private.h>.
90272 * math/s_cacoshl.c: Likewise.
90273 * math/s_casinh.c: Likewise.
90274 * math/s_casinhf.c: Likewise.
90275 * math/s_casinhl.c: Likewise.
90276 * math/s_ccos.c: Rely entire on ccosh.
90277 * math/s_ccosf.c: Rely entire on ccoshf.
90278 * math/s_ccosl.c: Rely entirely on ccoshl.
90279 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90280 Remove tests for FE_INVALID.
90281 * math/s_ccoshf.c: Likewise.
90282 * math/s_ccoshl.c: Likewise.
90283 * math/s_csin.c: Likewise.
90284 * math/s_csinf.c: Likewise.
90285 * math/s_csinh.c Likewise.
90286 * math/s_csinhf.c: Likewise.
90287 * math/s_csinhl.c: Likewise.
90288 * math/s_csinl.c: Likewise.
90289 * math/s_ctan.c: Likewise.
90290 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90291 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90293
90294 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90295
90296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90297 compilation problems.
90298
90299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90300 __builtin_expect.
90301
90302 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90303
90304 * sysdeps/i386/configure.in: Test for -mfma4 option.
90305 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90306 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90307 COMMON_CPUID_INDEX_80000001.
90308 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90309 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90310 use it if FMA3 is not supported.
90311 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90312
90313 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90314 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90315
90316 2011-10-20 Andreas Schwab <schwab@redhat.com>
90317
90318 [BZ #12892]
90319 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90320 it would create a cycle with a link time dependency.
90321
90322 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90323
90324 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90325 instruction.
90326 * string/Makefile (strop-tests): Add rawmemchr.
90327 * string/test-rawmemchr.c: New file.
90328
90329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90331 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90332 when compiling str{,n}casecmp and when AVX is available. Hook up
90333 new optimized code in initializers.
90334
90335 2011-10-19 Andreas Schwab <schwab@redhat.com>
90336
90337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90338 __feraiseexcept instead of feraiseexcept.
90339
90340 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90341
90342 * math/math_private.h: Define defaults for libc_fetestexcept and
90343 libc_feupdateenv.
90344 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90345 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90346 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90348 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90349 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90350 libc_fetestexcept and libc_feupdateenv.
90351
90352 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90353 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90354 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90355 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90356 libc_feholdexcept_setround.
90357
90358 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90359 Add s_nearbyint-c and s_nearbyintf-c.
90360 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90361 nearbyintf inlines.
90362 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90363 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90364 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90365 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90366
90367 * math/math_private.h: Define defaults for libc_fegetround,
90368 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90369 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90370 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90372 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90373 standard functions.
90374 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90375 Remove comments and hacks for old compiler versions.
90376 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90377 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90378 libc_feholdexceptl.
90379
90380 2011-10-18 Andreas Schwab <schwab@redhat.com>
90381
90382 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90383 (__feraiseexcept_renamed): Add __NTH.
90384 (feraiseexcept): Add __NTH. Rename local variables to fix
90385 namespace violations.
90386
90387 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90388
90389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90390
90391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90392
90393 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90394 recently added interfaces.
90395 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90396
90397 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90398 about macro parameter expansion.
90399
90400 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90401 __NO_MATH_INLINES is defined. Cleanups.
90402
90403 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90404 and __floorf is target has SSE4.1.
90405 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90407 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90408 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90409
90410 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90411 name.
90412 (floorf): Likewise.
90413
90414 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90415
90416 2011-10-17 Andreas Schwab <schwab@redhat.com>
90417
90418 * misc/sys/cdefs.h: Fix last change.
90419
90420 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90421 database lookup.
90422
90423 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90424
90425 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90426
90427 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90433 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90435 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90436 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90437 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90438 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90439 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90440 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90441 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90442 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90443 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90444 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90445 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90446 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90448 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90449
90450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90451 ceil, ceilf, floor, floorf.
90452
90453 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90454 Perform IRELATIVE relocations last.
90455
90456 * elf/do-rel.h: Add another parameter nrelative, replacing the
90457 local variable with the same name. Change name of the function
90458 to end in Rel or Rela (uppercase).
90459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90460 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90461 elf_dynamic_do_##reloc function.
90462
90463 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90464
90465 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90466 is sufficient, at least on modern CPUs.
90467
90468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90469
90470 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90471 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90472
90473 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90474 __expl_finite.
90475 * math/bits/math-finite.h: Add entries for exp.
90476 * math/e_expl.c: Add __*_finite alias.
90477 * sysdeps/i386/fpu/e_exp.S: Likewise.
90478 * sysdeps/i386/fpu/e_expf.S: Likewise.
90479 * sysdeps/i386/fpu/e_expl.c: Likewise.
90480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90481 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90482 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90484 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90485 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90486 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90487
90488 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90489 is sufficient, at least on modern CPUs.
90490
90491 * ctype/ctype-info.c (__ctype_init): Define.
90492 * include/ctype.h (__ctype_init): Declare.
90493 (__ctype_b_loc): The variable is always initialized.
90494 (__ctype_toupper_loc): Likewise.
90495 (__ctype_tolower_loc): Likewise.
90496 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90497 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90498
90499 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90500
90501 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90502
90503 * configure.in: Also look in $cxxmachine/include for C++ system
90504 headers.
90505
90506 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90507
90508 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90509 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90510 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90511 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90513 (USE_AS_WMEMCMP): New macro.
90514 Fixing indents.
90515 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90516 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90517 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90518 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90520 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90521 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90523 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90524 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90525 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90526 (USE_AS_WMEMCMP): New macro.
90527 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90528 * sysdeps/string/test-memcmp.c: Update.
90529 Fix simple_wmemcmp.
90530 Add new tests.
90531 * wcsmbs/wmemcmp.c: Update.
90532 (WMEMCMP): New macro.
90533 Fix overflow bug.
90534
90535 2011-10-12 Andreas Jaeger <aj@suse.de>
90536
90537 [BZ #13268]
90538 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90539
90540 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90541
90542 * libio/iofwide.c (do_length): Avoid warning.
90543
90544 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90545
90546 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90547
90548 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90549
90550 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90551 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90552 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90553 * sysdeps/i386/i686/fpu/e_log.S: New file.
90554 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90555 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90556
90557 * ctype/ctype.h: Add support for inlined isXXX functions when
90558 compiling C++ code.
90559
90560 2011-10-14 Andreas Schwab <schwab@redhat.com>
90561
90562 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90563
90564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90565
90566 2011-10-13 Roland McGrath <roland@hack.frob.com>
90567
90568 [BZ #13291]
90569 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90570
90571 2011-10-13 Andreas Schwab <schwab@redhat.com>
90572
90573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90574 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90575 feraiseexcept.
90576
90577 * sysdeps/x86_64/memrchr.S: Check for zero size.
90578
90579 * string/stratcliff.c: Add memrchr tests.
90580
90581 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90582
90583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90584 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90585 rawmemchr-sse2 rawmemchr-sse2-bsf.
90586 * sysdeps/i386/i686/multiarch/memchr.S: New file.
90587 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90588 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90589 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90590 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90591 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90592 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90593 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90594 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90595 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90596 * string/memrchr.c (MEMRCHR): New macro.
90597
90598 2011-10-12 Ulrich Drepper <drepper@gmail.com>
90599
90600 Add integration with gcc's -ffinite-math-only and optimize wrapper
90601 functions in libm.
90602 * Versions.def: Define GLIBC_2.15 version for libm.
90603 * math/Makefile (headers): Add bits/math-finite.h.
90604 * math/bits/math-finite.h: New file.
90605 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90606 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90607 * math/e_acoshl.c: Add __*_finite alias.
90608 * math/e_acosl.c: Likewise.
90609 * math/e_asinl.c: Likewise.
90610 * math/e_atan2l.c: Likewise.
90611 * math/e_atanhl.c: Likewise.
90612 * math/e_coshl.c: Likewise.
90613 * math/e_exp10.c: Likewise.
90614 * math/e_exp10f.c: Likewise.
90615 * math/e_exp10l.c: Likewise.
90616 * math/e_exp2l.c: Likewise.
90617 * math/e_fmodl.c: Likewise.
90618 * math/e_gammal_r.c: Likewise.
90619 * math/e_hypotl.c: Likewise.
90620 * math/e_j0l.c: Likewise.
90621 * math/e_j1l.c: Likewise.
90622 * math/e_jnl.c: Likewise.
90623 * math/e_lgammal_r.c: Likewise.
90624 * math/e_log10l.c: Likewise.
90625 * math/e_log2l.c: Likewise.
90626 * math/e_logl.c: Likewise.
90627 * math/e_powl.c: Likewise.
90628 * math/e_sinhl.c: Likewise.
90629 * math/e_sqrtl.c: Likewise.
90630 * math/e_scalb.c: Completely rewritten and optimized.
90631 * math/e_scalbf.c: Likewise.
90632 * math/e_scalbl.c: Likewise.
90633 * math/w_acos.c: Likewise.
90634 * math/w_acosf.c: Likewise.
90635 * math/w_acosl.c: Likewise.
90636 * math/w_acosh.c: Likewise.
90637 * math/w_acoshf.c: Likewise.
90638 * math/w_acoshl.c: Likewise.
90639 * math/w_asin.c: Likewise.
90640 * math/w_asinf.c: Likewise.
90641 * math/w_asinl.c: Likewise.
90642 * math/w_atan2.c: Likewise.
90643 * math/w_atan2f.c: Likewise.
90644 * math/w_atan2l.c: Likewise.
90645 * math/w_atanh.c: Likewise.
90646 * math/w_atanhf.c: Likewise.
90647 * math/w_atanhl.c: Likewise.
90648 * math/w_exp10.c: Likewise.
90649 * math/w_exp10f.c: Likewise.
90650 * math/w_exp10l.c: Likewise.
90651 * math/w_fmod.c: Likewise.
90652 * math/w_fmodf.c: Likewise.
90653 * math/w_fmodl.c: Likewise.
90654 * math/w_j0.c: Likewise.
90655 * math/w_j0f.c: Likewise.
90656 * math/w_j0l.c: Likewise.
90657 * math/w_j1.c: Likewise.
90658 * math/w_j1f.c: Likewise.
90659 * math/w_j1l.c: Likewise.
90660 * math/w_jn.c: Likewise.
90661 * math/w_jnf.c: Likewise.
90662 * math/w_log.c: Likewise.
90663 * math/w_logf.c: Likewise.
90664 * math/w_logl.c: Likewise.
90665 * math/w_log10.c: Likewise.
90666 * math/w_log10f.c: Likewise.
90667 * math/w_log10l.c: Likewise.
90668 * math/w_log2.c: Likewise.
90669 * math/w_log2f.c: Likewise.
90670 * math/w_log2l.c: Likewise.
90671 * math/w_pow.c: Likewise.
90672 * math/w_powf.c: Likewise.
90673 * math/w_powl.c: Likewise.
90674 * math/w_remainder.c: Likewise.
90675 * math/w_remainderf.c: Likewise.
90676 * math/w_remainderl.c: Likewise.
90677 * math/w_scalb.c: Likewise.
90678 * math/w_scalbf.c: Likewise.
90679 * math/w_scalbl.c: Likewise.
90680 * math/w_sqrt.c: Likewise.
90681 * math/w_sqrtf.c: Likewise.
90682 * math/w_sqrtl.c: Likewise.
90683 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90684 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
90685 used.
90686 * math/math_private.h: Declare __kernel_standard_f.
90687 * math/w_cosh.c: Remove cruft and optimize a bit.
90688 * math/w_coshf.c: Likewise.
90689 * math/w_coshl.c: Likewise.
90690 * math/w_exp2.c: Likewise.
90691 * math/w_exp2f.c: Likewise.
90692 * math/w_exp2l.c: Likewise.
90693 * math/w_hypot.c: Likewise.
90694 * math/w_hypotf.c: Likewise.
90695 * math/w_hypotl.c: Likewise.
90696 * math/w_lgamma.c: Likewise.
90697 * math/w_lgamma_r.c: Likewise.
90698 * math/w_lgammaf.c: Likewise.
90699 * math/w_lgammaf_r.c: Likewise.
90700 * math/w_lgammal.c: Likewise.
90701 * math/w_lgammal_r.c: Likewise.
90702 * math/w_sinh.c: Likewise.
90703 * math/w_sinhf.c: Likewise.
90704 * math/w_sinhl.c: Likewise.
90705 * math/w_tgamma.c: Likewise.
90706 * math/w_tgammaf.c: Likewise.
90707 * math/w_tgammal.c: Likewise.
90708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90710 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90711 Minor optimizations. Pretty printing. Remove cruft.
90712 * sysdeps/i386/fpu/e_acosf.S: Likewise.
90713 * sysdeps/i386/fpu/e_acosh.S: Likewise.
90714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90715 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90716 * sysdeps/i386/fpu/e_acosl.c: Likewise.
90717 * sysdeps/i386/fpu/e_asin.S: Likewise.
90718 * sysdeps/i386/fpu/e_asinf.S: Likewise.
90719 * sysdeps/i386/fpu/e_atan2.S: Likewise.
90720 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90721 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90722 * sysdeps/i386/fpu/e_atanh.S: Likewise.
90723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90725 * sysdeps/i386/fpu/e_exp10.S: Likewise.
90726 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90727 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90728 * sysdeps/i386/fpu/e_exp2.S: Likewise.
90729 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90730 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90731 * sysdeps/i386/fpu/e_fmod.S: Likewise.
90732 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90733 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90734 * sysdeps/i386/fpu/e_hypot.S: Likewise.
90735 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90736 * sysdeps/i386/fpu/e_log.S: Likewise.
90737 * sysdeps/i386/fpu/e_log10.S: Likewise.
90738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
90739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
90740 * sysdeps/i386/fpu/e_log2.S: Likewise.
90741 * sysdeps/i386/fpu/e_log2f.S: Likewise.
90742 * sysdeps/i386/fpu/e_log2l.S: Likewise.
90743 * sysdeps/i386/fpu/e_logf.S: Likewise.
90744 * sysdeps/i386/fpu/e_logl.S: Likewise.
90745 * sysdeps/i386/fpu/e_pow.S: Likewise.
90746 * sysdeps/i386/fpu/e_powf.S: Likewise.
90747 * sysdeps/i386/fpu/e_powl.S: Likewise.
90748 * sysdeps/i386/fpu/e_remainder.S: Likewise.
90749 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90750 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
90752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90753 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90754 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90755 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90756 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90757 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90760 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90761 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90762 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90763 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90764 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90766 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90767 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90768 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90770 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90771 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90773 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90774 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90777 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90778 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90779 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90780 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90781 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90782 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90783 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90784 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90785 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90786 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90788 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90791 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90792 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90793 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90794 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90795 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90796 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90797 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90798 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90799 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90800 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90802 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90804 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90805 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90806 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90807 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90808 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90812 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90813 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90814 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90815 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90816 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90817 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90834 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90838 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90839 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90841 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90842 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90845 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90846 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90850 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90852 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90853 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90854 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90855 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90856 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90857 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90858 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90859 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90860 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90861 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90865 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90866 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90867 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
90868 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90869 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90870 (__isnanf): Likewise.
90871 (__isinf_ns): Likewise.
90872 (__isinf_nsf): Likewise.
90873 (__finite): Likewise.
90874 (__finitef): Likewise.
90875 (__ieee754_sqrt): Define as macro.
90876 (__ieee754_sqrtf): Define as macro.
90877 (__ieee754_sqrtl): Define as macro.
90878 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90879 inlined copy.
90880 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90881 __FINITE_MATH_ONLY__ consistent.
90882 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90883
90884 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
90885
90886 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90887 of rawmemchr.
90888
90889 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90890
90891 2011-10-09 Ulrich Drepper <drepper@gmail.com>
90892
90893 * po/ja.po: Update from translation team.
90894
90895 2011-10-08 Roland McGrath <roland@hack.frob.com>
90896
90897 * locale/programs/locarchive.c (prepare_address_space): New function.
90898 (create_archive, enlarge_archive, open_archive): Use it.
90899
90900 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90901 inside [SHARED], where it is used.
90902
90903 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90904
90905 * nss/getent.c (netgroup_keys): Remove unused variable.
90906 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90907
90908 2011-10-08 Ulrich Drepper <drepper@gmail.com>
90909
90910 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90911 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90913 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90914 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90915 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90916 * math/Makefile (libm-calls): Add s_isinf_ns.
90917 * math/divtc3.c: Use __isinf_nsl instead of isinf.
90918 * math/multc3.c: Likewise.
90919 * math/s_casin.c: Likewise.
90920 * math/s_casinf.c: Likewise.
90921 * math/s_casinl.c: Likewise.
90922 * math/s_ccos.c: Likewise.
90923 * math/s_ccosf.c: Likewise.
90924 * math/s_ccosl.c: Likewise.
90925 * math/s_ctan.c: Likewise.
90926 * math/s_ctanf.c: Likewise.
90927 * math/s_ctanh.c: Likewise.
90928 * math/s_ctanhf.c: Likewise.
90929 * math/s_ctanhl.c: Likewise.
90930 * math/s_ctanl.c: Likewise.
90931 * math/w_fmod.c: Likewise.
90932 * math/w_fmodf.c: Likewise.
90933 * math/w_fmodl.c: Likewise.
90934 * math/w_remainder.c: Likewise.
90935 * math/w_remainderf.c: Likewise.
90936 * math/w_remainderl.c: Likewise.
90937 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90938 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90941 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90942 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90943 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90944 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90945
90946 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90947 of the number.
90948 * stdio-common/printf_fphex.c: Likewise.
90949 * stdio-common/printf_size.c: Likewise.
90950
90951 * math/e_exp10.c: Include math_private.h using <...> not "...".
90952 * math/e_exp10f.c: Likewise.
90953 * math/e_exp10l.c: Likewise.
90954 * math/e_exp2l.c: Likewise.
90955 * math/e_j0l.c: Likewise.
90956 * math/e_j1l.c: Likewise.
90957 * math/e_jnl.c: Likewise.
90958 * math/e_lgammal_r.c: Likewise.
90959 * math/e_rem_pio2l.c: Likewise.
90960 * math/e_scalb.c: Likewise.
90961 * math/e_scalbf.c: Likewise.
90962 * math/e_scalbl.c: Likewise.
90963 * math/k_cosl.c: Likewise.
90964 * math/k_sinl.c: Likewise.
90965 * math/k_tanl.c: Likewise.
90966 * math/s_cacoshf.c: Likewise.
90967 * math/s_catan.c: Likewise.
90968 * math/s_catanf.c: Likewise.
90969 * math/s_catanh.c: Likewise.
90970 * math/s_catanhf.c: Likewise.
90971 * math/s_catanhl.c: Likewise.
90972 * math/s_catanl.c: Likewise.
90973 * math/s_ccosh.c: Likewise.
90974 * math/s_ccoshf.c: Likewise.
90975 * math/s_ccoshl.c: Likewise.
90976 * math/s_cexp.c: Likewise.
90977 * math/s_cexpf.c: Likewise.
90978 * math/s_cexpl.c: Likewise.
90979 * math/s_clog.c: Likewise.
90980 * math/s_clog10.c: Likewise.
90981 * math/s_clog10f.c: Likewise.
90982 * math/s_clog10l.c: Likewise.
90983 * math/s_clogf.c: Likewise.
90984 * math/s_clogl.c: Likewise.
90985 * math/s_csin.c: Likewise.
90986 * math/s_csinf.c: Likewise.
90987 * math/s_csinh.c: Likewise.
90988 * math/s_csinhf.c: Likewise.
90989 * math/s_csinhl.c: Likewise.
90990 * math/s_csinl.c: Likewise.
90991 * math/s_csqrt.c: Likewise.
90992 * math/s_csqrtf.c: Likewise.
90993 * math/s_csqrtl.c: Likewise.
90994 * math/s_ctan.c: Likewise.
90995 * math/s_ctanf.c: Likewise.
90996 * math/s_ctanh.c: Likewise.
90997 * math/s_ctanhf.c: Likewise.
90998 * math/s_ctanhl.c: Likewise.
90999 * math/s_ctanl.c: Likewise.
91000 * math/s_ldexp.c: Likewise.
91001 * math/s_ldexpf.c: Likewise.
91002 * math/s_ldexpl.c: Likewise.
91003 * math/s_significand.c: Likewise.
91004 * math/s_significandf.c: Likewise.
91005 * math/s_significandl.c: Likewise.
91006 * math/w_acos.c: Likewise.
91007 * math/w_acosf.c: Likewise.
91008 * math/w_acosh.c: Likewise.
91009 * math/w_acoshf.c: Likewise.
91010 * math/w_acoshl.c: Likewise.
91011 * math/w_acosl.c: Likewise.
91012 * math/w_asin.c: Likewise.
91013 * math/w_asinf.c: Likewise.
91014 * math/w_asinl.c: Likewise.
91015 * math/w_atan2.c: Likewise.
91016 * math/w_atan2f.c: Likewise.
91017 * math/w_atan2l.c: Likewise.
91018 * math/w_atanh.c: Likewise.
91019 * math/w_atanhf.c: Likewise.
91020 * math/w_atanhl.c: Likewise.
91021 * math/w_cosh.c: Likewise.
91022 * math/w_coshf.c: Likewise.
91023 * math/w_coshl.c: Likewise.
91024 * math/w_dremf.c: Likewise.
91025 * math/w_exp10.c: Likewise.
91026 * math/w_exp10f.c: Likewise.
91027 * math/w_exp10l.c: Likewise.
91028 * math/w_exp2.c: Likewise.
91029 * math/w_exp2f.c: Likewise.
91030 * math/w_fmod.c: Likewise.
91031 * math/w_fmodf.c: Likewise.
91032 * math/w_fmodl.c: Likewise.
91033 * math/w_hypot.c: Likewise.
91034 * math/w_hypotf.c: Likewise.
91035 * math/w_hypotl.c: Likewise.
91036 * math/w_j0.c: Likewise.
91037 * math/w_j0f.c: Likewise.
91038 * math/w_j0l.c: Likewise.
91039 * math/w_j1.c: Likewise.
91040 * math/w_j1f.c: Likewise.
91041 * math/w_j1l.c: Likewise.
91042 * math/w_jn.c: Likewise.
91043 * math/w_jnf.c: Likewise.
91044 * math/w_jnl.c: Likewise.
91045 * math/w_lgamma.c: Likewise.
91046 * math/w_lgamma_r.c: Likewise.
91047 * math/w_lgammaf.c: Likewise.
91048 * math/w_lgammaf_r.c: Likewise.
91049 * math/w_lgammal.c: Likewise.
91050 * math/w_lgammal_r.c: Likewise.
91051 * math/w_log.c: Likewise.
91052 * math/w_log10.c: Likewise.
91053 * math/w_log10f.c: Likewise.
91054 * math/w_log10l.c: Likewise.
91055 * math/w_log2.c: Likewise.
91056 * math/w_log2f.c: Likewise.
91057 * math/w_log2l.c: Likewise.
91058 * math/w_logf.c: Likewise.
91059 * math/w_logl.c: Likewise.
91060 * math/w_pow.c: Likewise.
91061 * math/w_powf.c: Likewise.
91062 * math/w_powl.c: Likewise.
91063 * math/w_remainder.c: Likewise.
91064 * math/w_remainderf.c: Likewise.
91065 * math/w_remainderl.c: Likewise.
91066 * math/w_scalb.c: Likewise.
91067 * math/w_scalbf.c: Likewise.
91068 * math/w_scalbl.c: Likewise.
91069 * math/w_sinh.c: Likewise.
91070 * math/w_sinhf.c: Likewise.
91071 * math/w_sinhl.c: Likewise.
91072 * math/w_sqrt.c: Likewise.
91073 * math/w_sqrtf.c: Likewise.
91074 * math/w_sqrtl.c: Likewise.
91075 * math/w_tgamma.c: Likewise.
91076 * math/w_tgammaf.c: Likewise.
91077 * math/w_tgammal.c: Likewise.
91078
91079 * po/ja.po: Update from translation team.
91080
91081 2011-09-29 Andreas Jaeger <aj@suse.de>
91082
91083 [BZ #13179]
91084 * sunrpc/netname.c (netname2host): Fix logic.
91085
91086 [BZ #6779]
91087 [BZ #6783]
91088 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91089 correctly.
91090 * math/w_remainder.c (__remainder): Likewise.
91091 * math/w_remainderf.c (__remainderf): Likewise.
91092 * math/libm-test.inc (remainder_test): Add test cases.
91093
91094 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91095
91096 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91097 sdiv_qrnnd.
91098
91099 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91100
91101 * string/test-memcmp.c: Avoid unncessary #defines.
91102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91103
91104 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91105
91106 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91107 Use new sse2 version for core i3 - i7 as it's faster
91108 than sse42 version.
91109 (bit_Prefer_PMINUB_for_stringop): New.
91110 * sysdeps/x86_64/rawmemchr.S: Update.
91111 Replace with faster SSE2 version.
91112 * sysdeps/x86_64/memrchr.S: New file.
91113 * sysdeps/x86_64/memchr.S: Update.
91114 Replace with faster SSE2 version.
91115
91116 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91117
91118 * elf/dl-load.c (lose): Add cast to avoid warning.
91119
91120 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91121
91122 * po/ca.po: Update from translation team.
91123
91124 * inet/getnetgrent_r.c: Hook up nscd.
91125 * nscd/Makefile (routines): Add nscd_netgroup.
91126 (nscd-modules): Add netgroupcache.
91127 (CFLAGS-netgroupcache.c): Define.
91128 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91129 (cache_search): Add const to second parameter.
91130 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91131 INNETGR.
91132 (dbs): Add netgrdb entry.
91133 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91134 (verify_persistent_db): Handle netgrdb.
91135 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91136 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91137 GETFDNETGR.
91138 (netgroup_response_header): Define.
91139 (innetgroup_response_header): Define.
91140 (datahead): Add netgroup_response_header and innetgroup_response_header
91141 elements.
91142 * nscd/nscd.conf: Add entries for netgroup cache.
91143 * nscd/nscd.h (dbtype): Add netgrdb.
91144 (_PATH_NSCD_NETGROUP_DB): Define.
91145 (netgroup_iov_disabled): Declare.
91146 (xmalloc, xcalloc, xrealloc): Move declarations here.
91147 (cache_search): Adjust prototype.
91148 Add netgroup-related prototypes.
91149 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91150 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91151 (__nscd_innetgr): Declare.
91152 * nscd/selinux.c (perms): Use access_vector_t as element type and
91153 add netgroup-related initializers.
91154 * nscd/netgroupcache.c: New file.
91155 * nscd/nscd_netgroup.c: New file.
91156 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91157 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91158 For four parameters use innetgr.
91159 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91160 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91161 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91162 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91163
91164 * nscd/connections.c (register_traced_file): Don't register file
91165 for disabled databases.
91166
91167 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91168
91169 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91170
91171 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91172 from tree and freeing node.
91173
91174 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91175
91176 * nss/nsswitch.c (__nss_database_lookup): Handle
91177 nss_parse_service_list out of memory case.
91178
91179 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91180
91181 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91182 out of memory case.
91183
91184 2011-10-04 Andreas Schwab <schwab@redhat.com>
91185
91186 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91187 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91188 pass it down.
91189 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91190 elf_machine_rela, elf_machine_lazy_rel.
91191 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91192 (ELF_DYNAMIC_DO_REL): Likewise.
91193 (ELF_DYNAMIC_DO_RELA): Likewise.
91194 (ELF_DYNAMIC_RELOCATE): Likewise.
91195 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91196 to ELF_DYNAMIC_DO_REL.
91197 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91198 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91199 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91200 elf_machine_rela.
91201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91202 skip_ifunc, don't call ifunc function if non-zero.
91203 (elf_machine_rela): Likewise.
91204 (elf_machine_lazy_rel): Likewise.
91205 (elf_machine_lazy_rela): Likewise.
91206 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91207 (elf_machine_lazy_rel): Likewise.
91208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91209 Likewise.
91210 (elf_machine_lazy_rel): Likewise.
91211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91212 Likewise.
91213 (elf_machine_lazy_rel): Likewise.
91214 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91215 (elf_machine_lazy_rel): Likewise.
91216 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91217 (elf_machine_lazy_rel): Likewise.
91218 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91219 (elf_machine_lazy_rel): Likewise.
91220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91221 (elf_machine_lazy_rel): Likewise.
91222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91223 (elf_machine_lazy_rel): Likewise.
91224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91225 (elf_machine_lazy_rel): Likewise.
91226
91227 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91228
91229 * nss/nss_files/files-init.c (_nss_files_init): Use static
91230 initialization for all the *_traced_file variables.
91231
91232 2011-09-28 Andreas Schwab <schwab@redhat.com>
91233
91234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91235
91236 2011-09-27 Roland McGrath <roland@hack.frob.com>
91237
91238 [BZ #13226]
91239 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91240
91241 2011-09-27 Andreas Schwab <schwab@redhat.com>
91242
91243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91244 Reread the line before reparsing it.
91245
91246 2011-09-26 Andreas Schwab <schwab@redhat.com>
91247
91248 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91249
91250 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91251 Maxim Kuvyrkov <maxim@codesourcery.com>
91252 Joseph Myers <joseph@codesourcery.com>
91253
91254 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91255 if needed for __stack_chk_guard.
91256
91257 2011-09-19 Roland McGrath <roland@hack.frob.com>
91258
91259 * sysdeps/posix/spawni.c (script_execute): Always define it.
91260 It will be optimized away if unused.
91261 (maybe_script_execute): New function.
91262 (__spawni): Call it.
91263
91264 * Makerules: Don't include tls.make.
91265 (config-tls): Always set to thread.
91266 * tls.make.c: File removed.
91267
91268 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91269
91270 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91271 * config.make.in (CPPFLAGS-config): New substituted variable.
91272
91273 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91274
91275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91276
91277 [BZ #13192]
91278 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91279 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91280
91281 2011-09-15 Roland McGrath <roland@hack.frob.com>
91282
91283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91284 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91286 (CALL_FAIL): Likewise.
91287 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91288 (CALL_FAIL): Macro removed.
91289 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91290
91291 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91292
91293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91294 for __FINITE_MATH_ONLY__ == 1.
91295
91296 2011-09-15 Andreas Schwab <schwab@redhat.com>
91297
91298 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91299 __ieee754_sqrt instead of sqrt.
91300 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91301 __ieee754_sqrtf instead of sqrtf.
91302 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91303 __floorf instead of floorf.
91304 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91305 __floorf, __truncf instead of floorf, truncf.
91306
91307 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91308
91309 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91310
91311 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91312 __extern_always_inline.
91313 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91314 32-bit.
91315
91316 2011-09-14 Andreas Schwab <schwab@redhat.com>
91317
91318 * elf/rtld.c (dl_main): Also relocate in dependency order when
91319 doing symbol dependency testing.
91320
91321 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91322
91323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91324 Always define `refsym'.
91325
91326 2011-09-13 Andreas Schwab <schwab@redhat.com>
91327
91328 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91329 (__FD_ELT): Renamed from __FDELT.
91330 * misc/bits/select2.h (__FD_ELT): Likewise.
91331 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91332 __FD_MASK instead of __FDELT, __FDMASK.
91333 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91334 Likewise.
91335 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91336 Likewise.
91337
91338 * elf/Makefile (gen-ldd): Fix pattern.
91339
91340 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91341 (init_tls): Likewise.
91342
91343 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91344
91345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91346
91347 2011-09-12 Andreas Schwab <schwab@redhat.com>
91348
91349 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91350 `struct cmsghdr *' instead of `void *'.
91351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91352 Likewise.
91353
91354 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91355
91356 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91357 if non-absolute.
91358 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91359 ldd_rewrite_script.
91360
91361 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91362
91363 * configure.in: Remove --with-tls option.
91364 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91365 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91366 out in case it is missing.
91367 * sysdeps/ia64/elf/configure.in: Likewise.
91368 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91369 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91370 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91371 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91372 * sysdeps/sh/elf/configure.in: Likewise.
91373 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91374 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91375 * sysdeps/x86_64/elf/configure.in: Likewise.
91376 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91377 * sysdeps/mach/hurd/tls.h: Likewise.
91378
91379 [BZ #13067]
91380 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91381
91382 [BZ #13090]
91383 * configure.in: Fix use of AC_INIT.
91384
91385 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91386
91387 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91388
91389 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91390 __set_errno.
91391 * malloc/hooks.c: Likewise.
91392
91393 [BZ #11929]
91394 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91395 variables statically.
91396 (narenas): Initialize.
91397 (list_lock): Initialize.
91398 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91399 initializtion of main_arena and list_lock. Small cleanups.
91400 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91401 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91402 Add initializers to main_arena and mp_.
91403 (malloc_state): Remove pagesize member. Change all users to use
91404 GLRO(dl_pagesize).
91405
91406 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91407 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91408 is always initialized.
91409
91410 * malloc/malloc.c: Removed unused configurations and dead code.
91411 * malloc/arena.c: Likewise.
91412 * malloc/hooks.c: Likewise.
91413 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91414
91415 * include/tls.h: Removed. USE___THREAD must always be defined.
91416 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91417 * elf/dl-libc.c: Likewise.
91418 * elf/dl-tsd.c: Likewise.
91419 * include/errno.h: Likewise.
91420 * include/netdb.h: Likewise.
91421 * include/resolv.h: Likewise.
91422 * inet/herrno-loc.c: Likewise.
91423 * inet/herrno.c: Likewise.
91424 * malloc/arena.c: Likewise.
91425 * malloc/hooks.c: Likewise.
91426 * malloc/malloc.c: Likewise.
91427 * resolv/res-state.c: Likewise.
91428 * resolv/res_libc.c: Likewise.
91429 * sysdeps/i386/dl-machine.h: Likewise.
91430 * sysdeps/ia64/dl-machine.h: Likewise.
91431 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91433 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91434 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91435 * sysdeps/sh/dl-machine.h: Likewise.
91436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91438 * sysdeps/unix/i386/sysdep.S: Likewise.
91439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91440 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91445 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91450 * sysdeps/x86_64/dl-machine.h: Likewise.
91451 * tls.make.c: Likewise.
91452
91453 * configure.in: Remove --with-__thread option. Make tests for
91454 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91455 tls_model attribute fail if no support is available. Remove
91456 USE_IN_LIBIO.
91457 * Makeconfig: Adjust for dropped configure option. All features are
91458 now mandatory.
91459 * Makerules: Likewise.
91460 * Versions.def: Likewise.
91461 * argp/argp-fmtstream.c: Likewise.
91462 * argp/argp-fmtstream.h: Likewise.
91463 * argp/argp-help.c: Likewise.
91464 * assert/assert.c: Likewise.
91465 * config.h.in: Likewise.
91466 * config.make.in: Likewise.
91467 * configure: Likewise.
91468 * configure.in: Likewise.
91469 * csu/Versions: Likewise.
91470 * csu/init.c: Likewise.
91471 * elf/tst-audit2.c: Likewise.
91472 * elf/tst-tls10.c: Likewise.
91473 * elf/tst-tls10.h: Likewise.
91474 * elf/tst-tls11.c: Likewise.
91475 * elf/tst-tls12.c: Likewise.
91476 * elf/tst-tls14.c: Likewise.
91477 * elf/tst-tlsmod11.c: Likewise.
91478 * elf/tst-tlsmod12.c: Likewise.
91479 * elf/tst-tlsmod13.c: Likewise.
91480 * elf/tst-tlsmod13a.c: Likewise.
91481 * elf/tst-tlsmod14a.c: Likewise.
91482 * elf/tst-tlsmod15b.c: Likewise.
91483 * elf/tst-tlsmod16a.c: Likewise.
91484 * elf/tst-tlsmod16b.c: Likewise.
91485 * elf/tst-tlsmod7.c: Likewise.
91486 * elf/tst-tlsmod8.c: Likewise.
91487 * elf/tst-tlsmod9.c: Likewise.
91488 * gmon/gmon.c: Likewise.
91489 * grp/fgetgrent_r.c: Likewise.
91490 * grp/putgrent.c: Likewise.
91491 * hurd/fopenport.c: Likewise.
91492 * include/libc-symbols.h: Likewise.
91493 * include/tls.h: Likewise.
91494 * intl/gettextP.h: Likewise.
91495 * intl/loadinfo.h: Likewise.
91496 * locale/global-locale.c: Likewise.
91497 * locale/localeinfo.h: Likewise.
91498 * mach/devstream.c: Likewise.
91499 * malloc/arena.c: Likewise.
91500 * malloc/set-freeres.c: Likewise.
91501 * misc/err.c: Likewise.
91502 * misc/getttyent.c: Likewise.
91503 * misc/mntent_r.c: Likewise.
91504 * posix/getopt.c: Likewise.
91505 * posix/wordexp.c: Likewise.
91506 * pwd/fgetpwent_r.c: Likewise.
91507 * resolv/Versions: Likewise.
91508 * resolv/res_hconf.c: Likewise.
91509 * shadow/fgetspent_r.c: Likewise.
91510 * shadow/putspent.c: Likewise.
91511 * stdio-common/printf_fphex.c: Likewise.
91512 * stdio-common/tmpfile.c: Likewise.
91513 * stdlib/abort.c: Likewise.
91514 * stdlib/fmtmsg.c: Likewise.
91515 * sunrpc/auth_unix.c: Likewise.
91516 * sunrpc/clnt_perr.c: Likewise.
91517 * sunrpc/clnt_tcp.c: Likewise.
91518 * sunrpc/clnt_udp.c: Likewise.
91519 * sunrpc/clnt_unix.c: Likewise.
91520 * sunrpc/openchild.c: Likewise.
91521 * sunrpc/svc_simple.c: Likewise.
91522 * sunrpc/svc_tcp.c: Likewise.
91523 * sunrpc/svc_udp.c: Likewise.
91524 * sunrpc/svc_unix.c: Likewise.
91525 * sunrpc/xdr.c: Likewise.
91526 * sunrpc/xdr_array.c: Likewise.
91527 * sunrpc/xdr_rec.c: Likewise.
91528 * sunrpc/xdr_ref.c: Likewise.
91529 * sunrpc/xdr_stdio.c: Likewise.
91530
91531 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91532
91533 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91534
91535 2011-07-03 Andreas Jaeger <aj@suse.de>
91536
91537 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91538 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91539 regenerate with gen-libm-tests.pl.
91540
91541 2010-05-12 Petr Baudis <pasky@suse.cz>
91542
91543 [BZ #11589]
91544 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91545 around j0() zero points by switching to j1().
91546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91547 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91549 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91550
91551 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91552
91553 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91554 instead of 0.
91555 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91556 instead of 0.
91557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91558 Patch in part by Pavel Roskin <proski@gnu.org>.
91559
91560 [BZ #13138]
91561 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91562 realloc.
91563 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
91564 Free memory block if necessary.
91565
91566 [BZ #12847]
91567 * libio/genops.c (INTDEF): For string streams the _lock pointer can
91568 be NULL. Don't lock in this case.
91569
91570 2011-09-09 Roland McGrath <roland@hack.frob.com>
91571
91572 * elf/elf.h (ELFOSABI_GNU): New macro.
91573 (ELFOSABI_LINUX): Define to that.
91574
91575 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
91576
91577 * string/strncat.c (strncat): Undef the symbol in case it has been
91578 defined in bits/string.h.
91579
91580 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91581
91582 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91583
91584 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91585 link map.
91586
91587 2011-08-17 Andreas Jaeger <aj@suse.de>
91588
91589 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91590
91591 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
91592 Ian Lance Taylor <iant@google.com>
91593
91594 * math/libm-test.inc (lround_test): New testcase.
91595 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91596
91597 2011-09-08 Ulrich Drepper <drepper@gmail.com>
91598
91599 * Makefile: Remove support for automatic cvs check-ins.
91600 * Makerules: Likewise.
91601 * config.make.in: Likewise.
91602 * configure.in: Likewise.
91603 * intl/Makefile: Likewise.
91604 * locale/Makefile: Likewise.
91605 * po/Makefile: Likewise.
91606 * posix/Makefile: Likewise.
91607 * sysdeps/gnu/Makefile: Likewise.
91608 * sysdeps/mach/hurd/Makefile: Likewise.
91609 * sysdeps/sparc/sparc32/Makefile: Likewise.
91610
91611 [BZ #13118]
91612 * posix/Makefile (bug-regex32-ENV): Define.
91613 Patch by John Stanley <jpsinthemix@verizon.net>.
91614
91615 * misc/Makefile (headers): Add bits/select2.h.
91616 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91617 * misc/bits/select2.h: New file.
91618 * include/bits/select2.h: New file.
91619 * debug/Makefile (routines): Add fdelt_chk.
91620 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91621 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91622 FD_ISSET.
91623 * debug/fdelt_chk.c: New file.
91624
91625 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
91626 * wcsmbs/test-wmemcmp.c: Likewise.
91627 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91628 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91629
91630 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91631
91632 * string/Makefile (strop-tests): Add memcmp.
91633 * string/test-wmemcmp.c: New file.
91634 * string/test-memcmp.c: Add wmemcmp support.
91635
91636 2011-09-08 Roland McGrath <roland@hack.frob.com>
91637
91638 [BZ #13153]
91639 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91640 2011-07-19 change.
91641
91642 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91643 garbage value in a __mach_port_mod_refs call in the cases of the
91644 task-self and thread-self ports.
91645
91646 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
91647
91648 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91649
91650 2011-09-08 Andreas Schwab <schwab@redhat.com>
91651
91652 * elf/dl-load.c (lose): Check for non-null L.
91653
91654 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91655
91656 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91657
91658 * elf/dl-libc.c (dlerror_run): Pass back error code from
91659 dl_catch_error.
91660
91661 [BZ #13123]
91662 * elf/dl-load.c (lose): Free l_origin if it is valid.
91663
91664 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91665 names.
91666 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91671 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91672
91673 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91674
91675 * sysdeps/powerpc/fpu/e_hypot.c: New file.
91676 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91678 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91679 * sysdeps/powerpc/fpu/k_cosf.c: New file.
91680 * sysdeps/powerpc/fpu/k_sinf.c: New file.
91681 * sysdeps/powerpc/fpu/s_cosf.c: New file.
91682 * sysdeps/powerpc/fpu/s_sinf.c: New file.
91683 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91684 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91685
91686 2011-08-15 Alan Modra <amodra@gmail.com>
91687
91688 [BZ #13092]
91689 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
91690 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
91691 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
91692 ppc_mcount to static-only-routines.
91693 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
91694 __mcount_internal.
91695 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
91696 __mcount_internal with usual JUMPTARGET. Remove useless nop.
91697
91698 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
91699
91700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
91701 for finite and infinity parameters.
91702
91703 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
91704
91705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91706 and add nop instructions for throughput optimization.
91707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91708
91709 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
91710
91711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91712 aligned copy for power7 with vector-scalar instructions.
91713 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91714
91715 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
91716
91717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91718 AVX check.
91719
91720 2011-09-07 Andreas Schwab <schwab@redhat.com>
91721
91722 [BZ #13144]
91723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91724 last change.
91725
91726 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91727
91728 * sysdeps/unix/sysv/linux/x86_64/init-first.c
91729 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91730 syscall wrapper around clock_gettime in __vdso_clock_gettime.
91731 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91732 clock_gettime.
91733
91734 2011-09-06 Ulrich Drepper <drepper@gmail.com>
91735
91736 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91737 Forgot to demangle the pointer.
91738
91739 * sysdeps/i386/sysdep.h: Define atom_text_section.
91740 * sysdeps/x86_64/sysdep.h: Likewise.
91741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91742 section with atom_text_section.
91743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91745 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91746 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91748
91749 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91751 already be defined. Change to take two parameters and don't assign
91752 result to variable. Adjust all users.
91753 Define INTERNAL_GETTIME if not already defined.
91754 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91755 call.
91756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91757 HAVE_CLOCK_GETTIME_VSYSCALL.
91758 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91759
91760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91761 gettimeofday vsyscall, just use time.
91762
91763 2011-09-06 Andreas Schwab <schwab@redhat.com>
91764
91765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91766 <errno.h>.
91767
91768 2011-09-06 Ulrich Drepper <drepper@gmail.com>
91769
91770 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91771 syscall on x86-64.
91772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91773 syscall.
91774 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91775 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91776 syscall if possible.
91777
91778 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91779
91780 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91781 e_ident. Don't pass to find_mapsXX.
91782 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91783
91784 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91785
91786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91787 strchr-sse2-no-bsf strrchr-sse2-no-bsf
91788 * sysdeps/x86_64/multiarch/strchr.S: Update.
91789 Check bit_slow_BSF bit.
91790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91791 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91792 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91793
91794 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91795
91796 [BZ #13134]
91797 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91798 before glibc 2.15.
91799 (tryshell): Define.
91800 (__spawni): Change last parameter to be flag. Test
91801 SPAWN_XFLAGS_USE_PATH flag to use path or not.
91802 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91803 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91804 * posix/spawni.c: Likewise.
91805 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91806 * posix/spawnp.c: Likewise. Change normal version to use
91807 SPAWN_XFLAGS_USE_PATH.
91808 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91809 SPAWN_XFLAGS_TRY_SHELL.
91810
91811 [BZ #13150]
91812 * posix/glob.h: Remove gcc 1.x support.
91813
91814 [BZ #13068]
91815 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91816
91817 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91818
91819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91820 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91821 strrchr-sse2-bsf
91822 * sysdeps/i386/i686/multiarch/strchr.S: New file.
91823 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91825 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91826 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91828
91829 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91830
91831 * sysdeps/x86_64/wcscmp.S: New file.
91832
91833 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91834 wcscmp-c wcscmp-sse2
91835 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91836 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91837 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91838 * wcsmbs/wcscmp.c: Allow renaming.
91839
91840 2011-09-05 David S. Miller <davem@davemloft.net>
91841
91842 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91843 stack slot, rather than the struct return pointer slot.
91844 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91845 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91848
91849 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91850
91851 * po/ja.po: Update from translation team.
91852
91853 [BZ #13144]
91854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91855 kernel in 64-bit binaries.
91856
91857 2011-09-01 David S. Miller <davem@davemloft.net>
91858
91859 * elf/elf.h (HWCAP_SPARC_*): Move to..
91860 * sysdeps/sparc/sysdep.h: this new file and add new values.
91861 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91862 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91863 _DL_HWCAP_COUNT to 24.
91864 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91865 entries.
91866 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91867 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91868 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91870 instead of magic constants.
91871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91872
91873 2011-08-31 David S. Miller <davem@davemloft.net>
91874
91875 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91877 Reimplement to do errno handling inline.
91878 (SYSCALL_ERROR_HANDLER): New macro.
91879 (__SYSCALL_STRING): Do not do errno handling in asm.
91880 (__CLONE_SYSCALL_STRING): Delete.
91881 (__INTERNAL_SYSCALL_STRING): Delete.
91882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91883 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91884 (PSEUDO): Reimplement to do errno handling inline.
91885 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91886 (SYSCALL_ERROR_HANDLER): New macro.
91887 (__SYSCALL_STRING): Do not do errno handling in asm.
91888 (__CLONE_SYSCALL_STRING): Delete.
91889 (__INTERNAL_SYSCALL_STRING): Delete.
91890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91891 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91892 i386.
91893 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91894 (inline_syscall*): Add 'err' argument.
91895 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91896 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91897 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91898 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91899
91900 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91901 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91902
91903 2011-08-30 Andreas Schwab <schwab@redhat.com>
91904
91905 * elf/rtld.c (dl_main): Relocate objects in dependency order.
91906
91907 2011-08-29 Jiri Olsa <jolsa@redhat.com>
91908
91909 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91910 directive.
91911
91912 2011-08-24 David S. Miller <davem@davemloft.net>
91913
91914 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91915
91916 2011-08-24 Andreas Schwab <schwab@redhat.com>
91917
91918 * elf/Makefile: Add rules to build and run unload8 test.
91919 * elf/unload8.c: New file.
91920 * elf/unload8mod1.c: New file.
91921 * elf/unload8mod1x.c: New file.
91922 * elf/unload8mod2.c: New file.
91923 * elf/unload8mod3.c: New file.
91924
91925 * elf/dl-close.c (_dl_close_worker): Reset private search list if
91926 it wasn't used.
91927
91928 2011-08-23 David S. Miller <davem@davemloft.net>
91929
91930 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91931 subtract stack bias.
91932 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91933 %sp not %fp in calculations.
91934 (_JMPBUF_UNWINDS_ADJ): Likewise.
91935
91936 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91937 (aio_suspend): Call it to force an exception region around the
91938 AIO_MISC_WAIT() invocation.
91939
91940 2011-08-23 Andreas Schwab <schwab@redhat.com>
91941
91942 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91943 backslash.
91944
91945 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
91946
91947 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91948 protection macro.
91949 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91950 and <dl-machine.h>.
91951 (Elf64_FuncDesc): Remove.
91952
91953 2011-08-22 David S. Miller <davem@davemloft.net>
91954
91955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91956 sigaltstack check, add missing cfi directives.
91957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91958 missing cfi directives, and sigaltstack handling.
91959
91960 2011-08-16 Andreas Schwab <schwab@redhat.com>
91961
91962 [BZ #11724]
91963 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91964 object is seen twice.
91965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
91966
91967 * elf/Makefile (distribute): Add tst-initorder2.c.
91968 (tests): Add tst-initorder2.
91969 (modules-names): Add tst-initorder2a tst-initorder2b
91970 tst-initorder2c tst-initorder2d. Add rules to build them.
91971 ($(objpfx)tst-initorder2.out): New rule.
91972 * elf/tst-initorder2.c: New file.
91973 * elf/tst-initorder2.exp: New file.
91974
91975 2011-08-22 Andreas Schwab <schwab@redhat.com>
91976
91977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91978
91979 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91980 dependencies back to end of function.
91981
91982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91983 $(elfobjdir)/ld.so.
91984
91985 2011-08-21 Ulrich Drepper <drepper@gmail.com>
91986
91987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91988 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91990 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91991 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91992 of __vdso_gettimeofday.
91993 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91994 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
91995 attribute_hidden.
91996 (_libc_vdso_platform_setup): Remove initialization of
91997 __vdso_gettimeofday and __vdso_time.
91998
91999 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92000
92001 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92002 and fgetc_unlocked.
92003 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92004 getc_unlocked.
92005
92006 * elf/dl-open.c (add_to_global): Report additions to the global scope
92007 for LD_DEBUG=scopes.
92008 (dl_open_worker): Also print scope of newly loaded dependencies.
92009 (_dl_show_scope): Indicate if there is no scope.
92010
92011 [BZ #13114]
92012 * stdio-common/Makefile (tests): Add bug24.
92013 * stdio-common/bug24.c: New file.
92014
92015 2011-08-19 Andreas Jaeger <aj@suse.de>
92016
92017 [BZ #13114]
92018 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92019 non-existant file when using close-on-exec mode.
92020
92021 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92022
92023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92024 the very first instruction.
92025
92026 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92027 the CFI state in the end.
92028 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92029 inclusion of dl-trampoline.h.
92030 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92031
92032 2011-08-19 Andreas Schwab <schwab@redhat.com>
92033
92034 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92035 expectations for long double.
92036
92037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92038 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92039
92040 2011-08-14 David S. Miller <davem@davemloft.net>
92041
92042 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92043 artificual limit depends upon the system page size.
92044
92045 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92046
92047 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92048 * resolv/Makefile: Define CFLAGS-libresolv.
92049
92050 2011-08-17 Andreas Schwab <schwab@redhat.com>
92051
92052 * nss/makedb.c (compute_tables): Make variables used in nested
92053 function static.
92054
92055 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92056
92057 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92058 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92059 if buffer was too small.
92060
92061 * elf/pldd.c (main): Attach to all threads in the process.
92062 Rewrite /proc handling to use *at functions.
92063
92064 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92065
92066 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92067 specifies first scope to show.
92068 (dl_open_worker): Update callers. Move printing scope of new
92069 object to before the relocation.
92070 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92071 * sysdeps/generic/ldsodefs.h: Update declaration.
92072
92073 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92074 string for the scope number.
92075
92076 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92077
92078 * nscd/servicescache.c (cache_addserv): Make sure written is always
92079 initialized.
92080
92081 2011-08-14 Roland McGrath <roland@hack.frob.com>
92082
92083 * sysdeps/i386/i486/bits/atomic.h
92084 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92085 statement expression, so as to suppress "set but not used" warning.
92086 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92087
92088 * string/strncat.c (STRNCAT): Use prototype definition.
92089
92090 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92091 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92092 -Iprograms here.
92093 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92094 (localedef-modules): Add localedef.
92095 (locale-modules): Add locale.
92096
92097 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92098 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92099 to avoid a warning.
92100
92101 2011-08-14 David S. Miller <davem@davemloft.net>
92102
92103 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92104 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92105
92106 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92107
92108 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92109 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92110 * elf/rtld.c (dl_main): Set l_name of vDSO.
92111 Call _dl_show_scope when DL_DEBUG_SCOPES.
92112 (process_dl_debug): Recognize scopes flag and also set it for all.
92113 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92114 Declare _dl_show_scope.
92115
92116 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92117 (do_dlopen): Pass caller_dlopen to dl_open.
92118 (__libc_dlopen_mode): Initialize caller_dlopen.
92119
92120 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92121 of libc. Make tolower call locale-independent. Optimize a bit by
92122 using isdigit instead of isalnum.
92123 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92124
92125 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92126
92127 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92128 was a dependency or dynamically loaded.
92129
92130 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92131
92132 * intl/l10nflist.c: Allow architecture-specific pop function.
92133 * sysdeps/x86_64/l10nflist.c: New file.
92134
92135 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92136 classification.
92137
92138 2011-08-10 Andreas Schwab <schwab@redhat.com>
92139
92140 * include/dirent.h: Add libc_hidden_proto for scandirat and
92141 scandirat64. Don't declare __scandirat64.
92142 * dirent/scandirat.c: Add libc_hidden_def.
92143 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92144 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92145
92146 2011-08-10 David S. Miller <davem@davemloft.net>
92147
92148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92149 enum.
92150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92153
92154 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92155
92156 * Versions.def [libc]: Add GLIBC_2.15.
92157 * dirent/Makefile (routines): Add scandirat and scandirat64.
92158 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92159 GLIBC_2.15.
92160 * dirent/dirent.h: Declare scandirat and scandirat64.
92161 * dirent/scandirat.c: New file.
92162 * dirent/scandirat64.c: New file.
92163 * sysdeps/wordsize-64/scandirat.c: New file.
92164 * sysdeps/wordsize-64/scandirat64.c: New file.
92165 * dirent/opendir.c: Define opendirat.
92166 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92167 using scandirat.
92168 * dirent/scandir64.c: Adjust for scandir.c change.
92169 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92170 __scandirat64, and __scandir_cancel_handler.
92171 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92172 additional parameter and use openat instead of open (outside of ld.so).
92173 Add new __opendir as wrapper around __opendirat.
92174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92175 here without requiring old scandirat implementation.
92176
92177 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92178
92179 * dirent/scandir.c (cancel_handler): Renamed to
92180 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92181 defined. Adjust users.
92182 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92184
92185 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92186
92187 * string/test-string.h (IMPL): Use __STRING to expand name and then
92188 stringify it.
92189
92190 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92191 of cleanups.
92192
92193 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92194
92195 * string/Makefile: Update.
92196 (strop-tests): Append strncat.
92197 * string/test-wcscmp.c: New file.
92198 New comprehensive test for wcscmp.
92199 * string/test-strcmp.c: Update.
92200 (WIDE): New define.
92201
92202 2011-07-22 Andreas Schwab <schwab@redhat.com>
92203
92204 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92205 line.
92206
92207 2011-07-26 Andreas Schwab <schwab@redhat.com>
92208
92209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92210 encoding to ACE if AI_IDN.
92211
92212 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92213
92214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92215 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92216
92217 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92218
92219 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92220 Fix overflow bug in strncat.
92221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92222
92223 * string/test-strncat.c: Update.
92224 Add new tests for checking overflow bugs.
92225
92226 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92227
92228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92229 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92230 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92231 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92232 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92233 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92234 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92235 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92236 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92237
92238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92239 (USE_AS_STRCAT): Define.
92240 Add strcat and strncat support.
92241 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92242
92243 2011-07-25 Andreas Schwab <schwab@redhat.com>
92244
92245 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92246 __n bigger than INT_MAX+1.
92247 (__strncmp_g): Likewise.
92248
92249 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92250
92251 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92252 * libio/stido.h: Likewise.
92253
92254 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92255 (AF_NFC): Define.
92256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92257 (AF_NFC): Define.
92258
92259 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92262 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92264
92265 [BZ #13021]
92266 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92267 installed.
92268
92269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92270 typo.
92271 (_dl_x86_64_save_sse): Likewise.
92272
92273 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92274
92275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92276 OSXSAVE.
92277 (_dl_x86_64_save_sse): Likewise.
92278
92279 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92280
92281 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92282
92283 2011-07-21 Andreas Schwab <schwab@redhat.com>
92284
92285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92286 change.
92287 (_dl_x86_64_save_sse): Use correct AVX check.
92288
92289 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92290
92291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92292 bug in strncpy/strncat.
92293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92294
92295 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92296
92297 * string/tester.c (test_strcat): Add tests for different alignments
92298 of source and destination.
92299 (test_strncat): Likewise.
92300
92301 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92302
92303 [BZ #12852]
92304 * posix/glob.c (glob): Check passed in values before using them in
92305 expressions to avoid some overflows.
92306 (glob_in_dir): Likewise.
92307
92308 [BZ #13007]
92309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92310 check for AVX enablement so that we don't crash with old kernels and
92311 new hardware.
92312 * elf/tst-audit4.c: Add same checks here.
92313 * elf/tst-audit6.c: Likewise.
92314
92315 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92316
92317 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92318
92319 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92320
92321 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92322
92323 * po/cs.po: Update from translation team.
92324 * po/bg.po: Likewise.
92325
92326 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92327
92328 * misc/sys/cdefs.h: Add support for const attribute.
92329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92330 to gnu_dev_{major,minor,makedev} functions.
92331
92332 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92333
92334 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92335
92336 2011-07-20 Andreas Schwab <schwab@redhat.com>
92337
92338 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92339 strlen results.
92340
92341 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92342
92343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92344 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92345 register in order to avoid conflicts with the soft frame pointer
92346 being held in r11 when necessary.
92347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92348 (INTERNAL_VSYSCALL_NCS): Likewise.
92349
92350 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92351
92352 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92353 * elf/dl-fini.c (_dl_fini): Adjust caller.
92354 * elf/dl-close.c (_dl_close_worker): Likewise.
92355 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92356
92357 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92358
92359 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92360 "aux_cache->nlibs < 0".
92361
92362 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92363 in the reload-count case.
92364
92365 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92366
92367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92368 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92369 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92370 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92371 * sysdeps/x86_64/multiarch/strcat.S: New file.
92372 * sysdeps/x86_64/multiarch/strncat.S: New file.
92373 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92374 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92375 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92376 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92378 (USE_AS_STRCAT): Define.
92379 Add strcat and strncat support.
92380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92383 * string/strncat.c: Update.
92384 (USE_AS_STRNCAT): Define.
92385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92386 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92387 and i7.
92388 * sysdeps/x86_64/multiarch/init-arch.h
92389 (bit_Prefer_PMINUB_for_stringop): New.
92390 (index_Prefer_PMINUB_for_stringop): Likewise.
92391 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92392 bit_Prefer_PMINUB_for_stringop.
92393
92394 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92395
92396 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92397 buffer64.
92398 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92399 of casting of buffer.
92400 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92401 buffer32 and buffer64.
92402 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92403 writes instead of casting of buffer.
92404 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92405 buffer32.
92406 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92407 casting of buffer.
92408
92409 2011-07-19 Andreas Schwab <schwab@redhat.com>
92410
92411 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92412
92413 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92414
92415 * nscd/nscd.c (termination_handler): Don't do anything for a database
92416 if it has not yet been initialized.
92417
92418 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92419
92420 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92421
92422 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92423
92424 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92425
92426 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92427
92428 * po/nl.po: Update from translation team.
92429 * po/sv.po: Likewise.
92430
92431 2011-07-16 Roland McGrath <roland@hack.frob.com>
92432
92433 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92434 now disallowed by GCC.
92435
92436 * configure.in (use-default-link): Default to yes if a test -shared
92437 link meets our qualifications.
92438 * configure: Regenerated.
92439
92440 * config.make.in (output-format): New variable.
92441 * configure.in: Check for ld --print-output-format support.
92442 * configure: Regenerated.
92443 * Makerules ($(common-objpfx)format.lds)
92444 [$(output-format) != unknown]: Just use $(output-format),
92445 instead of the linker-script munging.
92446
92447 2011-07-14 Roland McGrath <roland@hack.frob.com>
92448
92449 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92450 of $(common-objpfx)shlib.lds.
92451 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92452
92453 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92454 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92455
92456 * configure.in (-z relro check): Adjust test code to add a large
92457 writable data section after it.
92458 * configure: Regenerated.
92459
92460 2011-07-11 Roland McGrath <roland@hack.frob.com>
92461
92462 * configure.in (-z relro check): Fix test code to make the variable
92463 truly const.
92464 * configure: Regenerated.
92465
92466 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92467
92468 * nscd/nscd.h (struct traced_file): Define.
92469 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92470 elements. Add traced_files.
92471 (inotify_fd): Declare.
92472 (register_traced_file): Declare.
92473 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92474 (inotify_fd): Export.
92475 (resolv_conf_descr): Remove.
92476 (nscd_init): Move inotify descriptor creation to main.
92477 Don't register files for notification here.
92478 (register_traced_file): New function.
92479 (invalidate_cache): Don't use reset_res to determine whether to call
92480 res_init, go through the list of registered files.
92481 (main_loop_poll): The inotify descriptors are now stored in the
92482 structures for the traced files.
92483 (main_loop_epoll): Likewise.
92484 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92485 to __nss_disable_nscd.
92486 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92487 for a database anymore. Check the records for all the registered
92488 files instead.
92489 * nss/Makefile (libnss_files-routines): Add files-init.
92490 (libnss_db-routines): Add db-init.
92491 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92492 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92493 * nss/nss_db/db-init.c: New file.
92494 * nss/nss_files/files-init.c: New file.
92495 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92496 __nss_lookup_function.
92497 (__nss_lookup_function): Call nss_load_library.
92498 (nss_load_all_libraries): New function.
92499 (__nss_disable_nscd): Take parameter with callback function for files
92500 to register. Set is_nscd. Load all the DSOs for the NSS modules
92501 used for the cached services.
92502 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92503 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92504 options for features to all the files in nscd.
92505
92506 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92507
92508 2011-07-10 Roland McGrath <roland@hack.frob.com>
92509
92510 * csu/elf-init.c (__libc_csu_init): Comment typo.
92511
92512 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92513
92514 * po/pl.po: Update from translation team.
92515 * po/ja.po: Likewise.
92516 * po/ru.po: Likewise.
92517 * po/ko.po: Likewise.
92518 * po/fr.po: Likewise.
92519
92520 2011-07-09 Roland McGrath <roland@hack.frob.com>
92521
92522 * configure.in (.ctors/.dtors header and trailer check):
92523 Use an empirical test on a built program.
92524 * configure: Regenerated.
92525
92526 * configure.in (-z relro check): Use an empirical test on a built DSO.
92527 Detect, but do not require, on ia64.
92528 * configure: Regenerated.
92529
92530 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92531 Update tests that use readelf to use $READELF instead.
92532 * configure: Regenerated.
92533
92534 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92535
92536 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92537 if the result is not used.
92538
92539 2011-07-05 Andreas Jaeger <aj@suse.de>
92540
92541 [BZ #9696]
92542 * stdlib/tst-strtod.c: Add testcase.
92543
92544 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92545
92546 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92547 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92548 The latter has a higher limit. Take additional parameter to pass to
92549 the new function.
92550 (__pathconf): Pass file to __statfs_link_max.
92551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92552 __statfs_link_max.
92553 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92554 __statfs_link_max.
92555
92556 [BZ #12868]
92557 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92559 Handle Lustre.
92560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92561 (__statfs_filesize_max): Likewise.
92562 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92563
92564 2011-07-05 Andreas Jaeger <aj@suse.de>
92565
92566 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92567
92568 2011-07-06 Marek Polacek <mpolacek@redhat.com>
92569
92570 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92571 `status' variable.
92572 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92573 Likewise.
92574
92575 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92576
92577 * Makefile (strop-tests): Add strncat.
92578 * string/test-strncat.c: New file.
92579
92580 2011-06-30 Marek Polacek <mpolacek@redhat.com>
92581
92582 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92583
92584 2011-06-21 Andreas Jaeger <aj@suse.de>
92585
92586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92587 Copy rule from iconvdata/Makefile.
92588
92589 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92590
92591 [BZ #12922]
92592 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92593 but no long options are defined, just return 'W'.
92594
92595 2011-06-22 Marek Polacek <mpolacek@redhat.com>
92596
92597 [BZ #9696]
92598 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92599
92600 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92601
92602 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92603 netgroups to read.
92604 (innetgr): Likewise.
92605
92606 2011-07-05 Roland McGrath <roland@hack.frob.com>
92607
92608 * config.make.in (install_root): Default to $(DESTDIR).
92609
92610 2011-07-05 Ulrich Drepper <drepper@gmail.com>
92611
92612 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92613
92614 2011-07-02 Roland McGrath <roland@hack.frob.com>
92615
92616 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92617
92618 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92619 containing directory rather than embedding absolute directory names.
92620
92621 * scripts/check-local-headers.sh: Rewritten using awk.
92622 Match by word, not by line. Print error messages for matches.
92623 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92624
92625 * Makerules [shlib-lds-flags empty]:
92626 ($(common-objpfx)libc_pic.opts): New target.
92627 ($(common-objpfx)libc_pic.os.clean): New target.
92628 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92629
92630 * config.make.in (OBJCOPY): New variable.
92631 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92632 * configure: Regenerated.
92633
92634 * config.make.in (use-default-link): New variable.
92635 * configure.in (use_default_link): Grok --with-default-link to set it.
92636 * configure: Regenerated.
92637 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92638 (shlib-lds, shlib-lds-flags): Define to empty.
92639
92640 * Makerules (shlib-lds): New variable.
92641 (shlib-lds-flags): New variable.
92642 (build-shlib, build-moduile, build-module-asneeded): Use it.
92643 ($(common-objpfx)libc.so): Use $(shlib-lds).
92644 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92645 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92646
92647 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92648 DT_FLAGS/DT_FLAGS_1 with zero flags.
92649
92650 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92651 linker script munging.
92652
92653 2011-07-02 Ulrich Drepper <drepper@gmail.com>
92654
92655 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92656 as 128-bit value.
92657 * crypt/sha512.c (sha512_process_block): Perform total addition using
92658 128-bit if possible.
92659 (__sha512_finish_ctx): Likewise.
92660 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92661 as 64-bit value.
92662 * crypt/sha256.c (SWAP64): Define.
92663 (sha256_process_block): Perform total addition using 64-bit if
92664 possible.
92665 (__sha256_finish_ctx): Likewise.
92666
92667 2011-07-01 Ulrich Drepper <drepper@gmail.com>
92668
92669 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
92670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92671 * nscd/hstcache.c (cache_addhst): Likewise.
92672 * nscd/grpcache.c (cache_addgr): Likewise.
92673 * nscd/aicache.c (addhstaiX): Likewise.
92674 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92675
92676 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
92677
92678 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92680 * nscd/hstcache.c (cache_addhst): Likewise.
92681 * nscd/grpcache.c (cache_addgr): Likewise.
92682 * nscd/aicache.c (addhstaiX): Likewise.
92683
92684 2011-07-01 Andreas Schwab <schwab@redhat.com>
92685
92686 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92687 domain only when needed.
92688
92689 2011-06-30 Andreas Schwab <schwab@redhat.com>
92690
92691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
92692 is always restored.
92693
92694 2011-06-29 Ulrich Drepper <drepper@gmail.com>
92695
92696 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
92697 are re-adding the entry.
92698 * nscd/servicescache.c (cache_addserv): Likewise.
92699
92700 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
92701
92702 * sysdeps/generic/dl-irel.h: fix protection against multiple
92703 inclusions.
92704 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92705
92706 2011-06-28 Ulrich Drepper <drepper@gmail.com>
92707
92708 [BZ #12935]
92709 * malloc/memusage.sh: Fix quoting in message.
92710 * debug/xtrace.sh: Likewise.
92711
92712 * configure.in: Remove support for --experimental-malloc option, make
92713 it the default.
92714 * config.make.in: Likewise.
92715 * malloc/Makefile: Likewise.
92716
92717 2011-06-27 Andreas Schwab <schwab@redhat.com>
92718
92719 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92720 two-byte characters.
92721
92722 2011-06-27 Roland McGrath <roland@hack.frob.com>
92723
92724 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92725 AC_CACHE_CHECK invocation.
92726 * configure: Regenerated.
92727
92728 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92729
92730 2011-06-27 Ulrich Drepper <drepper@gmail.com>
92731
92732 [BZ #12350]
92733 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
92734 bit from old_res_options.
92735
92736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92737
92738 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92739 value type for setfct.
92740
92741 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
92742
92743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92744 __gettimeofday instead of gettimeofday.
92745
92746 2011-06-26 Ulrich Drepper <drepper@gmail.com>
92747
92748 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92749
92750 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
92751
92752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92753
92754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92755 info.
92756
92757 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92758
92759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92760 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92761 strcpy-sse2-unaligned strncpy-sse2-unaligned
92762 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92763 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92764 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92765 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92766 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92769 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92770 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92771 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92772 (STRCPY): Support SSE2 and SSSE3 versions.
92773
92774 2011-06-24 Ulrich Drepper <drepper@gmail.com>
92775
92776 [BZ #12874]
92777 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92778 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92779 kernels which artificially limit size of requests.
92780
92781 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92782
92783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92784 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92785 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92786 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92787 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92788 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92789 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92790 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92793 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92794 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92795 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92796 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92797 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92799 Enable unaligned load optimization for Intel Core i3, i5 and i7
92800 processors.
92801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92802 Define.
92803 (index_Fast_Unaligned_Load): Define.
92804 (HAS_FAST_UNALIGNED_LOAD): Define.
92805
92806 2011-06-23 Marek Polacek <mpolacek@redhat.com>
92807
92808 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92809
92810 2011-06-22 Ulrich Drepper <drepper@gmail.com>
92811
92812 [BZ #12907]
92813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92814 until it is clear that the information is realy needed.
92815 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92816
92817 2011-06-22 Andreas Schwab <schwab@redhat.com>
92818
92819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92820
92821 2011-06-22 Ulrich Drepper <drepper@gmail.com>
92822
92823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92824 /sys/devices/system/cpu/online if it is usable.
92825
92826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92827 reading the information from the /proc filesystem to once a second.
92828
92829 2011-06-21 Andreas Jaeger <aj@suse.de>
92830
92831 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92832 NULL after inclusion of kernel headers.
92833
92834 2011-06-21 Ulrich Drepper <drepper@gmail.com>
92835
92836 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92837 calls to internal_setent.
92838
92839 [BZ #12885]
92840 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92841 addresses using gethostbyname4_r ignore IPv4 addresses.
92842
92843 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92844 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
92845
92846 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92847
92848 2011-06-20 David S. Miller <davem@davemloft.net>
92849
92850 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92851 inclusions.
92852 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92853
92854 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92855 (elf_irel): Use it.
92856 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92857 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92858 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92859 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92860 * sysdeps/x86_64/dl-irel.h: Likewise.
92861
92862 * elf/dl-runtime.c: Use elf_ifunc_invoke.
92863 * elf/dl-sym.c: Likewise.
92864
92865 2011-06-15 Ulrich Drepper <drepper@gmail.com>
92866
92867 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
92868 need to dereference resplen2.
92869
92870 2011-06-14 Andreas Schwab <schwab@redhat.com>
92871
92872 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92873
92874 2011-06-15 Ulrich Drepper <drepper@gmail.com>
92875
92876 * Makeconfig: Define vardbdir and inst_vardbdir.
92877 * nss/Makefile: Add rules to install db-Makefile.
92878
92879 * nss/nss_db/db-XXX.c: Cleanup.
92880
92881 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92882 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92883 GLIBC_PRIVATE.
92884 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92885 * nss/makedb.c: Implement -g option to specify that value strings
92886 are generated and should not be added to table iterated over for
92887 get*ent calls.
92888 * nss/nss_db/db-initgroups.c: New file.
92889
92890 * nss/getent.c: Add support for initgroups lookups through getgrouplist
92891 interface.
92892
92893 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92894 (internal_getgrouplist): Adjust to name change.
92895 Update use_initgroups_entry if this is not the first call.
92896 * nss/databases.def: Add initgroups entry.
92897
92898 * nss/makedb.c (compute_tables): Check result of multiple hash table
92899 sizes to minimize maximum chain length.
92900
92901 2011-06-14 Ulrich Drepper <drepper@gmail.com>
92902
92903 * Versions.def: Add entry for libnss_db.
92904 * shlib-versions: Likewise.
92905 * nss/Makefile: Add rules to build libnss_db.
92906 * nss/Versions: Add libnss_db information. Organize libnss_files
92907 entries better.
92908 * nss/db-Makefile: Add gshadow support. Change rules for the new
92909 makedb progra. Some minor improvements to generate smaller files.
92910 * nss/nss_db/nss_db.h: Move NSS database header data structures to
92911 here from...
92912 * nss/makedb.c: ...here.
92913 Improve database format to be smaller and require less memory at
92914 runtime.
92915 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
92916 db anymore.
92917 * nss/nss_db/db-netgrp.c: Likewise.
92918 * nss/nss_db/db-open.c: Likewise.
92919 * nss/nss_files/flies-XXX.x: Adjust comments.
92920 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92921 * nss/nss_files/files-grp.c: Likewise.
92922 * nss/nss_files/files-hosts.c: Likewise.
92923 * nss/nss_files/files-network.c: Likewise.
92924 * nss/nss_files/files-proto.c: Likewise.
92925 * nss/nss_files/files-pwd.c: Likewise.
92926 * nss/nss_files/files-rpc.c: Likewise.
92927 * nss/nss_files/files-service.c: Likewise.
92928 * nss/nss_files/files-sgrp.c: Likewise.
92929 * nss/nss_files/files-spwd.c: Likewise.
92930 * nss/nss_db/db-alias.c: Removed.
92931 * nss/nss_db/dummy-db.h: Removed.
92932
92933 2011-06-02 Ulrich Drepper <drepper@gmail.com>
92934
92935 * nss/makedb.c: Rewritten to not use database library.
92936 * nss/Makefile: Update to build new makedb program.
92937
92938 2011-06-14 Andreas Jaeger <aj@suse.de>
92939
92940 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92941 memset declaration.
92942
92943 2011-06-10 Andreas Schwab <schwab@redhat.com>
92944
92945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92946 tmpbuf.
92947
92948 2011-06-10 Roland McGrath <roland@hack.frob.com>
92949
92950 * Makerules (shlib.lds): Fail if the linker script comes out empty.
92951 * elf/Makefile ($(objpfx)ld.so): Likewise.
92952
92953 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92954 Don't list ld.so twice in dependencies.
92955
92956 * posix/bug-regex31.c: Include <stdlib.h>.
92957
92958 * nscd/hstcache.c (cache_addhst): Remove unused variable.
92959
92960 * nis/nss_compat/compat-spwd.c
92961 (getspent_next_nss_netgr): Remove unused variable.
92962 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92963
92964 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92965 nonmembers" output to use the right array.
92966
92967 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92968
92969 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92970
92971 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92972 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92973 * catgets/gencat.c (read_input_file): Likewise.
92974 * locale/programs/locarchive.c (enlarge_archive): Likewise.
92975
92976 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92977 variable definition inside #if's controlling its use.
92978
92979 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92980
92981 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92982
92983 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92984
92985 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92986 unreachable code.
92987
92988 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92989
92990 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92991 * configure: Regenerated.
92992
92993 * Makerules: Revert last change.
92994 * elf/Makefile: Likewise.
92995
92996 2011-06-09 Roland McGrath <roland@hack.frob.com>
92997
92998 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92999 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93000 (reloc-link): Likewise.
93001
93002 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93003
93004 * elf/Makefile: Add rules to build pldd.
93005 * elf/pldd.c: New file.
93006 * elf/pldd-xx.c: New file.
93007
93008 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93009
93010 * version.h: Update for 2.15 development version.
93011
93012 2011-06-07 David S. Miller <davem@davemloft.net>
93013
93014 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93015 ifuncs.
93016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93017 elf_machine_lazy_rel): Likewise.
93018 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93020 elf_machine_lazy_rel): Likewise.
93021 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93022 dl_hwcap via passed in argument.
93023 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93024 Likewise.
93025
93026 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93027
93028 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93029
93030 2011-06-06 Roland McGrath <roland@hack.frob.com>
93031
93032 [BZ #12849]
93033 * manual/fdl-1.1.texi: New file, verbatim from:
93034 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93035 * manual/lgpl-2.1.texi: New file, verbatim from:
93036 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93037 * manual/Makefile (licenses): New variable, list those new file names.
93038 (texis): Use it.
93039 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93040
93041 * manual/fdl.texi: File removed.
93042 * manual/lesser.texi: File removed.
93043 * manual/libc.texinfo (Copying, Documentation License):
93044 Use new @include file names, put @appendix directive before @include.
93045
93046 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93047
93048 [BZ #12841]
93049 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93050 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93051 (mq_open): Add __NTH.
93052
93053 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93054
93055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93056 Assume Intel Core i3/i5/i7 processor if AVX is available.
93057
93058 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93059
93060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93061 typo.
93062
93063 2011-05-31 Andreas Schwab <schwab@redhat.com>
93064
93065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93066 memory. Use alloca_account. Fix memory leak when retrying.
93067
93068 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93069
93070 * version.h (RELEASE): Bump for 2.14 release.
93071 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93072
93073 * config.make.in (RANLIB): Remove entry.
93074
93075 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93076
93077 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93078 (libc.pot): Work around missing support for .ksh extension in xgettext.
93079
93080 [BZ #12684]
93081 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93082 if both request failed.
93083 (send_dg): In case of server errors clear resplen or *resplen2.
93084
93085 [BZ #12454]
93086 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93087 when there are multiple maps.
93088 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93089 (_dl_fini): Remove test here.
93090
93091 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93092
93093 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93094
93095 [BZ #12350]
93096 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93097 bit from old_res_options.
93098 (gaih_inet): Likewise.
93099
93100 [BZ #11099]
93101 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93102 as signed.
93103
93104 * resolv/res_init.c (res_setoptions): Make the code more compact.
93105
93106 [BZ #11558]
93107 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93108 set RES_USEVC.
93109
93110 [BZ #11634]
93111 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93112
93113 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93114
93115 [BZ #11781]
93116 * malloc/malloc.h: Declare malloc hook variables as volatile.
93117
93118 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93119 in last patch.
93120
93121 [BZ #11799]
93122 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93123 raise in the comment.
93124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93127
93128 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93129
93130 [BZ #12811]
93131 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93132 grow the buffers more if it already has to be sufficient.
93133 (build_wcs_upper_buffer): Likewise.
93134 * posix/regexec.c (check_matching): Likewise.
93135 (clean_state_log_if_needed): Likewise.
93136 (extend_buffers): Don't enlarge buffers beyond size of the input
93137 buffer.
93138 Patches mostly by Emil Wojak <emil@wojak.eu>.
93139 * posix/bug-regex32.c: New file.
93140 * posix/Makefile (tests): Add bug-regex32.
93141
93142 * locale/findlocale.c (_nl_find_locale): Return right away if
93143 _nl_explode_name failed.
93144 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93145
93146 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93147
93148 * debug/xtrace.sh: Unify messages.
93149 * malloc/memusage.sh: Likewise.
93150
93151 [BZ #12813]
93152 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93153 time symbol from vDSO. Substitute with vsyscall if not available.
93154 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93155 __vdso_time.
93156
93157 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93158 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93159 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93160 Add sendmmsg and internal_sendmmsg.
93161 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93162 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93163 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93164
93165 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93166 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93168
93169 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93170
93171 [BZ #12813]
93172 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93173 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93174 available.
93175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93176 __vdso_getcpu.
93177
93178 [BZ #12814]
93179 * iconvdata/Makefile (tests): Add bug-iconv9.
93180 * iconvdata/bug-iconv9.c: New file.
93181
93182 2011-05-27 Andreas Schwab <schwab@redhat.com>
93183
93184 [BZ #12814]
93185 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93186
93187 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93188
93189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93190 (struct user_regs_struct): Change intcs field back to cs.
93191
93192 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93193
93194 * po/ja.po: Update from translation team.
93195
93196 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93197
93198 [BZ #12795]
93199 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93200 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93201
93202 2011-05-20 Andreas Schwab <schwab@redhat.com>
93203
93204 * stdlib/longlong.h: Update from GCC.
93205
93206 2011-05-23 Andreas Schwab <schwab@redhat.com>
93207
93208 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93209 parameter name.
93210 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93211 Add parameter name.
93212 (__sysconf): Pass it down.
93213
93214 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93215
93216 [BZ #12671]
93217 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93218 some situations.
93219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93220 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93221 add in in __libc_use_alloca calls. Adjust callers.
93222 (glob): Use malloc in some situations.
93223
93224 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93225 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93226 pltexit.
93227
93228 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93229
93230 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93231 and CLOCK_BOOTTIME_ALARM.
93232
93233 [BZ #12782]
93234 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93235 is returned.
93236
93237 * string/_strerror.c (__strerror_r): Print negative errors as signed
93238 numbers.
93239
93240 [BZ #12777]
93241 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93242 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93243 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93244
93245 * configure.in: Fix typo in redirection and correct removal of test
93246 files in two cases.
93247
93248 [BZ #12788]
93249 * locale/setlocale.c (new_composite_name): Fix test to check for
93250 identical name of all categories.
93251
93252 [BZ #12792]
93253 * libio/filedoalloc.c (local_isatty): New function.
93254 (_IO_file_doallocate): Use local_isatty.
93255 * stdio-common/perror.c (perror): In case a new stream is used
93256 forward the stream error.
93257 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93258 error flag.
93259
93260 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93261
93262 [BZ #11884]
93263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93264 alloca.
93265 * include/alloca.h (extend_alloca_account): Define.
93266
93267 [BZ #11857]
93268 * posix/regex.h: Fix comments with documentation of user-accessible
93269 fields after compilation and describe correct free'ing of pattern
93270 after re_compile_pattern.
93271 Patch by Reuben Thomas <rrt@sc3d.org>.
93272
93273 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93274
93275 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93276 and -mno-altivec to prevent the compiler from using Altivec and/or
93277 VSX instructions when the corresponding registers are not available.
93278
93279 2011-05-19 Andreas Schwab <schwab@redhat.com>
93280
93281 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93282
93283 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93284
93285 * libio/freopen.c (freopen): Use __dup2, not dup2.
93286 * libio/freopen64.c (freopen64): Likewise.
93287
93288 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93289
93290 [BZ #12775]
93291 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93292 * math/Makefile (tests): Add test-powl.
93293 (CFLAGS-test-powl.c): Define.
93294 * math/test-powl.c: New file.
93295
93296 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93297
93298 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93299
93300 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93301
93302 [BZ #11837]
93303 * iconvdata/gb18030.c: Update to GB18020-2005.
93304
93305 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93306
93307 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93308 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93309 Patch by Aharon Robbins <arnold@skeeve.com>.
93310
93311 [BZ #11892]
93312 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93313 on the stack.
93314
93315 [BZ #11895]
93316 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93317 through underflows.
93318
93319 [BZ #12766]
93320 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93321 point to strings before performing equality test for error_one_per_line
93322 mode.
93323
93324 [BZ #11697]
93325 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93326
93327 [BZ #11820]
93328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93329 (struct user_fpregs_struct): Avoid __uint*_t types.
93330
93331 [BZ #6420]
93332 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93333 symbol info. Use it instead of calling _dl_addr locally.
93334 (lock_and_info): New function.
93335 (tr_freehook): Call lock_and_info and pass symbol info as additional
93336 parameter to tr_where.
93337 (tr_mallochook): Likewise.
93338 (tr_reallochook): Likewise.
93339 (tr_memalignhook): Likewise.
93340
93341 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93342 used and couldn't be at all thread-safe.
93343
93344 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93345
93346 * libio/freopen.c (freopen): Don't close old file descriptor
93347 before the new one is opened. Instead dup the new file descriptor
93348 to the old one after the new stream is created.
93349 * libio/freopen64.c (freopen64): Likewise.
93350 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93351 * libio/fileops.c (_IO_new_file_close_it): Handle new
93352 _IO_FLAGS2_NOCLOSE flag.
93353 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93354 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93355 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93356 _IO_FLAGS2_NOCLOSE flag.
93357 * include/unistd.h: Add hidden_proto for dup3.
93358 Define __have_dup3.
93359 * io/dup3.c: Define hidden symbol.
93360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93361
93362 [BZ #7101]
93363 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93364 when an incomplete long option is used.
93365 * posix/tst-getopt_long1.c: New file.
93366 * posix/Makefile (tests): Add tst-getopt_long1.
93367
93368 [BZ #10138]
93369 * scripts/config.guess: Update from autoconf-2.68.
93370 * scripts/config.sub: Likewise.
93371
93372 [BZ #10157]
93373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93374 tests into ...
93375 (has_cpuclock): ...this. New function.
93376 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93377 macro here based on has_cpuclock code.
93378
93379 [BZ #10149]
93380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93381 First byte (not low byte) is now always NUL.
93382 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93383
93384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93385 Use non-cancelable interfaces.
93386
93387 [BZ #9809]
93388 * locale/iso-639.def: Add entry for Sorani.
93389
93390 [BZ #11901]
93391 * include/stdlib.h: Move include protection to the right place.
93392 Define abort_msg_s. Declare __abort_msg with it.
93393 * stdlib/abort.c (__abort_msg): Adjust type.
93394 * assert/assert.c (__assert_fail_base): New function. Majority
93395 of code from __assert_fail. Allocate memory for __abort_msg with
93396 mmap.
93397 (__assert_fail): Now call __assert_fail_base.
93398 * assert/assert-perr.c: Remove bulk of implementation. Use
93399 __assert_fail_base.
93400 * include/assert.hL Declare __assert_fail_base.
93401 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93402 mmap.
93403 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93404
93405 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93406
93407 [BZ #11952]
93408 [BZ #12453]
93409 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93410 until all modules are registered in the DTV.
93411 * elf/Makefile: Add rules to build and run tst-tls19.
93412 * elf/tst-tls19.c: New file.
93413 * elf/tst-tls19mod1.c: New file.
93414 * elf/tst-tls19mod2.c: New file.
93415 * elf/tst-tls19mod3.c: New file.
93416 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93417
93418 [BZ #12083]
93419 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93420 correctly.
93421
93422 [BZ #12601]
93423 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93424 two-byte sequence errors.
93425 * iconvdata/Makefile (tests): Add bug-iconv8.
93426 * iconvdata/bug-iconv8.c: New file.
93427
93428 [BZ #12626]
93429 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93430 buf2 definition.
93431
93432 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93433
93434 [BZ #12432]
93435 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93436 (dummy_getcfa): New function.
93437 (init): Get _Unwind_GetCFA address, use dummy if not found.
93438 (backtrace_helper): In recursion check, also check whether CFA changes.
93439 (__backtrace): Completely initialize arg.
93440
93441 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93442 storing incomplete byte sequence in state object. Avoid testing for
93443 guaranteed too small input if we know there is enough data available.
93444
93445 2011-05-11 Andreas Schwab <schwab@redhat.com>
93446
93447 * Makeconfig (+link-pie): Indent.
93448 * Rules (binaries-pie): Define if $(have-fpie) and
93449 $(build-shared).
93450 (binaries-shared): Also filter out $(binaries-pie).
93451 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93452 * nscd/Makefile (others-pie): Add nscd.
93453 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93454 ($(objpfx)nscd): Remove command override.
93455 * login/Makefile (others-pie): Add pt_chown.
93456 ($(objpfx)pt_chown): Remove command override.
93457 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93458 remove command overrides.
93459
93460 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93461
93462 * libio/tst_putwc.c: Fix error messages.
93463
93464 [BZ #12724]
93465 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93466 currently writing and seek to current position when not.
93467 * libio/Makefile (tests): Add bug-fclose1.
93468 * libio/bug-fclose1.c: New file.
93469
93470 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93471
93472 [BZ #12511]
93473 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93474 don't set DF_1_NODELETE here.
93475 (do_lookup_x): When entering new entry test for copy relocation
93476 and if necessary set DF_1_NODELETE flag.
93477 * elf/tst-unique4.cc: New file.
93478 * elf/tst-unique4.h: New file.
93479 * elf/tst-unique4lib.cc: New file.
93480 * elf/Makefile: Add rules to build and run tst-unique4.
93481 Patch by Piotr Bury <pbury@goahead.com>.
93482
93483 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93484
93485 [BZ #12052]
93486 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93487
93488 [BZ #12625]
93489 * misc/mntent_r.c (addmntent): Flush the stream after the output
93490
93491 [BZ #12393]
93492 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93493 (is_trusted_path_normalize): Skip initial colon. Append slash
93494 to empty buffer. Duplicate is_trusted_path code but allow
93495 constructed patch to be prefix.
93496 (is_dst): Allow $ORIGIN followed by /.
93497 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93498 Correct testing of result of is_trusted_path_normalize
93499 (decompose_rpath): Fix warning.
93500
93501 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93502
93503 [BZ #11257]
93504 * grp/initgroups.c (internal_getgrouplist): When we found the service
93505 list through the initgroups entry in nsswitch.conf do not always
93506 continue on a successful lookup. Don't always use the
93507 __nss_group_database value if it is set.
93508 * nss/nsswitch.conf (initgroups): Change action for successful db
93509 lookup to continue for compatibility.
93510
93511 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93512
93513 [BZ #11532]
93514 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93515 and CP774 modules.
93516 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93517 and CP774 modules.
93518 * iconvdata/tst-tables.sh: Likewise.
93519 * iconvdata/cp770.c: New file.
93520 * iconvdata/cp771.c: New file.
93521 * iconvdata/cp772.c: New file.
93522 * iconvdata/cp773.c: New file.
93523 * iconvdata/cp774.c: New file.
93524 * iconvdata/testdata/CP770: New file.
93525 * iconvdata/testdata/CP770..UTF8: New file.
93526 * iconvdata/testdata/CP771: New file.
93527 * iconvdata/testdata/CP771..UTF8: New file.
93528 * iconvdata/testdata/CP772: New file.
93529 * iconvdata/testdata/CP772..UTF8: New file.
93530 * iconvdata/testdata/CP773: New file.
93531 * iconvdata/testdata/CP773..UTF8: New file.
93532 * iconvdata/testdata/CP774: New file.
93533 * iconvdata/testdata/CP774..UTF8: New file.
93534
93535 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93536 END CHARMAP line.
93537 * iconvdata/gen-8bit-gap.sh: Likewise.
93538 * iconvdata/gen-8bit.sh: Likewise.
93539
93540 * locale/iso-639.def: Add ary entry.
93541
93542 [BZ #11258]
93543 * locale/C-translit.h.in: Add U20A1 transliteration.
93544
93545 [BZ #12178]
93546 * locale/iso-639.def: Add wae entry.
93547 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93548
93549 [BZ #12545]
93550 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93551 for n.
93552
93553 [BZ #12711]
93554 * locale/C-translit.h.in: Add entry for U20B9.
93555 Patch by pravin.d.s@gmail.com.
93556
93557 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93558
93559 [BZ #12713]
93560 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93561 ENAMETOOLONG use generic getcwd.
93562 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
93563 in rtld. Use *stat64.
93564 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93565 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93566 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93567 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93568 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93569 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93570 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93571 __fstatat64 macros.
93572 * include/dirent.h: Add libc_hidden_proto for rewinddir.
93573 * dirent/rewinddir.c: Add libc_hidden_def.
93574 * sysdeps/mach/hurd/rewinddir.c: Likewise.
93575 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
93576
93577 * include/dirent.h (__alloc_dir): Add flags parameter.
93578 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93579 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93580 __alloc_dir.
93581 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
93582 from fdopendir if O_CLOEXEC is already set.
93583
93584 2011-03-15 Alan Modra <amodra@gmail.com>
93585
93586 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93587 l_tls_firstbyte_offset non-zero. Save padding offset in
93588 l_tls_firstbyte_offset for later use.
93589 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93590 freeing static tls block.
93591
93592 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
93593
93594 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93595 where #ifdef was intended. The intent is to prevent ARG_MAX from
93596 being defined by the kernel headers.
93597
93598 2011-05-07 Ulrich Drepper <drepper@gmail.com>
93599
93600 [BZ #12734]
93601 * resolv/resolv.h: Define RES_NOTLDQUERY.
93602 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93603 no-tld-query and set RES_NOTLDQUERY.
93604 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93605 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93606 modern BIND to search name as TLD unless forbidden.
93607
93608 2011-05-07 Petr Baudis <pasky@suse.cz>
93609 Ulrich Drepper <drepper@gmail.com>
93610
93611 [BZ #12393]
93612 * elf/dl-load.c (fillin_rpath): Move trusted path check...
93613 (is_trusted_path): ...to here.
93614 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93615 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93616 using is_trusted_path_normalize() in setuid scripts.
93617
93618 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
93619
93620 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93621 __BEGIN/__END_DECLS.
93622
93623 2011-05-06 Ulrich Drepper <drepper@gmail.com>
93624
93625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93626 NSS_STATUS_NOTFOUND if no record was found.
93627
93628 2011-05-05 Andreas Schwab <schwab@redhat.com>
93629
93630 * sunrpc/Makefile (headers): Add rpc/netdb.h.
93631 (headers-not-in-tirpc): Remove rpc/netdb.h
93632 * resolv/netdb.h: Revert last change.
93633
93634 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
93635
93636 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93637 circular dependency between libgcc.a and libc.a.
93638
93639 2011-05-05 Andreas Schwab <schwab@redhat.com>
93640
93641 * resolv/netdb.h: Don't include <rpc/netdb.h>.
93642 * nis/Makefile: Don't install rpcsvc/*.
93643 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93644 instead of <rpc/types.h>.
93645 (MAXHOSTNAMELEN): Define.
93646
93647 2011-05-03 Andreas Schwab <schwab@redhat.com>
93648
93649 * elf/ldconfig.c (add_dir): Don't crash on empty path.
93650
93651 2011-04-28 Maciej Babinski <mbabinski@google.com>
93652
93653 [BZ #12714]
93654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93655 gethostbyname4_r when IPv6 results are possible.
93656
93657 2011-05-02 Ulrich Drepper <drepper@gmail.com>
93658
93659 [BZ #12723]
93660 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93661 _PC_PIPE_BUF handling.
93662
93663 2011-04-30 Bruno Haible <bruno@clisp.org>
93664
93665 [BZ #12717]
93666 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93667 * resolv/netdb.h (getnameinfo): Change type of flags parameter
93668 to 'int'.
93669 * inet/getnameinfo.c (getnameinfo): Likewise.
93670
93671 2011-04-29 Ulrich Drepper <drepper@gmail.com>
93672
93673 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93674 to groups setting in database lookup.
93675 * nss/nsswitch.conf: Add initgroups entry.
93676
93677 2011-04-22 Ulrich Drepper <drepper@gmail.com>
93678
93679 [BZ #12685]
93680 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93681 mode string.
93682 Patch by Eric Blake <eblake@redhat.com>.
93683
93684 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
93685
93686 * sunrpc/Makefile (need-export-routines): Add svc_run.
93687 (routines): Remove svc_run.
93688 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93689 * sunrpc/clnt_perr.c (clnt_perrno): Export.
93690 * sunrpc/svc_run.c (svc_run): Likewise.
93691 * sunrpc/svc_udp.c (svcudp_create): Likewise.
93692
93693 2011-04-21 Ulrich Drepper <drepper@gmail.com>
93694
93695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
93696 problem in reallocation in last patch.
93697
93698 2011-04-20 Ulrich Drepper <drepper@gmail.com>
93699
93700 * sunrpc/Makefile: Move inclusion of Rules.
93701
93702 2011-04-19 Ulrich Drepper <drepper@gmail.com>
93703
93704 * nss/nss_files/files-initgroups.c: New file.
93705 * nss/Makefile (libnss_files-routines): Add files-initgroups.
93706 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93707 _nss_files_initgroups_dyn.
93708
93709 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
93710
93711 * elf/elf.h (R_ARM_IRELATIVE): Define.
93712
93713 2011-04-19 Ulrich Drepper <drepper@gmail.com>
93714
93715 * po/ru.po: Update from translation team.
93716
93717 2011-04-17 Ulrich Drepper <drepper@gmail.com>
93718
93719 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93720 dependencies.
93721
93722 2011-02-06 Mike Frysinger <vapier@gentoo.org>
93723
93724 [BZ #12653]
93725 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93726 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93730
93731 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
93732
93733 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93734 differing bytes.
93735 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93738
93739 2011-04-17 Ulrich Drepper <drepper@gmail.com>
93740
93741 [BZ #12420]
93742 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93743 storing it.
93744 * stdlib/bug-getcontext.c: New file.
93745 * stdlib/Makefile: Add rules to build and run bug-getcontext.
93746
93747 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93748
93749 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93750 instructions into .machine "z9-109".
93751 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93752 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93753
93754 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93755
93756 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93757 between environment variables and auxiliary vector.
93758
93759 2011-04-16 Ulrich Drepper <drepper@gmail.com>
93760
93761 * Makefile: Add rules to build linkobj/libc.so.
93762 * include/libc-symbols.h: Define libc_hidden_nolink.
93763 * include/rpc/auth.h: Mark functions which are to be hidden.
93764 * include/rpc/auth_des.h: Likewise.
93765 * include/rpc/auth_unix.h: Likewise.
93766 * include/rpc/clnt.h: Likewise.
93767 * include/rpc/des_crypt.h: Likewise.
93768 * include/rpc/key_prot.h: Likewise.
93769 * include/rpc/pmap_clnt.h: Likewise.
93770 * include/rpc/pmap_prot.h: Likewise.
93771 * include/rpc/pmap_rmt.h: Likewise.
93772 * include/rpc/rpc_msg.h: Likewise.
93773 * include/rpc/svc.h: Likewise.
93774 * include/rpc/svc_auth.h: Likewise.
93775 * include/rpc/xdr.h: Likewise.
93776 * nis/Makefile: Link all DSOs against linkobj/libc.so.
93777 * nss/Makefile: Likewise.
93778 * sunrpc/Makefile: Don't install headers. Build library with normal
93779 entry points. Don't build rpcinfo. Link RPC tests appropriately.
93780 * sunrpc/auth_des.c: Hide exported symbols by default, export some
93781 for the compat linking library. Remove use of INTDEF/INTUSE.
93782 * sunrpc/auth_none.c: Likewise.
93783 * sunrpc/auth_unix.c: Likewise.
93784 * sunrpc/authdes_prot.c: Likewise.
93785 * sunrpc/authuxprot.c: Likewise.
93786 * sunrpc/clnt_gen.c: Likewise.
93787 * sunrpc/clnt_perr.c: Likewise.
93788 * sunrpc/clnt_raw.c: Likewise.
93789 * sunrpc/clnt_simp.c: Likewise.
93790 * sunrpc/clnt_tcp.c: Likewise.
93791 * sunrpc/clnt_udp.c: Likewise.
93792 * sunrpc/clnt_unix.c: Likewise.
93793 * sunrpc/des_crypt.c: Likewise.
93794 * sunrpc/des_soft.c: Likewise.
93795 * sunrpc/get_myaddr.c: Likewise.
93796 * sunrpc/key_call.c: Likewise.
93797 * sunrpc/key_prot.c: Likewise.
93798 * sunrpc/netname.c: Likewise.
93799 * sunrpc/pm_getmaps.c: Likewise.
93800 * sunrpc/pm_getport.c: Likewise.
93801 * sunrpc/pmap_clnt.c: Likewise.
93802 * sunrpc/pmap_prot.c: Likewise.
93803 * sunrpc/pmap_prot2.c: Likewise.
93804 * sunrpc/pmap_rmt.c: Likewise.
93805 * sunrpc/publickey.c: Likewise.
93806 * sunrpc/rpc_cmsg.c: Likewise.
93807 * sunrpc/rpc_common.c: Likewise.
93808 * sunrpc/rpc_dtable.c: Likewise.
93809 * sunrpc/rpc_prot.c: Likewise.
93810 * sunrpc/rpc_thread.c: Likewise.
93811 * sunrpc/rtime.c: Likewise.
93812 * sunrpc/svc.c: Likewise.
93813 * sunrpc/svc_auth.c: Likewise.
93814 * sunrpc/svc_authux.c: Likewise.
93815 * sunrpc/svc_raw.c: Likewise.
93816 * sunrpc/svc_run.c: Likewise.
93817 * sunrpc/svc_simple.c: Likewise.
93818 * sunrpc/svc_tcp.c: Likewise.
93819 * sunrpc/svc_udp.c: Likewise.
93820 * sunrpc/svc_unix.c: Likewise.
93821 * sunrpc/svcauth_des.c: Likewise.
93822 * sunrpc/xcrypt.c: Likewise.
93823 * sunrpc/xdr.c: Likewise.
93824 * sunrpc/xdr_array.c: Likewise.
93825 * sunrpc/xdr_float.c: Likewise.
93826 * sunrpc/xdr_intXX_t.c: Likewise.
93827 * sunrpc/xdr_mem.c: Likewise.
93828 * sunrpc/xdr_rec.c: Likewise.
93829 * sunrpc/xdr_ref.c: Likewise.
93830 * sunrpc/xdr_sizeof.c: Likewise.
93831 * sunrpc/xdr_stdio.c: Likewise.
93832
93833 2011-04-10 Ulrich Drepper <drepper@gmail.com>
93834
93835 [BZ #12650]
93836 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93837 * sysdeps/ia64/dl-tls.h: Likewise.
93838 * sysdeps/powerpc/dl-tls.h: Likewise.
93839 * sysdeps/s390/dl-tls.h: Likewise.
93840 * sysdeps/sh/dl-tls.h: Likewise.
93841 * sysdeps/sparc/dl-tls.h: Likewise.
93842 * sysdeps/x86_64/dl-tls.h: Likewise.
93843 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93844
93845 2011-03-14 Andreas Schwab <schwab@redhat.com>
93846
93847 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93848 rpath element also skip the following colon.
93849 (expand_dynamic_string_token): Add is_path parameter and pass
93850 down to DL_DST_REQUIRED and _dl_dst_substitute.
93851 (decompose_rpath): Call expand_dynamic_string_token with
93852 non-zero is_path. Ignore empty rpaths.
93853 (_dl_map_object_from_fd): Call expand_dynamic_string_token
93854 with zero is_path.
93855
93856 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
93857
93858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93859 Make cancelable.
93860
93861 2011-04-09 Ulrich Drepper <drepper@gmail.com>
93862
93863 [BZ #12655]
93864 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93865 Patch by Filipe David Manana <fdmanana@apache.org>.
93866
93867 2011-04-07 Andreas Schwab <schwab@redhat.com>
93868
93869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93870 Maintain aligned stack.
93871 (CHECK_RSP): Remove unused macro.
93872
93873 2011-04-03 Ulrich Drepper <drepper@gmail.com>
93874
93875 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93876 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93877
93878 2011-04-02 Ulrich Drepper <drepper@gmail.com>
93879
93880 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93881
93882 * include/features.h: Mention __USE_XOPEN2K8 in comment.
93883
93884 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
93885
93886 [BZ #12518]
93887 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93888 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93889 * sysdeps/x86_64/memmove.c: New file.
93890 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93891 (memcpy): Renamed to ...
93892 (__new_memcpy): This.
93893 (memcpy): Provide GLIBC_2_14 memcpy.
93894 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93895 (memcpy): Provide GLIBC_2_2_5 memcpy.
93896
93897 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93898
93899 [BZ #12631]
93900 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93901
93902 2011-03-30 Andreas Schwab <schwab@redhat.com>
93903
93904 * misc/syncfs.c: New file.
93905 * misc/Makefile (routines): Add syncfs.
93906 * posix/unistd.h: Declare syncfs.
93907 * sysdeps/unix/syscalls.list: Add syncfs.
93908
93909 2011-04-01 Andreas Schwab <schwab@redhat.com>
93910
93911 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93912 open_by_handle_at.
93913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93914 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93918 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93920
93921 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93922
93923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93930
93931 * io/Makefile: Compile fallocate.c, fallocate64.c, and
93932 sync_file_range.c with -fexceptions.
93933 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93934 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93935 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93936 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93937 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93938 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93940 sync_file_range as cancellation point
93941 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
93942 now a wrapper around __call_sync_file_range with cancellation handling.
93943 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93944 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
93945 function name to __call_sync_file_range.
93946 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93947 Add call_sync_file_range.
93948
93949 2011-04-01 Andreas Schwab <schwab@redhat.com>
93950
93951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93952 bits/timex.h.
93953
93954 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93955
93956 * iconv/iconv.h: Fix typo in comment.
93957 * io/fcntl.h: Likewise.
93958 * libio/stdio.h: Likewise.
93959 * posix/spawn.h: Likewise.
93960 * posix/unistd.h: Likewise.
93961 * stdlib/stdlib.h: Likewise.
93962 * time/time.h: Likewise.
93963 * wcsmbs/wchar.h: Likewise.
93964
93965 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93966 open_by_handle): Add.
93967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93968 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
93969 Augment a few comments.
93970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93975 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93976 open_by_handle.
93977
93978 * io/fcntl.h (AT_EMPTY_PATH): Define.
93979
93980 2011-03-30 Ulrich Drepper <drepper@gmail.com>
93981
93982 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93983 * sysdeps/unix/sysv/linux/bits/time.h: New file.
93984 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93985 to...
93986 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
93987 * Versions.def: Add GLIBC_2.14.
93988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93989 Export.
93990
93991 2011-03-22 Ulrich Drepper <drepper@gmail.com>
93992
93993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93994 round counter.
93995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93996
93997 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
93998
93999 [BZ #12597]
94000 * string/test-strncmp.c (do_page_test): New function.
94001 (check2): Likewise.
94002 (test_main): Call check2.
94003 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94004
94005 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94006
94007 [BZ #12587]
94008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94009 Handle cache information in CPU leaf 4.
94010 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94011
94012 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94013
94014 [BZ #12583]
94015 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94016 character representation.
94017 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94018
94019 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94020
94021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94022 END(__isnan) to END(__isnanf) to match function entry point/label
94023 EALIGN(__isnanf,...).
94024
94025 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94026
94027 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94028
94029 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94030
94031 [BZ #12510]
94032 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94033 copy from the symbol referenced in the relocation to initialize the
94034 used variable.
94035 Patch by Piotr Bury <pbury@goahead.com>.
94036 * elf/Makefile: Add rules to build and tst-unique3.
94037 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94038 * elf/tst-unique3.cc: New file.
94039 * elf/tst-unique3.h: New file.
94040 * elf/tst-unique3lib.cc: New file.
94041 * elf/tst-unique3lib2.cc: New file.
94042
94043 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94044
94045 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94046
94047 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94048 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94049 to _start.
94050
94051 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94052
94053 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94054 to-be-loaded object along a path to loader is ld.so.
94055
94056 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94057 Ulrich Drepper <drepper@gmail.com>
94058
94059 * sysdeps/x86_64/memset.S: After aligning destination, code
94060 branches to different locations depending on the value of
94061 misalignment, when multiarch is enabled. Fix this.
94062
94063 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94064
94065 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94066 Set _x86_64_preferred_memory_instruction for AMD processsors.
94067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94068 Set bit_Prefer_SSE_for_memop for AMD processors.
94069
94070 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94071
94072 * libio/fmemopen.c (fmemopen): Optimize a bit.
94073
94074 2011-03-03 Andreas Schwab <schwab@redhat.com>
94075
94076 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94077
94078 2011-03-03 Roland McGrath <roland@redhat.com>
94079
94080 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94081
94082 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94083
94084 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94085 __bzero_ultra1 instead of __memset_ultra1.
94086
94087 2011-02-23 Andreas Schwab <schwab@redhat.com>
94088 Ulrich Drepper <drepper@gmail.com>
94089
94090 [BZ #12509]
94091 * include/link.h (struct link_map): Add l_orig_initfini.
94092 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94093 returning unsuccessfully.
94094 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94095 close of a file loaded at startup, restore the original l_initfini
94096 list.
94097 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94098 list, store the pointer.
94099 * elf/Makefile ($(objpfx)noload-mem): New rule.
94100 (noload-ENV): Define.
94101 (tests): Add $(objpfx)noload-mem.
94102 * elf/noload.c: Include <memcheck.h>.
94103 (main): Call mtrace. Close all opened handles.
94104
94105 2011-02-17 Andreas Schwab <schwab@redhat.com>
94106
94107 [BZ #12454]
94108 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94109 dependencies are missing.
94110
94111 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94112
94113 Fix __if_freereq crash: Unlike the generic version which uses free,
94114 Hurd needs munmap.
94115 * sysdeps/mach/hurd/ifreq.h: New file.
94116
94117 2011-01-27 Petr Baudis <pasky@suse.cz>
94118 Ulrich Drepper <drepper@gmail.com>
94119
94120 [BZ 12445]#
94121 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94122 to extend_alloca().
94123 * stdio-common/bug23.c: New file.
94124 * stdio-common/Makefile (tests): Add bug23.
94125
94126 2010-09-28 Andreas Schwab <schwab@redhat.com>
94127 Ulrich Drepper <drepper@gmail.com>
94128
94129 [BZ #12489]
94130 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94131 before performing relro protection. At old place add assertion
94132 to make sure nothing changed.
94133
94134 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94135 Glauber de Oliveira Costa <glommer@gmail.com>
94136
94137 * elf/elf.h: Add new ARM TLS relocs.
94138
94139 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94140
94141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94142 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94143 cast from r3.
94144 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94145 'tests' variable.
94146 * sysdeps/wordsize-64/tst-writev.c: New file.
94147
94148 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94149
94150 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94151 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94152 insns in _dl_start to prevent a TOC reference before relocs are
94153 resolved.
94154
94155 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94156
94157 [BZ #12469]
94158 * Makeconfig: Remove RANLIB definition.
94159 * Makerules: Don't use RANLIB.
94160 * aclocal.m4: Remove ranlib test.
94161 * configure.in: No need to check for ranlib.
94162 * elf/rtld-Rules: Don't use RANLIB.
94163
94164 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94165
94166 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94167 protection macro.
94168 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94169 inclusion protection macro.
94170
94171 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94172 SIGRTMIN and SIGRTMAX and print information in that case only when
94173 SIGRTMIN is defined.
94174
94175 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94176
94177 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94178 arginfo fn returning -1.
94179
94180 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94181 and thousands string is zero terminated.
94182
94183 2011-02-03 Andreas Schwab <schwab@redhat.com>
94184
94185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94186 sysdeps/unix/sysv/linux/bits/socket.h.
94187
94188 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94189
94190 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94191 (__CPU_COUNT): Remove old macros.
94192 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94193 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94194 (__CPU_ALLOC, __CPU_FREE): Add macros.
94195 (__sched_cpualloc, __sched_cpufree): Add declarations.
94196
94197 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94198
94199 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94200 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94201 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94202 (readdhstai): Return value of addhstaiX call.
94203 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94204 (addgrbyX): Return value returned by cache_addgr.
94205 (readdgrbyname): Return value returned by addgrbyX.
94206 (readdgrbygid): Likewise.
94207 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94208 (addpwbyX): Return value returned by cache_addpw.
94209 (readdpwbyname): Return value returned by addhstbyX.
94210 (readdpwbyuid): Likewise.
94211 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94212 (addservbyX): Return value returned by cache_addserv.
94213 (readdservbyname): Return value returned by addservbyX:
94214 (readdservbyport): Likewise.
94215 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94216 (addhstbyX): Return value returned by cache_addhst.
94217 (readdhstbyname): Return value returned by addhstbyX.
94218 (readdhstbyaddr): Likewise.
94219 (readdhstbynamev6): Likewise.
94220 (readdhstbyaddrv6): Likewise.
94221 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94222 (readdinitgroups): Return value returned by addinitgroupsX.
94223 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94224 (prune_cache): Keep track of timeout value of re-added entries.
94225 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94226 * nscd/nscd.h: Adjust prototypes of readd* functions.
94227
94228 2011-02-04 Roland McGrath <roland@redhat.com>
94229
94230 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94231 (nis_stats): Likewise.
94232 * nis/nis_modify.c (nis_modify): Likewise.
94233 * nis/nis_remove.c (nis_remove): Likewise.
94234 * nis/nis_add.c (nis_add): Likewise.
94235
94236 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94237
94238 * posix/fnmatch_loop.c: Add some consts.
94239
94240 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94241
94242 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94243
94244 [BZ #12460]
94245 * config.make.in (config-cflags-novzeroupper): Define.
94246 * configure.in: Substitute libc_cv_cc_novzeroupper.
94247 * elf/Makefile (AVX-CFLAGS): Define.
94248 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94249 (CFLAGS-tst-auditmod4a.c): Likewise.
94250 (CFLAGS-tst-auditmod4b.c): Likewise.
94251 (CFLAGS-tst-auditmod6b.c): Likewise.
94252 (CFLAGS-tst-auditmod6c.c): Likewise.
94253 (CFLAGS-tst-auditmod7b.c): Likewise.
94254 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94255
94256 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94257
94258 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94259 function to the callback.
94260 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94261
94262 2011-02-02 Andreas Schwab <schwab@redhat.com>
94263
94264 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94265 of errno.
94266
94267 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94268
94269 [BZ #11724]
94270 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94271 of constructors.
94272 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94273 of destructors.
94274 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94275
94276 [BZ #11724]
94277 * elf/Makefile: Add rules to build and run new test.
94278 * elf/tst-initorder.c: New file.
94279 * elf/tst-initorder.exp: New file.
94280 * elf/tst-initordera1.c: New file.
94281 * elf/tst-initordera2.c: New file.
94282 * elf/tst-initordera3.c: New file.
94283 * elf/tst-initordera4.c: New file.
94284 * elf/tst-initorderb1.c: New file.
94285 * elf/tst-initorderb2.c: New file.
94286 * elf/tst-order-a1.c: New file.
94287 * elf/tst-order-a2.c: New file.
94288 * elf/tst-order-a3.c: New file.
94289 * elf/tst-order-a4.c: New file.
94290 * elf/tst-order-b1.c: New file.
94291 * elf/tst-order-b2.c: New file.
94292 * elf/tst-order-main.c: New file.
94293 New test case by George Gensure <werkt0@gmail.com>.
94294
94295 2010-10-01 Andreas Schwab <schwab@redhat.com>
94296
94297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94298 decoding ACE if AI_CANONIDN.
94299
94300 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94301
94302 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94303
94304 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94305
94306 * version.h (RELEASE): Bump for 2.13 release.
94307 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94308
94309 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94310
94311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94312 MADV_NOHUGEPAGE.
94313 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94318 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94319
94320 * posix/getconf.c: Update copyright year.
94321 * catgets/gencat.c: Likewise.
94322 * csu/version.c: Likewise.
94323 * debug/catchsegv.sh: Likewise.
94324 * debug/xtrace.sh: Likewise.
94325 * elf/ldconfig.c: Likewise.
94326 * elf/ldd.bash.in: Likewise.
94327 * elf/sprof.c (print_version): Likewise.
94328 * iconv/iconv_prog.c: Likewise.
94329 * iconv/iconvconfig.c: Likewise.
94330 * locale/programs/locale.c: Likewise.
94331 * locale/programs/localedef.c: Likewise.
94332 * malloc/memusage.sh: Likewise.
94333 * malloc/mtrace.pl: Likewise.
94334 * nscd/nscd.c (print_version): Likewise.
94335 * nss/getent.c: Likewise.
94336
94337 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94338 PF_CAIF, and PF_ALG.
94339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94340
94341 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94342
94343 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94344 (modules-names): Use them.
94345 (ifunc-test-modules, ifunc-pie-tests): Define.
94346 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94347 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94348 (test-extras): Likewise.
94349 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94350 $(compile-command.c).
94351 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94352 (all-built-dso): Define.
94353 (check-textrel.out, check-execstack.out): Depend on it.
94354
94355 * configure.in: Don't override --enable-multi-arch.
94356
94357 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94358
94359 [BZ #6812]
94360 * nscd/hstcache.c (tryagain): Define.
94361 (cache_addhst): Return tryagain not notfound for temporary errors.
94362 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94363 failed.
94364
94365 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94366
94367 [BZ #10563]
94368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94369 to make the syscall.
94370 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94371
94372 [BZ #12378]
94373 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94374 and fall back to matching as normal character if the string ends before
94375 the matching ']' is found. This is what POSIX requires.
94376 * posix/testfnm.c: Adjust test result.
94377 * posix/globtest.sh: Adjust test result. Add new test.
94378 * posix/tst-fnmatch.input: Likewise.
94379 * posix/tst-fnmatch2.c: Add new test.
94380
94381 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94382
94383 * elf/Makefile (check-execstack): Revert last change. Depend on
94384 check-execstack.h.
94385 (check-execstack.h): New target.
94386 (generated): Add check-execstack.h.
94387 * elf/check-execstack.c: Include "check-execstack.h".
94388 (main): Revert last change.
94389 (handle_file): Return zero if GNU_STACK is absent and
94390 DEFAULT_STACK_PERMS doesn't include PF_X.
94391
94392 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94393
94394 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94395 in child fails because the descriptor is already closed.
94396 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94397 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94398 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94399
94400 [BZ #12397]
94401 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94402 syscall.
94403
94404 [BZ #10484]
94405 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94406 temporary buffer used to handle multi lookups locally.
94407 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94408
94409 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94410
94411 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94412 loader is ld.so.
94413
94414 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94415
94416 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94417 alignment for SSE2.
94418
94419 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94420
94421 [BZ #12394]
94422 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94423 characters. When rounding increased number of integer digits recompute
94424 number of groups.
94425 * stdio-common/tst-grouping.c: New file.
94426 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94427
94428 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94429
94430 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94431 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94432
94433 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94434 void.
94435 * bits/select.h: Likewise.
94436
94437 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94438
94439 * po/ja.po: Update from translation team.
94440
94441 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94442
94443 [BZ #11155]
94444 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94445 implementation just like for lxstat, fxstatat, et al.
94446
94447 2010-12-27 Jim Meyering <meyering@redhat.com>
94448
94449 [BZ #12348]
94450 * posix/regexec.c (build_trtable): Return failure indication upon
94451 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94452
94453 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94454
94455 [BZ #12201]
94456 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94457 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94458 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94459 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94460
94461 [BZ #12207]
94462 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94463
94464 [BZ #12204]
94465 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94466 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94467
94468 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94469
94470 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94471 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94472 script has SORT_BY_INIT_PRIORITY.
94473 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94474 NO_CTORS_DTORS_SECTIONS is defined.
94475 * elf/soinit.c: Likewise.
94476 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94477 NO_CTORS_DTORS_SECTIONS is defined.
94478 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94479 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94480 * sysdeps/sh/init-first.c: Likewise.
94481 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94482
94483 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94484
94485 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94486 always use the slow path.
94487
94488 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94489
94490 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94491 similar rule which adds the sysdep directories to the header search in
94492 order to pick up the correct platform stackinfo.h.
94493 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94494 perform test if it is, otherwise return successfully without testing.
94495 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94496 DEFAULT_STACK_PERMS define in stackinfo.h.
94497 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94498 defined in stackinfo.h.
94499 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94500 DEFAULT_STACK_PERMS defined in stackinfo.h.
94501 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94502 * sysdeps/ia64/stackinfo.h: Likewise.
94503 * sysdeps/s390/stackinfo.h: Likewise.
94504 * sysdeps/sh/stackinfo.h: Likewise.
94505 * sysdeps/sparc/stackinfo.h: Likewise.
94506 * sysdeps/x86_64/stackinfo.h: Likewise.
94507 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94508 PF_X for powerpc64. Retain PF_X for powerpc32.
94509
94510 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94511
94512 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94513 accurately.
94514 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94515 GETDENTS_64BIT_ALIGNED.
94516
94517 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94518
94519 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94520
94521 2010-12-10 Andreas Schwab <schwab@redhat.com>
94522
94523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94524 _GNU_SOURCE.
94525
94526 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94527 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94528 Remove __restrict.
94529 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94530 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94531
94532 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94533
94534 [BZ #11655]
94535 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94536 are initialized.
94537
94538 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94539
94540 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94541
94542 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94543
94544 * po/it.po: Update from translation team.
94545
94546 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94547
94548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94549 unused codes.
94550
94551 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94552
94553 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94554
94555 2010-11-24 Andreas Schwab <schwab@redhat.com>
94556
94557 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94558 specially.
94559 (gaih_getanswer_slice): Likewise.
94560
94561 2010-10-20 Jakub Jelinek <jakub@redhat.com>
94562
94563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94564
94565 2010-05-31 Petr Baudis <pasky@suse.cz>
94566
94567 [BZ #11149]
94568 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94569 silently even in the chroot mode.
94570
94571 2010-11-22 Ulrich Drepper <drepper@gmail.com>
94572
94573 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94574 last patch a bit. Pretty printing
94575
94576 2010-05-31 Petr Baudis <pasky@suse.cz>
94577
94578 [BZ #10085]
94579 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94580 initialization of skip_initgroups_dyn.
94581
94582 2010-11-19 Ulrich Drepper <drepper@gmail.com>
94583
94584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94586
94587 2010-11-16 Ulrich Drepper <drepper@gmail.com>
94588
94589 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94590
94591 2010-11-11 Andreas Schwab <schwab@redhat.com>
94592
94593 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94594 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94595 (tst-fnmatch-ENV): Set MALLOC_TRACE.
94596 ($(objpfx)tst-fnmatch-mem): New rule.
94597 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94598 * posix/tst-fnmatch.c (main): Call mtrace.
94599
94600 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
94601
94602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94603 Support Intel processor model 6 and model 0x2c.
94604
94605 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
94606
94607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94608 signed comparison.
94609
94610 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
94611
94612 [BZ #12205]
94613 * string/test-strncasecmp.c (check_result): New function.
94614 (do_one_test): Use it.
94615 (check1): New function.
94616 (test_main): Use it.
94617 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94618 Support strcasecmp and strncasecmp.
94619
94620 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94621
94622 [BZ #12194]
94623 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
94625
94626 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
94627
94628 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94629 IFUNC support.
94630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94631 memset-x86-64.
94632 * sysdeps/x86_64/multiarch/bzero.S: New file.
94633 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94634 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94635 * sysdeps/x86_64/multiarch/memset.S: New file.
94636 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94638 Set bit_Prefer_SSE_for_memop for Intel processors.
94639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94640 Define.
94641 (index_Prefer_SSE_for_memop): Define.
94642 (HAS_PREFER_SSE_FOR_MEMOP): Define.
94643
94644 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
94645
94646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94648
94649 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
94650
94651 [BZ #12191]
94652 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94653 (__x86_64_raw_data_cache_size_half): Likewise.
94654 (__x86_64_raw_shared_cache_size): Likewise.
94655 (__x86_64_raw_shared_cache_size_half): Likewise.
94656
94657 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94658 (__x86_64_raw_data_cache_size_half): Likewise.
94659 (__x86_64_raw_shared_cache_size): Likewise.
94660 (__x86_64_raw_shared_cache_size_half): Likewise.
94661 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94662 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94663 and __x86_64_raw_shared_cache_size_half. Round
94664 __x86_64_data_cache_size_half, __x86_64_data_cache_size
94665 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94666 to multiple of 256 bytes.
94667
94668 2010-11-03 Ulrich Drepper <drepper@gmail.com>
94669
94670 [BZ #12167]
94671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94672 of inacessible symlinks. Verify result of symlink before returning it.
94673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94674 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94675
94676 2010-10-28 Erich Ritz <erichritz@gmail.com>
94677
94678 * math/math.h (isinf): Fix typo in comment.
94679
94680 2010-11-01 Ulrich Drepper <drepper@gmail.com>
94681
94682 * po/da.po: Update from translation team.
94683
94684 2010-10-26 Ulrich Drepper <drepper@gmail.com>
94685
94686 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94687 is added to the list.
94688
94689 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94690 Ulrich Drepper <drepper@gmail.com>
94691
94692 * elf/dl-object.c (_dl_new_object): Don't append the new object to
94693 the global list here. Move code to...
94694 (_dl_add_to_namespace_list): ...here. New function.
94695 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
94696 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
94697 * elf/dl-load.c (lose): Don't remove the element from the list.
94698 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
94699 (_dl_map_object): Likewise.
94700
94701 2010-10-25 Ulrich Drepper <drepper@gmail.com>
94702
94703 [BZ #12159]
94704 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94705 into all bytes of SSE register.
94706 Patch by Richard Li <richardpku@gmail.com>.
94707
94708 2010-10-24 Ulrich Drepper <drepper@gmail.com>
94709
94710 [BZ #12140]
94711 * malloc/malloc.c (_int_free): Fill correct number of bytes when
94712 perturbing.
94713
94714 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
94715
94716 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94717 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94718 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94719 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94721 submachine.
94722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94723
94724 2010-10-22 Andreas Schwab <schwab@redhat.com>
94725
94726 * include/dlfcn.h (__RTLD_SECURE): Define.
94727 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
94728 mode & __RTLD_SECURE instead.
94729 (open_path): Rename preloaded parameter to secure.
94730 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94731 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94732 * elf/dl-deps.c (openaux): Likewise.
94733 * elf/rtld.c (struct map_args): Remove is_preloaded.
94734 (map_doit): Don't use it.
94735 (dl_main): Likewise.
94736 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94737 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94738
94739 2010-09-09 Andreas Schwab <schwab@redhat.com>
94740
94741 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94742 (sysd-rules-targets): Remove duplicates.
94743 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94744 rtld-%.$o dependency.
94745
94746 2010-10-18 Andreas Schwab <schwab@redhat.com>
94747
94748 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94749 _dl_map_object do it.
94750
94751 2010-10-19 Ulrich Drepper <drepper@gmail.com>
94752
94753 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94754 fast fma builtins, define the macros in the C99 standard.
94755 (FP_FAST_FMAF): Likewise.
94756 (FP_FAST_FMAL): Likewise.
94757 * sysdeps/x86_64/bits/mathdef.h: Likewise.
94758
94759 * bits/mathdef.h: Update copyright year.
94760 * sysdeps/powerpc/bits/mathdef.h: Likewise.
94761
94762 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
94763
94764 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94765 builtins, define the macros in the C99 standard.
94766 (FP_FAST_FMAF): Likewise.
94767 (FP_FAST_FMAL): Likewise.
94768 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94769 multiply/add.
94770 (FP_FAST_FMAF): Likewise.
94771
94772 2010-10-15 Jakub Jelinek <jakub@redhat.com>
94773
94774 [BZ #3268]
94775 * math/libm-test.inc (fma_test): Some new testcases.
94776 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94778 y and infinite z. Do multiplication by C already in long double.
94779 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94781 y and infinite z. Do bitwise or of inexact bit into u.d.
94782 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94783 * sysdeps/i386/fpu/s_fmaf.S: Removed.
94784 * sysdeps/i386/fpu/s_fma.S: Removed.
94785 * sysdeps/i386/fpu/s_fmal.S: Removed.
94786
94787 2010-10-16 Jakub Jelinek <jakub@redhat.com>
94788
94789 [BZ #3268]
94790 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94792 computation is not scheduled after fetestexcept. Fix value
94793 of minimum denormal long double.
94794
94795 2010-10-14 Jakub Jelinek <jakub@redhat.com>
94796
94797 [BZ #3268]
94798 * math/libm-test.inc (fma_test): Add some more tests.
94799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94800 correctly.
94801
94802 2010-10-15 Andreas Schwab <schwab@redhat.com>
94803
94804 * scripts/data/localplt-s390-linux-gnu.data: New file.
94805 * scripts/data/localplt-s390x-linux-gnu.data: New file.
94806
94807 2010-10-13 Jakub Jelinek <jakub@redhat.com>
94808
94809 [BZ #3268]
94810 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94811 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94812 instead of dbl-64.
94813 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94814 inlines.
94815 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94817 if one of x and y is very large and the other is subnormal.
94818 * sysdeps/s390/fpu/s_fmaf.c: New file.
94819 * sysdeps/s390/fpu/s_fma.c: New file.
94820 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94821 * sysdeps/powerpc/fpu/s_fma.S: New file.
94822 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94823 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94824 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94825
94826 2010-10-12 Jakub Jelinek <jakub@redhat.com>
94827
94828 [BZ #3268]
94829 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94830 fma tests.
94831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94832 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94833 * sysdeps/i386/i686/multiarch/s_fma.c: Include
94834 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94835 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94836 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94837 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94838
94839 2010-10-12 Ulrich Drepper <drepper@redhat.com>
94840
94841 [BZ #12078]
94842 * posix/regcomp.c (parse_branch): One more memory leak plugged.
94843 * posix/bug-regex31.input: Add test case.
94844
94845 2010-10-11 Ulrich Drepper <drepper@gmail.com>
94846
94847 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94848 * posix/bug-regex31.input: New file.
94849
94850 [BZ #12078]
94851 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94852 (parse_sub_exp): Fix last change, use postorder.
94853
94854 * posix/bug-regex31.c: New file.
94855 * posix/Makefile: Add rules to build and run bug-regex31.
94856
94857 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94858
94859 [BZ #12078]
94860 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94861
94862 [BZ #12108]
94863 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94864 to have entries in sys_siglist.
94865
94866 [BZ #12093]
94867 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94868 be NULL.
94869
94870 2010-10-07 Jakub Jelinek <jakub@redhat.com>
94871
94872 [BZ #3268]
94873 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94874 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94875 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94876 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94877 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94878 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94879 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94880 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94881 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94882 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94883 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94884 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94885 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94886 * math/ftestexcept.c (fetestexcept): Likewise.
94887 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94888 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94889 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94890 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94891 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94892 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94894
94895 2010-10-11 Ulrich Drepper <drepper@gmail.com>
94896
94897 [BZ #12107]
94898 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94899 newline.
94900
94901 2010-10-06 Ulrich Drepper <drepper@gmail.com>
94902
94903 * string/bug-strstr1.c: New file.
94904 * string/Makefile: Add rules to build and run bug-strstr1.
94905
94906 2010-10-05 Eric Blake <eblake@redhat.com>
94907
94908 [BZ #12092]
94909 * string/str-two-way.h (two_way_long_needle): Always clear memory
94910 when skipping input due to the shift table.
94911
94912 2010-10-03 Ulrich Drepper <drepper@gmail.com>
94913
94914 [BZ #12005]
94915 * malloc/mcheck.c: Handle large requests.
94916
94917 [BZ #12077]
94918 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94919 for strncmp and strncasecmp.
94920 * string/stratcliff.c: Add tests for strcmp and strncmp.
94921 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94922
94923 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
94924
94925 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94926 __set_fpscr.
94927
94928 2010-09-30 Andreas Jaeger <aj@suse.de>
94929
94930 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94931 (CGROUP_SUPER_MAGIC): Define.
94932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94933 Handle btrfs and cgroup file systems.
94934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94935 Likewise.
94936
94937 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
94938
94939 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94940 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94941
94942 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94943
94944 [BZ #12067]
94945 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94946 trying to locate the ELF header.
94947
94948 2010-09-27 Andreas Schwab <schwab@redhat.com>
94949
94950 [BZ #11611]
94951 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94952 Mask out sign-bit copies when constructing f_fsid.
94953
94954 2010-09-24 Petr Baudis <pasky@suse.cz>
94955
94956 * debug/stack_chk_fail_local.c: Add missing licence exception.
94957 * debug/warning-nop.c: Likewise.
94958
94959 2010-09-15 Joseph Myers <joseph@codesourcery.com>
94960
94961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94962 implementing getdents64 using getdents syscall, set d_type if
94963 __ASSUME_GETDENTS32_D_TYPE.
94964
94965 2010-09-16 Andreas Schwab <schwab@redhat.com>
94966
94967 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94968 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94969
94970 2010-09-21 Ulrich Drepper <drepper@redhat.com>
94971
94972 [BZ #12037]
94973 * posix/unistd.h: Undo change of feature selection for ftruncate from
94974 2010-01-11.
94975
94976 2010-09-20 Ulrich Drepper <drepper@redhat.com>
94977
94978 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94979 detection.
94980
94981 2010-09-20 Andreas Schwab <schwab@redhat.com>
94982
94983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94984 fanotify_mark.
94985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94986
94987 2010-09-14 Andreas Schwab <schwab@redhat.com>
94988
94989 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94990 variables after CHECK_SP call.
94991 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94992
94993 2010-09-13 Andreas Schwab <schwab@redhat.com>
94994 Ulrich Drepper <drepper@redhat.com>
94995
94996 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94997 re-relocationg ld.so.
94998 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94999 _dl_init_paths call.
95000 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95001 here anymore.
95002
95003 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95004
95005 * resolv/res_init.c (__res_vinit): Count the default server we added.
95006
95007 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95008 Ulrich Drepper <drepper@redhat.com>
95009
95010 [BZ #11968]
95011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95012 (____longjmp_chk): Use %ebx for saving value across system call.
95013 Add unwind info.
95014
95015 2010-09-06 Andreas Schwab <schwab@redhat.com>
95016
95017 * manual/Makefile: Don't mix pattern rules with normal rules.
95018
95019 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95020
95021 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95022 operation.
95023 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95024 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95025 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95026 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95027 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95028 Likewise.
95029
95030 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95031
95032 [BZ #11979]
95033 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95034 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95035
95036 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95037
95038 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95039 * sysdeps/x86_64/addmul_1.S: Likewise.
95040 * sysdeps/x86_64/lshift.S: Likewise.
95041 * sysdeps/x86_64/mul_1.S: Likewise.
95042 * sysdeps/x86_64/rshift.S: Likewise.
95043 * sysdeps/x86_64/sub_n.S: Likewise.
95044 * sysdeps/x86_64/submul_1.S: Likewise.
95045
95046 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95047
95048 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95049 Define __sched_param instead of SCHED_* and sched_param when
95050 <bits/sched.h> is included with __need_schedparam defined.
95051 * bits/sched.h [__need_schedparam]
95052 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95053 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95054 (__defined_schedparam): Define to 1.
95055 (__sched_param): New structure, identical to sched_param.
95056 (__need_schedparam): Undefine.
95057
95058 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95059
95060 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95061 (epoll_create1): Declare.
95062
95063 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95064
95065 2010-08-31 Andreas Schwab <schwab@redhat.com>
95066
95067 [BZ #7066]
95068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95069 shifting retval into place.
95070
95071 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95072
95073 * nis/rpcsvc/nis.h: Update copyright notice.
95074 * nis/rpcsvc/nis.x: Likewise.
95075 * nis/rpcsvc/nis_callback.h: Likewise.
95076 * nis/rpcsvc/nis_callback.x: Likewise.
95077 * nis/rpcsvc/nis_object.x: Likewise.
95078 * nis/rpcsvc/nis_tags.h: Likewise.
95079 * nis/rpcsvc/yp.h: Likewise.
95080 * nis/rpcsvc/yp.x: Likewise.
95081 * nis/rpcsvc/ypupd.h: Likewise.
95082 * nis/yp_xdr.c: Likewise.
95083 * nis/ypupdate_xdr.c: Likewise.
95084
95085 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95086 mainly the body of pmap_getport. Add parameters to specify timeouts.
95087 (pmap_getport): Use __libc_rpc_getport.
95088 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95089 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95090 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95091
95092 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95093
95094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95095 fanotify_mark.
95096
95097 2010-08-27 Roland McGrath <roland@redhat.com>
95098
95099 * sysdeps/i386/i686/multiarch/Makefile
95100 (CFLAGS-varshift.c): New variable.
95101
95102 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95103
95104 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95105 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95106
95107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95108
95109 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95110
95111 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95112
95113 * sysdeps/x86_64/strlen.S: Unroll the loop.
95114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95115 strlen-sse2 strlen-sse2-bsf.
95116 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95117 __strlen_no_bsf if bit_Slow_BSF is set.
95118 (__strlen_sse42): Removed.
95119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95120 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95121
95122 2010-08-25 Roland McGrath <roland@redhat.com>
95123
95124 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95125 * sysdeps/x86_64/multiarch/varshift.c: New file.
95126 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95127 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95128 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95130
95131 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95132
95133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95134 strlen-sse2 strlen-sse2-bsf.
95135 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95136 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95137 (__strlen_sse2): Removed.
95138 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95141 bit_Slow_BSF for Atom.
95142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95143 (index_Slow_BSF): Define.
95144 (HAS_SLOW_BSF): Define.
95145
95146 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95147
95148 [BZ #10851]
95149 * resolv/res_init.c (__res_vinit): When no server address at all
95150 is given default to loopback.
95151
95152 2010-08-24 Roland McGrath <roland@redhat.com>
95153
95154 * configure.in: Remove config-name.h generation.
95155 * configure: Regenerated.
95156 * config-name.in: File removed.
95157 * scripts/config-uname.sh: New file.
95158 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95159 ($(objdir)config-name.h): New target.
95160
95161 * sunrpc/rpc_parse.h: Avoid nested comment.
95162
95163 2010-08-24 Richard Henderson <rth@redhat.com>
95164 Ulrich Drepper <drepper@redhat.com>
95165 H.J. Lu <hongjiu.lu@intel.com>
95166
95167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95169 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95170 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95171 _mm_alignr_epi8 with _mm_loadu_si128.
95172 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95173 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95174 (__m128i_shift_right): Removed.
95175 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95176 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95177 * sysdeps/x86_64/multiarch/varshift.h: New file.
95178 * sysdeps/x86_64/multiarch/varshift.S: New file.
95179
95180 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95181
95182 * configure.in: Move assembler checks to before sysdep dir checking.
95183
95184 2010-08-20 Petr Baudis <pasky@suse.cz>
95185
95186 * LICENSES: Sync the sunrpc license.
95187
95188 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95189
95190 * sunrpc/auth_des.c: Update copyright notice once again.
95191 * sunrpc/auth_none.c: Likewise.
95192 * sunrpc/auth_unix.c: Likewise.
95193 * sunrpc/authdes_prot.c: Likewise.
95194 * sunrpc/authuxprot.c: Likewise.
95195 * sunrpc/bindrsvprt.c: Likewise.
95196 * sunrpc/clnt_gen.c: Likewise.
95197 * sunrpc/clnt_perr.c: Likewise.
95198 * sunrpc/clnt_raw.c: Likewise.
95199 * sunrpc/clnt_simp.c: Likewise.
95200 * sunrpc/clnt_tcp.c: Likewise.
95201 * sunrpc/clnt_udp.c: Likewise.
95202 * sunrpc/clnt_unix.c: Likewise.
95203 * sunrpc/des_crypt.c: Likewise.
95204 * sunrpc/des_soft.c: Likewise.
95205 * sunrpc/get_myaddr.c: Likewise.
95206 * sunrpc/getrpcport.c: Likewise.
95207 * sunrpc/key_call.c: Likewise.
95208 * sunrpc/key_prot.c: Likewise.
95209 * sunrpc/openchild.c: Likewise.
95210 * sunrpc/pm_getmaps.c: Likewise.
95211 * sunrpc/pm_getport.c: Likewise.
95212 * sunrpc/pmap_clnt.c: Likewise.
95213 * sunrpc/pmap_prot.c: Likewise.
95214 * sunrpc/pmap_prot2.c: Likewise.
95215 * sunrpc/pmap_rmt.c: Likewise.
95216 * sunrpc/rpc/auth.h: Likewise.
95217 * sunrpc/rpc/auth_unix.h: Likewise.
95218 * sunrpc/rpc/clnt.h: Likewise.
95219 * sunrpc/rpc/des_crypt.h: Likewise.
95220 * sunrpc/rpc/key_prot.h: Likewise.
95221 * sunrpc/rpc/netdb.h: Likewise.
95222 * sunrpc/rpc/pmap_clnt.h: Likewise.
95223 * sunrpc/rpc/pmap_prot.h: Likewise.
95224 * sunrpc/rpc/pmap_rmt.h: Likewise.
95225 * sunrpc/rpc/rpc.h: Likewise.
95226 * sunrpc/rpc/rpc_des.h: Likewise.
95227 * sunrpc/rpc/rpc_msg.h: Likewise.
95228 * sunrpc/rpc/svc.h: Likewise.
95229 * sunrpc/rpc/svc_auth.h: Likewise.
95230 * sunrpc/rpc/types.h: Likewise.
95231 * sunrpc/rpc/xdr.h: Likewise.
95232 * sunrpc/rpc_clntout.c: Likewise.
95233 * sunrpc/rpc_cmsg.c: Likewise.
95234 * sunrpc/rpc_common.c: Likewise.
95235 * sunrpc/rpc_cout.c: Likewise.
95236 * sunrpc/rpc_dtable.c: Likewise.
95237 * sunrpc/rpc_hout.c: Likewise.
95238 * sunrpc/rpc_main.c: Likewise.
95239 * sunrpc/rpc_parse.c: Likewise.
95240 * sunrpc/rpc_parse.h: Likewise.
95241 * sunrpc/rpc_prot.c: Likewise.
95242 * sunrpc/rpc_sample.c: Likewise.
95243 * sunrpc/rpc_scan.c: Likewise.
95244 * sunrpc/rpc_scan.h: Likewise.
95245 * sunrpc/rpc_svcout.c: Likewise.
95246 * sunrpc/rpc_tblout.c: Likewise.
95247 * sunrpc/rpc_util.c: Likewise.
95248 * sunrpc/rpc_util.h: Likewise.
95249 * sunrpc/rpcinfo.c: Likewise.
95250 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95251 * sunrpc/rpcsvc/key_prot.x: Likewise.
95252 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95253 * sunrpc/rpcsvc/mount.x: Likewise.
95254 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95255 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95256 * sunrpc/rpcsvc/rex.x: Likewise.
95257 * sunrpc/rpcsvc/rstat.x: Likewise.
95258 * sunrpc/rpcsvc/rusers.x: Likewise.
95259 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95260 * sunrpc/rpcsvc/spray.x: Likewise.
95261 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95262 * sunrpc/rtime.c: Likewise.
95263 * sunrpc/svc.c: Likewise.
95264 * sunrpc/svc_auth.c: Likewise.
95265 * sunrpc/svc_authux.c: Likewise.
95266 * sunrpc/svc_raw.c: Likewise.
95267 * sunrpc/svc_run.c: Likewise.
95268 * sunrpc/svc_simple.c: Likewise.
95269 * sunrpc/svc_tcp.c: Likewise.
95270 * sunrpc/svc_udp.c: Likewise.
95271 * sunrpc/svc_unix.c: Likewise.
95272 * sunrpc/svcauth_des.c: Likewise.
95273 * sunrpc/xcrypt.c: Likewise.
95274 * sunrpc/xdr.c: Likewise.
95275 * sunrpc/xdr_array.c: Likewise.
95276 * sunrpc/xdr_float.c: Likewise.
95277 * sunrpc/xdr_mem.c: Likewise.
95278 * sunrpc/xdr_rec.c: Likewise.
95279 * sunrpc/xdr_ref.c: Likewise.
95280 * sunrpc/xdr_sizeof.c: Likewise.
95281 * sunrpc/xdr_stdio.c: Likewise.
95282
95283 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95284 handling.
95285
95286 2010-08-19 Andreas Schwab <schwab@redhat.com>
95287
95288 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95289
95290 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95291
95292 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95295 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95296 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95297 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95299 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95302 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95303 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95304 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95305 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95306
95307 2010-07-26 Anton Blanchard <anton@samba.org>
95308
95309 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95310 * malloc/arena.c (heap_trim): Likewise.
95311
95312 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95313
95314 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95315 here. Not...
95316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95317 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95318
95319 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95320
95321 * sysdeps/i386/elf/Makefile: New file.
95322
95323 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95324
95325 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95326 from fanotify_init.
95327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95329
95330 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95331
95332 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95333 of strncasecmp_l.
95334 * sysdeps/multiarch/strcmp.S: Likewise.
95335
95336 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95337
95338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95339 strncase_l-nonascii.
95340 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95341 Add strncase_l-ssse3.
95342 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95343 * sysdeps/x86_64/strcmp.S: Likewise.
95344 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95345 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95346 * sysdeps/x86_64/strncase.S: New file.
95347 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95348 * sysdeps/x86_64/strncase_l.S: New file.
95349 * string/Makefile (strop-tests): Add strncasecmp.
95350 * string/test-strncasecmp.c: New file.
95351
95352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95353 warning.
95354
95355 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95357
95358 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95359
95360 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95361
95362 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95363
95364 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95365 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95366 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95367
95368 2010-05-01 Alan Modra <amodra@gmail.com>
95369
95370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95371 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95372 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95373 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95374 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95375 tidying. Don't tail-call __sigjmp_save for static lib.
95376 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95377 save location.
95378 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95379 (CALL_MCOUNT): Add eh info, and nop after bl.
95380 (TAIL_CALL_SYSCALL_ERROR): New macro.
95381 (PSEUDO_RET): Use it.
95382 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95383 Correct save location of integer regs and cr.
95384 (_dl_profile_resolve): Correct cr save location. Delete nops
95385 after bl when SHARED. Reduce cfi size a little by better
95386 placement of cfi directives.
95387 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95388 make a stack frame. Instead use parm save area as a temp.
95389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95390 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95392 Don't make a stack frame for parent, use parm save area.
95393 Increase child stack frame to 112 bytes. Don't save unused reg,
95394 and adjust reg usage. Set up cfi on error recovery and
95395 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95397 (__makecontext): Add dummy nop after jump to exit.
95398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95399 Use correct parm save area and cr save, reduce stack frame.
95400 Correct cfi for possible PSEUDO_RET frame setup.
95401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95402 Branch to local label emitted by PSEUDO_RET rather than
95403 __syscall_error.
95404
95405 2010-08-12 Andreas Schwab <schwab@redhat.com>
95406
95407 [BZ #11904]
95408 * locale/programs/locale.c (print_assignment): New function.
95409 (show_locale_vars): Use it.
95410
95411 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95412
95413 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95414 field.
95415 (struct statfs64): Likewise.
95416 (_STATFS_F_FLAGS): Define.
95417 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95419 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95420 (ST_VALID): Define locally.
95421 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95422 __statvfs_getflags, use the provided value.
95423 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95424 __ASSUME_STATFS_F_FLAGS.
95425
95426 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95427
95428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95429 Add sys/fanotify.h.
95430 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95431 fanotify_mask for GLIBC_2.13.
95432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95433 fanotify_init and fanotify_mark.
95434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95435 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95436
95437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95438 Add prlimit.
95439 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95440 prlimit64 for GLIBC_2.13.
95441 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95442 prlimit64.
95443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95444 syscall.
95445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95450 add prlimit alias.
95451 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95452
95453 [BZ #11903]
95454 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95455 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95456
95457 * nss/Makefile: Add rules to build and run tst-nss-test1.
95458 * shlib-versions: Add entry for libnss_test1.
95459 * nss/nss_test1.c: New file.
95460 * nss/tst-nss-test1.c: New file.
95461
95462 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95463 (__nss_configure_lookup): Set appropriate entry in
95464 __nss_configure_lookup to true.
95465 * nss/nsswitch.h: Define enum with indeces of databases in
95466 databases and __nss_database_custom arrays. Declare
95467 __nss_database_custom.
95468 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95469 to avoid using nscd when custom rules are installed.
95470 * nss/getXXbyYY_r.c: Likewise.
95471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95472
95473 * nss/nss_files/files-parse.c: Whitespace fixes.
95474
95475 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95476
95477 [BZ #11883]
95478 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95479 * posix/fnmatch_loop.c: Likewise.
95480
95481 2010-07-17 Andi Kleen <ak@linux.intel.com>
95482
95483 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95484 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95485 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95486 * Versions.def [GLIBC_2.13]: Add.
95487
95488 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95489
95490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95491 Also fail if tpwd after pwuid call is NULL.
95492
95493 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95494
95495 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95496 when converting to ms.
95497
95498 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95499
95500 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95501 EOPNOTSUPP errors with ENOTTY.
95502 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95503 EOPNOTSUPP errors with ENOTTY.
95504
95505 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95506
95507 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95508 Add strcasecmp_l-ssse3.
95509 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95510 strcasecmp.
95511 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95512 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95514
95515 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95516
95517 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95518
95519 * string/Makefile (strop-tests): Add strcasecmp.
95520 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95521 strcasecmp_l-nonascii.
95522 (gen-as-const-headers): Add locale-defines.sym.
95523 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95524 * sysdeps/x86_64/strcasecmp.S: New file.
95525 * sysdeps/x86_64/strcasecmp_l.S: New file.
95526 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95527 * sysdeps/x86_64/locale-defines.sym: New file.
95528 * string/test-strcasecmp.c: New file.
95529
95530 * string/test-strcasestr.c: Test both ends of the range of characters.
95531 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95532
95533 2010-07-29 Roland McGrath <roland@redhat.com>
95534
95535 [BZ #11856]
95536 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95537
95538 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95539
95540 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95541 for ld.so.
95542
95543 2010-07-27 Andreas Schwab <schwab@redhat.com>
95544
95545 * manual/memory.texi (Malloc Tunable Parameters): Document
95546 M_PERTURB.
95547
95548 2010-07-26 Roland McGrath <roland@redhat.com>
95549
95550 [BZ #11840]
95551 * configure.in (-fgnu89-inline check): Set and substitute
95552 gnu89_inline, not libc_cv_gnu89_inline.
95553 * configure: Regenerated.
95554 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95555
95556 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95557
95558 * string/test-strnlen.c: New file.
95559 * string/Makefile (strop-tests): Add strnlen.
95560 * string/tester.c (test_strnlen): Add a few more test cases.
95561 * string/tst-strlen.c: Better error reporting.
95562
95563 * sysdeps/x86_64/strnlen.S: New file.
95564
95565 2010-07-24 Ulrich Drepper <drepper@redhat.com>
95566
95567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95568 lower-latency instructions.
95569
95570 2010-07-23 Ulrich Drepper <drepper@redhat.com>
95571
95572 * string/test-strcasestr.c: New file.
95573 * string/test-strstr.c: New file.
95574 * string/Makefile (strop-tests): Add strstr and strcasestr.
95575 * string/str-two-way.h: Don't undefine MAX.
95576 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95577
95578 2010-07-21 Andreas Schwab <schwab@redhat.com>
95579
95580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95581 strcasestr-nonascii.
95582 (CFLAGS-strcasestr-nonascii.c): Define.
95583 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95585 Remove unused attribute.
95586
95587 2010-07-20 Roland McGrath <roland@redhat.com>
95588
95589 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95590 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
95591 ld.so.cache was broken. With it, there is no way to disable dsocaps
95592 like LD_HWCAP_MASK can disable hwcaps.
95593
95594 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95595
95596 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95597
95598 2010-07-16 Ulrich Drepper <drepper@redhat.com>
95599
95600 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95601 call in strcasestr.
95602 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95603 __strcasestr_sse42_nonascii.
95604 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95605 strcasestr-nonascii.c.
95606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95607
95608 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
95609
95610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95612 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95614
95615 2010-07-09 Ulrich Drepper <drepper@redhat.com>
95616
95617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95618 fcntl.
95619
95620 2010-07-06 Andreas Schwab <schwab@redhat.com>
95621
95622 [BZ #11577]
95623 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95624 dl_signal_cerror.
95625
95626 2010-07-06 Ulrich Drepper <drepper@redhat.com>
95627
95628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95629 _PC_PIPE_BUF using F_GETPIPE_SZ.
95630
95631 2010-07-05 Roland McGrath <roland@redhat.com>
95632
95633 * manual/arith.texi (Rounding Functions): Fix rint description
95634 implicit in round description.
95635
95636 2010-07-02 Ulrich Drepper <drepper@redhat.com>
95637
95638 * elf/Makefile: Fix linking for a few tests to make recent linker
95639 happy.
95640
95641 2010-06-30 Andreas Schwab <schwab@redhat.com>
95642
95643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95644 $(common-objpfx)libc_nonshared.a.
95645
95646 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
95647
95648 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95649 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95650 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95651 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95652 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95655 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95670 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95671 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95672 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95673 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95674 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95675 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95676 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95677 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95678 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95679 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95680 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95681 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
95690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
95691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
95692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
95694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
95695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
95696
95697 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
95698
95699 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
95700 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
95701 * string/memmove.c (memmove): Renamed to ...
95702 (MEMMOVE): ...this. Default to memmove.
95703 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95704 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95705 (END_CHK): Define.
95706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95707 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95708 mempcpy-ssse3-back memmove-ssse3-back.
95709 * sysdeps/x86_64/multiarch/bcopy.S: New file .
95710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95712 * sysdeps/x86_64/multiarch/memcpy.S: New file.
95713 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95714 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95715 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95716 * sysdeps/x86_64/multiarch/memmove.c: New file.
95717 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95718 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95719 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95720 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95721 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95723 Define.
95724 (index_Fast_Copy_Backward): Define.
95725 (HAS_ARCH_FEATURE): Define.
95726 (HAS_FAST_REP_STRING): Define.
95727 (HAS_FAST_COPY_BACKWARD): Define.
95728
95729 2010-06-21 Andreas Schwab <schwab@redhat.com>
95730
95731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95732 Restore proper fallback handling.
95733
95734 2010-06-19 Ulrich Drepper <drepper@redhat.com>
95735
95736 [BZ #11701]
95737 * posix/group_member.c (__group_member): Correct checking loop.
95738
95739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95740 OOM in getpwuid_r correctly. Return error number when the caller
95741 should return, otherwise -1.
95742 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95743 call returning > 0 value.
95744 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95745
95746 2010-06-07 Andreas Schwab <schwab@redhat.com>
95747
95748 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95749 libc_nonshared.a from targets in modules-names.
95750
95751 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
95752
95753 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95754 requires it.
95755
95756 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
95757
95758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95762
95763 2010-06-02 Andreas Schwab <schwab@redhat.com>
95764
95765 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95766
95767 2010-06-14 Ulrich Drepper <drepper@redhat.com>
95768
95769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95770 and F_GETPIPE_SZ.
95771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95777
95778 2010-06-14 Roland McGrath <roland@redhat.com>
95779
95780 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95781
95782 2010-06-07 Jakub Jelinek <jakub@redhat.com>
95783
95784 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95785 __REDIRECT followed by __THROW.
95786 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95787 * posix/getopt.h (getopt): Likewise.
95788
95789 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95790
95791 * hurd/lookup-at.c (__file_name_lookup_at): Accept
95792 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
95793 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95794 in AT_FLAGS.
95795 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95796 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95797
95798 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
95799
95800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95801
95802 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
95803
95804 [BZ #11640]
95805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95806 Properly check family and model.
95807
95808 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
95809
95810 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95811
95812 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
95813
95814 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95815
95816 2010-05-21 Ulrich Drepper <drepper@redhat.com>
95817
95818 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95819 symbol reference.
95820
95821 2010-05-19 Andreas Schwab <schwab@redhat.com>
95822
95823 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95824 symbol reference.
95825
95826 2010-05-21 Andreas Schwab <schwab@redhat.com>
95827
95828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95829 and internal_recvmmsg.
95830 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95831 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95832 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95833 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95834
95835 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95836 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95837 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95838
95839 2010-05-20 Andreas Schwab <schwab@redhat.com>
95840
95841 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95842
95843 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
95844
95845 POWER7 optimizations.
95846 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95847 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95848
95849 2010-05-19 Ulrich Drepper <drepper@redhat.com>
95850
95851 * version.h: Update for 2.13 development version.
95852
95853 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
95854
95855 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95856 exceptions. Return 0.
95857
95858 2010-05-07 Roland McGrath <roland@redhat.com>
95859
95860 * elf/ldconfig.c (main): Add a const.
95861
95862 2010-05-06 Ulrich Drepper <drepper@redhat.com>
95863
95864 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95865 (args_options): Add no-idn option.
95866 (ahosts_keys_int): Add idn_flags to ai_flags.
95867 (parse_option): Handle 'i' option to clear idn_flags.
95868
95869 * malloc/malloc.c (_int_free): Possible race in the most recently
95870 added check. Only act on the data if no current modification
95871 happened.
95872
95873 See ChangeLog.17 for earlier changes.